Searched refs:taskIds (Results 1 – 9 of 9) sorted by relevance
283 final ArraySet<Integer> taskIds = new ArraySet<>(); in testRemoveObsoleteFiles() local284 taskIds.add(1); in testRemoveObsoleteFiles()285 mPersister.removeObsoleteFiles(taskIds, new int[] { mTestUserId }); in testRemoveObsoleteFiles()302 final ArraySet<Integer> taskIds = new ArraySet<>(); in testRemoveObsoleteFiles_addedOneInTheMeantime() local303 taskIds.add(1); in testRemoveObsoleteFiles_addedOneInTheMeantime()304 mPersister.removeObsoleteFiles(taskIds, new int[] { mTestUserId }); in testRemoveObsoleteFiles_addedOneInTheMeantime()
45 if (pinnedStackInfo != null && pinnedStackInfo.taskIds != null && in getTopPinnedActivity()46 pinnedStackInfo.taskIds.length > 0) { in getTopPinnedActivity()
414 if (pinnedStackInfo != null && pinnedStackInfo.taskIds != null && in startMenuActivity()415 pinnedStackInfo.taskIds.length > 0) { in startMenuActivity()430 pinnedStackInfo.taskIds[pinnedStackInfo.taskIds.length - 1]); in startMenuActivity()
650 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()
2422 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]);
645 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];
161 void writePersistedTaskIdsForUser(@NonNull SparseBooleanArray taskIds, int userId) { in writePersistedTaskIdsForUser() argument170 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()
1283 int[] taskIds = new int[numTasks]; in getStackInfo() local1289 taskIds[i] = task.taskId; in getStackInfo()1298 info.taskIds = taskIds; in getStackInfo()
237 info.taskIds[info.taskIds.length - 1]); in checkAndPostForStack()