/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RecentTasksTest.java | 105 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 …]
|
D | LockTaskControllerTest.java | 115 @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/ |
D | TaskPersister.java | 76 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()
|
D | WindowProcessController.java | 164 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 …]
|
D | ActivityStackSupervisor.java | 249 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()
|
D | SafeActivityOptions.java | 194 && !supervisor.mRecentTasks.isCallerRecents(callingUid)) { in checkPermissions()
|
D | ActivityTaskManagerService.java | 398 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 …]
|
D | RecentsAnimation.java | 194 mStackSupervisor.mRecentTasks.getRecentTaskIds()); in startRecentsActivity()
|
D | LockTaskController.java | 573 mSupervisor.mRecentTasks.onLockTaskModeStateChanged(lockTaskModeState, task.userId); in setLockTaskMode()
|
D | RootActivityContainer.java | 2216 final TaskRecord task = mStackSupervisor.mRecentTasks.getTask(id); in anyTaskForId() 2423 mStackSupervisor.mRecentTasks.isRecentsComponentHomeActivity(mCurrentUser)); in writeToProto()
|
D | ActivityStarter.java | 999 if (mSupervisor.mRecentTasks.isCallerRecents(callingUid)) { in shouldAbortBackgroundActivityStart() 1732 mSupervisor.mRecentTasks.add(mStartActivity.getTaskRecord()); in startActivityUnchecked()
|
D | ActivityStack.java | 566 mStackSupervisor.mRecentTasks.add(record.getTaskRecord()); in onActivityStateChanged() 4900 mStackSupervisor.mRecentTasks.add(top.getTaskRecord()); in moveTaskToFrontLocked()
|
D | TaskRecord.java | 497 mService.mStackSupervisor.mRecentTasks.remove(this); in cleanUpResourcesForDestroy()
|