Home
last modified time | relevance | path

Searched refs:waitAndAssertCondition (Results 1 – 2 of 2) sorted by relevance

/cts/tests/app/src/android/app/cts/
DAppTaskTests.java126 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
DPipActivityTest.java68 waitAndAssertCondition(() -> { in testLaunchPipActivity() method
102 waitAndAssertCondition(() -> { in testLaunchPipActivity() method
113 private void waitAndAssertCondition(BooleanSupplier condition, String failMsgContext) { in waitAndAssertCondition() method in PipActivityTest