UidHealthStats Class

Definition

Keys for HealthStats returned from SystemHealthManager#takeUidSnapshot(int) SystemHealthManager.takeUidSnapshot(int), SystemHealthManager#takeMyUidSnapshot() SystemHealthManager.takeMyUidSnapshot(), and SystemHealthManager#takeUidSnapshots(int[]) SystemHealthManager.takeUidSnapshots(int[]).

[Android.Runtime.Register("android/os/health/UidHealthStats", ApiSince=24, DoNotGenerateAcw=true)]
public sealed class UidHealthStats : Java.Lang.Object
[<Android.Runtime.Register("android/os/health/UidHealthStats", ApiSince=24, DoNotGenerateAcw=true)>]
type UidHealthStats = class
    inherit Object
Inheritance
UidHealthStats
Attributes

Remarks

Keys for HealthStats returned from SystemHealthManager#takeUidSnapshot(int) SystemHealthManager.takeUidSnapshot(int), SystemHealthManager#takeMyUidSnapshot() SystemHealthManager.takeMyUidSnapshot(), and SystemHealthManager#takeUidSnapshots(int[]) SystemHealthManager.takeUidSnapshots(int[]).

Java documentation for android.os.health.UidHealthStats.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Fields

MeasurementBluetoothIdleMs

Key for a measurement of number of millseconds the bluetooth controller was idle but turned on on behalf of this uid.

MeasurementBluetoothPowerMams

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.

MeasurementBluetoothRxBytes

Key for a measurement of number of bytes received for this uid by the bluetooth radio.

MeasurementBluetoothRxMs

Key for a measurement of number of millseconds the bluetooth transmitter was receiving data for this uid.

MeasurementBluetoothRxPackets

Key for a measurement of number of packets received for this uid by the bluetooth radio.

MeasurementBluetoothTxBytes

Key for a measurement of number of bytes transmitted for this uid by the bluetooth radio.

MeasurementBluetoothTxMs

Key for a measurement of number of millseconds the bluetooth transmitter was transmitting data for this uid.

MeasurementBluetoothTxPackets

Key for a measurement of number of packets transmitted for this uid by the bluetooth radio.

MeasurementButtonUserActivityCount

Key for a measurement of number of user activity events due to physical button presses caused by the UID.

MeasurementCpuPowerMams

An estimate of the number of milliamp-microsends used by this uid.

MeasurementMobileIdleMs

Key for a measurement of number of millseconds the mobile radio controller was idle but turned on on behalf of this uid.

MeasurementMobilePowerMams

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.

MeasurementMobileRxBytes

Key for a measurement of number of bytes received for this uid by the mobile radio.

MeasurementMobileRxMs

Key for a measurement of number of millseconds the mobile radio transmitter was receiving data for this uid.

MeasurementMobileRxPackets

Key for a measurement of number of packets received for this uid by the mobile radio.

MeasurementMobileTxBytes

Key for a measurement of number of bytes transmitted for this uid by the mobile radio.

MeasurementMobileTxMs

Key for a measurement of number of millseconds the mobile radio transmitter was transmitting data for this uid.

MeasurementMobileTxPackets

Key for a measurement of number of packets transmitted for this uid by the mobile radio.

MeasurementOtherUserActivityCount

Key for a measurement of number of software-generated user activity events caused by the UID.

MeasurementRealtimeBatteryMs

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.

MeasurementRealtimeScreenOffBatteryMs

How many milliseconds this statistics report covers in wall-clock time while the device was on battery including only screen-off time.

MeasurementSystemCpuTimeMs

Key for a measurement of the number of milliseconds spent by the CPU running kernel code for this uid.

MeasurementTouchUserActivityCount

Key for a measurement of number of user activity events due to touch events caused by the UID.

MeasurementUptimeBatteryMs

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.

MeasurementUptimeScreenOffBatteryMs

How many milliseconds this statistics report covers that the CPU was running while the device was on battery including only screen-off time.

MeasurementUserCpuTimeMs

Key for a measurement of the number of milliseconds spent by the CPU running user space code for this uid.

MeasurementWifiFullLockMs

Key for a measurement of number of millseconds that this uid held a full wifi lock.

MeasurementWifiIdleMs

Key for a measurement of number of millseconds the wifi controller was idle but turned on on behalf of this uid.

MeasurementWifiMulticastMs

Key for a measurement of number of millseconds that this uid was performing multicast wifi traffic.

MeasurementWifiPowerMams

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.

MeasurementWifiRunningMs

Key for a measurement of number of millseconds the wifi controller was active on behalf of this uid.

MeasurementWifiRxBytes

Key for a measurement of number of bytes received for this uid by the wifi radio.

MeasurementWifiRxMs

Key for a measurement of number of millseconds the wifi transmitter was receiving data for this uid.

MeasurementWifiRxPackets

Key for a measurement of number of packets received for this uid by the wifi radio.

MeasurementWifiTxBytes

Key for a measurement of number of bytes transmitted for this uid by the wifi radio.

MeasurementWifiTxMs

Key for a measurement of number of millseconds the wifi transmitter was transmitting data for this uid.

MeasurementWifiTxPackets

Key for a measurement of number of packets transmitted for this uid by the wifi radio.

StatsPackages

Key for a HealthStats with PackageHealthStats keys for each of the APKs that share this uid.

StatsPids

Key for a HealthStats with PidHealthStats keys for each of the currently running processes for this uid.

StatsProcesses

Key for a HealthStats with ProcessHealthStats keys for each of the named processes for this uid.

TimerAudio

Key for a timer for the count and duration of audio playback done by this uid.

TimerBluetoothScan

Key for a timer for the count and duration of when this uid was doing bluetooth scans.

TimerCamera

Key for a timer for the count and duration this uid had the camera turned on.

TimerFlashlight

Key for a timer for the count and duration this uid had the flashlight turned on.

TimerForegroundActivity

Key for a timer for the count and duration of when an activity from this uid was the foreground activitiy.

TimerGpsSensor

Key for a timer for the applications use of the GPS sensor.

TimerMobileRadioActive

Key for a timer for the count and duration the mobile radio was turned on for this uid.

TimerProcessStateBackgroundMs

Key for a timer for the count and duration of when this uid was in the "background" process state.

TimerProcessStateCachedMs

Key for a timer for the count and duration of when this uid was in the "cached" process state.

TimerProcessStateForegroundMs

Key for a timer for the count and duration of when this uid was in the "foreground" process state.

TimerProcessStateForegroundServiceMs

Key for a timer for the count and duration of when this uid was in the "foreground service" process state.

TimerProcessStateTopMs

Key for a timer for the count and duration of when this uid was in the "top" process state.

TimerProcessStateTopSleepingMs

Key for a timer for the count and duration of when this uid was in the "top sleeping" process state.

TimersJobs

Key for a map of Timers for the android.app.job.JobScheduler jobs for this uid.

TimersSensors

Key for a map of the sensor usage for this uid.

TimersSyncs

Key for a map of Timers for the sync adapter syncs that were done for this uid.

TimersWakelocksDraw

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.

TimersWakelocksFull

Key for a TimerStat for the times a android.os.PowerManager#FULL_WAKE_LOCK full wake lock was acquired for this uid.

TimersWakelocksPartial

Key for a TimerStat for the times a android.os.PowerManager#PARTIAL_WAKE_LOCK partial wake lock was acquired for this uid.

TimersWakelocksWindow
TimerVibrator

Key for a timer for the count and duration this uid had the vibrator turned on.

TimerVideo

Key for a timer for the count and duration of video playback done by this uid.

TimerWifiScan

Key for a timer for the count and duration of wifi scans done by this uid.

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
Handle

The handle to the underlying Android instance.

(Inherited from Object)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
PeerReference (Inherited from Object)
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)

Methods

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to