Searched refs:waitAndAssertCondition (Results 1 – 2 of 2) sorted by relevance
126 waitAndAssertCondition(() -> getAppTasks().size() == 1, "Expected 1 running task"); in testFinishAndRemoveTask()128 waitAndAssertCondition(() -> getAppTasks().isEmpty(), "Expected no running tasks"); in testFinishAndRemoveTask()148 waitAndAssertCondition(() -> targetResumed.value, in testMoveToFront()162 waitAndAssertCondition( in testStartActivityInTask_NoNewTask()218 waitAndAssertCondition(() -> getAppTask(getAppTasks(), activity) != null, in getAppTask()241 waitAndAssertCondition(() -> getAppTasks().isEmpty(), in removeAllAppTasks()245 private void waitAndAssertCondition(BooleanSupplier condition, String failMsgContext) { in waitAndAssertCondition() method in AppTaskTests
68 waitAndAssertCondition(() -> { in testLaunchPipActivity() method102 waitAndAssertCondition(() -> { in testLaunchPipActivity() method113 private void waitAndAssertCondition(BooleanSupplier condition, String failMsgContext) { in waitAndAssertCondition() method in PipActivityTest