Home
last modified time | relevance | path

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

/cts/hostsidetests/incident/src/com/android/server/cts/
DBatteryStatsValidationTest.java188 final long deadLine = System.currentTimeMillis() + SCREEN_STATE_CHANGE_TIMEOUT; in assertScreenOff() local
199 } while (screenAwake && System.currentTimeMillis() < deadLine); in assertScreenOff()
205 final long deadLine = System.currentTimeMillis() + SCREEN_STATE_CHANGE_TIMEOUT; in assertScreenOn() local
222 } while (!screenAwake && System.currentTimeMillis() < deadLine); in assertScreenOn()
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DBackgroundRestrictedAlarmsTest.java195 final long deadLine = SystemClock.uptimeMillis() + timeout; in waitForAlarms() local
200 } while (alarmCount < expectedAlarms && SystemClock.uptimeMillis() < deadLine); in waitForAlarms()
DAppStandbyTests.java309 final long deadLine = SystemClock.uptimeMillis() + timeout; in waitUntil() local
310 while (!condition.getAsBoolean() && SystemClock.uptimeMillis() < deadLine) { in waitUntil()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTestAppInterface.java196 final long deadLine = SystemClock.uptimeMillis() + maxWait;
199 } while (!condition.isTrue() && SystemClock.uptimeMillis() < deadLine);
DJobThrottlingTest.java1264 final long deadLine = SystemClock.uptimeMillis() + maxWait; in waitUntilTrue() local
1267 } while (!condition.isTrue() && SystemClock.uptimeMillis() < deadLine); in waitUntilTrue()
/cts/tests/app/src/android/app/cts/
DActivityManagerTest.java1754 final long deadLine = SystemClock.uptimeMillis() + maxWait; in waitUntilTrue() local
1758 } while (!(result = supplier.get()) && SystemClock.uptimeMillis() < deadLine); in waitUntilTrue()