Searched refs:deadLine (Results 1 – 6 of 6) sorted by relevance
121 final long deadLine = SystemClock.uptimeMillis() + maxWait;124 } while (!condition.isTrue() && SystemClock.uptimeMillis() < deadLine);
406 final long deadLine = SystemClock.uptimeMillis() + maxWait; in waitUntilTrue() local409 } while (!condition.isTrue() && SystemClock.uptimeMillis() < deadLine); in waitUntilTrue()
235 final long deadLine = System.currentTimeMillis() + SCREEN_STATE_CHANGE_TIMEOUT; in assertScreenOff() local246 } while (screenAwake && System.currentTimeMillis() < deadLine); in assertScreenOff()252 final long deadLine = System.currentTimeMillis() + SCREEN_STATE_CHANGE_TIMEOUT; in assertScreenOn() local269 } while (!screenAwake && System.currentTimeMillis() < deadLine); in assertScreenOn()
188 final long deadLine = SystemClock.uptimeMillis() + timeout; in waitForAlarms() local195 } while (alarmCount < expectedAlarms && SystemClock.uptimeMillis() < deadLine); in waitForAlarms()
509 final long deadLine = SystemClock.uptimeMillis() + timeout; in waitUntil() local510 while (!condition.isMet() && SystemClock.uptimeMillis() < deadLine) { in waitUntil()
77 final long deadLine = System.currentTimeMillis() + 10000; in tearDown() local79 if (System.currentTimeMillis() > deadLine) { in tearDown()