Searched refs:waitCondition (Results 1 – 4 of 4) sorted by relevance
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/ |
D | LifecycleTracker.java | 91 synchronized private boolean waitForConditionWithTimeout(BooleanSupplier waitCondition, in waitForConditionWithTimeout() argument 94 while (!waitCondition.getAsBoolean()) { in waitForConditionWithTimeout()
|
/cts/tests/tests/keystore/src/android/server/am/ |
D | ActivityAndWindowManagersState.java | 157 void waitForWithAmState(Predicate<ActivityManagerState> waitCondition, String message) { in waitForWithAmState() argument 158 waitFor((amState, wmState) -> waitCondition.test(amState), message); in waitForWithAmState() 162 BiPredicate<ActivityManagerState, WindowManagerState> waitCondition, String message) { in waitFor() argument 166 return waitCondition.test(mAmState, mWmState); in waitFor() 170 void waitFor(String message, BooleanSupplier waitCondition) { in waitFor() argument 172 if (waitCondition.getAsBoolean()) { in waitFor()
|
/cts/tests/app/src/android/app/cts/ |
D | TaskDescriptionTest.java | 107 private void waitFor(String message, BooleanSupplier waitCondition) { in waitFor() argument 109 if (waitCondition.getAsBoolean()) { in waitFor()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ActivityAndWindowManagersState.java | 359 public void waitForWithAmState(Predicate<ActivityManagerState> waitCondition, String message) { in waitForWithAmState() argument 360 waitFor((amState, wmState) -> waitCondition.test(amState), message); in waitForWithAmState() 363 public void waitForWithWmState(Predicate<WindowManagerState> waitCondition, String message) { in waitForWithWmState() argument 364 waitFor((amState, wmState) -> waitCondition.test(wmState), message); in waitForWithWmState() 368 BiPredicate<ActivityManagerState, WindowManagerState> waitCondition, String message) { in waitFor() argument 372 return waitCondition.test(mAmState, mWmState); in waitFor() 376 void waitFor(String message, BooleanSupplier waitCondition) { in waitFor() argument 378 if (waitCondition.getAsBoolean()) { in waitFor()
|