MCPcopy Create free account

hub / github.com/Mobiperf/MobiPerf / functions

Functions766 in github.com/Mobiperf/MobiPerf

↓ 1 callersMethod_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 callersMethod_GetAuthCookie
Fetches authentication cookies for an authentication token. Args: auth_token: The authentication token returned by ClientLogin. Raises
client/appengine_client.py:143
↓ 1 callersMethod_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 callersMethod_GetDeviceList
(self, cursor=None, show_inactive=True)
server/gspeedometer/controllers/home.py:65
↓ 1 callersMethod_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 callersMethod_GetJavascriptCodeForMap
Constructs the javascript code to map measurement results.
server/gspeedometer/controllers/googlemap.py:140
↓ 1 callersMethod_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 callersMethod_GetOpener
Returns an OpenerDirector for making HTTP requests. Returns: A urllib2.OpenerDirector object.
client/appengine_client.py:82
↓ 1 callersMethod_GetPointsScript
(self, themap)
server/gspeedometer/helpers/googlemaphelper.py:106
↓ 1 callersMethod_LogoutCurrentUser
(self)
server/gspeedometer/helpers/test.py:57
↓ 1 callersMethod__init__
(self, url, code, msg, headers, args)
client/appengine_client.py:43
↓ 1 callersMethod_create_gens
Create the generation hashes for route lookups
server/routes/base.py:680
↓ 1 callersMethod_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 callersMethod_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 callersMethod_pathkeys
Utility function to walk the route, and pull out the valid dynamic/wildcard keys.
server/routes/base.py:111
↓ 1 callersFunction_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 callersFunction_url_quote
A Unicode handling version of urllib.quote_plus.
server/routes/util.py:77
↓ 1 callersMethodacquireServerConfig
Core measurement functions definitions acquire server configuration information 1) m-
android/src/com/mobiperf/measurements/TCPThroughputTask.java:379
↓ 1 callersMethodaddIconToStatusBar
Add an icon to the device status bar.
android/src/com/mobiperf/MeasurementScheduler.java:278
↓ 1 callersMethodaddPacket
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 callersMethodadjustInterval
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 callersMethodapplyInnerBandFilter
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 callersMethodauthenticate
Starts an authentication request
android/src/com/mobiperf/AccountSelector.java:122
↓ 1 callersMethodbindToService
()
android/src/com/mobiperf/SystemConsoleActivity.java:70
↓ 1 callersMethodbroadcastMeasurementEnd
(MeasurementResult result)
android/src/com/mobiperf/MeasurementScheduler.java:1219
↓ 1 callersMethodbroadcastMeasurementStart
()
android/src/com/mobiperf/MeasurementScheduler.java:1205
↓ 1 callersMethodbroadcastMeasurementStart
()
android/src/com/mobiperf/ResourceCapManager.java:371
↓ 1 callersMethodbuildnextreg
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 callersMethodcalMedianSpeedFromTCPThroughputOutput
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 callersMethodcalculateJitter
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 callersMethodcalculateOutOfOrderRatio
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 callersMethodcheckGetCookie
()
android/src/com/mobiperf/Checkin.java:428
↓ 1 callersMethodcleanUp
()
android/src/com/mobiperf/MeasurementScheduler.java:664
↓ 1 callersMethodcleanUp
()
android/src/com/mobiperf/measurements/UDPBurstTask.java:749
↓ 1 callersMethodclearMeasurementSpecificViews
(TableLayout table)
android/src/com/mobiperf/MeasurementCreationActivity.java:144
↓ 1 callersMethodclone
()
android/src/com/mobiperf/MeasurementTask.java:194
↓ 1 callersMethodclone
()
android/src/com/mobiperf/measurements/RRCTask.java:709
↓ 1 callersMethodconstructResultStandard
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 callersMethoddoCheckin
()
android/src/com/mobiperf/MeasurementScheduleConsoleActivity.java:182
↓ 1 callersMethoddoCheckin
()
android/src/com/mobiperf/SpeedometerApp.java:401
↓ 1 callersMethoddownlink
Downlink measurement task
android/src/com/mobiperf/measurements/TCPThroughputTask.java:514
↓ 1 callersMethodexecuteHttpPingTask
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 callersMethodexecuteJavaPingTask
()
android/src/com/mobiperf/measurements/PingTask.java:374
↓ 1 callersMethodexecutePingCmdTask
(int ipByteLen)
android/src/com/mobiperf/measurements/PingTask.java:282
↓ 1 callersMethodextractInfoFromPingOutput
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 callersMethodextractPacketLossInfoFromPingOutput
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 callersMethodfetchEnvPaths
Return a list of system environment path
android/src/com/mobiperf/util/Util.java:185
↓ 1 callersMethodfilterPingResults
(final ArrayList<Double> rrts, double avg)
android/src/com/mobiperf/measurements/PingTask.java:265
↓ 1 callersFunctionfind_controllers
Locate controllers in a directory
server/routes/util.py:223
↓ 1 callersMethodformatDate
(Date date)
android/src/com/mobiperf/util/MeasurementJsonConvertor.java:148
↓ 1 callersMethodgenRandomByteArray
(byte[] byteArray)
android/src/com/mobiperf/measurements/TCPThroughputTask.java:616
↓ 1 callersMethodgenRandomByteArray
(byte[] byteArray)
measurement_server/src/servers/Utilities.java:8
↓ 1 callersMethodgetAnonymousServerUrl
()
android/src/com/mobiperf/util/PhoneUtils.java:720
↓ 1 callersMethodgetAppVersionName
()
android/src/com/mobiperf/util/PhoneUtils.java:567
↓ 1 callersMethodgetBatteryThresh
()
android/src/com/mobiperf/ResourceCapManager.java:91
↓ 1 callersMethodgetCellInfo
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 callersMethodgetCheckinInterval
Returns the checkin interval of the scheduler in seconds
android/src/com/mobiperf/MeasurementScheduler.java:485
↓ 1 callersMethodgetContentCharSet
(final HttpEntity entity)
android/src/com/mobiperf/util/MLabNS.java:130
↓ 1 callersMethodgetDataConsumed
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 callersMethodgetDeviceId
()
android/src/com/mobiperf/util/PhoneUtils.java:688
↓ 1 callersMethodgetDnResolvability
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 callersMethodgetDnsResult
(StringBuilderPrinter printer, HashMap<String, String> values)
android/src/com/mobiperf/MeasurementResult.java:171
↓ 1 callersMethodgetHostIp
(String line)
android/src/com/mobiperf/measurements/TracerouteTask.java:360
↓ 1 callersMethodgetHttpResult
(StringBuilderPrinter printer, HashMap<String, String> values)
android/src/com/mobiperf/MeasurementResult.java:152
↓ 1 callersMethodgetIpConnectivity
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 callersMethodgetLastAuthTime
()
android/src/com/mobiperf/AccountSelector.java:102
↓ 1 callersMethodgetLastCheckinTime
Returns the last checkin time
android/src/com/mobiperf/MeasurementScheduler.java:490
↓ 1 callersMethodgetLocation
Returns the location of the device. @return the location of the device
android/src/com/mobiperf/util/PhoneUtils.java:429
↓ 1 callersMethodgetMeasurementNames
Gets the currently available measurement descriptions
android/src/com/mobiperf/MeasurementTask.java:89
↓ 1 callersMethodgetMeasurementType
()
android/src/com/mobiperf/MeasurementTask.java:162
↓ 1 callersMethodgetMeasurementTypes
Gets the currently available measurement types
android/src/com/mobiperf/MeasurementTask.java:94
↓ 1 callersMethodgetMockLocation
()
android/src/com/mobiperf/util/PhoneUtils.java:712
↓ 1 callersMethodgetNewHttpClient
Return an appropriately-configured HTTP client.
android/src/com/mobiperf/Checkin.java:308
↓ 1 callersMethodgetPingResult
(StringBuilderPrinter printer, HashMap<String, String> values)
android/src/com/mobiperf/MeasurementResult.java:117
↓ 1 callersMethodgetResponseBody
(HttpResponse response)
android/src/com/mobiperf/util/MLabNS.java:191
↓ 1 callersMethodgetResponseBodyFromEntity
(HttpEntity entity)
android/src/com/mobiperf/util/MLabNS.java:148
↓ 1 callersMethodgetResults
(MeasurementResult result)
android/src/com/mobiperf/measurements/RRCTask.java:158
↓ 1 callersMethodgetStackTrace
(Throwable error)
android/src/com/mobiperf/MeasurementScheduler.java:1170
↓ 1 callersMethodgetStandardDeviation
(ArrayList<Double> values, double avg)
android/src/com/mobiperf/util/Util.java:122
↓ 1 callersMethodgetSum
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 callersMethodgetSystemConsole
Return a read-only list of the system console messages.
android/src/com/mobiperf/MeasurementScheduler.java:1441
↓ 1 callersMethodgetSystemResults
Return a read-only list of the system results.
android/src/com/mobiperf/MeasurementScheduler.java:1434
↓ 1 callersMethodgetTCPThroughputResult
(StringBuilderPrinter printer, HashMap<String, String> values)
android/src/com/mobiperf/MeasurementResult.java:265
↓ 1 callersMethodgetTaskClassForMeasurement
(String type)
android/src/com/mobiperf/MeasurementTask.java:111
↓ 1 callersMethodgetTaskQueue
Returns the current task queue in the scheduler.
android/src/com/mobiperf/MeasurementScheduler.java:431
↓ 1 callersMethodgetTasksFromServer
()
android/src/com/mobiperf/MeasurementScheduler.java:708
↓ 1 callersMethodgetTelephonyNetworkType
Returns mobile data network connection type.
android/src/com/mobiperf/util/PhoneUtils.java:305
↓ 1 callersMethodgetTestId
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 callersMethodgetTestingServerUrl
()
android/src/com/mobiperf/util/PhoneUtils.java:724
↓ 1 callersMethodgetTracerouteResult
(StringBuilderPrinter printer, HashMap<String, String> values)
android/src/com/mobiperf/MeasurementResult.java:191
↓ 1 callersMethodgetTypeForMeasurementName
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 callersMethodgetUDPBurstResult
(StringBuilderPrinter printer, HashMap<String, String> values)
android/src/com/mobiperf/MeasurementResult.java:236
↓ 1 callersMethodgetUserResults
Return a read-only list of the user results.
android/src/com/mobiperf/MeasurementScheduler.java:1427
↓ 1 callersMethodgetVisibilityForMeasurementName
Get UI visibility for a measurement task
android/src/com/mobiperf/MeasurementTask.java:107
↓ 1 callersMethodgetWifiCarrierName
Returns current Wi-Fi SSID, or null if Wi-Fi is not connected.
android/src/com/mobiperf/util/PhoneUtils.java:336
↓ 1 callersMethodhasBatteryToScheduleExperiment
()
android/src/com/mobiperf/MeasurementScheduler.java:247
↓ 1 callersMethodhideKyeboard
(EditText textBox)
android/src/com/mobiperf/MeasurementCreationActivity.java:173
↓ 1 callersMethodinferDemotion
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 callersMethodinferDemotionHelper
(InetAddress serverAddr, int wait, RRCTestData data, RRCDesc desc, PhoneUtils utils)
android/src/com/mobiperf/measurements/RRCTask.java:1495
↓ 1 callersMethodinferDemotionPacketSize
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
← previousnext →201–300 of 766, ranked by callers