/frameworks/base/services/core/java/com/android/server/wm/ |
D | RecentsAnimation.java | 58 private final ActivityTaskSupervisor mTaskSupervisor; field in RecentsAnimation 85 mTaskSupervisor = taskSupervisor; in RecentsAnimation() 141 mTaskSupervisor.startSpecificActivity(targetActivity, false /* andResume */, in preloadRecentsActivity() 198 mTaskSupervisor.getActivityMetricsLogger().notifyActivityLaunching(mTargetIntent); in startRecentsActivity() 250 mTaskSupervisor.mRecentTasks.getRecentTaskIds(), targetActivity); in startRecentsActivity() 261 mTaskSupervisor.getActivityMetricsLogger().notifyActivityLaunched(launchingState, in startRecentsActivity() 332 mTaskSupervisor.mNoAnimActivities.add(targetActivity); in finishAnimation() 336 mTaskSupervisor.mUserLeaving = true; in finishAnimation() 402 mTaskSupervisor.mUserLeaving = false; in finishAnimation()
|
D | Task.java | 501 final ActivityTaskSupervisor mTaskSupervisor; field in Task 864 mTaskSupervisor = atmService.mTaskSupervisor; in Task() 913 mHandler = new ActivityTaskHandler(mTaskSupervisor.mLooper); in Task() 964 mTaskSupervisor.mRecentTasks.remove(this); in cleanUpResourcesForDestroy() 1017 mTaskSupervisor.restoreRecentTaskLocked(this, null, !ON_TOP); in resize() 1100 final ActivityTaskSupervisor supervisor = mTaskSupervisor; in reparent() 1167 mTaskSupervisor.mNoAnimActivities.add(topActivity); in reparent() 1174 mTaskSupervisor.moveRecentsRootTaskToFront(reason); in reparent() 1526 mTaskSupervisor.updateTopResumedActivityIfNeeded(); in setResumedActivity() 1785 mTaskSupervisor.removeTask(this, false /* killProcess */, in removeChild() [all …]
|
D | AppTaskImpl.java | 64 if (!mService.mTaskSupervisor.removeTaskById(mTaskId, false, in finishAndRemoveTask() 116 mService.mTaskSupervisor.startActivityFromRecents(callingPid, in moveToFront()
|
D | ActivityRecord.java | 540 final ActivityTaskSupervisor mTaskSupervisor; field in ActivityRecord 1525 mActivityComponent, mAtmService.mTaskSupervisor.getSystemChooserActivity()); in isResolverOrDelegateActivity() 1644 mTaskSupervisor = supervisor; in ActivityRecord() 2372 final RecentTasks recentTasks = mTaskSupervisor.mService.getRecentTasks(); in canLaunchHomeActivity() 2653 return mAtmService.mTaskSupervisor.canPlaceEntityOnDisplay(displayId, launchedFromPid, in canBeLaunchedOnDisplay() 2925 mTaskSupervisor.mNoHistoryActivities.remove(this); in finishIfPossible() 3090 } else if (mTaskSupervisor.getKeyguardController().isKeyguardLocked() in completeFinishing() 3091 && mTaskSupervisor.getKeyguardController().topActivityOccludesKeyguard(this)) { in completeFinishing() 3165 mTaskSupervisor.mStoppingActivities.remove(this); in destroyIfPossible() 3213 if (!mTaskSupervisor.mFinishingActivities.contains(this)) { in addToFinishingAndWaitForIdle() [all …]
|
D | RootWindowContainer.java | 251 ActivityTaskSupervisor mTaskSupervisor; field in RootWindowContainer 290 mTaskSupervisor.beginDeferResume(); 298 mTaskSupervisor.endDeferResume(); 454 mTaskSupervisor = mService.mTaskSupervisor; in RootWindowContainer() 455 mTaskSupervisor.mRootWindowContainer = this; in RootWindowContainer() 509 mTaskSupervisor.updateTopResumedActivityIfNeeded(); in onChildPositionChanged() 1276 mTaskSupervisor.getKeyguardController().dumpDebug(proto, KEYGUARD_CONTROLLER); in dumpDebug() 1278 mTaskSupervisor.mRecentTasks.isRecentsComponentHomeActivity(mCurrentUser)); in dumpDebug() 1950 if (mTaskSupervisor.realStartActivityLocked(r, app, in startActivityForAttachedApplicationIfNeeded() 1977 if (mTaskSupervisor.inActivityVisibilityUpdate()) { in ensureActivitiesVisible() [all …]
|
D | TaskPersister.java | 76 private final ActivityTaskSupervisor mTaskSupervisor; field in TaskPersister 105 mTaskSupervisor = taskSupervisor; in TaskPersister() 115 mTaskSupervisor = null; in TaskPersister() 321 final Task task = Task.restoreFromXml(in, mTaskSupervisor); in restoreTasksForUserLocked() 350 mTaskSupervisor.setNextTaskIdForUser(taskId, userId); in restoreTasksForUserLocked()
|
D | KeyguardController.java | 71 private final ActivityTaskSupervisor mTaskSupervisor; field in KeyguardController 86 mTaskSupervisor = taskSupervisor; in KeyguardController() 253 mTaskSupervisor.wakeUp("dismissKeyguard"); in dismissKeyguard() 421 mTaskSupervisor.wakeUp("handleTurnScreenOn"); in handleTurnScreenOn()
|
D | ActivityTaskManagerService.java | 371 ActivityTaskSupervisor mTaskSupervisor; field in ActivityTaskManagerService 817 mTaskSupervisor.onSystemReady(); in onSystemReady() 824 mTaskSupervisor.initPowerManagement(); in onInitPowerManagement() 935 mTaskSupervisor = createTaskSupervisor(); in initialize() 939 new TaskChangeNotificationController(mGlobalLock, mTaskSupervisor, mH); in initialize() 940 mLockTaskController = new LockTaskController(mContext, mTaskSupervisor, mH, in initialize() 943 setRecentTasks(new RecentTasks(this, mTaskSupervisor)); in initialize() 945 mKeyguardController = mTaskSupervisor.getKeyguardController(); in initialize() 946 mPackageConfigPersister = new PackageConfigPersister(mTaskSupervisor.mPersisterQueue); in initialize() 982 mTaskSupervisor.setWindowManager(wm); in setWindowManager() [all …]
|
D | ActivityClientController.java | 90 private final ActivityTaskSupervisor mTaskSupervisor; field in ActivityClientController 99 mTaskSupervisor = service.mTaskSupervisor; in ActivityClientController() 128 mTaskSupervisor.activityIdleInternal(r, false /* fromTimeout */, in activityIdle() 153 mTaskSupervisor.handleTopResumedStateReleased(false /* timeout */); in activityTopResumedStateLost() 208 mTaskSupervisor.removeRestartTimeouts(r); in activityStopped() 434 mTaskSupervisor.removeTask(tr, false /*killProcess*/, in finishActivity()
|
D | ActivityStartController.java | 99 this(service, service.mTaskSupervisor, in ActivityStartController() 100 new DefaultFactory(service, service.mTaskSupervisor, in ActivityStartController() 101 new ActivityStartInterceptor(service, service.mTaskSupervisor))); in ActivityStartController()
|
D | TaskChangeNotificationController.java | 69 private final ActivityTaskSupervisor mTaskSupervisor; field in TaskChangeNotificationController 200 mTaskSupervisor.logRootTaskState(); in handleMessage() 289 mTaskSupervisor = taskSupervisor; in TaskChangeNotificationController()
|
D | DisplayAreaOrganizerController.java | 364 mService.mRootWindowContainer.mTaskSupervisor.beginDeferResume(); in deleteTaskDisplayArea() 371 mService.mRootWindowContainer.mTaskSupervisor.endDeferResume(); in deleteTaskDisplayArea()
|
D | EnsureActivitiesVisibleHelper.java | 222 mTask.mTaskSupervisor.startSpecificActivity(r, andResume, true /* checkConfig */); in makeVisibleAndRestartIfNeeded()
|
D | ResetTargetTaskHelper.java | 263 atmService.mTaskSupervisor.mRecentTasks.add(targetTask); in processPendingReparentActivities()
|
D | TaskDisplayArea.java | 470 mAtmService.mTaskSupervisor.updateTopResumedActivityIfNeeded(); 1163 return mAtmService.mTaskSupervisor.getNextTaskIdForUser(); 1784 && mRootWindowContainer.mTaskSupervisor.getKeyguardController() 2048 mAtmService.mTaskSupervisor.beginActivityVisibilityUpdate(); 2055 mAtmService.mTaskSupervisor.endActivityVisibilityUpdate();
|
D | SafeActivityOptions.java | 110 return getOptions(r.intent, r.info, r.app, r.mTaskSupervisor); in getOptions()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityStartControllerTests.java | 54 mController = new ActivityStartController(mAtm, mAtm.mTaskSupervisor, mFactory); in setUp() 56 mAtm.mTaskSupervisor, mock(ActivityStartInterceptor.class))); in setUp() 67 mAtm.mTaskSupervisor, mock(ActivityStartInterceptor.class)); in testRecycling()
|
D | ActivityStarterTests.java | 196 service.mTaskSupervisor, mock(ActivityStartInterceptor.class)); in verifyStartActivityPreconditionsUntracked() 221 new TaskBuilder(service.mTaskSupervisor) in verifyStartActivityPreconditionsUntracked() 244 doReturn(false).when(service.mTaskSupervisor).checkStartAnyActivityPermission( in verifyStartActivityPreconditionsUntracked() 286 mAtm.mTaskSupervisor, mock(ActivityStartInterceptor.class)); in verifyStartActivityPreconditionsUntracked() 375 mAtm.mTaskSupervisor, mock(ActivityStartInterceptor.class)) in prepareStarter() 388 mAtm.mTaskSupervisor.getLaunchParamsController().registerModifier(modifier); in testCreateTaskLayout() 523 doReturn(mActivityMetricsLogger).when(mAtm.mTaskSupervisor).getActivityMetricsLogger(); in testActivityStartsLogging_noLoggingWhenDisabled() 540 doReturn(mActivityMetricsLogger).when(mAtm.mTaskSupervisor).getActivityMetricsLogger(); in testActivityStartsLogging_logsWhenEnabled() 709 mAtm.mTaskSupervisor.setRecentTasks(recentTasks); in runAndVerifyBackgroundActivityStartsSubtest() 968 mAtm.mTaskSupervisor.setRecentTasks(recentTasks); in testFreezeTaskListActivityOption() [all …]
|
D | LaunchParamsControllerTests.java | 293 final Task task = new TaskBuilder(mAtm.mTaskSupervisor).build(); in testLayoutTaskPreferredDisplayChange() 314 final Task task = new TaskBuilder(mAtm.mTaskSupervisor).build(); in testLayoutTaskWindowingModeChange() 336 final Task task = new TaskBuilder(mAtm.mTaskSupervisor).setCreateParentTask(true).build(); in testLayoutNonRootTaskWindowingModeChange() 362 final Task task = new TaskBuilder(mAtm.mTaskSupervisor).build(); in testLayoutTaskBoundsChangeFreeformWindow() 387 final Task task = new TaskBuilder(mAtm.mTaskSupervisor).build(); in testLayoutTaskBoundsChangeMultiWindow() 410 final Task task = new TaskBuilder(mAtm.mTaskSupervisor).build(); in testLayoutTaskBoundsChangeFixedWindow()
|
D | WindowManagerServiceTests.java | 164 doNothing().when(mWm.mAtmService.mTaskSupervisor).wakeUp(anyString()); in testDismissKeyguardCanWakeUp() 166 verify(mWm.mAtmService.mTaskSupervisor).wakeUp(anyString()); in testDismissKeyguardCanWakeUp()
|
D | TaskTests.java | 246 verify(task.mTaskSupervisor).removeTask(any(), anyBoolean(), anyBoolean(), anyString()); in testRemoveChildForOverlayTask() 1185 LaunchParamsPersister persister = mAtm.mTaskSupervisor.mLaunchParamsPersister; in testSaveLaunchingStateWhenConfigurationChanged() 1201 LaunchParamsPersister persister = mAtm.mTaskSupervisor.mLaunchParamsPersister; in testSaveLaunchingStateWhenClearingParent() 1226 LaunchParamsPersister persister = mAtm.mTaskSupervisor.mLaunchParamsPersister; in testNotSaveLaunchingStateNonFreeformDisplay() 1241 LaunchParamsPersister persister = mAtm.mTaskSupervisor.mLaunchParamsPersister; in testNotSaveLaunchingStateWhenNotFullscreenOrFreeformWindow() 1257 LaunchParamsPersister persister = mAtm.mTaskSupervisor.mLaunchParamsPersister; in testNotSaveLaunchingStateForNonLeafTask() 1403 return Task.restoreFromXml(parser, mAtm.mTaskSupervisor); in restoreFromBytes()
|
D | RunningTasksTest.java | 166 final Task task = new TaskBuilder(mAtm.mTaskSupervisor) in createTask()
|
D | WindowTestsBase.java | 182 mSupervisor = mAtm.mTaskSupervisor; in setUpBase() 534 final Task task = new TaskBuilder(rootTask.mTaskSupervisor) in createTaskInRootTask() 984 mTask = new TaskBuilder(mService.mTaskSupervisor) in buildInner() 1331 this(service, service.mTaskSupervisor.mRootWindowContainer.getDefaultDisplay()); in TestSplitOrganizer()
|
D | RootTaskTests.java | 335 final Task primarySplitScreen = new TaskBuilder(mAtm.mTaskSupervisor) in testPrimarySplitScreenMoveToBack() 512 final Task parentTask = new TaskBuilder(mAtm.mTaskSupervisor).build(); in testFindTaskAlias() 513 final Task task = new TaskBuilder(mAtm.mTaskSupervisor).setParentTask(parentTask).build(); in testFindTaskAlias() 1430 mAtm, mAtm.mTaskSupervisor, mock(ActivityStartInterceptor.class)); in testNavigateUpTo()
|
/frameworks/opt/car/services/src/com/android/server/wm/ |
D | CarLaunchParamsModifier.java | 138 LaunchParamsController controller = mAtm.mTaskSupervisor.getLaunchParamsController(); in init()
|