Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java2111 long newDelay = (long) ((alarm - now) * factor); in checkNextAlarmTimeWithNewPreIdleFactor() local
2113 Math.abs(newDelay - (newAlarm - now)) < errorTolerance); in checkNextAlarmTimeWithNewPreIdleFactor()
2125 Math.abs(newDelay - (newAlarm - now)) < errorTolerance); in checkNextAlarmTimeWithNewPreIdleFactor()
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java3351 long newDelay = (long) (delay / mLastPreIdleFactor * mPreIdleFactor); in updatePreIdleFactor() local
3352 if (Math.abs(delay - newDelay) < MIN_STATE_STEP_ALARM_CHANGE) { in updatePreIdleFactor()
3355 scheduleAlarmLocked(newDelay, false); in updatePreIdleFactor()