Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java2110 long newAlarm = mDeviceIdleController.getNextAlarmTime(); in checkNextAlarmTimeWithNewPreIdleFactor() local
2113 Math.abs(newDelay - (newAlarm - now)) < errorTolerance); in checkNextAlarmTimeWithNewPreIdleFactor()
2117 newAlarm = mDeviceIdleController.getNextAlarmTime(); in checkNextAlarmTimeWithNewPreIdleFactor()
2119 Math.abs(newAlarm - alarm) < errorTolerance); in checkNextAlarmTimeWithNewPreIdleFactor()
2123 newAlarm = mDeviceIdleController.getNextAlarmTime(); in checkNextAlarmTimeWithNewPreIdleFactor()
2125 Math.abs(newDelay - (newAlarm - now)) < errorTolerance); in checkNextAlarmTimeWithNewPreIdleFactor()
2133 long newAlarm = mDeviceIdleController.getNextAlarmTime(); in checkNextAlarmTimeWithNewPreIdleFactor() local
2136 (newAlarm == alarm)); in checkNextAlarmTimeWithNewPreIdleFactor()
2160 long newAlarm = mDeviceIdleController.getNextAlarmTime(); in checkMaybeDoAnImmediateMaintenance() local
2162 newAlarm == alarm); in checkMaybeDoAnImmediateMaintenance()
[all …]
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java2935 AlarmManager.AlarmClockInfo newAlarm = nextForUser.valueAt(i); in updateNextAlarmClockLocked() local
2938 if (!newAlarm.equals(currentAlarm)) { in updateNextAlarmClockLocked()
2939 updateNextAlarmInfoForUserLocked(userId, newAlarm); in updateNextAlarmClockLocked()