/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RecentTasksTest.java | 106 private TestRecentTasks mRecentTasks; field in RecentTasksTest 118 mRecentTasks = (TestRecentTasks) mTestService.getRecentTasks(); in setUp() 119 mRecentTasks.loadParametersFromResources(mContext.getResources()); in setUp() 126 mRecentTasks.registerCallback(mCallbacksRecorder); in setUp() 144 mRecentTasks.add(mTasks.get(0)); in testCallbacks() 145 mRecentTasks.add(mTasks.get(1)); in testCallbacks() 153 mRecentTasks.remove(mTasks.get(0)); in testCallbacks() 154 mRecentTasks.remove(mTasks.get(1)); in testCallbacks() 162 mRecentTasks.unregisterCallback(mCallbacksRecorder); in testCallbacks() 163 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 | 165 private final ArrayList<TaskRecord> mRecentTasks = new ArrayList<>(); field in WindowProcessController 544 return !mActivities.isEmpty() || !mRecentTasks.isEmpty(); in hasActivitiesOrRecentTasks() 989 mRecentTasks.add(task); in addRecentTask() 993 mRecentTasks.remove(task); in removeRecentTask() 999 return !mRecentTasks.isEmpty(); in hasRecentTasks() 1004 for (int i = mRecentTasks.size() - 1; i >= 0; i--) { in clearRecentTasks() 1005 mRecentTasks.get(i).clearRootProcess(); in clearRecentTasks() 1007 mRecentTasks.clear(); in clearRecentTasks() 1119 if (mRecentTasks.size() > 0) { in dump() 1121 for (int i = 0; i < mRecentTasks.size(); i++) { in dump() [all …]
|
D | ActivityStackSupervisor.java | 250 RecentTasks mRecentTasks; field in ActivityStackSupervisor 488 mRecentTasks = recentTasks; in setRecentTasks() 489 mRecentTasks.registerCallback(this); in setRecentTasks() 544 while (mRecentTasks.containsTaskId(candidateTaskId, userId) in getNextTaskIdForUserLocked() 1812 mRecentTasks.remove(tr); in cleanUpRemovedTaskLocked() 2089 mRecentTasks.add(task); in handleLaunchTaskBehindCompleteLocked() 2192 pw.print(mRecentTasks.isRecentsComponentHomeActivity(mRootActivityContainer.mCurrentUser)); in dump() 2726 && mRecentTasks.isCallerRecents(callingUid)) { in startActivityFromRecents() 2727 mRecentTasks.setFreezeTaskListReordering(); in startActivityFromRecents()
|
D | SafeActivityOptions.java | 197 && !supervisor.mRecentTasks.isCallerRecents(callingUid)) { in checkPermissions()
|
D | ActivityTaskManagerService.java | 401 private RecentTasks mRecentTasks; field in ActivityTaskManagerService 705 mRecentTasks.onSystemReadyLocked(); in onSystemReady() 831 mRecentTasks = createRecentTasks(); in initialize() 832 mStackSupervisor.setRecentTasks(mRecentTasks); in initialize() 905 return mRecentTasks; in getRecentTasks() 1472 final ComponentName recentsComponent = mRecentTasks.getRecentsComponent(); in startRecentsActivity() 1473 final int recentsUid = mRecentTasks.getRecentsComponentUid(); in startRecentsActivity() 2779 return mRecentTasks.getRecentTasks(maxNum, flags, allowed, detailed, userId, in getRecentTasks() 2991 return mRecentTasks.getAppTasksList(callingUid, callingPackage); in getAppTasks() 3202 if (!mRecentTasks.addToBottom(task)) { in addAppTask() [all …]
|
D | ActivityStarter.java | 1001 if (mSupervisor.mRecentTasks.isCallerRecents(callingUid)) { in shouldAbortBackgroundActivityStart() 1103 mSupervisor.mRecentTasks.resetFreezeTaskListReorderingOnTimeout(); in postStartActivityProcessing() 1500 && mSupervisor.mRecentTasks.isCallerRecents(r.launchedFromUid) in startActivityUnchecked() 1501 && !mSupervisor.mRecentTasks.isFreezeTaskListReorderingSet()) { in startActivityUnchecked() 1503 mSupervisor.mRecentTasks.setFreezeTaskListReordering(); in startActivityUnchecked() 1750 mSupervisor.mRecentTasks.add(mStartActivity.getTaskRecord()); in startActivityUnchecked()
|
D | RecentsAnimation.java | 248 mStackSupervisor.mRecentTasks.getRecentTaskIds()); in startRecentsActivity()
|
D | LockTaskController.java | 573 mSupervisor.mRecentTasks.onLockTaskModeStateChanged(lockTaskModeState, task.userId); in setLockTaskMode()
|
D | RootActivityContainer.java | 2237 final TaskRecord task = mStackSupervisor.mRecentTasks.getTask(id); in anyTaskForId() 2444 mStackSupervisor.mRecentTasks.isRecentsComponentHomeActivity(mCurrentUser)); in writeToProto()
|
D | ActivityStack.java | 569 mStackSupervisor.mRecentTasks.add(record.getTaskRecord()); in onActivityStateChanged() 4927 mStackSupervisor.mRecentTasks.add(top.getTaskRecord()); in moveTaskToFrontLocked()
|
D | TaskRecord.java | 497 mService.mStackSupervisor.mRecentTasks.remove(this); in cleanUpResourcesForDestroy()
|