Home
last modified time | relevance | path

Searched refs:taskIds (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotLowResDisabledTest.java91 final ArraySet<Integer> taskIds = new ArraySet<>(); in testRemoveObsoleteFiles() local
92 taskIds.add(1); in testRemoveObsoleteFiles()
93 mPersister.removeObsoleteFiles(taskIds, new int[]{mTestUserId}); in testRemoveObsoleteFiles()
110 final ArraySet<Integer> taskIds = new ArraySet<>(); in testRemoveObsoleteFiles_addedOneInTheMeantime() local
111 taskIds.add(1); in testRemoveObsoleteFiles_addedOneInTheMeantime()
112 mPersister.removeObsoleteFiles(taskIds, new int[]{mTestUserId}); in testRemoveObsoleteFiles_addedOneInTheMeantime()
DTaskSnapshotPersisterLoaderTest.java426 final ArraySet<Integer> taskIds = new ArraySet<>(); in testRemoveObsoleteFiles() local
427 taskIds.add(1); in testRemoveObsoleteFiles()
428 mPersister.removeObsoleteFiles(taskIds, new int[]{mTestUserId}); in testRemoveObsoleteFiles()
445 final ArraySet<Integer> taskIds = new ArraySet<>(); in testRemoveObsoleteFiles_addedOneInTheMeantime() local
446 taskIds.add(1); in testRemoveObsoleteFiles_addedOneInTheMeantime()
447 mPersister.removeObsoleteFiles(taskIds, new int[]{mTestUserId}); in testRemoveObsoleteFiles_addedOneInTheMeantime()
DWindowOrganizerTests.java1792 HashSet<Integer> taskIds = new HashSet<>(); in assertTaskVanished() local
1794 taskIds.add(tasks[i].mTaskId); in assertTaskVanished()
1798 ? vanishedTaskIds.containsAll(taskIds) in assertTaskVanished()
1799 : !vanishedTaskIds.removeAll(taskIds)); in assertTaskVanished()
1803 HashSet<Integer> taskIds = new HashSet<>(); in assertContainsTasks() local
1805 taskIds.add(taskInfos.get(i).getTaskInfo().taskId); in assertContainsTasks()
1808 assertTrue(taskIds.contains(expectedTasks[i].mTaskId)); in assertContainsTasks()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DThumbnailData.kt72 fun wrap(taskIds: IntArray?, snapshots: Array<TaskSnapshot>?): HashMap<Int, ThumbnailData> { in <lambda>()
74 if (taskIds != null && snapshots != null && taskIds.size == snapshots.size) { in <lambda>()
75 repeat(snapshots.size) { put(taskIds[it], fromSnapshot(snapshots[it])) } in <lambda>()
/frameworks/base/core/java/android/view/
DIRecentsAnimationRunner.aidl48 void onAnimationCanceled(in @nullable int[] taskIds, in onAnimationCanceled() argument
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DStartingSurfaceDrawer.java319 final int[] taskIds = new int[taskSize]; in clearAllWindows() local
321 taskIds[i] = mStartingWindowRecords.keyAt(i); in clearAllWindows()
324 removeWindow(taskIds[i]); in clearAllWindows()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/request/
DUceRequestDispatcher.java103 public synchronized void addRequest(long coordinatorId, List<Long> taskIds) { in addRequest() argument
104 taskIds.stream().forEach(taskId -> { in addRequest()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskPersister.java161 void writePersistedTaskIdsForUser(@NonNull SparseBooleanArray taskIds, int userId) { in writePersistedTaskIdsForUser() argument
170 for (int i = 0; i < taskIds.size(); i++) { in writePersistedTaskIdsForUser()
171 if (taskIds.valueAt(i)) { in writePersistedTaskIdsForUser()
172 writer.write(String.valueOf(taskIds.keyAt(i))); in writePersistedTaskIdsForUser()
184 void setPersistedTaskIds(int userId, @NonNull SparseBooleanArray taskIds) { in setPersistedTaskIds() argument
185 mTaskIdsInFile.put(userId, taskIds); in setPersistedTaskIds()
DRecentTasks.java574 final SparseBooleanArray taskIds = mPersistedTaskIds.get(userId); in containsTaskId() local
575 return taskIds != null && taskIds.get(taskId); in containsTaskId()
580 final SparseBooleanArray taskIds = mPersistedTaskIds.get(loadedUserId); in getTaskIdsForLoadedUser() local
581 if (taskIds == null) { in getTaskIdsForLoadedUser()
585 return taskIds; in getTaskIdsForLoadedUser()
DRecentsAnimationController.java833 int[] taskIds = new int[snapshotMap.size()];
836 taskIds[i] = snapshotMap.keyAt(i).mTaskId;
839 mRunner.onAnimationCanceled(taskIds, snapshots);
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DActivityManagerWrapper.java230 public void onAnimationCanceled(int[] taskIds, TaskSnapshot[] taskSnapshots) { in startRecentsActivity()
232 ThumbnailData.wrap(taskIds, taskSnapshots)); in startRecentsActivity()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/recents/
DRecentsTransitionHandler.java365 int[] taskIds = null; in getSnapshotsForPausingTasks() local
368 taskIds = new int[mPausingTasks.size()]; in getSnapshotsForPausingTasks()
380 taskIds = null; in getSnapshotsForPausingTasks()
384 return new Pair(taskIds, snapshots); in getSnapshotsForPausingTasks()
390 private boolean sendCancel(@Nullable int[] taskIds, in sendCancel() argument
397 mListener.onAnimationCanceled(taskIds, taskSnapshots); in sendCancel()