Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRecentTasksTest.java105 private TestRecentTasks mRecentTasks; field in RecentTasksTest
117 mRecentTasks = (TestRecentTasks) mTestService.getRecentTasks(); in setUp()
118 mRecentTasks.loadParametersFromResources(mContext.getResources()); in setUp()
125 mRecentTasks.registerCallback(mCallbacksRecorder); in setUp()
143 mRecentTasks.add(mTasks.get(0)); in testCallbacks()
144 mRecentTasks.add(mTasks.get(1)); in testCallbacks()
152 mRecentTasks.remove(mTasks.get(0)); in testCallbacks()
153 mRecentTasks.remove(mTasks.get(1)); in testCallbacks()
161 mRecentTasks.unregisterCallback(mCallbacksRecorder); in testCallbacks()
162 mRecentTasks.add(mTasks.get(0)); in testCallbacks()
[all …]
DLockTaskControllerTest.java115 @Mock private RecentTasks mRecentTasks; field in LockTaskControllerTest
135 mSupervisor.mRecentTasks = mRecentTasks; in setUp()
742 verify(mRecentTasks).onLockTaskModeStateChanged(anyInt(), eq(TEST_USER_ID)); in verifyLockTaskStarted()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskPersister.java76 private final RecentTasks mRecentTasks; field in TaskPersister
106 mRecentTasks = recentTasks; in TaskPersister()
116 mRecentTasks = null; in TaskPersister()
409 if (DEBUG) Slog.d(TAG, "mRecents=" + mRecentTasks); in onPreProcessItem()
410 mRecentTasks.getPersistableTaskIds(mTmpTaskIds); in onPreProcessItem()
412 mRecentTasks.usersWithRecentsLoadedLocked()); in onPreProcessItem()
451 for (int userId : mRecentTasks.usersWithRecentsLoadedLocked()) { in writeTaskIdsFiles()
452 SparseBooleanArray taskIdsToSave = mRecentTasks.getTaskIdsForUser(userId); in writeTaskIdsFiles()
474 candidateUserIds = mRecentTasks.usersWithRecentsLoadedLocked(); in removeObsoleteFiles()
DWindowProcessController.java164 private final ArrayList<TaskRecord> mRecentTasks = new ArrayList<>(); field in WindowProcessController
537 return !mActivities.isEmpty() || !mRecentTasks.isEmpty(); in hasActivitiesOrRecentTasks()
977 mRecentTasks.add(task); in addRecentTask()
981 mRecentTasks.remove(task); in removeRecentTask()
987 return !mRecentTasks.isEmpty(); in hasRecentTasks()
992 for (int i = mRecentTasks.size() - 1; i >= 0; i--) { in clearRecentTasks()
993 mRecentTasks.get(i).clearRootProcess(); in clearRecentTasks()
995 mRecentTasks.clear(); in clearRecentTasks()
1083 if (mRecentTasks.size() > 0) { in dump()
1085 for (int i = 0; i < mRecentTasks.size(); i++) { in dump()
[all …]
DActivityStackSupervisor.java249 RecentTasks mRecentTasks; field in ActivityStackSupervisor
473 mRecentTasks = recentTasks; in setRecentTasks()
474 mRecentTasks.registerCallback(this); in setRecentTasks()
529 while (mRecentTasks.containsTaskId(candidateTaskId, userId) in getNextTaskIdForUserLocked()
1808 mRecentTasks.remove(tr); in cleanUpRemovedTaskLocked()
2085 mRecentTasks.add(task); in handleLaunchTaskBehindCompleteLocked()
2188 pw.print(mRecentTasks.isRecentsComponentHomeActivity(mRootActivityContainer.mCurrentUser)); in dump()
2722 && mRecentTasks.isCallerRecents(callingUid)) { in startActivityFromRecents()
2723 mRecentTasks.setFreezeTaskListReordering(); in startActivityFromRecents()
DSafeActivityOptions.java194 && !supervisor.mRecentTasks.isCallerRecents(callingUid)) { in checkPermissions()
DActivityTaskManagerService.java398 private RecentTasks mRecentTasks; field in ActivityTaskManagerService
702 mRecentTasks.onSystemReadyLocked(); in onSystemReady()
828 mRecentTasks = createRecentTasks(); in initialize()
829 mStackSupervisor.setRecentTasks(mRecentTasks); in initialize()
902 return mRecentTasks; in getRecentTasks()
1462 final ComponentName recentsComponent = mRecentTasks.getRecentsComponent(); in startRecentsActivity()
1463 final int recentsUid = mRecentTasks.getRecentsComponentUid(); in startRecentsActivity()
2757 return mRecentTasks.getRecentTasks(maxNum, flags, allowed, detailed, userId, in getRecentTasks()
2969 return mRecentTasks.getAppTasksList(callingUid, callingPackage); in getAppTasks()
3180 if (!mRecentTasks.addToBottom(task)) { in addAppTask()
[all …]
DRecentsAnimation.java194 mStackSupervisor.mRecentTasks.getRecentTaskIds()); in startRecentsActivity()
DLockTaskController.java573 mSupervisor.mRecentTasks.onLockTaskModeStateChanged(lockTaskModeState, task.userId); in setLockTaskMode()
DRootActivityContainer.java2216 final TaskRecord task = mStackSupervisor.mRecentTasks.getTask(id); in anyTaskForId()
2423 mStackSupervisor.mRecentTasks.isRecentsComponentHomeActivity(mCurrentUser)); in writeToProto()
DActivityStarter.java999 if (mSupervisor.mRecentTasks.isCallerRecents(callingUid)) { in shouldAbortBackgroundActivityStart()
1732 mSupervisor.mRecentTasks.add(mStartActivity.getTaskRecord()); in startActivityUnchecked()
DActivityStack.java566 mStackSupervisor.mRecentTasks.add(record.getTaskRecord()); in onActivityStateChanged()
4900 mStackSupervisor.mRecentTasks.add(top.getTaskRecord()); in moveTaskToFrontLocked()
DTaskRecord.java497 mService.mStackSupervisor.mRecentTasks.remove(this); in cleanUpResourcesForDestroy()