Home
last modified time | relevance | path

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

/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTestAppInterface.java167 boolean awaitJobStart(long maxWait) throws Exception { in awaitJobStart() argument
168 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;
DJobThrottlingTest.java1263 private boolean waitUntilTrue(long maxWait, Condition condition) throws Exception { in waitUntilTrue() argument
1264 final long deadLine = SystemClock.uptimeMillis() + maxWait; in waitUntilTrue()
/cts/tests/tests/webkit/src/android/webkit/cts/
DCookieTest.java49 int maxWait = 10; in setUp() local
50 for (int i=0; i < maxWait; i++) { in setUp()
/cts/tests/tests/display/src/android/display/cts/
DDisplayTest.java446 private void waitUntil(Display display, Predicate<Display> pred, Duration maxWait)
471 long remainingNanos = maxWait.toNanos();
/cts/tests/app/src/android/app/cts/
DActivityManagerTest.java1753 private boolean waitUntilTrue(long maxWait, Supplier<Boolean> supplier) throws Exception { in waitUntilTrue() argument
1754 final long deadLine = SystemClock.uptimeMillis() + maxWait; in waitUntilTrue()
/cts/tests/tests/media/src/android/media/cts/
DDecoderTest.java4034 private void sleepUntil(Supplier<Boolean> supplier, Duration maxWait) throws Exception {
4035 final long deadLineMs = System.currentTimeMillis() + maxWait.toMillis();