MCPcopy Create free account

hub / github.com/Mobiperf/MobiPerf / functions

Functions766 in github.com/Mobiperf/MobiPerf

↓ 151 callersMethodi
(String msg)
android/src/com/mobiperf/Logger.java:38
↓ 103 callersMethodd
(String msg)
android/src/com/mobiperf/Logger.java:14
↓ 91 callersMethode
(String msg)
android/src/com/mobiperf/Logger.java:26
↓ 49 callersMethodtoString
()
android/src/com/mobiperf/measurements/RRCTask.java:1298
↓ 45 callersMethodconnect
Create and connect a new Route to the Mapper. Usage: .. code-block:: Python m = Mapper()
server/routes/base.py:633
↓ 45 callersMethodequals
To determine if a task has changed when receiving a new schedule from the server.
android/src/com/mobiperf/MeasurementDesc.java:113
↓ 35 callersMethodaddResult
(String resultType, Object resultVal)
android/src/com/mobiperf/MeasurementResult.java:80
↓ 32 callersMethodgetDescription
()
android/src/com/mobiperf/MeasurementTask.java:166
↓ 26 callersMethodw
(String msg)
android/src/com/mobiperf/Logger.java:62
↓ 25 callersMethodgetPhoneUtils
Returns a singleton instance of PhoneUtils. The caller must call {@link #setGlobalContext(Context)} before calling this method.
android/src/com/mobiperf/util/PhoneUtils.java:187
↓ 18 callersMethodsendStringMsg
Write a string to the system console.
android/src/com/mobiperf/MeasurementScheduler.java:659
↓ 16 callersMethodlogmsg
print a log message with the current time and extra information @param a extra information to be logged
measurement_server/src/com/udpmeasurement/Config.java:59
↓ 15 callersMethodcompareTo
(Object t)
android/src/com/mobiperf/MeasurementTask.java:135
↓ 13 callersMethodgetUnscheduledTaskCount
Return the number of tasks that have not been scheduled
android/src/com/mobiperf/MeasurementScheduler.java:538
↓ 13 callersMethodsubmitTask
Submit a MeasurementTask to the scheduler. Caller of this method can broadcast an intent with MEASUREMENT_ACTION to start the measurement immediately.
android/src/com/mobiperf/MeasurementScheduler.java:574
↓ 12 callersMethodgetDeviceInfo
()
android/src/com/mobiperf/util/PhoneUtils.java:699
↓ 11 callersMethodbroadcastProgressForUser
(int progress)
android/src/com/mobiperf/MeasurementTask.java:212
↓ 11 callersMethodgetNetwork
Returns the network that the phone is on (e.g. Wifi, Edge, GPRS, etc).
android/src/com/mobiperf/util/PhoneUtils.java:274
↓ 11 callersMethodtoString
()
measurement_server/src/com/udpmeasurement/ClientIdentifier.java:33
↓ 10 callersMethodtoJsonString
(Object obj)
android/src/com/mobiperf/util/MeasurementJsonConvertor.java:113
↓ 9 callersMethodgetDeviceProperty
Returns the DeviceProperty needed to report the measurement result
android/src/com/mobiperf/util/PhoneUtils.java:855
↓ 9 callersMethodgetNextTaskToBeScheduled
Return the next task to be scheduled
android/src/com/mobiperf/MeasurementScheduler.java:543
↓ 8 callersMethodParams
Return a dict of all measurement parameters.
server/gspeedometer/model.py:165
↓ 8 callersMethodaddPacketInfo
(int packetNum, long delay, long lastTimestamp)
measurement_server/src/com/udpmeasurement/ClientRecord.java:45
↓ 8 callersMethodwaitTime
Sleep for the amount of time indicated. @param timeToSleep Time for which we pause the current thread @param useMs Toggles between units of milliseco
android/src/com/mobiperf/measurements/RRCTask.java:1319
↓ 7 callersMethodencodeToJson
(Object obj)
android/src/com/mobiperf/util/MeasurementJsonConvertor.java:108
↓ 7 callersMethodgetScheduler
Returns the scheduler singleton instance. Should only be called from the UI thread.
android/src/com/mobiperf/SpeedometerApp.java:90
↓ 6 callersMethodValues
Return a dict of all measurement values.
server/gspeedometer/model.py:250
↓ 6 callersMethodgetServerUrl
()
android/src/com/mobiperf/util/PhoneUtils.java:716
↓ 6 callersMethodgetTimeStringFromMicrosecond
(long microsecond)
android/src/com/mobiperf/util/Util.java:135
↓ 6 callersMethodinit
Create the receiver class, the reflection method for processPacket due to its visability and a received packet @throws NoSuchMethodException @throws S
measurement_server/src/com/udpmeasurement/test/TestProcessPacket.java:47
↓ 6 callersMethodinsertStringToConsole
Inserts a string into the console with the latest message on top.
android/src/com/mobiperf/MeasurementScheduler.java:1393
↓ 6 callersMethodprintIPTestResult
Print ip connectivity and hostname resolvability result
android/src/com/mobiperf/MeasurementResult.java:319
↓ 6 callersMethodupdateDataUsage
Determine how much data was consumed by a task and update the data usage accordingly. @param result Structure holding the measurement result from whi
android/src/com/mobiperf/ResourceCapManager.java:315
↓ 6 callersMethodupdateStatus
Broadcast an intent to update the system status.
android/src/com/mobiperf/MeasurementScheduler.java:618
↓ 6 callersMethodupdateStatusBar
(String statusMsg)
android/src/com/mobiperf/SpeedometerApp.java:279
↓ 5 callersMethodGetDeviceWithAcl
(cls, device_id)
server/gspeedometer/model.py:79
↓ 5 callersMethodcleanUp
(Process proc)
android/src/com/mobiperf/measurements/TracerouteTask.java:333
↓ 5 callersMethodgetDataUsageProfile
@return An enum representing the data usage limit.
android/src/com/mobiperf/ResourceCapManager.java:133
↓ 5 callersMethodgetType
()
android/src/com/mobiperf/measurements/RRCTask.java:729
↓ 5 callersMethodisPauseRequested
Return whether new tasks can be scheduled
android/src/com/mobiperf/MeasurementScheduler.java:528
↓ 5 callersMethodisTrafficInterfering
Call this to determine if packets have been sent since initializing. @param expectedRcv Number of packets expected to be received by the device since
android/src/com/mobiperf/measurements/RRCTask.java:648
↓ 5 callersMethodmatch
Match a url to our regexp. While the regexp might match, this operation isn't guaranteed as there's other factors that can c
server/routes/base.py:361
↓ 5 callersFunctionrequest_config
Returns the Routes RequestConfig object. To get the Routes RequestConfig: >>> from routes import * >>> config = request_con
server/routes/__init__.py:63
↓ 5 callersMethodsendPacket
Helper function that sends a single packet and receives an empty packet back. @param serverAddr Echo server to calculate round trip @param size size o
android/src/com/mobiperf/measurements/RRCTask.java:1402
↓ 5 callersMethodsendPacket
Send packet according to the type and clientRecord @param type the type of the packet to be sent @param clientId the corresponding client identifier @
measurement_server/src/com/udpmeasurement/UDPReceiver.java:259
↓ 5 callersMethodsendStringMsg
(String str)
android/src/com/mobiperf/Checkin.java:456
↓ 4 callersMethodLookup
Query MLab-NS to get an FQDN for the given tool.
android/src/com/mobiperf/util/MLabNS.java:45
↓ 4 callersMethodcheckIfPaused
()
android/src/com/mobiperf/RRCTrafficControl.java:56
↓ 4 callersMethodcheckIfWifi
If on wifi, suspend the task until we go back to the cellular network. Use exponential back-off to calculate the wait time, with a limit of 500 s. Onc
android/src/com/mobiperf/measurements/RRCTask.java:1623
↓ 4 callersMethodgetCurrentRssi
Returns the last updated RSSI value
android/src/com/mobiperf/util/PhoneUtils.java:601
↓ 4 callersMethodgetDataLimit
@return The current data limit in bytes.
android/src/com/mobiperf/ResourceCapManager.java:126
↓ 4 callersMethodgetDescriptor
Returns a brief human-readable descriptor of the task.
android/src/com/mobiperf/MeasurementTask.java:173
↓ 4 callersMethodincrementData
(long data_increment)
android/src/com/mobiperf/measurements/RRCTask.java:1653
↓ 4 callersMethodinitNetwork
Lazily initializes the network managers. As a side effect, assigns connectivityManager and telephonyManager.
android/src/com/mobiperf/util/PhoneUtils.java:238
↓ 4 callersMethodinitialize
()
android/src/com/mobiperf/RRCTrafficControl.java:28
↓ 4 callersMethodpause
Prevents new tasks from being scheduled. Started task will still run to finish.
android/src/com/mobiperf/MeasurementScheduler.java:512
↓ 4 callersMethodpersistState
Persist service state to prefs.
android/src/com/mobiperf/MeasurementScheduler.java:1268
↓ 4 callersMethodremoveQuotes
Removes the quotes surrounding the string. If |str| is null, returns null.
android/src/com/mobiperf/MeasurementResult.java:312
↓ 4 callersMethodresume
Enables new tasks to be scheduled
android/src/com/mobiperf/MeasurementScheduler.java:520
↓ 4 callersMethodserviceRequest
(String url, String jsonString)
android/src/com/mobiperf/Checkin.java:346
↓ 4 callersMethodsetCurrentTask
Sets the current task being run. In the current implementation, the synchronized keyword is not needed because only one thread runs measurements and c
android/src/com/mobiperf/MeasurementScheduler.java:400
↓ 4 callersMethodwriteDataUsageToFile
Store the data used this period and the beginning of the period in a file, in the format [time reset, in seconds]_[bytes used]. Note that the data us
android/src/com/mobiperf/ResourceCapManager.java:161
↓ 3 callersMethodCreateValidator
Gets all the records for a specified type, subject to request parameters. Args: measurement: A Measurement entity. Return
server/gspeedometer/controllers/validation.py:278
↓ 3 callersMethodGetDeviceListWithAcl
Return a query for devices that can be accessed by the current user.
server/gspeedometer/model.py:69
↓ 3 callersMethodGetMeasurement
Factory method for getting measurement objects for display in measurement scheduler. Note that we need to pass a SortedDict to ensure t
server/gspeedometer/controllers/measurement.py:175
↓ 3 callersMethodGetTaskID
(self)
server/gspeedometer/model.py:223
↓ 3 callersMethodGetValue
Return the measurement value indexed by the given key.
server/gspeedometer/model.py:246
↓ 3 callersMethodLastUpdateTime
(self)
server/gspeedometer/model.py:62
↓ 3 callersMethodSend
Sends an RPC and returns the response. Args: request_path: The path to send the request to, eg /api/appversion/create. payload: The b
client/appengine_client.py:226
↓ 3 callersMethodValidate
Main handler for the validation view. Note that this method is called from a request that is restricted to admin privileges. Args
server/gspeedometer/controllers/validation.py:49
↓ 3 callersMethod_BuildFields
Builds the ordered set of fields to display in the form for the specified measurement type. Args: measurement: A MeasurementTyp
server/gspeedometer/controllers/schedule.py:180
↓ 3 callersMethod_CreateFakeDevices
Create fake devices. Args: n: Number of devices to create. extra_info: optional list of dictionaries, where dictionary x will
server/gspeedometer/helpers/test.py:60
↓ 3 callersMethod_CreateRequest
Creates a new urllib request.
client/appengine_client.py:90
↓ 3 callersFunction_subdomain_check
Screen the kargs for a subdomain and alter it appropriately depending on the current subdomain or lack therof.
server/routes/util.py:52
↓ 3 callersMethodacquireWakeLock
Wakes up the CPU of the phone if it is sleeping.
android/src/com/mobiperf/util/PhoneUtils.java:445
↓ 3 callersMethodbroadcastMeasurementEnd
(MeasurementResult result, MeasurementError error)
android/src/com/mobiperf/ResourceCapManager.java:380
↓ 3 callersMethodbuildUpSocket
(Socket tcpSocket, String hostname, int portNum)
android/src/com/mobiperf/measurements/TCPThroughputTask.java:607
↓ 3 callersMethodcalculateJitter
Calculate jitter as the standard deviation of one-way delays. Clock sync between client and server is not required since the clock offset will be canc
measurement_server/src/com/udpmeasurement/ClientRecord.java:71
↓ 3 callersMethodcalculateOutOfOrderNum
Get inversion number as the metric of UDP out-of-order count @return the inversion number of the current UDP burst
measurement_server/src/com/udpmeasurement/ClientRecord.java:61
↓ 3 callersMethodcanScheduleExperiment
Returns whether a measurement can be run.
android/src/com/mobiperf/ResourceCapManager.java:347
↓ 3 callersMethodconstructResult
(ArrayList<Double> rrtVals, double packetLoss, int packetsSent, St
android/src/com/mobiperf/measurements/PingTask.java:203
↓ 3 callersMethodgetByteArray
Pack the structure to the network message @return the network message in byte[] @throws MeasurementError stream writer failed
measurement_server/src/com/udpmeasurement/MeasurementPacket.java:81
↓ 3 callersMethodgetDescriptor
()
android/src/com/mobiperf/measurements/RRCTask.java:724
↓ 3 callersMethodgetFailureResult
(MeasurementTask task, Throwable error)
android/src/com/mobiperf/MeasurementScheduler.java:1177
↓ 3 callersMethodgetPacketsSent
Determine how many packets, so far, have been sent (the contents of /proc/net/dev/). This is a global value. We use this to determine if any other app
android/src/com/mobiperf/measurements/RRCTask.java:670
↓ 3 callersMethodhandleCheckin
Perform a checkin operation.
android/src/com/mobiperf/MeasurementScheduler.java:304
↓ 3 callersMethodisAnonymous
()
android/src/com/mobiperf/AccountSelector.java:62
↓ 3 callersMethodisTestingServer
(String serverUrl)
android/src/com/mobiperf/util/PhoneUtils.java:728
↓ 3 callersMethodmakeMeasurementTaskFromJson
(JSONObject json, Context context)
android/src/com/mobiperf/util/MeasurementJsonConvertor.java:72
↓ 3 callersMethodnum_updates
(self)
server/gspeedometer/model.py:54
↓ 3 callersMethodreadCurrentPacketValues
()
android/src/com/mobiperf/measurements/RRCTask.java:635
↓ 3 callersMethodreleaseWakeLock
Release the CPU wake lock. WakeLock is reference counted by default: no need to worry about releasing someone else's wake lock
android/src/com/mobiperf/util/PhoneUtils.java:456
↓ 3 callersMethodremoveAllUnscheduledTasks
Remove all tasks that have not been scheduled
android/src/com/mobiperf/MeasurementScheduler.java:533
↓ 3 callersMethodrestoreConsole
Restores content for consoleContent with the key prefKey.
android/src/com/mobiperf/MeasurementScheduler.java:1369
↓ 3 callersMethodsaveConsoleContent
Persists the content of the console as a JSON string
android/src/com/mobiperf/MeasurementScheduler.java:1322
↓ 3 callersMethodsendMultiPackets
Sends a bunch of UDP packets of the size indicated and wait for the response. Counts how long it takes for all the packets to return. PAckets are cur
android/src/com/mobiperf/measurements/RRCTask.java:1346
↓ 3 callersMethodsetCurrentRssi
Sets the current RSSI value
android/src/com/mobiperf/util/PhoneUtils.java:594
↓ 3 callersMethodswitchBetweenResults
Change the underlying adapter for the ListView. @param showUserResults If true, show user results; otherwise, show system results.
android/src/com/mobiperf/ResultsConsoleActivity.java:113
↓ 3 callersMethodupdateConsole
()
android/src/com/mobiperf/MeasurementScheduleConsoleActivity.java:166
next →1–100 of 766, ranked by callers