Searched refs:maxWait (Results 1 – 6 of 6) sorted by relevance
167 boolean awaitJobStart(long maxWait) throws Exception { in awaitJobStart() argument168 return waitUntilTrue(maxWait, () -> { in awaitJobStart()175 boolean awaitJobStop(long maxWait) throws Exception {176 return waitUntilTrue(maxWait, () -> {195 private boolean waitUntilTrue(long maxWait, Condition condition) throws Exception {196 final long deadLine = SystemClock.uptimeMillis() + maxWait;
1263 private boolean waitUntilTrue(long maxWait, Condition condition) throws Exception { in waitUntilTrue() argument1264 final long deadLine = SystemClock.uptimeMillis() + maxWait; in waitUntilTrue()
49 int maxWait = 10; in setUp() local50 for (int i=0; i < maxWait; i++) { in setUp()
446 private void waitUntil(Display display, Predicate<Display> pred, Duration maxWait)471 long remainingNanos = maxWait.toNanos();
1753 private boolean waitUntilTrue(long maxWait, Supplier<Boolean> supplier) throws Exception { in waitUntilTrue() argument1754 final long deadLine = SystemClock.uptimeMillis() + maxWait; in waitUntilTrue()
4034 private void sleepUntil(Supplier<Boolean> supplier, Duration maxWait) throws Exception {4035 final long deadLineMs = System.currentTimeMillis() + maxWait.toMillis();