Searched refs:deadLine (Results 1 – 5 of 5) 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()
503 final long deadLine = SystemClock.uptimeMillis() + timeout; in waitUntil() local504 while (!condition.isMet() && SystemClock.uptimeMillis() < deadLine) { in waitUntil()