Searched refs:waitUntilTrue (Results 1 – 2 of 2) sorted by relevance
83 waitUntilTrue("No uids for started user " + mTestUserId, in testNoCpuDataForRemovedUser()101 waitUntilTrue("Unable to remove user " + mTestUserId, () -> { in testNoCpuDataForRemovedUser()109 waitUntilTrue("Uids still found for removed user " + mTestUserId, in testNoCpuDataForRemovedUser()157 private void waitUntilTrue(String message, Condition condition, long timeout) throws Exception { in waitUntilTrue() method in BatteryStatsUserLifecycleTests
187 return waitUntilTrue(timeout, () -> { in awaitJobStart()195 return waitUntilTrue(timeout, () -> {203 private boolean waitUntilTrue(long timeout, Condition condition) throws InterruptedException {