Partager via


Android.OS.Health Namespace

Classes

HealthStats

A HealthStats object contains system health data about an application.

PackageHealthStats

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

PidHealthStats

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

ProcessHealthStats

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

ServiceHealthStats

Keys for HealthStats returned from HealthStats#getStats(int) HealthStats.getStats(int) with the PackageHealthStats#STATS_SERVICES PackageHealthStats.STATS_SERVICES key.

SystemHealthManager

Provides access to data about how various system resources are used by applications.

TimerStat

A TimerStat object stores a count and a time.

TimerStat.InterfaceConsts
UidHealthStats

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