/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RecentTasksTest.java | 110 private TestRecentTasks mRecentTasks; field in RecentTasksTest 125 mRecentTasks = new TestRecentTasks(mService, mTaskPersister); in setUp() 126 spyOn(mRecentTasks); in setUp() 127 mService.setRecentTasks(mRecentTasks); in setUp() 128 mRecentTasks.loadParametersFromResources(mContext.getResources()); in setUp() 137 mRecentTasks.registerCallback(mCallbacksRecorder); in setUp() 154 mRecentTasks.add(mTasks.get(0)); in testCallbacks() 155 mRecentTasks.add(mTasks.get(1)); in testCallbacks() 163 mRecentTasks.remove(mTasks.get(0)); in testCallbacks() 164 mRecentTasks.remove(mTasks.get(1)); in testCallbacks() [all …]
|
D | LockTaskControllerTest.java | 119 @Mock private RecentTasks mRecentTasks; field in LockTaskControllerTest 139 mSupervisor.mRecentTasks = mRecentTasks; in setUp() 783 verify(mRecentTasks).onLockTaskModeStateChanged(anyInt(), eq(TEST_USER_ID)); in verifyLockTaskStarted()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RunningTasks.java | 52 private RecentTasks mRecentTasks; field in RunningTasks 71 mRecentTasks = root.mService.getRecentTasks(); in getTasks() 111 && !mRecentTasks.isVisibleRecentTask(task)) { in processTask()
|
D | TaskPersister.java | 75 private final RecentTasks mRecentTasks; field in TaskPersister 105 mRecentTasks = recentTasks; in TaskPersister() 115 mRecentTasks = null; in TaskPersister() 408 if (DEBUG) Slog.d(TAG, "mRecents=" + mRecentTasks); in onPreProcessItem() 409 mRecentTasks.getPersistableTaskIds(mTmpTaskIds); in onPreProcessItem() 411 mRecentTasks.usersWithRecentsLoadedLocked()); in onPreProcessItem() 450 for (int userId : mRecentTasks.usersWithRecentsLoadedLocked()) { in writeTaskIdsFiles() 451 SparseBooleanArray taskIdsToSave = mRecentTasks.getTaskIdsForUser(userId); in writeTaskIdsFiles() 473 candidateUserIds = mRecentTasks.usersWithRecentsLoadedLocked(); in removeObsoleteFiles()
|
D | WindowProcessController.java | 178 private final ArrayList<Task> mRecentTasks = new ArrayList<>(); field in WindowProcessController 628 return !mActivities.isEmpty() || !mRecentTasks.isEmpty(); in hasActivitiesOrRecentTasks() 1245 mRecentTasks.add(task); in addRecentTask() 1249 mRecentTasks.remove(task); in removeRecentTask() 1255 return !mRecentTasks.isEmpty(); in hasRecentTasks() 1260 for (int i = mRecentTasks.size() - 1; i >= 0; i--) { in clearRecentTasks() 1261 mRecentTasks.get(i).clearRootProcess(); in clearRecentTasks() 1263 mRecentTasks.clear(); in clearRecentTasks() 1427 if (mRecentTasks.size() > 0) { in dump() 1429 for (int i = 0; i < mRecentTasks.size(); i++) { in dump() [all …]
|
D | ActivityStackSupervisor.java | 238 RecentTasks mRecentTasks; field in ActivityStackSupervisor 462 if (mRecentTasks != null) { in setRecentTasks() 463 mRecentTasks.unregisterCallback(this); in setRecentTasks() 465 mRecentTasks = recentTasks; in setRecentTasks() 466 mRecentTasks.registerCallback(this); in setRecentTasks() 529 while (mRecentTasks.containsTaskId(candidateTaskId, userId) in getNextTaskIdForUser() 1527 mRecentTasks.remove(task); in cleanUpRemovedTaskLocked() 1788 mRecentTasks.add(task); in handleLaunchTaskBehindCompleteLocked() 1913 pw.println(mRecentTasks.isRecentsComponentHomeActivity(mRootWindowContainer.mCurrentUser)); in dump() 2468 && mRecentTasks.isCallerRecents(callingUid)) { in startActivityFromRecents() [all …]
|
D | SafeActivityOptions.java | 199 && !supervisor.mRecentTasks.isCallerRecents(callingUid)) { in checkPermissions()
|
D | ResetTargetTaskHelper.java | 270 atmService.mStackSupervisor.mRecentTasks.add(targetTask); in processPendingReparentActivities()
|
D | ActivityTaskManagerService.java | 409 private RecentTasks mRecentTasks; field in ActivityTaskManagerService 746 mRecentTasks.onSystemReadyLocked(); in onSystemReady() 934 mRecentTasks = recentTasks; in setRecentTasks() 939 return mRecentTasks; in getRecentTasks() 1583 final ComponentName recentsComponent = mRecentTasks.getRecentsComponent(); in startRecentsActivity() 1584 final String recentsFeatureId = mRecentTasks.getRecentsComponentFeatureId(); in startRecentsActivity() 1585 final int recentsUid = mRecentTasks.getRecentsComponentUid(); in startRecentsActivity() 2893 return mRecentTasks.getRecentTasks(maxNum, flags, allowed, userId, callingUid); in getRecentTasks() 3131 return mRecentTasks.getAppTasksList(callingUid, callingPackage); in getAppTasks() 3315 if (!mRecentTasks.addToBottom(task)) { in addAppTask() [all …]
|
D | ActivityStarter.java | 1322 if (mSupervisor.mRecentTasks.isCallerRecents(callingUid)) { in shouldAbortBackgroundActivityStart() 1454 mSupervisor.mRecentTasks.resetFreezeTaskListReorderingOnTimeout(); in postStartActivityProcessing() 1604 && mSupervisor.mRecentTasks.isCallerRecents(r.launchedFromUid) in startActivityInner() 1605 && !mSupervisor.mRecentTasks.isFreezeTaskListReorderingSet()) { in startActivityInner() 1607 mSupervisor.mRecentTasks.setFreezeTaskListReordering(); in startActivityInner() 1738 mSupervisor.mRecentTasks.add(mStartActivity.getTask()); in startActivityInner()
|
D | RecentsAnimation.java | 246 mStackSupervisor.mRecentTasks.getRecentTaskIds(), targetActivity); in startRecentsActivity()
|
D | LockTaskController.java | 598 mSupervisor.mRecentTasks.onLockTaskModeStateChanged(lockTaskModeState, task.mUserId); in setLockTaskMode()
|
D | RootWindowContainer.java | 1280 mStackSupervisor.mRecentTasks.isRecentsComponentHomeActivity(mCurrentUser)); in dumpDebug() 3467 task = mStackSupervisor.mRecentTasks.getTask(id); in anyTaskForId()
|
D | Task.java | 633 mStackSupervisor.mRecentTasks.remove(this); in cleanUpResourcesForDestroy() 1888 mStackSupervisor.mRecentTasks.add(record.getTask()); in onActivityStateChanged()
|
D | ActivityStack.java | 2513 mStackSupervisor.mRecentTasks.add(top.getTask()); in moveTaskToFront()
|
/frameworks/opt/car/services/tests/src/com/android/server/wm/ |
D | CarLaunchParamsModifierTest.java | 78 private RecentTasks mRecentTasks; field in CarLaunchParamsModifierTest 151 when(mActivityTaskManagerService.getRecentTasks()).thenReturn(mRecentTasks); in setUp()
|