Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Mobiperf/MobiPerf
/ functions
Functions
766 in github.com/Mobiperf/MobiPerf
⨍
Functions
766
◇
Types & classes
158
↓ 1 callers
Method
_CheckForKeyPresent
Fails assertion check if dict_to_check does not have a key specified in keys. Returns the set of keys found in the measurement
server/gspeedometer/controllers/archive_test.py:127
↓ 1 callers
Method
_GetAuthCookie
Fetches authentication cookies for an authentication token. Args: auth_token: The authentication token returned by ClientLogin. Raises
client/appengine_client.py:143
↓ 1 callers
Method
_GetAuthToken
Uses ClientLogin to authenticate the user, returning an auth token. Args: email: The user's email address password: The user's pas
client/appengine_client.py:100
↓ 1 callers
Method
_GetDeviceList
(self, cursor=None, show_inactive=True)
server/gspeedometer/controllers/home.py:65
↓ 1 callers
Method
_GetHtmlForMeasurement
Returns the HTML string representing a measurement result. Args: device_id: The device ID meas: The measurement object. values:
server/gspeedometer/controllers/googlemap.py:234
↓ 1 callers
Method
_GetJavascriptCodeForMap
Constructs the javascript code to map measurement results.
server/gspeedometer/controllers/googlemap.py:140
↓ 1 callers
Method
_GetMeasurements
Return a list of measurements. Args: device_ids: List of device IDs to retrieve measurements for. start_date: datetime.datetime objec
server/gspeedometer/controllers/googlemap.py:112
↓ 1 callers
Method
_GetOpener
Returns an OpenerDirector for making HTTP requests. Returns: A urllib2.OpenerDirector object.
client/appengine_client.py:82
↓ 1 callers
Method
_GetPointsScript
(self, themap)
server/gspeedometer/helpers/googlemaphelper.py:106
↓ 1 callers
Method
_LogoutCurrentUser
(self)
server/gspeedometer/helpers/test.py:57
↓ 1 callers
Method
__init__
(self, url, code, msg, headers, args)
client/appengine_client.py:43
↓ 1 callers
Method
_create_gens
Create the generation hashes for route lookups
server/routes/base.py:680
↓ 1 callers
Method
_defaults
Creates default set with values stringified Put together our list of defaults, stringify non-None values and add in our actio
server/routes/base.py:177
↓ 1 callers
Method
_minkeys
Utility function to walk the route backwards Will also determine the minimum keys we can handle to generate a working route.
server/routes/base.py:151
↓ 1 callers
Method
_pathkeys
Utility function to walk the route, and pull out the valid dynamic/wildcard keys.
server/routes/base.py:111
↓ 1 callers
Function
_screenargs
Private function that takes a dict, and screens it against the current request dict to determine what the dict should look like that is used
server/routes/util.py:13
↓ 1 callers
Function
_url_quote
A Unicode handling version of urllib.quote_plus.
server/routes/util.py:77
↓ 1 callers
Method
acquireServerConfig
Core measurement functions definitions acquire server configuration information 1) m-
android/src/com/mobiperf/measurements/TCPThroughputTask.java:379
↓ 1 callers
Method
addIconToStatusBar
Add an icon to the device status bar.
android/src/com/mobiperf/MeasurementScheduler.java:278
↓ 1 callers
Method
addPacket
Out-of-order packets is defined as arriving packets with sequence numbers smaller than their predecessors. @param packetNum: packet number in burst se
android/src/com/mobiperf/measurements/UDPBurstTask.java:273
↓ 1 callers
Method
adjustInterval
Adjusts the frequency of the task based on the profile passed from the server. Alternately, disregards the task altogether, if a -1 is passed. @para
android/src/com/mobiperf/MeasurementScheduler.java:730
↓ 1 callers
Method
applyInnerBandFilter
Filter out values equal or beyond the bounds and then compute the average of valid data @param vals the list of values to be filtered @param lowerBoun
android/src/com/mobiperf/util/Util.java:53
↓ 1 callers
Method
authenticate
Starts an authentication request
android/src/com/mobiperf/AccountSelector.java:122
↓ 1 callers
Method
bindToService
()
android/src/com/mobiperf/SystemConsoleActivity.java:70
↓ 1 callers
Method
broadcastMeasurementEnd
(MeasurementResult result)
android/src/com/mobiperf/MeasurementScheduler.java:1219
↓ 1 callers
Method
broadcastMeasurementStart
()
android/src/com/mobiperf/MeasurementScheduler.java:1205
↓ 1 callers
Method
broadcastMeasurementStart
()
android/src/com/mobiperf/ResourceCapManager.java:371
↓ 1 callers
Method
buildnextreg
Recursively build our regexp given a path, and a controller list. Returns the regular expression string, and two booleans that can be
server/routes/base.py:235
↓ 1 callers
Method
calMedianSpeedFromTCPThroughputOutput
Find the median value from a TCPThroughput JSON result string (already sorted) Suppose N is the number of results. If N is odd, we pick the result wit
android/src/com/mobiperf/measurements/TCPThroughputTask.java:219
↓ 1 callers
Method
calculateJitter
Calculate jitter as the standard deviation of one-way delays[RFC3393] We can assume the clock offset between server and client is constant in a short
android/src/com/mobiperf/measurements/UDPBurstTask.java:304
↓ 1 callers
Method
calculateOutOfOrderRatio
Out-of-order ratio is defined as the ratio between the number of out-of-order packets and the total number of packets. @return the inversion number of
android/src/com/mobiperf/measurements/UDPBurstTask.java:288
↓ 1 callers
Method
checkGetCookie
()
android/src/com/mobiperf/Checkin.java:428
↓ 1 callers
Method
cleanUp
()
android/src/com/mobiperf/MeasurementScheduler.java:664
↓ 1 callers
Method
cleanUp
()
android/src/com/mobiperf/measurements/UDPBurstTask.java:749
↓ 1 callers
Method
clearMeasurementSpecificViews
(TableLayout table)
android/src/com/mobiperf/MeasurementCreationActivity.java:144
↓ 1 callers
Method
clone
()
android/src/com/mobiperf/MeasurementTask.java:194
↓ 1 callers
Method
clone
()
android/src/com/mobiperf/measurements/RRCTask.java:709
↓ 1 callers
Method
constructResultStandard
Helper function to construct MeasurementResults to submit to the server @param desc The data collected for the RRC test to be converted into somethin
android/src/com/mobiperf/measurements/RRCTask.java:748
↓ 1 callers
Method
doCheckin
()
android/src/com/mobiperf/MeasurementScheduleConsoleActivity.java:182
↓ 1 callers
Method
doCheckin
()
android/src/com/mobiperf/SpeedometerApp.java:401
↓ 1 callers
Method
downlink
Downlink measurement task
android/src/com/mobiperf/measurements/TCPThroughputTask.java:514
↓ 1 callers
Method
executeHttpPingTask
Use the HTTP Head method to emulate ping. The measurement from this method can be substantially (2x) greater than the first two methods and inaccurate
android/src/com/mobiperf/measurements/PingTask.java:427
↓ 1 callers
Method
executeJavaPingTask
()
android/src/com/mobiperf/measurements/PingTask.java:374
↓ 1 callers
Method
executePingCmdTask
(int ipByteLen)
android/src/com/mobiperf/measurements/PingTask.java:282
↓ 1 callers
Method
extractInfoFromPingOutput
Returns a String array that contains the ICMP sequence number and the round trip time extracted from a ping output. The first array element is the seq
android/src/com/mobiperf/util/Util.java:147
↓ 1 callers
Method
extractPacketLossInfoFromPingOutput
Returns an integer array that contains the number of ICMP requests sent and the number of responses received. The first element is the requests sent a
android/src/com/mobiperf/util/Util.java:166
↓ 1 callers
Method
fetchEnvPaths
Return a list of system environment path
android/src/com/mobiperf/util/Util.java:185
↓ 1 callers
Method
filterPingResults
(final ArrayList<Double> rrts, double avg)
android/src/com/mobiperf/measurements/PingTask.java:265
↓ 1 callers
Function
find_controllers
Locate controllers in a directory
server/routes/util.py:223
↓ 1 callers
Method
formatDate
(Date date)
android/src/com/mobiperf/util/MeasurementJsonConvertor.java:148
↓ 1 callers
Method
genRandomByteArray
(byte[] byteArray)
android/src/com/mobiperf/measurements/TCPThroughputTask.java:616
↓ 1 callers
Method
genRandomByteArray
(byte[] byteArray)
measurement_server/src/servers/Utilities.java:8
↓ 1 callers
Method
getAnonymousServerUrl
()
android/src/com/mobiperf/util/PhoneUtils.java:720
↓ 1 callers
Method
getAppVersionName
()
android/src/com/mobiperf/util/PhoneUtils.java:567
↓ 1 callers
Method
getBatteryThresh
()
android/src/com/mobiperf/ResourceCapManager.java:91
↓ 1 callers
Method
getCellInfo
Returns the information about cell towers in range. Returns null if the information is not available TODO(wenjiezeng): As folklore has it and Wenjie
android/src/com/mobiperf/util/PhoneUtils.java:353
↓ 1 callers
Method
getCheckinInterval
Returns the checkin interval of the scheduler in seconds
android/src/com/mobiperf/MeasurementScheduler.java:485
↓ 1 callers
Method
getContentCharSet
(final HttpEntity entity)
android/src/com/mobiperf/util/MLabNS.java:130
↓ 1 callers
Method
getDataConsumed
For RRC inference, we calculate this precisely based on the number and size of packets sent. For the TCP handshake and DNS tasks, we use small, fixed
android/src/com/mobiperf/measurements/RRCTask.java:1667
↓ 1 callers
Method
getDeviceId
()
android/src/com/mobiperf/util/PhoneUtils.java:688
↓ 1 callers
Method
getDnResolvability
Summarize Domain Name resolvability cases @return ipv4, ipv6, ipv4_ipv6, IP_TYPE_NONE or IP_TYPE_UNKNOWN
android/src/com/mobiperf/util/PhoneUtils.java:840
↓ 1 callers
Method
getDnsResult
(StringBuilderPrinter printer, HashMap<String, String> values)
android/src/com/mobiperf/MeasurementResult.java:171
↓ 1 callers
Method
getHostIp
(String line)
android/src/com/mobiperf/measurements/TracerouteTask.java:360
↓ 1 callers
Method
getHttpResult
(StringBuilderPrinter printer, HashMap<String, String> values)
android/src/com/mobiperf/MeasurementResult.java:152
↓ 1 callers
Method
getIpConnectivity
Summarize ip connectable cases @return ipv4, ipv6, ipv4_ipv6, IP_TYPE_NONE or IP_TYPE_UNKNOWN
android/src/com/mobiperf/util/PhoneUtils.java:822
↓ 1 callers
Method
getLastAuthTime
()
android/src/com/mobiperf/AccountSelector.java:102
↓ 1 callers
Method
getLastCheckinTime
Returns the last checkin time
android/src/com/mobiperf/MeasurementScheduler.java:490
↓ 1 callers
Method
getLocation
Returns the location of the device. @return the location of the device
android/src/com/mobiperf/util/PhoneUtils.java:429
↓ 1 callers
Method
getMeasurementNames
Gets the currently available measurement descriptions
android/src/com/mobiperf/MeasurementTask.java:89
↓ 1 callers
Method
getMeasurementType
()
android/src/com/mobiperf/MeasurementTask.java:162
↓ 1 callers
Method
getMeasurementTypes
Gets the currently available measurement types
android/src/com/mobiperf/MeasurementTask.java:94
↓ 1 callers
Method
getMockLocation
()
android/src/com/mobiperf/util/PhoneUtils.java:712
↓ 1 callers
Method
getNewHttpClient
Return an appropriately-configured HTTP client.
android/src/com/mobiperf/Checkin.java:308
↓ 1 callers
Method
getPingResult
(StringBuilderPrinter printer, HashMap<String, String> values)
android/src/com/mobiperf/MeasurementResult.java:117
↓ 1 callers
Method
getResponseBody
(HttpResponse response)
android/src/com/mobiperf/util/MLabNS.java:191
↓ 1 callers
Method
getResponseBodyFromEntity
(HttpEntity entity)
android/src/com/mobiperf/util/MLabNS.java:148
↓ 1 callers
Method
getResults
(MeasurementResult result)
android/src/com/mobiperf/measurements/RRCTask.java:158
↓ 1 callers
Method
getStackTrace
(Throwable error)
android/src/com/mobiperf/MeasurementScheduler.java:1170
↓ 1 callers
Method
getStandardDeviation
(ArrayList<Double> values, double avg)
android/src/com/mobiperf/util/Util.java:122
↓ 1 callers
Method
getSum
Compute the sum of the values in list @param vals the list of values to sum up @return the sum of the values in the list
android/src/com/mobiperf/util/Util.java:82
↓ 1 callers
Method
getSystemConsole
Return a read-only list of the system console messages.
android/src/com/mobiperf/MeasurementScheduler.java:1441
↓ 1 callers
Method
getSystemResults
Return a read-only list of the system results.
android/src/com/mobiperf/MeasurementScheduler.java:1434
↓ 1 callers
Method
getTCPThroughputResult
(StringBuilderPrinter printer, HashMap<String, String> values)
android/src/com/mobiperf/MeasurementResult.java:265
↓ 1 callers
Method
getTaskClassForMeasurement
(String type)
android/src/com/mobiperf/MeasurementTask.java:111
↓ 1 callers
Method
getTaskQueue
Returns the current task queue in the scheduler.
android/src/com/mobiperf/MeasurementScheduler.java:431
↓ 1 callers
Method
getTasksFromServer
()
android/src/com/mobiperf/MeasurementScheduler.java:708
↓ 1 callers
Method
getTelephonyNetworkType
Returns mobile data network connection type.
android/src/com/mobiperf/util/PhoneUtils.java:305
↓ 1 callers
Method
getTestId
Keep a global counter that labels each test with a unique, increasing integer. @param context Any context instance, needed to fetch the last test id
android/src/com/mobiperf/measurements/RRCTask.java:1607
↓ 1 callers
Method
getTestingServerUrl
()
android/src/com/mobiperf/util/PhoneUtils.java:724
↓ 1 callers
Method
getTracerouteResult
(StringBuilderPrinter printer, HashMap<String, String> values)
android/src/com/mobiperf/MeasurementResult.java:191
↓ 1 callers
Method
getTypeForMeasurementName
Get the type of a measurement based on its name. Type is for JSON interface only where as measurement name is a readable string for the UI
android/src/com/mobiperf/MeasurementTask.java:100
↓ 1 callers
Method
getUDPBurstResult
(StringBuilderPrinter printer, HashMap<String, String> values)
android/src/com/mobiperf/MeasurementResult.java:236
↓ 1 callers
Method
getUserResults
Return a read-only list of the user results.
android/src/com/mobiperf/MeasurementScheduler.java:1427
↓ 1 callers
Method
getVisibilityForMeasurementName
Get UI visibility for a measurement task
android/src/com/mobiperf/MeasurementTask.java:107
↓ 1 callers
Method
getWifiCarrierName
Returns current Wi-Fi SSID, or null if Wi-Fi is not connected.
android/src/com/mobiperf/util/PhoneUtils.java:336
↓ 1 callers
Method
hasBatteryToScheduleExperiment
()
android/src/com/mobiperf/MeasurementScheduler.java:247
↓ 1 callers
Method
hideKyeboard
(EditText textBox)
android/src/com/mobiperf/MeasurementCreationActivity.java:173
↓ 1 callers
Method
inferDemotion
For all time intervals specified, go through and perform the RRC inference test. The way this test works, at a high level, is: <ol> <li> Send a large
android/src/com/mobiperf/measurements/RRCTask.java:1273
↓ 1 callers
Method
inferDemotionHelper
(InetAddress serverAddr, int wait, RRCTestData data, RRCDesc desc, PhoneUtils utils)
android/src/com/mobiperf/measurements/RRCTask.java:1495
↓ 1 callers
Method
inferDemotionPacketSize
Performs a single RRC inference test to account for packet sizes. Sends a packet, waits for the specified length of time, then sends a cluster of pac
android/src/com/mobiperf/measurements/RRCTask.java:1468
← previous
next →
201–300 of 766, ranked by callers