Home
last modified time | relevance | path

Searched refs:now4 (Results 1 – 3 of 3) sorted by relevance

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DServiceRestarterTest.java274 final long now4 = startKillAndRestart(am, ACTION_START | ACTION_KILL, uid1Listener1, in testExtraDelaysInServiceRestartOnLowMem() local
287 (ts4[1] - now4) < (ts2[1] - ts2[0])); in testExtraDelaysInServiceRestartOnLowMem()
289 (ts4[2] - now4) < (ts2[2] - ts2[0])); in testExtraDelaysInServiceRestartOnLowMem()
291 (ts4[3] - now4) < (ts2[3] - ts2[0])); in testExtraDelaysInServiceRestartOnLowMem()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
H A DActiveServicesTest.java138 final long now4 = now + elapsed4; in testRescheduleServiceRestartsOnChanges() local
140 ADJ_MEM_FACTOR_LOW, memFactor, "test", now4); in testRescheduleServiceRestartsOnChanges()
141 verifyDelays(now4, new long[] {rd0 - elapsed4, extra - elapsed4, in testRescheduleServiceRestartsOnChanges()
H A DApplicationExitInfoTest.java450 final long now4 = System.currentTimeMillis(); in testApplicationExitInfo() local
451 doReturn(new Pair<Long, Object>(now4, Integer.valueOf(0))) in testApplicationExitInfo()
454 doReturn(new Pair<Long, Object>(now4, null)) in testApplicationExitInfo()
469 updateExitInfo(app, now4); in testApplicationExitInfo()
478 now4, // timestamp in testApplicationExitInfo()
587 now4, // timestamp in testApplicationExitInfo()