Searched refs:mRecentTasks (Results 1 – 10 of 10) sorted by relevance
105 private TestRecentTasks mRecentTasks; field in RecentTasksTest151 mRecentTasks = (TestRecentTasks) mService.getRecentTasks(); in setUp()152 mRecentTasks.loadParametersFromResources(mContext.getResources()); in setUp()159 mRecentTasks.registerCallback(mCallbacksRecorder); in setUp()177 mRecentTasks.add(mTasks.get(0)); in testCallbacks()178 mRecentTasks.add(mTasks.get(1)); in testCallbacks()186 mRecentTasks.remove(mTasks.get(0)); in testCallbacks()187 mRecentTasks.remove(mTasks.get(1)); in testCallbacks()195 mRecentTasks.unregisterCallback(mCallbacksRecorder); in testCallbacks()196 mRecentTasks.add(mTasks.get(0)); in testCallbacks()[all …]
101 @Mock private RecentTasks mRecentTasks; field in LockTaskControllerTest119 mSupervisor.mRecentTasks = mRecentTasks; in setUp()649 verify(mRecentTasks).onLockTaskModeStateChanged(anyInt(), eq(TEST_USER_ID)); in verifyLockTaskStarted()
88 private final RecentTasks mRecentTasks; field in TaskPersister147 mRecentTasks = recentTasks; in TaskPersister()156 mRecentTasks = null; in TaskPersister()569 for (int userId : mRecentTasks.usersWithRecentsLoadedLocked()) { in writeTaskIdsFiles()570 SparseBooleanArray taskIdsToSave = mRecentTasks.getTaskIdsForUser(userId); in writeTaskIdsFiles()592 candidateUserIds = mRecentTasks.usersWithRecentsLoadedLocked(); in removeObsoleteFiles()656 if (DEBUG) Slog.d(TAG, "mRecents=" + mRecentTasks); in run()657 mRecentTasks.getPersistableTaskIds(persistentTaskIds); in run()659 mRecentTasks.usersWithRecentsLoadedLocked()); in run()
194 && !supervisor.mRecentTasks.isCallerRecents(callingUid)) { in checkPermissions()
192 mStackSupervisor.mRecentTasks.getRecentTaskIds()); in startRecentsActivity()
311 RecentTasks mRecentTasks; field in ActivityStackSupervisor642 mRecentTasks = recentTasks; in setRecentTasks()643 mRecentTasks.registerCallback(this); in setRecentTasks()827 final TaskRecord task = mRecentTasks.getTask(id); in anyTaskForIdLocked()940 while (mRecentTasks.containsTaskId(candidateTaskId, userId) in getNextTaskIdForUserLocked()3085 mRecentTasks.remove(tr); in cleanUpRemovedTaskLocked()3670 mRecentTasks.add(task); in handleLaunchTaskBehindCompleteLocked()3998 pw.print(mRecentTasks.isRecentsComponentHomeActivity(mCurrentUser)); in dump()4022 mRecentTasks.isRecentsComponentHomeActivity(mCurrentUser)); in writeToProto()
560 mSupervisor.mRecentTasks.onLockTaskModeStateChanged(lockTaskModeState, task.userId); in setLockTaskMode()
761 private final RecentTasks mRecentTasks; field in ActivityManagerService3030 mRecentTasks = null; in ActivityManagerService()3136 mRecentTasks = createRecentTasks(); in ActivityManagerService()3137 mStackSupervisor.setRecentTasks(mRecentTasks); in ActivityManagerService()3204 return mRecentTasks; in getRecentTasks()3236 mRecentTasks.unloadUserDataFromMemoryLocked(userId); in onUserStoppedLocked()5337 final ComponentName recentsComponent = mRecentTasks.getRecentsComponent(); in startRecentsActivity()5338 final int recentsUid = mRecentTasks.getRecentsComponentUid(); in startRecentsActivity()6594 mRecentTasks.removeTasksByPackageName(packageName, resolvedUserId); in clearApplicationUserData()7212 mRecentTasks.cleanupDisabledPackageTasksLocked(packageName, disabledClasses, userId); in cleanupDisabledPackageComponentsLocked()[all …]
499 mStackSupervisor.mRecentTasks.add(record.getTask()); in onActivityStateChanged()4598 mStackSupervisor.mRecentTasks.add(top.getTask()); in moveTaskToFrontLocked()5133 mStackSupervisor.mRecentTasks.remove(task); in removeTask()
1470 mSupervisor.mRecentTasks.add(mStartActivity.getTask()); in startActivityUnchecked()