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.java414 if (pinnedStackInfo != null && pinnedStackInfo.taskIds != null && in startMenuActivity()
415 pinnedStackInfo.taskIds.length > 0) { in startMenuActivity()
430 pinnedStackInfo.taskIds[pinnedStackInfo.taskIds.length - 1]); in startMenuActivity()
/frameworks/base/core/java/android/app/
DActivityView.java650 if (taskInfo.taskId == stackInfo.taskIds[stackInfo.taskIds.length - 1]) { in onTaskDescriptionChanged()
668 && taskInfo.taskId == stackInfo.taskIds[stackInfo.taskIds.length - 1]) { in onTaskMovedToFront()
683 && taskId == stackInfo.taskIds[stackInfo.taskIds.length - 1]) { in onTaskCreated()
DActivityManager.java2422 public int[] taskIds;
2458 dest.writeIntArray(taskIds);
2486 taskIds = source.createIntArray();
2539 for (int i = 0; i < taskIds.length; ++i) {
2540 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.java1283 int[] taskIds = new int[numTasks]; in getStackInfo() local
1289 taskIds[i] = task.taskId; in getStackInfo()
1298 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()