Home
last modified time | relevance | path

Searched refs:HealthKeys (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/os/health/
DUidHealthStats.java34 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
35 public static final int MEASUREMENT_REALTIME_BATTERY_MS = HealthKeys.BASE_UID + 1;
41 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
42 public static final int MEASUREMENT_UPTIME_BATTERY_MS = HealthKeys.BASE_UID + 2;
48 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
49 public static final int MEASUREMENT_REALTIME_SCREEN_OFF_BATTERY_MS = HealthKeys.BASE_UID + 3;
55 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
56 public static final int MEASUREMENT_UPTIME_SCREEN_OFF_BATTERY_MS = HealthKeys.BASE_UID + 4;
63 @HealthKeys.Constant(type=HealthKeys.TYPE_TIMERS)
64 public static final int TIMERS_WAKELOCKS_FULL = HealthKeys.BASE_UID + 5;
[all …]
DProcessHealthStats.java33 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
34 public static final int MEASUREMENT_USER_TIME_MS = HealthKeys.BASE_PROCESS + 1;
40 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
41 public static final int MEASUREMENT_SYSTEM_TIME_MS = HealthKeys.BASE_PROCESS + 2;
46 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
47 public static final int MEASUREMENT_STARTS_COUNT = HealthKeys.BASE_PROCESS + 3;
52 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
53 public static final int MEASUREMENT_CRASHES_COUNT = HealthKeys.BASE_PROCESS + 4;
58 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
59 public static final int MEASUREMENT_ANR_COUNT = HealthKeys.BASE_PROCESS + 5;
[all …]
DPidHealthStats.java47 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
48 public static final int MEASUREMENT_WAKE_NESTING_COUNT = HealthKeys.BASE_PID + 1;
60 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
61 public static final int MEASUREMENT_WAKE_SUM_MS = HealthKeys.BASE_PID + 2;
73 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
74 public static final int MEASUREMENT_WAKE_START_MS = HealthKeys.BASE_PID + 3;
79 …public static final HealthKeys.Constants CONSTANTS = new HealthKeys.Constants(PidHealthStats.class…
DServiceHealthStats.java34 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
35 public static final int MEASUREMENT_START_SERVICE_COUNT = HealthKeys.BASE_SERVICE + 1;
43 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
44 public static final int MEASUREMENT_LAUNCH_COUNT = HealthKeys.BASE_SERVICE + 2;
49 public static final HealthKeys.Constants CONSTANTS
50 = new HealthKeys.Constants(ServiceHealthStats.class);
DPackageHealthStats.java33 @HealthKeys.Constant(type=HealthKeys.TYPE_STATS)
34 public static final int STATS_SERVICES = HealthKeys.BASE_PACKAGE + 1;
42 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENTS)
43 public static final int MEASUREMENTS_WAKEUP_ALARMS_COUNT = HealthKeys.BASE_PACKAGE + 2;
48 public static final HealthKeys.Constants CONSTANTS
49 = new HealthKeys.Constants(PackageHealthStats.class);
DHealthStatsWriter.java37 private final HealthKeys.Constants mConstants;
64 public HealthStatsWriter(HealthKeys.Constants constants) { in HealthStatsWriter()
68 final int timerCount = constants.getSize(HealthKeys.TYPE_TIMER); in HealthStatsWriter()
74 final int measurementCount = constants.getSize(HealthKeys.TYPE_MEASUREMENT); in HealthStatsWriter()
79 final int statsCount = constants.getSize(HealthKeys.TYPE_STATS); in HealthStatsWriter()
83 final int timersCount = constants.getSize(HealthKeys.TYPE_TIMERS); in HealthStatsWriter()
87 final int measurementsCount = constants.getSize(HealthKeys.TYPE_MEASUREMENTS); in HealthStatsWriter()
95 final int index = mConstants.getIndex(HealthKeys.TYPE_TIMER, timerId); in addTimer()
106 final int index = mConstants.getIndex(HealthKeys.TYPE_MEASUREMENT, measurementId); in addMeasurement()
120 final int index = mConstants.getIndex(HealthKeys.TYPE_STATS, key); in addStats()
[all …]
DHealthKeys.java34 public class HealthKeys { class
/frameworks/base/services/core/java/com/android/server/am/
DHealthStatsBatteryStatsWriter.java23 import android.os.health.HealthKeys;
/frameworks/base/api/
Dtest-current.txt2096 public class HealthKeys {
2097 ctor public HealthKeys();
2112 …ion.Target({java.lang.annotation.ElementType.FIELD}) public static @interface HealthKeys.Constant {
2116 public static class HealthKeys.Constants {
2117 ctor public HealthKeys.Constants(Class);
2138 ctor public HealthStatsWriter(android.os.health.HealthKeys.Constants);