Existing PhoneLab Instrumentation

We expect our PhoneLab platform to include an increasing amount of instrumentation added both by PhoneLab developers and by external research teams. If our build already contains instrumentation recording what you're interested in, you can proceed directly to requesting data.

Format

Tag: Category-Subcategory-Institution

List of all actions logged by this tag follows.

  1. Action: Android action associated with this tag, if any. Multiple actions differentiate different types of data logged using the same tag.
    File: Link to project root + Link to file line
    Description:: Description of what this tag logs.

Summary

PhoneLab's instrumented Android platform currently contains:

  • 8 tags, 25 actions,
  • ... in 5 categories,
  • ... added by 2 institutions.

Category: Location

Tag: Location-Misc-PhoneLab

  1. Action: android.location.LOCATION_CHANGED
    File: frameworks/base/services/java/com/android/server/LocationManagerService.java:1978
    Description: Location update.

Category: Network

Tag: Network-Misc-PhoneLab

  1. Action: android.net.ConnectivityService.PACKET_COUNT_SAMPLE
    File: frameworks/base/services/java/com/android/server/ConnectivityService.java:5021
    Description: Per interface packet sampling.
  2. Action: com.android.server.action.NETWORK_STATS_UPDATED
    File: frameworks/base/services/java/com/android/server/net/NetworkStatsService.java:988
    Description: Per process network statistics.

Tag: Network-Telephony-PhoneLab

  1. Action: android.intent.action.ANY_DATA_STATE
    File: frameworks/base/services/java/com/android/server/TelephonyRegistry.java:830
    Description: Cellular data connectivity changed.
  2. Action: android.intent.action.DATA_CONNECTION_FAILED
    File: frameworks/base/services/java/com/android/server/TelephonyRegistry.java:885
    Description: Cellular data connection failed.
  3. Action: android.intent.action.PHONE_STATE
    File: frameworks/base/services/java/com/android/server/TelephonyRegistry.java:798
    Description: Phone calling state changed (incoming call).
  4. Action: android.intent.action.SERVICE_STATE
    File: frameworks/base/services/java/com/android/server/TelephonyRegistry.java:726
    Description: Cellular service state changed.
  5. Action: android.intent.action.SIG_STR
    File: frameworks/base/services/java/com/android/server/TelephonyRegistry.java:759
    Description: Cellular signal strength changed.
  6. Action: android.telephony.CALL_FORWARDING_CHANGED
    File: frameworks/base/services/java/com/android/server/TelephonyRegistry.java:481
    Description: Call forwarding status changed.
  7. Action: android.telephony.CELL_LOCATION_CHANGED
    File: frameworks/base/services/java/com/android/server/TelephonyRegistry.java:643
    Description: Cell tower location changed.
  8. Action: android.telephony.DATA_ACTIVITY_CHANGED
    File: frameworks/base/services/java/com/android/server/TelephonyRegistry.java:518
    Description: Cellular data activity.
  9. Action: android.telephony.MESSAGE_WAITING_CHANGED
    File: frameworks/base/services/java/com/android/server/TelephonyRegistry.java:446
    Description: Message waiting status changed.

Tag: Network-Wifi-PhoneLab

  1. Action: android.net.wifi.LINK_CONFIGURATION_CHANGED
    File: frameworks/base/wifi/java/android/net/wifi/WifiStateMachine.java:2280
    Description: Link confiration changed.
  2. Action: android.net.wifi.RSSI_CHANGED
    File: frameworks/base/wifi/java/android/net/wifi/WifiStateMachine.java:2225
    Description: Link RSSI update.
  3. Action: android.net.wifi.SCAN_RESULTS
    File: frameworks/base/wifi/java/android/net/wifi/WifiStateMachine.java:2202
    Description: Wifi scan results.
  4. Action: android.net.wifi.STATE_CHANGE
    File: frameworks/base/wifi/java/android/net/wifi/WifiStateMachine.java:2248
    Description: Network connected/disconnected.
  5. Action: android.net.wifi.WIFI_STATE_CHANGED
    File: frameworks/base/wifi/java/android/net/wifi/WifiStateMachine.java:1846
    Description: Wifi state change (enabled/disabled).
  6. Action: android.net.wifi.supplicant.STATE_CHANGE
    File: frameworks/base/wifi/java/android/net/wifi/WifiStateMachine.java:2303
    Description: WPA supplicant conection state change.

Category: PackageManager

Tag: PackageManager-Misc-PhoneLab

  1. Action: android.intent.action.PACKAGE_{ADDED, CHANGED, REMOVED}
    File: frameworks/base/services/java/com/android/server/pm/PackageManagerService.java:6292
    Description: Package installed/uninstalled/updated.

Category: Power

Tag: Power-Battery-PhoneLab

  1. Action: android.intent.action.BATTERY_CHANGED
    File: frameworks/base/services/java/com/android/server/BatteryService.java:473
    Description: Battery status changed.

Tag: Power-Screen-PhoneLab

  1. Action: android.intent.action.SCREEN_OFF
    File: frameworks/base/services/java/com/android/server/power/Notifier.java:523
    Description: Screen turned off.
  2. Action: android.intent.action.SCREEN_ON
    File: frameworks/base/services/java/com/android/server/power/Notifier.java:438
    Description: Screen turned on.

Category: Security

Tag: Security-Lockscreen-ICSI

  1. Action: KeyEntryBegin
    File: frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardPatternView.java:250
    Description: Reports when the user enters the first symbol of his unlock code or starts dragging the slider. Also includes the name of the security mode that is currently active.
  2. Action: KeyEntryBegin
    File: frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java:131
    Description: Reports when the user enters the first symbol of his unlock code or starts dragging the slider. Also includes the name of the security mode that is currently active.
  3. Action: KeyEntryBegin
    File: frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardSelectorView.java:102
    Description: Reports when the user enters the first symbol of his unlock code/starts dragging the slider.
  4. Action: KeyguardDismissed
    File: frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardHostView.java:816
    Description: returns the currently active security mode when the Keyguard was dismissed (either a successful unlock or no security mode was active). Authenticated is true if a security mode was active, false otherwise.
  5. Action: UnlockAttempt
    File: frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardPatternView.java:287
    Description: returns the currently active security mode and 'success' if unlocking the phone was successful. Also includes number of attempts and the length of the entered code/secret.
  6. Action: UnlockAttempt
    File: frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardPatternView.java:318
    Description: returns the currently active security mode and 'failed' if unlocking the phone has failed. Also includes number of attempts and the length of the entered code/secret.
  7. Action: UnlockAttempt
    File: frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardPatternView.java:341
    Description: returns the currently active security mode and 'too-short' if the entered code was too short to be considered a failed attempt. Also includes number of attempts and the length of the entered code/secret.
  8. Action: UnlockAttempt
    File: frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java:189
    Description: returns the currently active security mode and 'success' if unlocking the phone was successful. Also includes number of attempts and the length of the entered code/secret.
  9. Action: UnlockAttempt
    File: frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java:214
    Description: returns the currently active security mode and 'failed' if unlocking the phone has failed. Also includes number of attempts and the length of the entered code/secret.
  10. Action: UnlockAttempt
    File: frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardAbsKeyInputView.java:244
    Description: returns the currently active security mode and 'too-short' if the entered code was too short to be considered a failed attempt. Also includes number of attempts and the length of the entered code/secret.

Last updated 2015-07-15.