Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotPersisterLoaderTest.java283 final ArraySet<Integer> taskIds = new ArraySet<>(); in testRemoveObsoleteFiles() local
284 taskIds.add(1); in testRemoveObsoleteFiles()
285 mPersister.removeObsoleteFiles(taskIds, new int[] { mTestUserId }); in testRemoveObsoleteFiles()
302 final ArraySet<Integer> taskIds = new ArraySet<>(); in testRemoveObsoleteFiles_addedOneInTheMeantime() local
303 taskIds.add(1); in testRemoveObsoleteFiles_addedOneInTheMeantime()
304 mPersister.removeObsoleteFiles(taskIds, new int[] { mTestUserId }); in testRemoveObsoleteFiles_addedOneInTheMeantime()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipUtils.java45 if (pinnedStackInfo != null && pinnedStackInfo.taskIds != null && in getTopPinnedActivity()
46 pinnedStackInfo.taskIds.length > 0) { in getTopPinnedActivity()
DPipMenuActivityController.java404 if (pinnedStackInfo != null && pinnedStackInfo.taskIds != null && in startMenuActivity()
405 pinnedStackInfo.taskIds.length > 0) { in startMenuActivity()
420 pinnedStackInfo.taskIds[pinnedStackInfo.taskIds.length - 1]); in startMenuActivity()
/frameworks/base/core/java/android/app/
DActivityView.java675 if (taskInfo.taskId == stackInfo.taskIds[stackInfo.taskIds.length - 1]) { in onTaskDescriptionChanged()
693 && taskInfo.taskId == stackInfo.taskIds[stackInfo.taskIds.length - 1]) { in onTaskMovedToFront()
708 && taskId == stackInfo.taskIds[stackInfo.taskIds.length - 1]) { in onTaskCreated()
DActivityManager.java2428 public int[] taskIds;
2464 dest.writeIntArray(taskIds);
2492 taskIds = source.createIntArray();
2545 for (int i = 0; i < taskIds.length; ++i) {
2546 sb.append(prefix); sb.append("taskId="); sb.append(taskIds[i]);
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
DPipManager.java645 if (stackInfo == null || stackInfo.taskIds == null) {
650 for (int i = stackInfo.taskIds.length - 1; i >= 0; --i) {
651 if (stackInfo.taskIds[i] == mPipTaskId) {
683 mPipTaskId = stackInfo.taskIds[stackInfo.taskIds.length - 1];
/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()
DRootActivityContainer.java1293 int[] taskIds = new int[numTasks]; in getStackInfo() local
1299 taskIds[i] = task.taskId; in getStackInfo()
1308 info.taskIds = taskIds; in getStackInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DInstantAppNotifier.java237 info.taskIds[info.taskIds.length - 1]); in checkAndPostForStack()