Home
last modified time | relevance | path

Searched refs:mRecentTasks (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DRecentTasksTest.java105 private TestRecentTasks mRecentTasks; field in RecentTasksTest
151 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 …]
DLockTaskControllerTest.java101 @Mock private RecentTasks mRecentTasks; field in LockTaskControllerTest
119 mSupervisor.mRecentTasks = mRecentTasks; in setUp()
649 verify(mRecentTasks).onLockTaskModeStateChanged(anyInt(), eq(TEST_USER_ID)); in verifyLockTaskStarted()
/frameworks/base/services/core/java/com/android/server/am/
DTaskPersister.java88 private final RecentTasks mRecentTasks; field in TaskPersister
147 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()
DSafeActivityOptions.java194 && !supervisor.mRecentTasks.isCallerRecents(callingUid)) { in checkPermissions()
DRecentsAnimation.java192 mStackSupervisor.mRecentTasks.getRecentTaskIds()); in startRecentsActivity()
DActivityStackSupervisor.java311 RecentTasks mRecentTasks; field in ActivityStackSupervisor
642 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()
DLockTaskController.java560 mSupervisor.mRecentTasks.onLockTaskModeStateChanged(lockTaskModeState, task.userId); in setLockTaskMode()
DActivityManagerService.java761 private final RecentTasks mRecentTasks; field in ActivityManagerService
3030 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 …]
DActivityStack.java499 mStackSupervisor.mRecentTasks.add(record.getTask()); in onActivityStateChanged()
4598 mStackSupervisor.mRecentTasks.add(top.getTask()); in moveTaskToFrontLocked()
5133 mStackSupervisor.mRecentTasks.remove(task); in removeTask()
DActivityStarter.java1470 mSupervisor.mRecentTasks.add(mStartActivity.getTask()); in startActivityUnchecked()