public final class UidHealthStats extends Object
Modifier and Type | Field and Description |
---|---|
static HealthKeys.Constants |
CONSTANTS |
static 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.
|
static 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.
|
static int |
MEASUREMENT_BLUETOOTH_RX_BYTES
Key for a measurement of number of bytes received for this uid by the bluetooth radio.
|
static int |
MEASUREMENT_BLUETOOTH_RX_MS
Key for a measurement of number of millseconds the bluetooth transmitter was
receiving data for this uid.
|
static int |
MEASUREMENT_BLUETOOTH_RX_PACKETS
Key for a measurement of number of packets received for this uid by the bluetooth radio.
|
static int |
MEASUREMENT_BLUETOOTH_TX_BYTES
Key for a measurement of number of bytes transmitted for this uid by the bluetooth radio.
|
static int |
MEASUREMENT_BLUETOOTH_TX_MS
Key for a measurement of number of millseconds the bluetooth transmitter was
transmitting data for this uid.
|
static int |
MEASUREMENT_BLUETOOTH_TX_PACKETS
Key for a measurement of number of packets transmitted for this uid by the bluetooth radio.
|
static 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.
|
static int |
MEASUREMENT_CPU_POWER_MAMS
An estimate of the number of milliamp-microsends used by this uid.
|
static 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.
|
static 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.
|
static int |
MEASUREMENT_MOBILE_RX_BYTES
Key for a measurement of number of bytes received for this uid by the mobile radio.
|
static int |
MEASUREMENT_MOBILE_RX_MS
Key for a measurement of number of millseconds the mobile radio transmitter was
receiving data for this uid.
|
static int |
MEASUREMENT_MOBILE_RX_PACKETS
Key for a measurement of number of packets received for this uid by the mobile radio.
|
static int |
MEASUREMENT_MOBILE_TX_BYTES
Key for a measurement of number of bytes transmitted for this uid by the mobile radio.
|
static int |
MEASUREMENT_MOBILE_TX_MS
Key for a measurement of number of millseconds the mobile radio transmitter was
transmitting data for this uid.
|
static int |
MEASUREMENT_MOBILE_TX_PACKETS
Key for a measurement of number of packets transmitted for this uid by the mobile radio.
|
static int |
MEASUREMENT_OTHER_USER_ACTIVITY_COUNT
Key for a measurement of number of software-generated user activity events caused
by the UID.
|
static 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.
|
static 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.
|
static 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.
|
static int |
MEASUREMENT_TOUCH_USER_ACTIVITY_COUNT
Key for a measurement of number of user activity events due to touch events caused
by the UID.
|
static 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.
|
static 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.
|
static 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.
|
static int |
MEASUREMENT_WIFI_FULL_LOCK_MS
Key for a measurement of number of millseconds that this uid held a full wifi lock.
|
static 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.
|
static int |
MEASUREMENT_WIFI_MULTICAST_MS
Key for a measurement of number of millseconds that this uid was performing
multicast wifi traffic.
|
static 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.
|
static int |
MEASUREMENT_WIFI_RUNNING_MS
Key for a measurement of number of millseconds the wifi controller was
active on behalf of this uid.
|
static int |
MEASUREMENT_WIFI_RX_BYTES
Key for a measurement of number of bytes received for this uid by the wifi radio.
|
static int |
MEASUREMENT_WIFI_RX_MS
Key for a measurement of number of millseconds the wifi transmitter was
receiving data for this uid.
|
static int |
MEASUREMENT_WIFI_RX_PACKETS
Key for a measurement of number of packets received for this uid by the wifi radio.
|
static int |
MEASUREMENT_WIFI_TX_BYTES
Key for a measurement of number of bytes transmitted for this uid by the wifi radio.
|
static int |
MEASUREMENT_WIFI_TX_MS
Key for a measurement of number of millseconds the wifi transmitter was
transmitting data for this uid.
|
static int |
MEASUREMENT_WIFI_TX_PACKETS
Key for a measurement of number of packets transmitted for this uid by the wifi radio.
|
static int |
STATS_PACKAGES
Key for a HealthStats with
PackageHealthStats keys for each of the
APKs that share this uid. |
static int |
STATS_PIDS
Key for a HealthStats with
PidHealthStats keys for each of the
currently running processes for this uid. |
static int |
STATS_PROCESSES
Key for a HealthStats with
ProcessHealthStats keys for each of the
named processes for this uid. |
static int |
TIMER_AUDIO
Key for a timer for the count and duration of audio playback done by this uid.
|
static int |
TIMER_BLUETOOTH_SCAN
Key for a timer for the count and duration of when this uid was doing bluetooth scans.
|
static int |
TIMER_CAMERA
Key for a timer for the count and duration this uid had the camera turned on.
|
static int |
TIMER_FLASHLIGHT
Key for a timer for the count and duration this uid had the flashlight turned on.
|
static int |
TIMER_FOREGROUND_ACTIVITY
Key for a timer for the count and duration of when an activity from this uid
was the foreground activitiy.
|
static int |
TIMER_GPS_SENSOR
Key for a timer for the applications use of the GPS sensor.
|
static int |
TIMER_MOBILE_RADIO_ACTIVE
Key for a timer for the count and duration the mobile radio was turned on for this uid.
|
static 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.
|
static 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.
|
static 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.
|
static 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.
|
static 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.
|
static 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.
|
static int |
TIMER_VIBRATOR
Key for a timer for the count and duration this uid had the vibrator turned on.
|
static int |
TIMER_VIDEO
Key for a timer for the count and duration of video playback done by this uid.
|
static int |
TIMER_WIFI_SCAN
Key for a timer for the count and duration of wifi scans done by this uid.
|
static int |
TIMERS_JOBS
Key for a map of Timers for the
JobScheduler jobs for
this uid. |
static int |
TIMERS_SENSORS
Key for a map of the sensor usage for this uid.
|
static int |
TIMERS_SYNCS
Key for a map of Timers for the sync adapter syncs that were done for
this uid.
|
static 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).
|
static int |
TIMERS_WAKELOCKS_FULL
Key for a TimerStat for the times a
full wake lock
was acquired for this uid. |
static int |
TIMERS_WAKELOCKS_PARTIAL
Key for a TimerStat for the times a
full wake lock
was acquired for this uid. |
static int |
TIMERS_WAKELOCKS_WINDOW |
public static final int MEASUREMENT_REALTIME_BATTERY_MS
public static final int MEASUREMENT_UPTIME_BATTERY_MS
public static final int MEASUREMENT_REALTIME_SCREEN_OFF_BATTERY_MS
public static final int MEASUREMENT_UPTIME_SCREEN_OFF_BATTERY_MS
public static final int TIMERS_WAKELOCKS_FULL
full wake lock
was acquired for this uid.public static final int TIMERS_WAKELOCKS_PARTIAL
full wake lock
was acquired for this uid.public static final int TIMERS_WAKELOCKS_WINDOW
public static final int TIMERS_WAKELOCKS_DRAW
public static final int TIMERS_SYNCS
public static final int TIMERS_JOBS
JobScheduler
jobs for
this uid.public static final int TIMER_GPS_SENSOR
public static final int TIMERS_SENSORS
public static final int STATS_PIDS
PidHealthStats
keys for each of the
currently running processes for this uid.public static final int STATS_PROCESSES
ProcessHealthStats
keys for each of the
named processes for this uid.public static final int STATS_PACKAGES
PackageHealthStats
keys for each of the
APKs that share this uid.public static final int MEASUREMENT_WIFI_IDLE_MS
public static final int MEASUREMENT_WIFI_RX_MS
public static final int MEASUREMENT_WIFI_TX_MS
public static final int MEASUREMENT_WIFI_POWER_MAMS
public static final int MEASUREMENT_BLUETOOTH_IDLE_MS
public static final int MEASUREMENT_BLUETOOTH_RX_MS
public static final int MEASUREMENT_BLUETOOTH_TX_MS
public static final int MEASUREMENT_BLUETOOTH_POWER_MAMS
public static final int MEASUREMENT_MOBILE_IDLE_MS
public static final int MEASUREMENT_MOBILE_RX_MS
public static final int MEASUREMENT_MOBILE_TX_MS
public static final int MEASUREMENT_MOBILE_POWER_MAMS
public static final int MEASUREMENT_WIFI_RUNNING_MS
public static final int MEASUREMENT_WIFI_FULL_LOCK_MS
public static final int TIMER_WIFI_SCAN
public static final int MEASUREMENT_WIFI_MULTICAST_MS
public static final int TIMER_AUDIO
public static final int TIMER_VIDEO
public static final int TIMER_FLASHLIGHT
public static final int TIMER_CAMERA
public static final int TIMER_FOREGROUND_ACTIVITY
public static final int TIMER_BLUETOOTH_SCAN
public static final int TIMER_PROCESS_STATE_TOP_MS
public static final int TIMER_PROCESS_STATE_FOREGROUND_SERVICE_MS
public static final int TIMER_PROCESS_STATE_TOP_SLEEPING_MS
public static final int TIMER_PROCESS_STATE_FOREGROUND_MS
public static final int TIMER_PROCESS_STATE_BACKGROUND_MS
public static final int TIMER_PROCESS_STATE_CACHED_MS
public static final int TIMER_VIBRATOR
public static final int MEASUREMENT_OTHER_USER_ACTIVITY_COUNT
public static final int MEASUREMENT_BUTTON_USER_ACTIVITY_COUNT
public static final int MEASUREMENT_TOUCH_USER_ACTIVITY_COUNT
public static final int MEASUREMENT_MOBILE_RX_BYTES
public static final int MEASUREMENT_MOBILE_TX_BYTES
public static final int MEASUREMENT_WIFI_RX_BYTES
public static final int MEASUREMENT_WIFI_TX_BYTES
public static final int MEASUREMENT_BLUETOOTH_RX_BYTES
public static final int MEASUREMENT_BLUETOOTH_TX_BYTES
public static final int MEASUREMENT_MOBILE_RX_PACKETS
public static final int MEASUREMENT_MOBILE_TX_PACKETS
public static final int MEASUREMENT_WIFI_RX_PACKETS
public static final int MEASUREMENT_WIFI_TX_PACKETS
public static final int MEASUREMENT_BLUETOOTH_RX_PACKETS
public static final int MEASUREMENT_BLUETOOTH_TX_PACKETS
public static final int TIMER_MOBILE_RADIO_ACTIVE
public static final int MEASUREMENT_USER_CPU_TIME_MS
public static final int MEASUREMENT_SYSTEM_CPU_TIME_MS
public static final int MEASUREMENT_CPU_POWER_MAMS
public static final HealthKeys.Constants CONSTANTS