Searched refs:waitCondition (Results 1 – 3 of 3) sorted by relevance
105 synchronized private boolean waitForConditionWithTimeout(BooleanSupplier waitCondition, in waitForConditionWithTimeout() argument108 while (!waitCondition.getAsBoolean()) { in waitForConditionWithTimeout()
329 public boolean waitForWithAmState(String message, Predicate<WindowManagerState> waitCondition) { in waitForWithAmState() argument330 return waitForWithAmState(waitCondition, message); in waitForWithAmState()333 public boolean waitForWithAmState(Predicate<WindowManagerState> waitCondition, in waitForWithAmState() argument335 return waitFor((amState) -> waitCondition.test(amState), message); in waitForWithAmState()353 public boolean waitFor(String message, Predicate<WindowManagerState> waitCondition) { in waitFor() argument354 return waitFor(waitCondition, message); in waitFor()358 public boolean waitFor(Predicate<WindowManagerState> waitCondition, String message) { in waitFor() argument361 return waitCondition.test(this); in waitFor()
127 private void waitFor(String message, BooleanSupplier waitCondition) { in waitFor() argument129 if (waitCondition.getAsBoolean()) { in waitFor()