MCPcopy Create free account

hub / github.com/Mobiperf/MobiPerf / functions

Functions766 in github.com/Mobiperf/MobiPerf

↓ 1 callersMethodinitLocation
Lazily initializes the location manager. As a side effect, assigns locationManager and locationProviderName.
android/src/com/mobiperf/util/PhoneUtils.java:377
↓ 1 callersMethodinitializeAccountSelector
Resets the checkin variables in AccountSelector
android/src/com/mobiperf/Checkin.java:423
↓ 1 callersMethodinitializeConsoles
Restores the console content from the saved JSON string
android/src/com/mobiperf/MeasurementScheduler.java:1345
↓ 1 callersMethodinitializeExtraTaskResults
For the arrays holding the results for the upper layer tests, we need to initialize them to be the same size as the number of tests we run. -1 means u
android/src/com/mobiperf/measurements/RRCTask.java:358
↓ 1 callersMethodinitializeParams
(Map<String, String> params)
android/src/com/mobiperf/measurements/HttpTask.java:103
↓ 1 callersMethodinitializeParams
There are three UDP specific parameters: 1. "direction": "up" if this is an uplink measurement. or "down" otherwise 2. "packet_burst": how many packe
android/src/com/mobiperf/measurements/UDPBurstTask.java:132
↓ 1 callersMethodinitializeParams
Given the parameters fetched from the server, sets up the parameters as needed for the upper layer tests, i.e. the application layer tests.
android/src/com/mobiperf/measurements/RRCTask.java:233
↓ 1 callersMethodinitializeParams
(Map<String, String> params)
android/src/com/mobiperf/measurements/DnsLookupTask.java:74
↓ 1 callersMethodinitializeParams
(Map<String, String> params)
android/src/com/mobiperf/measurements/TCPThroughputTask.java:131
↓ 1 callersMethodinitializeParams
(Map<String, String> params)
android/src/com/mobiperf/measurements/PingTask.java:104
↓ 1 callersMethodinitializeParams
(Map<String, String> params)
android/src/com/mobiperf/measurements/TracerouteTask.java:102
↓ 1 callersMethodisLandscape
Returns true if the phone is in landscape mode.
android/src/com/mobiperf/util/PhoneUtils.java:484
↓ 1 callersMethodisOverDataLimit
Determines if the data limit has been exceeded. If there is no data limit, always returns false. If there is no valid data usage file, creates a new
android/src/com/mobiperf/ResourceCapManager.java:275
↓ 1 callersMethodisPassedDeadline
()
android/src/com/mobiperf/MeasurementTask.java:153
↓ 1 callersMethodloadSchedulerState
Load the schedule from the schedule file, if it exists. This is to be run when the app first starts up, so scheduled items are not lost.
android/src/com/mobiperf/MeasurementScheduler.java:966
↓ 1 callersMethodload_wsgi_environ
Load the protocol/server info from the environ and store it. Also, match the incoming URL if there's already a mapper, and st
server/routes/__init__.py:29
↓ 1 callersFunctionmain
()
client/speedometer_client.py:153
↓ 1 callersMethodmakeregexp
Create a regular expression for matching purposes Note: This MUST be called before match can function properly. clis
server/routes/base.py:213
↓ 1 callersMethodparseDate
(String dateString)
android/src/com/mobiperf/util/MeasurementJsonConvertor.java:144
↓ 1 callersMethodprocessPacket
The thread continually receives the packet from client. If the packet contains uplink data, it records the packet's information and send a response wh
measurement_server/src/com/udpmeasurement/UDPReceiver.java:101
↓ 1 callersMethodprocessPingOutput
(BufferedReader br, HashSet<String> hostsAtThisDistance, String hostIp)
android/src/com/mobiperf/measurements/TracerouteTask.java:340
↓ 1 callersMethodreadResultsFromFile
Read in the results of tasks completed to date from a file, then clear the file. @return The results as a JSONArray, ready for sending to the server.
android/src/com/mobiperf/MeasurementScheduler.java:889
↓ 1 callersMethodrecordUserConsent
()
android/src/com/mobiperf/SpeedometerApp.java:416
↓ 1 callersMethodrecvDownResponse
Receives a burst from the remote server and counts the number of packets that were received. @param sock the datagram socket that can be u
android/src/com/mobiperf/measurements/UDPBurstTask.java:608
↓ 1 callersMethodrecvUpResponse
Receive a response from the server after the burst of uplink packets was sent, parse it, and return the number of packets the server received. @param
android/src/com/mobiperf/measurements/UDPBurstTask.java:490
↓ 1 callersMethodregisterSignalStrengthListener
This method must be called in the service thread, as the system will create a Looper in the calling thread which will handle the callbacks.
android/src/com/mobiperf/util/PhoneUtils.java:267
↓ 1 callersMethodreleaseGlobalContext
()
android/src/com/mobiperf/util/PhoneUtils.java:172
↓ 1 callersMethodremoveOldRecord
()
measurement_server/src/com/udpmeasurement/UDPReceiver.java:305
↓ 1 callersMethodremoveTaskByKey
Removes the first task in the taskQueue with the taskKey
android/src/com/mobiperf/MeasurementScheduler.java:416
↓ 1 callersMethodresetDataUsage
Reset the data used in the data usage file to 0. This should never be done unless the file does not exist.
android/src/com/mobiperf/ResourceCapManager.java:141
↓ 1 callersMethodrestoreConsentState
Restore measurement statistics from persistent storage.
android/src/com/mobiperf/SpeedometerApp.java:441
↓ 1 callersMethodrestoreDefaultAccount
Restore the last used account
android/src/com/mobiperf/SpeedometerApp.java:433
↓ 1 callersMethodrestoreStats
Restore measurement statistics from persistent storage.
android/src/com/mobiperf/MeasurementScheduler.java:1303
↓ 1 callersMethodroutematch
Match a URL against against one of the routes contained. Will return None if no valid match is found, otherwise a result dict
server/routes/base.py:799
↓ 1 callersMethodrun
(AccountManagerFuture<Bundle> result)
android/src/com/mobiperf/AccountSelector.java:189
↓ 1 callersMethodrunDnsTest
The "times" are the inter-packet intervals at which to run the test. Ideally these should be based on the model constructed by the server, a default a
android/src/com/mobiperf/measurements/RRCTask.java:1069
↓ 1 callersMethodrunHTTPTest
Due to problems with how we detect interfering traffic, this test does not always work and results should be treated with caution. I am keeping this t
android/src/com/mobiperf/measurements/RRCTask.java:931
↓ 1 callersMethodrunInferenceTests
The core RRC inference functionality is in this function. The steps involved can be summarized as follows: <ol> <li> Fetch the last model generated by
android/src/com/mobiperf/measurements/RRCTask.java:778
↓ 1 callersMethodrunSizeThresholdTest
Determines the packet size dependence of the RRC task. Given a specified list of inter-packet intervals, perform the RRC inference measurement for pa
android/src/com/mobiperf/measurements/RRCTask.java:886
↓ 1 callersMethodrunTCPHandshakeTest
Time how long it takes to do a TCP 3-way handshake, starting from the induced RRC state. <ol> <li> Send a packet to initiate the RRC state desired. <
android/src/com/mobiperf/measurements/RRCTask.java:1172
↓ 1 callersMethodsaveResultToFile
Save the results of a task to a file, for later uploading. This way, if the application crashes, is halted, etc. between the task and checkin, no resu
android/src/com/mobiperf/MeasurementScheduler.java:868
↓ 1 callersMethodsaveSchedulerState
Save the entire current schedule to a file, in JSON format, like how tasks are received from the server. One item per line.
android/src/com/mobiperf/MeasurementScheduler.java:931
↓ 1 callersMethodsaveStats
Save measurement statistics to persistent storage.
android/src/com/mobiperf/MeasurementScheduler.java:1290
↓ 1 callersMethodsendDownRequest
Opens a datagram socket to the server in the UDPDesc and requests the server to send a burst of UDPBurstCount packets, each of packetSizeByte bytes.
android/src/com/mobiperf/measurements/UDPBurstTask.java:551
↓ 1 callersMethodsendPacket
Send a downlink packet according to ClientRecord @throws MeasurementError send failed
measurement_server/src/com/udpmeasurement/RequestHandler.java:50
↓ 1 callersMethodsendUpBurst
Opens a Datagram socket to the server included in the UDPDesc and sends a burst of UDPBurstCount packets, each of size packetSizeByte. @return a Data
android/src/com/mobiperf/measurements/UDPBurstTask.java:424
↓ 1 callersMethodsetBatteryThresh
Sets the minimum battery percentage below which measurements cannot be run. @param batteryThresh the battery percentage threshold between 0 and 100
android/src/com/mobiperf/ResourceCapManager.java:84
↓ 1 callersMethodsetDataUsageLimit
Given a data profile string, set the data limit and profile code accordingly. If an invalid code is given, leave as default (250 MB) and print a warn
android/src/com/mobiperf/ResourceCapManager.java:102
↓ 1 callersMethodsetDns
Given an interpacket interval and a round trip time from a DNS test, store that value. @param index Index into measurement result array, correspondin
android/src/com/mobiperf/measurements/RRCTask.java:405
↓ 1 callersMethodsetGlobalContext
The owner app class must call this method from its onCreate(), before getPhoneUtils().
android/src/com/mobiperf/util/PhoneUtils.java:163
↓ 1 callersMethodsetHttp
Given an interpacket interval and a round trip time from an HTTP test, store that value. @param index Index into measurement result array, correspond
android/src/com/mobiperf/measurements/RRCTask.java:377
↓ 1 callersMethodsetLastAuthTime
(long lastTime)
android/src/com/mobiperf/AccountSelector.java:98
↓ 1 callersMethodsetPauseIconBasedOnSchedulerState
(MenuItem item)
android/src/com/mobiperf/SpeedometerApp.java:104
↓ 1 callersMethodsetRrcSizeTestData
(int index, int size, long result, long testId)
android/src/com/mobiperf/measurements/RRCTask.java:591
↓ 1 callersMethodsetSocket
(Socket client)
measurement_server/src/servers/UplinkWorker.java:26
↓ 1 callersMethodsetSocket
(Socket client)
measurement_server/src/servers/ServerConfigWorker.java:10
↓ 1 callersMethodsetSocket
(Socket client)
measurement_server/src/servers/DownlinkWorker.java:13
↓ 1 callersMethodsetTcp
Given an interpacket interval and a round trip time from a TCP test, store that value. @param index Index into measurement result array, correspondin
android/src/com/mobiperf/measurements/RRCTask.java:391
↓ 1 callersMethodsetupEditTextFocusChangeListener
()
android/src/com/mobiperf/MeasurementCreationActivity.java:120
↓ 1 callersMethodshouldAuthImmediately
()
android/src/com/mobiperf/AccountSelector.java:94
↓ 1 callersMethodshowAccountDialog
()
android/src/com/mobiperf/SpeedometerApp.java:300
↓ 1 callersMethodshowBusySchedulerStatus
()
android/src/com/mobiperf/MeasurementCreationActivity.java:360
↓ 1 callersMethodshowConsentDialog
()
android/src/com/mobiperf/SpeedometerApp.java:324
↓ 1 callersMethodsizeDataToJSON
(String networkType, String phoneId)
android/src/com/mobiperf/measurements/RRCTask.java:596
↓ 1 callersMethodstop
()
android/src/com/mobiperf/measurements/RRCTask.java:734
↓ 1 callersMethodtoString
()
android/src/com/mobiperf/MeasurementTask.java:186
↓ 1 callersMethodtoString
This will be printed to the device log console. Make sure it's well structured and human readable
android/src/com/mobiperf/measurements/TCPThroughputTask.java:270
↓ 1 callersMethodtoString
()
android/src/com/mobiperf/measurements/PingTask.java:478
↓ 1 callersMethodtoString
()
android/src/com/mobiperf/measurements/TracerouteTask.java:438
↓ 1 callersMethodupdateAll
Save the data resulting from a given test. @param index Index into the array of results. @param rttMax Round trip time for large packets (generally 1
android/src/com/mobiperf/measurements/RRCTask.java:578
↓ 1 callersMethodupdateLastCheckinTime
()
android/src/com/mobiperf/MeasurementScheduleConsoleActivity.java:153
↓ 1 callersMethodupdateResultsConsole
Adds a string to the corresponding console depending on whether the result is a user measurement or a system measurement
android/src/com/mobiperf/MeasurementScheduler.java:1406
↓ 1 callersMethodupdateSize
Helper functions update the total received packet size @param time period increment
android/src/com/mobiperf/measurements/TCPThroughputTask.java:586
↓ 1 callersMethodupdateSize
(int delta)
measurement_server/src/servers/UplinkWorker.java:107
↓ 1 callersMethodupdateStatsBar
(String statsMsg)
android/src/com/mobiperf/SpeedometerApp.java:285
↓ 1 callersMethodupgradeProgress
Upgrades the progress bar in the UI.
android/src/com/mobiperf/ResultsConsoleActivity.java:125
↓ 1 callersMethoduplink
()
android/src/com/mobiperf/measurements/TCPThroughputTask.java:421
↓ 1 callersMethoduploadMeasurementResult
Upload results from non-RRC measurements to the server @param resultArray a JSON array of results to date @param resourceCapManager used to update da
android/src/com/mobiperf/Checkin.java:185
↓ 1 callersMethoduploadResults
()
android/src/com/mobiperf/MeasurementScheduler.java:1019
↓ 1 callersMethoduploadRrcInferenceData
Send the RRC data to the server. Sent as a separate call because the data is formatted in a different, more complicated way than other measurement ta
android/src/com/mobiperf/Checkin.java:215
↓ 1 callersMethoduploadRrcInferenceSizeData
Impact of packet sizes on rrc inference results. TODO do this on checkin @param sizeData Contains data to upload
android/src/com/mobiperf/Checkin.java:241
↓ 1 callersFunctionurl_for
Generates a URL All keys given to url_for are sent to the Routes Mapper instance for generation except for:: anchor
server/routes/util.py:84
MethodAccountSelector
(Context context)
android/src/com/mobiperf/AccountSelector.java:64
MethodAdd
Add a task to the schedule.
server/gspeedometer/controllers/schedule.py:39
FunctionArchiveCompress
Compresses an archive dictionary to a zip file. Provided an archive dictionary and an optional directory name each key is combined with the direc
server/gspeedometer/helpers/archive_util.py:33
FunctionArchiveHash
Calculates the cryptographic hash for the archive. We are using md5 because it can be sent to Google storage as the "Content-MD5" HTTP request he
server/gspeedometer/helpers/archive_util.py:76
MethodArchiveToFile
Responds with data in compressed JSON format for download. Allows a file containing the requested data to be downloaded by the user. Plea
server/gspeedometer/controllers/archive.py:211
MethodArchiveToGoogleStorage
Posts data in compressed JSON format to Google Storage for Developers. Allows a file containing the requested data to be stored in Google Sto
server/gspeedometer/controllers/archive.py:244
MethodCheckin
(Context context)
android/src/com/mobiperf/Checkin.java:82
MethodCheckin
Handler for checkin requests.
server/gspeedometer/controllers/checkin.py:36
MethodClientIdentifier
(InetAddress addr, int port)
measurement_server/src/com/udpmeasurement/ClientIdentifier.java:28
MethodClientRecord
()
measurement_server/src/com/udpmeasurement/ClientRecord.java:38
FunctionConvertFromDict
Fill in Model fields with values from a dict. For each key in the dict, set the value of the corresponding field in the given Model object
server/gspeedometer/helpers/util.py:127
FunctionConvertToJson
Convert an AppEngine Model object to a JSON-encoded string.
server/gspeedometer/helpers/util.py:122
MethodDashboard
Main handler for the service dashboard.
server/gspeedometer/controllers/home.py:36
MethodDashboard
Main handler for the dashboard view.
server/gspeedometer/controllers/validation_dashboard.py:42
MethodDelete
Delete a task from the schedule.
server/gspeedometer/controllers/schedule.py:138
MethodDelete
Delete a specific device.
server/gspeedometer/controllers/device.py:120
MethodDeviceDetail
Query for a specific device.
server/gspeedometer/controllers/device.py:49
MethodDeviceProperty
(String deviceId, String appVersion, long timeStamp, String osVersion, String ipConnectivity, String dn
android/src/com/mobiperf/DeviceProperty.java:41
← previousnext →301–400 of 766, ranked by callers