Searched refs:waitUntilTrue (Results 1 – 3 of 3) sorted by relevance
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | TestAppInterface.java | 338 final boolean removed = waitUntilTrue(3_000, () -> !isTestAppTempWhitelisted()); in removeTestAppFromTempWhitelist() 420 return waitUntilTrue(maxWait, () -> { in awaitJobStart() 429 return waitUntilTrue(maxWait, () -> { 469 return waitUntilTrue(maxWaitMs, () -> { 477 private boolean waitUntilTrue(long maxWait, BooleanSupplier condition) {
|
D | JobThrottlingTest.java | 1379 waitUntilTrue(SHELL_TIMEOUT, () -> { in toggleDozeState() 1523 private boolean waitUntilTrue(long maxWait, BooleanSupplier condition) { in waitUntilTrue() method in JobThrottlingTest
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerTest.java | 1249 assertFalse(waitUntilTrue(defaultWaitForKillTimeout, () -> isProcessGone( in testKillingPidsOnImperceptible() 1251 assertFalse(waitUntilTrue(defaultWaitForKillTimeout, () -> isProcessGone( in testKillingPidsOnImperceptible() 1266 assertTrue(waitUntilTrue(defaultWaitForKillTimeout, () -> isProcessGone( in testKillingPidsOnImperceptible() 1270 assertFalse(waitUntilTrue(defaultWaitForKillTimeout, () -> isProcessGone( in testKillingPidsOnImperceptible() 1285 assertTrue(waitUntilTrue(defaultWaitForKillTimeout, () -> isProcessGone( in testKillingPidsOnImperceptible() 1869 waitUntilTrue(WAITFOR_MSEC, () -> { in testBroadcastReceiverLRUPosition() 2496 private boolean waitUntilTrue(long maxWait, Supplier<Boolean> supplier) throws Exception {
|