Added in API level 24
PackageHealthStats
class PackageHealthStats
| kotlin.Any | |
| ↳ | android.os.health.PackageHealthStats |
Keys for HealthStats returned from HealthStats.getStats(int) with the UidHealthStats.STATS_PACKAGES key.
Summary
| Constants | |
|---|---|
| static Int |
Key for a map of the number of times that a package's wakeup alarms have fired while the device was on battery. |
| static Int |
Key for a HealthStats with |
Constants
MEASUREMENTS_WAKEUP_ALARMS_COUNT
Added in API level 24
static val MEASUREMENTS_WAKEUP_ALARMS_COUNT: Int
Key for a map of the number of times that a package's wakeup alarms have fired while the device was on battery.
Value: 40002See Also
STATS_SERVICES
Added in API level 24
static val STATS_SERVICES: Int
Key for a HealthStats with ServiceHealthStats keys for each of the services defined in this apk.
Value: 40001