Home
last modified time | relevance | path

Searched refs:deadLine (Results 1 – 5 of 5) sorted by relevance

/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTestAppInterface.java121 final long deadLine = SystemClock.uptimeMillis() + maxWait;
124 } while (!condition.isTrue() && SystemClock.uptimeMillis() < deadLine);
DJobThrottlingTest.java406 final long deadLine = SystemClock.uptimeMillis() + maxWait; in waitUntilTrue() local
409 } while (!condition.isTrue() && SystemClock.uptimeMillis() < deadLine); in waitUntilTrue()
/cts/hostsidetests/incident/src/com/android/server/cts/
DBatteryStatsValidationTest.java235 final long deadLine = System.currentTimeMillis() + SCREEN_STATE_CHANGE_TIMEOUT; in assertScreenOff() local
246 } while (screenAwake && System.currentTimeMillis() < deadLine); in assertScreenOff()
252 final long deadLine = System.currentTimeMillis() + SCREEN_STATE_CHANGE_TIMEOUT; in assertScreenOn() local
269 } while (!screenAwake && System.currentTimeMillis() < deadLine); in assertScreenOn()
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DBackgroundRestrictedAlarmsTest.java188 final long deadLine = SystemClock.uptimeMillis() + timeout; in waitForAlarms() local
195 } while (alarmCount < expectedAlarms && SystemClock.uptimeMillis() < deadLine); in waitForAlarms()
DAppStandbyTests.java503 final long deadLine = SystemClock.uptimeMillis() + timeout; in waitUntil() local
504 while (!condition.isMet() && SystemClock.uptimeMillis() < deadLine) { in waitUntil()