Home
last modified time | relevance | path

Searched refs:taskInfos (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/
DShellTaskOrganizerTests.java198 ArrayList<TaskAppearedInfo> taskInfos = new ArrayList<>(); in testRegisterWithExistingTasks() local
199 taskInfos.add(new TaskAppearedInfo(task1, new SurfaceControl())); in testRegisterWithExistingTasks()
200 taskInfos.add(new TaskAppearedInfo(task2, new SurfaceControl())); in testRegisterWithExistingTasks()
201 doReturn(new ParceledListSlice(taskInfos)) in testRegisterWithExistingTasks()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/
DShellTaskOrganizer.java252 final List<TaskAppearedInfo> taskInfos = super.registerOrganizer(); in registerOrganizer() local
253 for (int i = 0; i < taskInfos.size(); i++) { in registerOrganizer()
254 final TaskAppearedInfo info = taskInfos.get(i); in registerOrganizer()
259 return taskInfos; in registerOrganizer()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskOrganizerController.java503 final ArrayList<TaskAppearedInfo> taskInfos = new ArrayList<>(); in registerTaskOrganizer() local
522 taskInfos.add(new TaskAppearedInfo(task.getTaskInfo(), taskLeash)); in registerTaskOrganizer()
533 return new ParceledListSlice<>(taskInfos); in registerTaskOrganizer()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowOrganizerTests.java1786 List<RunningTaskInfo> taskInfos = arg.getAllValues(); in assertTaskVanished() local
1789 for (int i = 0; i < taskInfos.size(); i++) { in assertTaskVanished()
1790 vanishedTaskIds.add(taskInfos.get(i).taskId); in assertTaskVanished()
1802 private void assertContainsTasks(List<TaskAppearedInfo> taskInfos, Task... expectedTasks) { in assertContainsTasks() argument
1804 for (int i = 0; i < taskInfos.size(); i++) { in assertContainsTasks()
1805 taskIds.add(taskInfos.get(i).getTaskInfo().taskId); in assertContainsTasks()