Home
last modified time | relevance | path

Searched refs:firstWakeup (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/wakeups/
DCpuWakeupStatsTest.java90 final long firstWakeup = 453192; in removesOldWakeups() local
93 obj.noteWakeupTimeAndReason(firstWakeup, 32, KERNEL_REASON_ALARM_IRQ); in removesOldWakeups()
94 timestamps.add(firstWakeup); in removesOldWakeups()
97 if (timestamps.add(firstWakeup + delta)) { in removesOldWakeups()
98 obj.noteWakeupTimeAndReason(firstWakeup + delta, i, KERNEL_REASON_SENSOR_IRQ); in removesOldWakeups()
103 obj.noteWakeupTimeAndReason(firstWakeup + retention, 231, KERNEL_REASON_WIFI_IRQ); in removesOldWakeups()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java3865 long firstWakeup = mAlarmStore.getNextWakeupDeliveryTime(); in rescheduleKernelAlarmsLocked() local
3868 if (firstUserWakeup >= 0 && firstUserWakeup < firstWakeup) { in rescheduleKernelAlarmsLocked()
3869 firstWakeup = firstUserWakeup; in rescheduleKernelAlarmsLocked()
3873 if (firstWakeup != 0) { in rescheduleKernelAlarmsLocked()
3874 mNextWakeup = firstWakeup; in rescheduleKernelAlarmsLocked()
3876 setLocked(ELAPSED_REALTIME_WAKEUP, firstWakeup); in rescheduleKernelAlarmsLocked()
3878 if (first != firstWakeup) { in rescheduleKernelAlarmsLocked()