Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
H A DActiveServicesTest.java112 final long now2 = now + elapsed; in testRescheduleServiceRestartsOnChanges() local
113 mActiveServices.rescheduleServiceRestartOnMemoryPressureIfNeededLocked(false, true, now2); in testRescheduleServiceRestartsOnChanges()
114 verifyDelays(now2, new long[] {rd0 - elapsed, extra - elapsed, in testRescheduleServiceRestartsOnChanges()
118 mActiveServices.rescheduleServiceRestartOnMemoryPressureIfNeededLocked(true, false, now2); in testRescheduleServiceRestartsOnChanges()
119 verifyDelays(now2, new long[] {rd0 - elapsed, rd1 - elapsed, rd2 - elapsed, rd3 - elapsed, in testRescheduleServiceRestartsOnChanges()
H A DApplicationExitInfoTest.java301 final long now2 = 2; in testApplicationExitInfo() local
320 doReturn(new Pair<Long, Object>(now2, Integer.valueOf(makeExitStatus(exitCode)))) in testApplicationExitInfo()
323 updateExitInfo(app, now2); in testApplicationExitInfo()
334 now2, // timestamp in testApplicationExitInfo()
698 now2, // timestamp in testApplicationExitInfo()
868 now2, // timestamp in testApplicationExitInfo()