HomeSort by relevance Sort by last modified time
    Searched refs:HealthStats (Results 1 - 8 of 8) sorted by null

  /frameworks/base/core/java/android/os/health/
SystemHealthManager.java 71 * Return a {@link HealthStats} object containing a snapshot of system health
76 * android.permission.BATTERY_STATS} permission in order to retrieve any HealthStats
80 * @return A {@link HealthStats} object containing the metrics for the requested
81 * application. The keys for this HealthStats object will be from the {@link UidHealthStats}
85 public HealthStats takeUidSnapshot(int uid) {
95 * Return a {@link HealthStats} object containing a snapshot of system health
99 * @return A {@link HealthStats} object containing the metrics for this application. The keys
100 * for this HealthStats object will be from the {@link UidHealthStats} class.
102 public HealthStats takeMyUidSnapshot() {
107 * Return a {@link HealthStats} object containing a snapshot of system healt
    [all...]
HealthStatsParceler.java 27 * Class to allow sending the HealthStats through aidl generated glue.
29 * The alternative would be to send a HealthStats object, which would
40 private HealthStats mHealthStats;
58 mHealthStats = new HealthStats(in);
75 public HealthStats getHealthStats() {
80 mHealthStats = new HealthStats(parcel);
HealthStats.java 27 * A HealthStats object contains system health data about an application.
77 * names to a recursive {@link android.os.health.HealthStats} object containing
81 * the information recorded for that apk. The returned HealthStats objects will
82 * each be associated with a different set of constants. For the HealthStats
91 public class HealthStats {
106 private ArrayMap<String,HealthStats>[] mStatsValues;
117 * HealthStats empty constructor not implemented because this
120 private HealthStats() {
129 public HealthStats(Parcel in) {
314 * Return whether this object contains a HealthStats map for the supplied key
    [all...]
  /cts/tests/tests/os/src/android/os/health/cts/
SystemHealthManagerTest.java 23 import android.os.health.HealthStats;
34 * Tests that takeMyUidSnapshot returns a HealthStats object.
45 * Tests that takeUidSnapshot with this uid returns a HealthStats object.
81 final HealthStats[] result = healthy.takeUidSnapshots(new int[0]);
86 * Tests that takeUidSnapshots with this uid returns a HealthStats object.
93 final HealthStats[] result = healthy.takeUidSnapshots(new int[] {
HealthStatsTest.java 21 import android.os.health.HealthStats;
33 * Provides test cases for android.os.health.HealthStats and HealthStatsWriter.
70 private void checkHealthStats(HealthStats readback) {
110 final Map<String,HealthStats> stats = readback.getStats(STATS_0);
112 final HealthStats child = stats.get("a");
150 * Tests parceling empty HealthStats.
161 HealthStats readback = new HealthStats(parcel);
176 * Tests parceling HealthStats.
208 HealthStats readback = new HealthStats(parcel)
    [all...]
  /frameworks/base/config/
preloaded-classes     [all...]
  /prebuilts/sdk/24/
android.jar 
  /prebuilts/sdk/25/
android.jar 

Completed in 106 milliseconds