Stay organized with collections
Save and categorize content based on your preferences.
android.os.health
Classes
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# android.os.health\n=================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/os/health/package-summary \"View this page in Java\")\n\nClasses\n-------\n\n|--------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [HealthStats](/reference/kotlin/android/os/health/HealthStats) | A HealthStats object contains system health data about an application. |\n| [PackageHealthStats](/reference/kotlin/android/os/health/PackageHealthStats) | Keys for [HealthStats](/reference/kotlin/android/os/health/HealthStats) returned from [HealthStats.getStats(int)](/reference/kotlin/android/os/health/HealthStats#getStats(kotlin.Int)) with the [UidHealthStats.STATS_PACKAGES](/reference/kotlin/android/os/health/UidHealthStats#STATS_PACKAGES:kotlin.Int) key. |\n| [PidHealthStats](/reference/kotlin/android/os/health/PidHealthStats) | Keys for [HealthStats](/reference/kotlin/android/os/health/HealthStats) returned from [HealthStats.getStats(int)](/reference/kotlin/android/os/health/HealthStats#getStats(kotlin.Int)) with the [UidHealthStats.STATS_PIDS](/reference/kotlin/android/os/health/UidHealthStats#STATS_PIDS:kotlin.Int) key. |\n| [ProcessHealthStats](/reference/kotlin/android/os/health/ProcessHealthStats) | Keys for [HealthStats](/reference/kotlin/android/os/health/HealthStats) returned from [HealthStats.getStats(int)](/reference/kotlin/android/os/health/HealthStats#getStats(kotlin.Int)) with the [UidHealthStats.STATS_PROCESSES](/reference/kotlin/android/os/health/UidHealthStats#STATS_PROCESSES:kotlin.Int) key. |\n| [ServiceHealthStats](/reference/kotlin/android/os/health/ServiceHealthStats) | Keys for [HealthStats](/reference/kotlin/android/os/health/HealthStats) returned from [HealthStats.getStats(int)](/reference/kotlin/android/os/health/HealthStats#getStats(kotlin.Int)) with the [PackageHealthStats.STATS_SERVICES](/reference/kotlin/android/os/health/PackageHealthStats#STATS_SERVICES:kotlin.Int) key. |\n| [SystemHealthManager](/reference/kotlin/android/os/health/SystemHealthManager) | Provides access to data about how various system resources are used by applications. |\n| [TimerStat](/reference/kotlin/android/os/health/TimerStat) | A TimerStat object stores a count and a time. |\n| [UidHealthStats](/reference/kotlin/android/os/health/UidHealthStats) | Keys for [HealthStats](/reference/kotlin/android/os/health/HealthStats) returned from [SystemHealthManager.takeUidSnapshot(int)](/reference/kotlin/android/os/health/SystemHealthManager#takeUidSnapshot(kotlin.Int)), [SystemHealthManager.takeMyUidSnapshot()](/reference/kotlin/android/os/health/SystemHealthManager#takeMyUidSnapshot()), and [SystemHealthManager.takeUidSnapshots(int[])](/reference/kotlin/android/os/health/SystemHealthManager#takeUidSnapshots(kotlin.IntArray)). |"]]