Home
last modified time | relevance | path

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

/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java1323 Alarm mPendingIdleUntil = null; field in AlarmManagerService
1393 if (changed && mPendingIdleUntil != null) { in reevaluateRtcAlarms()
1398 a -> (a == mPendingIdleUntil) && adjustIdleUntilTime(a)); in reevaluateRtcAlarms()
2438 if (mPendingIdleUntil == null || mPendingIdleUntil == alarm) { in adjustDeliveryTimeBasedOnDeviceIdle()
2469 deviceIdlePolicyTime = Math.min(whenInQuota, mPendingIdleUntil.getWhenElapsed()); in adjustDeliveryTimeBasedOnDeviceIdle()
2476 deviceIdlePolicyTime = Math.min(whenAllowed, mPendingIdleUntil.getWhenElapsed()); in adjustDeliveryTimeBasedOnDeviceIdle()
2479 deviceIdlePolicyTime = mPendingIdleUntil.getWhenElapsed(); in adjustDeliveryTimeBasedOnDeviceIdle()
2559 if ((mPendingIdleUntil != a) && (mPendingIdleUntil != null)) { in setImplLocked()
2560 Slog.wtfStack(TAG, "setImplLocked: idle until changed from " + mPendingIdleUntil in setImplLocked()
2562 mAlarmStore.remove(mPendingIdleUntil::equals); in setImplLocked()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
DAlarmManagerServiceTest.java1588 assertTrue(mService.mPendingIdleUntil.matches(idleUntilPi6, null));
1590 assertEquals(mNowElapsedTest + 6, mService.mPendingIdleUntil.getWhenElapsed());
1596 assertTrue(mService.mPendingIdleUntil.matches(idleUntilPi2, null));
1604 assertTrue(mService.mPendingIdleUntil.matches(idleUntilPi10, null));
1673 assertEquals(requestedIdleUntil, mService.mPendingIdleUntil.getWhenElapsed());
1679 assertEquals(mNowElapsedTest, mService.mPendingIdleUntil.getWhenElapsed());
1684 assertEquals(mNowElapsedTest, mService.mPendingIdleUntil.getWhenElapsed());
1689 assertEquals(mNowElapsedTest, mService.mPendingIdleUntil.getWhenElapsed());
1696 min, max, mService.mPendingIdleUntil.getWhenElapsed());
1701 assertEquals(requestedIdleUntil, mService.mPendingIdleUntil.getWhenElapsed());
[all …]