Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

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)