Searched refs:deadLine (Results 1 – 6 of 6) sorted by relevance
188 final long deadLine = System.currentTimeMillis() + SCREEN_STATE_CHANGE_TIMEOUT; in assertScreenOff() local199 } while (screenAwake && System.currentTimeMillis() < deadLine); in assertScreenOff()205 final long deadLine = System.currentTimeMillis() + SCREEN_STATE_CHANGE_TIMEOUT; in assertScreenOn() local222 } while (!screenAwake && System.currentTimeMillis() < deadLine); in assertScreenOn()
195 final long deadLine = SystemClock.uptimeMillis() + timeout; in waitForAlarms() local200 } while (alarmCount < expectedAlarms && SystemClock.uptimeMillis() < deadLine); in waitForAlarms()
309 final long deadLine = SystemClock.uptimeMillis() + timeout; in waitUntil() local310 while (!condition.getAsBoolean() && SystemClock.uptimeMillis() < deadLine) { in waitUntil()
196 final long deadLine = SystemClock.uptimeMillis() + maxWait;199 } while (!condition.isTrue() && SystemClock.uptimeMillis() < deadLine);
1264 final long deadLine = SystemClock.uptimeMillis() + maxWait; in waitUntilTrue() local1267 } while (!condition.isTrue() && SystemClock.uptimeMillis() < deadLine); in waitUntilTrue()
1754 final long deadLine = SystemClock.uptimeMillis() + maxWait; in waitUntilTrue() local1758 } while (!(result = supplier.get()) && SystemClock.uptimeMillis() < deadLine); in waitUntilTrue()