Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRecentTasksTest.java1395 private void assertRecentTasksOrder(Task... expectedTasks) { in assertRecentTasksOrder() argument
1397 assertTrue(expectedTasks.length == tasks.size()); in assertRecentTasksOrder()
1399 assertTrue(expectedTasks[i] == tasks.get(i)); in assertRecentTasksOrder()
1412 private void assertGetRecentTasksOrder(int getRecentTaskFlags, Task... expectedTasks) { in assertGetRecentTasksOrder() argument
1414 assertTrue(expectedTasks.length == infos.size()); in assertGetRecentTasksOrder()
1416 assertTrue(expectedTasks[i].mTaskId == infos.get(i).taskId); in assertGetRecentTasksOrder()
DWindowOrganizerTests.java1802 private void assertContainsTasks(List<TaskAppearedInfo> taskInfos, Task... expectedTasks) { in assertContainsTasks() argument
1807 for (int i = 0; i < expectedTasks.length; i++) { in assertContainsTasks()
1808 assertTrue(taskIds.contains(expectedTasks[i].mTaskId)); in assertContainsTasks()