MCPcopy Create free account

hub / github.com/Mobiperf/MobiPerf / functions

Functions766 in github.com/Mobiperf/MobiPerf

↓ 2 callersMethodAddIcon
Add an icon as into the map resource so that points can reference it.
server/gspeedometer/helpers/googlemaphelper.py:88
↓ 2 callersFunctionConvertToDict
Convert an AppEngine Model object to a Python dict ready for json dump. For each property in the model, set a value in the returned dict wi
server/gspeedometer/helpers/util.py:79
↓ 2 callersMethodFakeDeviceCheckin
Perform a fake checkin to the server.
client/speedometer_client.py:118
↓ 2 callersMethodGetDefaultMeasurement
Utility method for getting the default type to show in the scheduler.
server/gspeedometer/controllers/measurement.py:170
↓ 2 callersMethodGetHTML
Returns an HTML representation of this measurement.
server/gspeedometer/measurement/rrc.py:31
↓ 2 callersMethodGetMeasurementListWithAcl
Return a list of measurements that are accessible by the current user.
server/gspeedometer/model.py:190
↓ 2 callersMethodGetParam
Return the measurement parameter indexed by the given key.
server/gspeedometer/model.py:161
↓ 2 callersMethodGetParam
Return the measurement parameter indexed by the given key.
server/gspeedometer/model.py:237
↓ 2 callersMethodPauseTraffic
()
android/src/com/mobiperf/RRCTrafficControl.java:36
↓ 2 callersMethodUnPauseTraffic
()
android/src/com/mobiperf/RRCTrafficControl.java:46
↓ 2 callersMethod_Archive
Processes parameters and packages the data into a file-like object. This method does the bulk of the heavy lifting. It makes sense of the re
server/gspeedometer/controllers/archive.py:144
↓ 2 callersMethod_Authenticate
Authenticates the user. The authentication process works as follows: 1) We get a username and password from the user 2) We use ClientLo
client/appengine_client.py:167
↓ 2 callersMethod_DoValidation
Gets all the records for a specified type, subject to request parameters. Args: None. This reads from the measurement request
server/gspeedometer/controllers/validation.py:139
↓ 2 callersMethod_FakeDeviceProperties
Return a dict containing a fake device_properties record.
client/speedometer_client.py:99
↓ 2 callersMethod_SetCurrentUser
(self, email, user_id='123', is_admin=False)
server/gspeedometer/helpers/test.py:52
↓ 2 callersMethod_match
Internal Route matcher Matches a URL against a route, and returns a tuple of the match dict and the route object if a match i
server/routes/base.py:740
↓ 2 callersMethodbindToService
()
android/src/com/mobiperf/SpeedometerApp.java:291
↓ 2 callersMethodcheckDomainNameResolvable
Use MLabNS slices to check IPv4/IPv6 domain name resolvable @param ip_detect_type -- "ipv4" or "ipv6" @return DN_UNRESOLVABLE, DN_RESOLVABLE
android/src/com/mobiperf/util/PhoneUtils.java:787
↓ 2 callersMethodcheckIPCompatibility
Using MLab service to detect ipv4 or ipv6 compatibility @param ip_detect_type -- "ipv4" or "ipv6" @return IP_TYPE_CANNOT_DECIDE, IP_TYPE_UNCONNECTIVIT
android/src/com/mobiperf/util/PhoneUtils.java:737
↓ 2 callersMethodcheckin
(ResourceCapManager resourceCapManager)
android/src/com/mobiperf/Checkin.java:110
↓ 2 callersMethodcleanUp
(Process proc)
android/src/com/mobiperf/measurements/PingTask.java:250
↓ 2 callersMethodconsentDialogWrapper
A wrapper function to check user consent selection, and generate one if user haven't agreed on.
android/src/com/mobiperf/SpeedometerApp.java:451
↓ 2 callersMethodconstructCommand
(Object... strings)
android/src/com/mobiperf/util/Util.java:90
↓ 2 callersMethodcreateServiceRunningNotification
Create notification that indicates the service is running.
android/src/com/mobiperf/MeasurementScheduler.java:254
↓ 2 callersMethodcreate_regs
Creates regular expressions for all connected routes
server/routes/base.py:722
↓ 2 callersMethodequals
(Object another)
measurement_server/src/com/udpmeasurement/ClientIdentifier.java:43
↓ 2 callersMethodgenerate
Generate a URL from ourself given a set of keyword arguments Toss an exception if this set of keywords would cause a gap in t
server/routes/base.py:440
↓ 2 callersMethodgetAccountList
Return the list of account names for users to select
android/src/com/mobiperf/AccountSelector.java:109
↓ 2 callersMethodgetAuthToken
(AccountManagerFuture<Bundle> result)
android/src/com/mobiperf/AccountSelector.java:209
↓ 2 callersMethodgetByteArray
Pack the structure to the network message @return the network message in byte[] @throws MeasurementError stream writer failed
android/src/com/mobiperf/measurements/UDPBurstTask.java:384
↓ 2 callersMethodgetCheckinFuture
Returns the Future to monitor the checkin progress
android/src/com/mobiperf/AccountSelector.java:71
↓ 2 callersMethodgetConsoleContentFromScheduler
()
android/src/com/mobiperf/ResultsConsoleActivity.java:144
↓ 2 callersMethodgetCookie
Initiates the process to get the authentication cookie for the user account. Returns immediately.
android/src/com/mobiperf/Checkin.java:396
↓ 2 callersMethodgetCurrentBatteryLevel
Returns the current battery level
android/src/com/mobiperf/util/PhoneUtils.java:580
↓ 2 callersMethodgetCurrentNetworkConnection
()
android/src/com/mobiperf/util/PhoneUtils.java:679
↓ 2 callersMethodgetCurrentTask
Returns the current task being run. In the current implementation, the synchronized keyword is not needed because only one thread runs measurements an
android/src/com/mobiperf/MeasurementScheduler.java:409
↓ 2 callersMethodgetFakeAuthCookie
Return a fake authentication cookie for a test server instance
android/src/com/mobiperf/Checkin.java:95
↓ 2 callersMethodgetGsonInstance
()
android/src/com/mobiperf/util/MeasurementJsonConvertor.java:117
↓ 2 callersMethodgetPacketsSentDiff
The total traffic sent and received since getPacketsSent was run. @return The total packets (or data) sent and received, as a sum
android/src/com/mobiperf/measurements/RRCTask.java:689
↓ 2 callersMethodgetPendingTaskCount
Return the number of pending tasks that have been scheduled
android/src/com/mobiperf/MeasurementScheduler.java:548
↓ 2 callersMethodgetService
()
android/src/com/mobiperf/MeasurementScheduler.java:136
↓ 2 callersMethodgetTelephonyCarrierName
Returns current mobile phone carrier name, or empty if not connected.
android/src/com/mobiperf/util/PhoneUtils.java:331
↓ 2 callersMethodgetTelephonyPhoneType
Returns "GSM", "CDMA".
android/src/com/mobiperf/util/PhoneUtils.java:318
↓ 2 callersMethodgetVersionStr
()
android/src/com/mobiperf/util/PhoneUtils.java:683
↓ 2 callersMethodhandleMeasurement
()
android/src/com/mobiperf/MeasurementScheduler.java:327
↓ 2 callersMethodinitializeStatusBar
()
android/src/com/mobiperf/SpeedometerApp.java:260
↓ 2 callersMethodinsertWithOrder
(ArrayList<Double> array, double item)
android/src/com/mobiperf/measurements/TCPThroughputTask.java:623
↓ 2 callersMethodisCharging
Returns if the batter is charing
android/src/com/mobiperf/util/PhoneUtils.java:587
↓ 2 callersMethodisInDataLimitPeriod
Helper function: given the beginning of the data usage period currrently under consideration, determine if we're still in that period. @param usageSt
android/src/com/mobiperf/ResourceCapManager.java:254
↓ 2 callersMethodisValidIpv4Addr
(String ip)
android/src/com/mobiperf/measurements/TracerouteTask.java:383
↓ 2 callersMethodisValidIpv6Addr
(String ip)
android/src/com/mobiperf/measurements/TracerouteTask.java:403
↓ 2 callersMethodlast_update
(self)
server/gspeedometer/model.py:44
↓ 2 callersFunctionmain
(sdk_path, test_path)
server/run_tests.py:35
↓ 2 callersMethodopenSocket
Opens a datagram (UDP) socket @return a datagram socket used for sending/receiving @throws MeasurementError if an error occurs
android/src/com/mobiperf/measurements/UDPBurstTask.java:220
↓ 2 callersMethodpingExecutableBasedOnIPType
Determine the ping executable based on ip address byte length
android/src/com/mobiperf/util/Util.java:197
↓ 2 callersMethodpopulateMeasurementSpecificArea
()
android/src/com/mobiperf/MeasurementCreationActivity.java:151
↓ 2 callersMethodprepareUserAgent
Prepare the internal User-Agent string for use. This requires a {@link Context} to pull the package name and version number for this application.
android/src/com/mobiperf/util/Util.java:109
↓ 2 callersMethodquitApp
()
android/src/com/mobiperf/SpeedometerApp.java:381
↓ 2 callersMethodreadUsageFromFile
Read the usage data (start of usage period and quantity used in bytes) from the usage data file. @return An array consisting of the start of the usag
android/src/com/mobiperf/ResourceCapManager.java:183
↓ 2 callersMethodremoveIconFromStatusBar
Remove the icon from the device status bar.
android/src/com/mobiperf/MeasurementScheduler.java:286
↓ 2 callersMethodrequestStop
Request the scheduler to stop execution.
android/src/com/mobiperf/MeasurementScheduler.java:561
↓ 2 callersMethodresetCheckin
()
android/src/com/mobiperf/MeasurementScheduler.java:701
↓ 2 callersMethodresetCheckinFuture
After checkin finishes, the client of AccountSelector SHOULD reset checkinFuture
android/src/com/mobiperf/AccountSelector.java:76
↓ 2 callersMethodrestoreState
Restore service state from prefs.
android/src/com/mobiperf/MeasurementScheduler.java:1279
↓ 2 callersMethodsaveConsentState
Save consent state persistent storage.
android/src/com/mobiperf/SpeedometerApp.java:422
↓ 2 callersMethodsetAuthImmediately
Allows clients of AccountSelector to request an authentication upon the next call to authenticate()
android/src/com/mobiperf/AccountSelector.java:90
↓ 2 callersMethodsetBySize
()
android/src/com/mobiperf/measurements/RRCTask.java:631
↓ 2 callersMethodsetCheckinInterval
Set the interval for checkin in seconds
android/src/com/mobiperf/MeasurementScheduler.java:470
↓ 2 callersMethodsetNewDataConsumptionPeriod
Updates the data consumption period: using the current time move ahead to the correct data consumption period, and also update the data used so far.
android/src/com/mobiperf/ResourceCapManager.java:222
↓ 2 callersMethodsetStartOnBoot
Set preference to indicate whether start on boot is enabled.
android/src/com/mobiperf/SpeedometerApp.java:408
↓ 2 callersMethodshutDown
Shuts down the checkin thread
android/src/com/mobiperf/Checkin.java:88
↓ 2 callersFunctionstrip_slashes
Remove slashes from the beginning and end of a part/URL.
server/routes/base.py:15
↓ 2 callersMethodtimeFromExecution
()
android/src/com/mobiperf/MeasurementTask.java:149
↓ 2 callersMethodtoJSON
(String networktype, String phoneId)
android/src/com/mobiperf/measurements/RRCTask.java:524
↓ 2 callersMethodtoString
()
android/src/com/mobiperf/measurements/HttpTask.java:318
↓ 2 callersMethodupdateBatteryStat
(Intent powerIntent)
android/src/com/mobiperf/util/PhoneUtils.java:606
↓ 2 callersMethodupdateConnectivityInfo
Fetches the new connectivity state from the connectivity manager directly.
android/src/com/mobiperf/util/PhoneUtils.java:650
↓ 2 callersMethodupdateConsole
()
android/src/com/mobiperf/SystemConsoleActivity.java:87
↓ 2 callersMethodupdateFromPreference
()
android/src/com/mobiperf/MeasurementScheduler.java:628
↓ 2 callersMethodupdateSchedule
Update the schedule based on a set of tasks from the server. <p> The current tasks to schedule are in a hash table indexed by a unique task key. <p> R
android/src/com/mobiperf/MeasurementScheduler.java:786
↓ 2 callersMethodupdateStartTime
We might adjust the interval based on the data consumption profile. In that case, we need to update the start time accordingly.
android/src/com/mobiperf/MeasurementDesc.java:90
↓ 2 callersMethoduserConsented
()
android/src/com/mobiperf/MeasurementScheduler.java:1311
↓ 1 callersMethodAddPoint
Add a point to the map.
server/gspeedometer/helpers/googlemaphelper.py:70
↓ 1 callersMethodCommonExceptions
Returns a list containing the most common 10 exceptions and the number of times they have been reported.
server/gspeedometer/controllers/validation_dashboard.py:114
↓ 1 callersMethodDashboardDetail
Returns a dict of time to measurement type to count.
server/gspeedometer/controllers/validation_dashboard.py:58
↓ 1 callersFunctionDeviceChoice
Return a tuple (key, description) for the given device.
server/gspeedometer/controllers/googlemap.py:46
↓ 1 callersFunctionEncodeScheduleAsJson
Given a list of Tasks, return a JSON string encoding the schedule.
server/gspeedometer/controllers/checkin.py:132
↓ 1 callersMethodFakePostMeasurement
Submit a fake measurement result to the server.
client/speedometer_client.py:131
↓ 1 callersFunctionGetDeviceSchedule
Return entries from the global schedule that match this device.
server/gspeedometer/controllers/checkin.py:78
↓ 1 callersMethodGetDevices
Returns a list of available devices.
client/speedometer_client.py:92
↓ 1 callersMethodGetGoogleMapScript
Returns complete javacript for rendering map.
server/gspeedometer/helpers/googlemaphelper.py:92
↓ 1 callersFunctionGetMeasurementDictList
Retrieves device measurements from the datastore. This is factored out to allow for future growth and diversification is what data is retrieved a
server/gspeedometer/controllers/archive.py:56
↓ 1 callersFunctionParametersToFileNameBase
Builds a file name base based on query parameters. This method builds a file name base (lacking an extension, timestamp or other things that may
server/gspeedometer/controllers/archive.py:101
↓ 1 callersMethodParams
Return a dict of all measurement parameters.
server/gspeedometer/model.py:241
↓ 1 callersMethodSetErrorByType
Takes a dict of error names to count of those errors, and sets the per_error_count string list property to those values
server/gspeedometer/model.py:320
↓ 1 callersFunctionTimeToMicrosecondsSinceEpoch
Convert a datetime object to microseconds since the epoch UTC. Args: dt: A datetime.datetime object. Returns: A long in microseconds sinc
client/speedometer_client.py:56
↓ 1 callersFunctionTimeToMicrosecondsSinceEpoch
Convert a datetime object to microseconds since the epoch UTC.
server/gspeedometer/helpers/util.py:67
↓ 1 callersFunctionTimeToString
Convert a DateTime object to an ISO8601-encoded string.
server/gspeedometer/helpers/util.py:53
↓ 1 callersMethod_CheckForGeoResolution
Fails assertion check if dict_to_check has high-resolution geographic coordinates.
server/gspeedometer/controllers/archive_test.py:152
↓ 1 callersMethod_CheckForKeyNotPresent
Fails assertion check if dict_to_check has a key specified in keys.
server/gspeedometer/controllers/archive_test.py:143
← previousnext →101–200 of 766, ranked by callers