Searched refs:waitUntilTrue (Results 1 – 2 of 2) sorted by relevance
84 waitUntilTrue("No uids for started user " + mTestUserId, in testNoCpuDataForRemovedUser()102 waitUntilTrue("Unable to remove user " + mTestUserId, () -> { in testNoCpuDataForRemovedUser()110 waitUntilTrue("Uids still found for removed user " + mTestUserId, in testNoCpuDataForRemovedUser()158 private void waitUntilTrue(String message, Condition condition, long timeout) throws Exception { in waitUntilTrue() method in BatteryStatsUserLifecycleTests
206 return waitUntilTrue(timeout, () -> { in awaitJobStart()215 return waitUntilTrue(timeout, () -> {224 private boolean waitUntilTrue(long timeout, Condition condition) throws InterruptedException {