Home
last modified time | relevance | path

Searched refs:CPU_WAKEUP_SUBSYSTEM_ALARM (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/wakeups/
DCpuWakeupStatsTest.java19 import static android.os.BatteryStatsInternal.CPU_WAKEUP_SUBSYSTEM_ALARM;
116 CPU_WAKEUP_SUBSYSTEM_ALARM, in irqAttributionAllCombinations()
200 obj.noteWakingActivity(CPU_WAKEUP_SUBSYSTEM_ALARM, in alarmIrqAttributionSolo()
202 obj.noteWakingActivity(CPU_WAKEUP_SUBSYSTEM_ALARM, in alarmIrqAttributionSolo()
205 obj.noteWakingActivity(CPU_WAKEUP_SUBSYSTEM_ALARM, wakeupTime + 5, TEST_UID_3, TEST_UID_5); in alarmIrqAttributionSolo()
210 assertThat(attribution.contains(CPU_WAKEUP_SUBSYSTEM_ALARM)).isTrue(); in alarmIrqAttributionSolo()
211 assertThat(attribution.get(CPU_WAKEUP_SUBSYSTEM_ALARM).indexOfKey(TEST_UID_1)).isLessThan( in alarmIrqAttributionSolo()
213 assertThat(attribution.get(CPU_WAKEUP_SUBSYSTEM_ALARM).indexOfKey(TEST_UID_2)).isLessThan( in alarmIrqAttributionSolo()
215 assertThat(attribution.get(CPU_WAKEUP_SUBSYSTEM_ALARM).get(TEST_UID_3)).isEqualTo( in alarmIrqAttributionSolo()
217 assertThat(attribution.get(CPU_WAKEUP_SUBSYSTEM_ALARM).indexOfKey(TEST_UID_4)).isLessThan( in alarmIrqAttributionSolo()
[all …]
/frameworks/base/services/core/java/android/os/
DBatteryStatsInternal.java39 public static final int CPU_WAKEUP_SUBSYSTEM_ALARM = 1; field in BatteryStatsInternal
48 CPU_WAKEUP_SUBSYSTEM_ALARM,
/frameworks/base/services/core/java/com/android/server/power/stats/wakeups/
DCpuWakeupStats.java19 import static android.os.BatteryStatsInternal.CPU_WAKEUP_SUBSYSTEM_ALARM;
114 case CPU_WAKEUP_SUBSYSTEM_ALARM: in subsystemToStatsReason()
506 return CPU_WAKEUP_SUBSYSTEM_ALARM; in stringToKnownSubsystem()
521 case CPU_WAKEUP_SUBSYSTEM_ALARM: in subsystemToString()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java764 noteCpuWakingActivity(CPU_WAKEUP_SUBSYSTEM_ALARM, elapsedMillis, uids); in noteWakingAlarmBatch()