public
final
class
UidHealthStats
extends Object
java.lang.Object | |
↳ | android.os.health.UidHealthStats |
Keys for HealthStats
returned from
SystemHealthManager.takeUidSnapshot(int)
,
SystemHealthManager.takeMyUidSnapshot()
, and
SystemHealthManager.takeUidSnapshots(int[])
.
Constants | |
---|---|
int |
MEASUREMENT_BLUETOOTH_IDLE_MS
Key for a measurement of number of millseconds the bluetooth controller was idle but turned on on behalf of this uid. |
int |
MEASUREMENT_BLUETOOTH_POWER_MAMS
Key for a measurement of the estimated number of mA*ms used by this uid for bluetooth, that is to say the number of milliseconds of activity times the mA current during that period. |
int |
MEASUREMENT_BLUETOOTH_RX_BYTES
Key for a measurement of number of bytes received for this uid by the bluetooth radio. |
int |
MEASUREMENT_BLUETOOTH_RX_MS
Key for a measurement of number of millseconds the bluetooth transmitter was receiving data for this uid. |
int |
MEASUREMENT_BLUETOOTH_RX_PACKETS
Key for a measurement of number of packets received for this uid by the bluetooth radio. |
int |
MEASUREMENT_BLUETOOTH_TX_BYTES
Key for a measurement of number of bytes transmitted for this uid by the bluetooth radio. |
int |
MEASUREMENT_BLUETOOTH_TX_MS
Key for a measurement of number of millseconds the bluetooth transmitter was transmitting data for this uid. |
int |
MEASUREMENT_BLUETOOTH_TX_PACKETS
Key for a measurement of number of packets transmitted for this uid by the bluetooth radio. |
int |
MEASUREMENT_BUTTON_USER_ACTIVITY_COUNT
Key for a measurement of number of user activity events due to physical button presses caused by the UID. |
int |
MEASUREMENT_CPU_POWER_MAMS
An estimate of the number of milliamp-microsends used by this uid. |
int |
MEASUREMENT_MOBILE_IDLE_MS
Key for a measurement of number of millseconds the mobile radio controller was idle but turned on on behalf of this uid. |
int |
MEASUREMENT_MOBILE_POWER_MAMS
Key for a measurement of the estimated number of mA*ms used by this uid for mobile data, that is to say the number of milliseconds of activity times the mA current during that period. |
int |
MEASUREMENT_MOBILE_RX_BYTES
Key for a measurement of number of bytes received for this uid by the mobile radio. |
int |
MEASUREMENT_MOBILE_RX_MS
Key for a measurement of number of millseconds the mobile radio transmitter was receiving data for this uid. |
int |
MEASUREMENT_MOBILE_RX_PACKETS
Key for a measurement of number of packets received for this uid by the mobile radio. |
int |
MEASUREMENT_MOBILE_TX_BYTES
Key for a measurement of number of bytes transmitted for this uid by the mobile radio. |
int |
MEASUREMENT_MOBILE_TX_MS
Key for a measurement of number of millseconds the mobile radio transmitter was transmitting data for this uid. |
int |
MEASUREMENT_MOBILE_TX_PACKETS
Key for a measurement of number of packets transmitted for this uid by the mobile radio. |
int |
MEASUREMENT_OTHER_USER_ACTIVITY_COUNT
Key for a measurement of number of software-generated user activity events caused by the UID. |
int |
MEASUREMENT_REALTIME_BATTERY_MS
How many milliseconds this statistics report covers in wall-clock time while the device was on battery including both screen-on and screen-off time. |
int |
MEASUREMENT_REALTIME_SCREEN_OFF_BATTERY_MS
How many milliseconds this statistics report covers in wall-clock time while the device was on battery including both screen-on and screen-off time. |
int |
MEASUREMENT_SYSTEM_CPU_TIME_MS
Key for a measurement of the number of milliseconds spent by the CPU running kernel code for this uid. |
int |
MEASUREMENT_TOUCH_USER_ACTIVITY_COUNT
Key for a measurement of number of user activity events due to touch events caused by the UID. |
int |
MEASUREMENT_UPTIME_BATTERY_MS
How many milliseconds this statistics report covers that the CPU was running while the device was on battery including both screen-on and screen-off time. |
int |
MEASUREMENT_UPTIME_SCREEN_OFF_BATTERY_MS
How many milliseconds this statistics report covers that the CPU was running while the device was on battery including both screen-on and screen-off time. |
int |
MEASUREMENT_USER_CPU_TIME_MS
Key for a measurement of the number of milliseconds spent by the CPU running user space code for this uid. |
int |
MEASUREMENT_WIFI_FULL_LOCK_MS
Key for a measurement of number of millseconds that this uid held a full wifi lock. |
int |
MEASUREMENT_WIFI_IDLE_MS
Key for a measurement of number of millseconds the wifi controller was idle but turned on on behalf of this uid. |
int |
MEASUREMENT_WIFI_MULTICAST_MS
Key for a measurement of number of millseconds that this uid was performing multicast wifi traffic. |
int |
MEASUREMENT_WIFI_POWER_MAMS
Key for a measurement of the estimated number of mA*ms used by this uid for wifi, that is to say the number of milliseconds of wifi activity times the mA current during that period. |
int |
MEASUREMENT_WIFI_RUNNING_MS
Key for a measurement of number of millseconds the wifi controller was active on behalf of this uid. |
int |
MEASUREMENT_WIFI_RX_BYTES
Key for a measurement of number of bytes received for this uid by the wifi radio. |
int |
MEASUREMENT_WIFI_RX_MS
Key for a measurement of number of millseconds the wifi transmitter was receiving data for this uid. |
int |
MEASUREMENT_WIFI_RX_PACKETS
Key for a measurement of number of packets received for this uid by the wifi radio. |
int |
MEASUREMENT_WIFI_TX_BYTES
Key for a measurement of number of bytes transmitted for this uid by the wifi radio. |
int |
MEASUREMENT_WIFI_TX_MS
Key for a measurement of number of millseconds the wifi transmitter was transmitting data for this uid. |
int |
MEASUREMENT_WIFI_TX_PACKETS
Key for a measurement of number of packets transmitted for this uid by the wifi radio. |
int |
STATS_PACKAGES
Key for a HealthStats with |
int |
STATS_PIDS
Key for a HealthStats with |
int |
STATS_PROCESSES
Key for a HealthStats with |
int |
TIMERS_JOBS
Key for a map of Timers for the |
int |
TIMERS_SENSORS
Key for a map of the sensor usage for this uid. |
int |
TIMERS_SYNCS
Key for a map of Timers for the sync adapter syncs that were done for this uid. |
int |
TIMERS_WAKELOCKS_DRAW
Key for a TimerStat for the times a system-defined wakelock was acquired to allow the application to draw when it otherwise would not be able to (e.g. |
int |
TIMERS_WAKELOCKS_FULL
Key for a TimerStat for the times a
|
int |
TIMERS_WAKELOCKS_PARTIAL
Key for a TimerStat for the times a
|
int |
TIMERS_WAKELOCKS_WINDOW
|
int |
TIMER_AUDIO
Key for a timer for the count and duration of audio playback done by this uid. |
int |
TIMER_BLUETOOTH_SCAN
Key for a timer for the count and duration of when this uid was doing bluetooth scans. |
int |
TIMER_CAMERA
Key for a timer for the count and duration this uid had the camera turned on. |
int |
TIMER_FLASHLIGHT
Key for a timer for the count and duration this uid had the flashlight turned on. |
int |
TIMER_FOREGROUND_ACTIVITY
Key for a timer for the count and duration of when an activity from this uid was the foreground activitiy. |
int |
TIMER_GPS_SENSOR
Key for a timer for the applications use of the GPS sensor. |
int |
TIMER_MOBILE_RADIO_ACTIVE
Key for a timer for the count and duration the mobile radio was turned on for this uid. |
int |
TIMER_PROCESS_STATE_BACKGROUND_MS
Key for a timer for the count and duration of when this uid was in the "background" process state. |
int |
TIMER_PROCESS_STATE_CACHED_MS
Key for a timer for the count and duration of when this uid was in the "cached" process state. |
int |
TIMER_PROCESS_STATE_FOREGROUND_MS
Key for a timer for the count and duration of when this uid was in the "foreground" process state. |
int |
TIMER_PROCESS_STATE_FOREGROUND_SERVICE_MS
Key for a timer for the count and duration of when this uid was in the "foreground service" process state. |
int |
TIMER_PROCESS_STATE_TOP_MS
Key for a timer for the count and duration of when this uid was in the "top" process state. |
int |
TIMER_PROCESS_STATE_TOP_SLEEPING_MS
Key for a timer for the count and duration of when this uid was in the "top sleeping" process state. |
int |
TIMER_VIBRATOR
Key for a timer for the count and duration this uid had the vibrator turned on. |
int |
TIMER_VIDEO
Key for a timer for the count and duration of video playback done by this uid. |
int |
TIMER_WIFI_SCAN
Key for a timer for the count and duration of wifi scans done by this uid. |
Inherited methods | |
---|---|
From
class
java.lang.Object
|
int MEASUREMENT_BLUETOOTH_IDLE_MS
Key for a measurement of number of millseconds the bluetooth controller was idle but turned on on behalf of this uid.
Constant Value: 10020 (0x00002724)
int MEASUREMENT_BLUETOOTH_POWER_MAMS
Key for a measurement of the estimated number of mA*ms used by this uid for bluetooth, that is to say the number of milliseconds of activity times the mA current during that period.
Constant Value: 10023 (0x00002727)
int MEASUREMENT_BLUETOOTH_RX_BYTES
Key for a measurement of number of bytes received for this uid by the bluetooth radio.
Constant Value: 10052 (0x00002744)
int MEASUREMENT_BLUETOOTH_RX_MS
Key for a measurement of number of millseconds the bluetooth transmitter was receiving data for this uid.
Constant Value: 10021 (0x00002725)
int MEASUREMENT_BLUETOOTH_RX_PACKETS
Key for a measurement of number of packets received for this uid by the bluetooth radio.
Constant Value: 10058 (0x0000274a)
int MEASUREMENT_BLUETOOTH_TX_BYTES
Key for a measurement of number of bytes transmitted for this uid by the bluetooth radio.
Constant Value: 10053 (0x00002745)
int MEASUREMENT_BLUETOOTH_TX_MS
Key for a measurement of number of millseconds the bluetooth transmitter was transmitting data for this uid.
Constant Value: 10022 (0x00002726)
int MEASUREMENT_BLUETOOTH_TX_PACKETS
Key for a measurement of number of packets transmitted for this uid by the bluetooth radio.
Constant Value: 10059 (0x0000274b)
int MEASUREMENT_BUTTON_USER_ACTIVITY_COUNT
Key for a measurement of number of user activity events due to physical button presses caused by the UID. Calls to userActivity() reset the user activity countdown timer and keep the screen on for the user's preferred screen-on setting.
Constant Value: 10046 (0x0000273e)
int MEASUREMENT_CPU_POWER_MAMS
An estimate of the number of milliamp-microsends used by this uid.
Constant Value: 10064 (0x00002750)
int MEASUREMENT_MOBILE_IDLE_MS
Key for a measurement of number of millseconds the mobile radio controller was idle but turned on on behalf of this uid.
Constant Value: 10024 (0x00002728)
int MEASUREMENT_MOBILE_POWER_MAMS
Key for a measurement of the estimated number of mA*ms used by this uid for mobile data, that is to say the number of milliseconds of activity times the mA current during that period.
Constant Value: 10027 (0x0000272b)
int MEASUREMENT_MOBILE_RX_BYTES
Key for a measurement of number of bytes received for this uid by the mobile radio.
Constant Value: 10048 (0x00002740)
int MEASUREMENT_MOBILE_RX_MS
Key for a measurement of number of millseconds the mobile radio transmitter was receiving data for this uid.
Constant Value: 10025 (0x00002729)
int MEASUREMENT_MOBILE_RX_PACKETS
Key for a measurement of number of packets received for this uid by the mobile radio.
Constant Value: 10054 (0x00002746)
int MEASUREMENT_MOBILE_TX_BYTES
Key for a measurement of number of bytes transmitted for this uid by the mobile radio.
Constant Value: 10049 (0x00002741)
int MEASUREMENT_MOBILE_TX_MS
Key for a measurement of number of millseconds the mobile radio transmitter was transmitting data for this uid.
Constant Value: 10026 (0x0000272a)
int MEASUREMENT_MOBILE_TX_PACKETS
Key for a measurement of number of packets transmitted for this uid by the mobile radio.
Constant Value: 10055 (0x00002747)
int MEASUREMENT_OTHER_USER_ACTIVITY_COUNT
Key for a measurement of number of software-generated user activity events caused by the UID. Calls to userActivity() reset the user activity countdown timer and keep the screen on for the user's preferred screen-on setting.
Constant Value: 10045 (0x0000273d)
int MEASUREMENT_REALTIME_BATTERY_MS
How many milliseconds this statistics report covers in wall-clock time while the device was on battery including both screen-on and screen-off time.
Constant Value: 10001 (0x00002711)
int MEASUREMENT_REALTIME_SCREEN_OFF_BATTERY_MS
How many milliseconds this statistics report covers in wall-clock time while the device was on battery including both screen-on and screen-off time.
Constant Value: 10003 (0x00002713)
int MEASUREMENT_SYSTEM_CPU_TIME_MS
Key for a measurement of the number of milliseconds spent by the CPU running kernel code for this uid.
Constant Value: 10063 (0x0000274f)
int MEASUREMENT_TOUCH_USER_ACTIVITY_COUNT
Key for a measurement of number of user activity events due to touch events caused by the UID. Calls to userActivity() reset the user activity countdown timer and keep the screen on for the user's preferred screen-on setting.
Constant Value: 10047 (0x0000273f)
int MEASUREMENT_UPTIME_BATTERY_MS
How many milliseconds this statistics report covers that the CPU was running while the device was on battery including both screen-on and screen-off time.
Constant Value: 10002 (0x00002712)
int MEASUREMENT_UPTIME_SCREEN_OFF_BATTERY_MS
How many milliseconds this statistics report covers that the CPU was running while the device was on battery including both screen-on and screen-off time.
Constant Value: 10004 (0x00002714)
int MEASUREMENT_USER_CPU_TIME_MS
Key for a measurement of the number of milliseconds spent by the CPU running user space code for this uid.
Constant Value: 10062 (0x0000274e)
int MEASUREMENT_WIFI_FULL_LOCK_MS
Key for a measurement of number of millseconds that this uid held a full wifi lock.
Constant Value: 10029 (0x0000272d)
int MEASUREMENT_WIFI_IDLE_MS
Key for a measurement of number of millseconds the wifi controller was idle but turned on on behalf of this uid.
Constant Value: 10016 (0x00002720)
int MEASUREMENT_WIFI_MULTICAST_MS
Key for a measurement of number of millseconds that this uid was performing multicast wifi traffic.
Constant Value: 10031 (0x0000272f)
int MEASUREMENT_WIFI_POWER_MAMS
Key for a measurement of the estimated number of mA*ms used by this uid for wifi, that is to say the number of milliseconds of wifi activity times the mA current during that period.
Constant Value: 10019 (0x00002723)
int MEASUREMENT_WIFI_RUNNING_MS
Key for a measurement of number of millseconds the wifi controller was active on behalf of this uid.
Constant Value: 10028 (0x0000272c)
int MEASUREMENT_WIFI_RX_BYTES
Key for a measurement of number of bytes received for this uid by the wifi radio.
Constant Value: 10050 (0x00002742)
int MEASUREMENT_WIFI_RX_MS
Key for a measurement of number of millseconds the wifi transmitter was receiving data for this uid.
Constant Value: 10017 (0x00002721)
int MEASUREMENT_WIFI_RX_PACKETS
Key for a measurement of number of packets received for this uid by the wifi radio.
Constant Value: 10056 (0x00002748)
int MEASUREMENT_WIFI_TX_BYTES
Key for a measurement of number of bytes transmitted for this uid by the wifi radio.
Constant Value: 10051 (0x00002743)
int MEASUREMENT_WIFI_TX_MS
Key for a measurement of number of millseconds the wifi transmitter was transmitting data for this uid.
Constant Value: 10018 (0x00002722)
int MEASUREMENT_WIFI_TX_PACKETS
Key for a measurement of number of packets transmitted for this uid by the wifi radio.
Constant Value: 10057 (0x00002749)
int STATS_PACKAGES
Key for a HealthStats with PackageHealthStats
keys for each of the
APKs that share this uid.
Constant Value: 10015 (0x0000271f)
int STATS_PIDS
Key for a HealthStats with PidHealthStats
keys for each of the
currently running processes for this uid.
Constant Value: 10013 (0x0000271d)
int STATS_PROCESSES
Key for a HealthStats with ProcessHealthStats
keys for each of the
named processes for this uid.
Constant Value: 10014 (0x0000271e)
int TIMERS_JOBS
Key for a map of Timers for the JobScheduler
jobs for
this uid.
Constant Value: 10010 (0x0000271a)
int TIMERS_SENSORS
Key for a map of the sensor usage for this uid. The keys are a string representation of the handle for the sensor.
Constant Value: 10012 (0x0000271c)
int TIMERS_SYNCS
Key for a map of Timers for the sync adapter syncs that were done for this uid.
Constant Value: 10009 (0x00002719)
int TIMERS_WAKELOCKS_DRAW
Key for a TimerStat for the times a system-defined wakelock was acquired to allow the application to draw when it otherwise would not be able to (e.g. on the lock screen or doze screen).
Constant Value: 10008 (0x00002718)
int TIMERS_WAKELOCKS_FULL
Key for a TimerStat for the times a
full wake lock
was acquired for this uid.
Constant Value: 10005 (0x00002715)
int TIMERS_WAKELOCKS_PARTIAL
Key for a TimerStat for the times a
full wake lock
was acquired for this uid.
Constant Value: 10006 (0x00002716)
int TIMERS_WAKELOCKS_WINDOW
Constant Value: 10007 (0x00002717)
int TIMER_AUDIO
Key for a timer for the count and duration of audio playback done by this uid.
Constant Value: 10032 (0x00002730)
int TIMER_BLUETOOTH_SCAN
Key for a timer for the count and duration of when this uid was doing bluetooth scans.
Constant Value: 10037 (0x00002735)
int TIMER_CAMERA
Key for a timer for the count and duration this uid had the camera turned on.
Constant Value: 10035 (0x00002733)
int TIMER_FLASHLIGHT
Key for a timer for the count and duration this uid had the flashlight turned on.
Constant Value: 10034 (0x00002732)
int TIMER_FOREGROUND_ACTIVITY
Key for a timer for the count and duration of when an activity from this uid was the foreground activitiy.
Constant Value: 10036 (0x00002734)
int TIMER_GPS_SENSOR
Key for a timer for the applications use of the GPS sensor.
Constant Value: 10011 (0x0000271b)
int TIMER_MOBILE_RADIO_ACTIVE
Key for a timer for the count and duration the mobile radio was turned on for this uid.
Constant Value: 10061 (0x0000274d)
int TIMER_PROCESS_STATE_BACKGROUND_MS
Key for a timer for the count and duration of when this uid was in the "background" process state.
Constant Value: 10042 (0x0000273a)
int TIMER_PROCESS_STATE_CACHED_MS
Key for a timer for the count and duration of when this uid was in the "cached" process state.
Constant Value: 10043 (0x0000273b)
int TIMER_PROCESS_STATE_FOREGROUND_MS
Key for a timer for the count and duration of when this uid was in the "foreground" process state.
Constant Value: 10041 (0x00002739)
int TIMER_PROCESS_STATE_FOREGROUND_SERVICE_MS
Key for a timer for the count and duration of when this uid was in the "foreground service" process state.
Constant Value: 10039 (0x00002737)
int TIMER_PROCESS_STATE_TOP_MS
Key for a timer for the count and duration of when this uid was in the "top" process state.
Constant Value: 10038 (0x00002736)
int TIMER_PROCESS_STATE_TOP_SLEEPING_MS
Key for a timer for the count and duration of when this uid was in the "top sleeping" process state.
Constant Value: 10040 (0x00002738)
int TIMER_VIBRATOR
Key for a timer for the count and duration this uid had the vibrator turned on.
Constant Value: 10044 (0x0000273c)
int TIMER_VIDEO
Key for a timer for the count and duration of video playback done by this uid.
Constant Value: 10033 (0x00002731)
int TIMER_WIFI_SCAN
Key for a timer for the count and duration of wifi scans done by this uid.
Constant Value: 10030 (0x0000272e)