PackageHealthStats

public final class PackageHealthStats
extends Object

java.lang.Object
   ↳ android.os.health.PackageHealthStats


Keys for HealthStats returned from HealthStats.getStats(int) with the UidHealthStats.STATS_PACKAGES key.

Summary

Constants

int MEASUREMENTS_WAKEUP_ALARMS_COUNT

Key for a map of the number of times that a package's wakeup alarms have fired while the device was on battery.

int STATS_SERVICES

Key for a HealthStats with ServiceHealthStats keys for each of the services defined in this apk.

Inherited methods

Constants

MEASUREMENTS_WAKEUP_ALARMS_COUNT

Added in API level 24
public static final int MEASUREMENTS_WAKEUP_ALARMS_COUNT

Key for a map of the number of times that a package's wakeup alarms have fired while the device was on battery.

See also:

Constant Value: 40002 (0x00009c42)

STATS_SERVICES

Added in API level 24
public static final int STATS_SERVICES

Key for a HealthStats with ServiceHealthStats keys for each of the services defined in this apk.

Constant Value: 40001 (0x00009c41)