/frameworks/base/services/core/java/com/android/server/wm/ |
D | RecentsAnimation.java | 57 private final ActivityStackSupervisor mStackSupervisor; field in RecentsAnimation 78 mStackSupervisor = stackSupervisor; in RecentsAnimation() 130 mStackSupervisor.getActivityMetricsLogger().notifyActivityLaunching(intent); in startRecentsActivity() 194 mStackSupervisor.mRecentTasks.getRecentTaskIds()); in startRecentsActivity() 200 mStackSupervisor.getActivityMetricsLogger().notifyActivityLaunched(START_TASK_TO_FRONT, in startRecentsActivity() 268 mStackSupervisor.mNoAnimActivities.add(targetActivity); in finishAnimation() 272 mStackSupervisor.mUserLeaving = true; in finishAnimation()
|
D | ActivityStack.java | 286 mStackSupervisor.resizeDockedStackLocked(getRequestedOverrideBounds(), mTmpRect, in onParentChanged() 406 protected final ActivityStackSupervisor mStackSupervisor; field in ActivityStack 508 mStackSupervisor = supervisor; in ActivityStack() 566 mStackSupervisor.mRecentTasks.add(record.getTaskRecord()); in onActivityStateChanged() 792 mStackSupervisor.mNoAnimActivities.add(topActivity); in setWindowingModeInSurfaceTransaction() 1504 if (!mStackSupervisor.mWaitingActivityLaunched.isEmpty()) { in clearLaunchTime() 1505 mStackSupervisor.removeTimeoutsForActivityLocked(r); in clearLaunchTime() 1506 mStackSupervisor.scheduleIdleTimeoutLocked(r); in clearLaunchTime() 1542 mStackSupervisor.checkReadyForSleepLocked(true /* allowDelay */); in checkReadyForSleep() 1575 if (containsActivityFromStack(mStackSupervisor.mStoppingActivities)) { in goToSleepIfPossible() [all …]
|
D | RootActivityContainer.java | 163 ActivityStackSupervisor mStackSupervisor; field in RootActivityContainer 225 mStackSupervisor = service.mStackSupervisor; in RootActivityContainer() 226 mStackSupervisor.mRootActivityContainer = this; in RootActivityContainer() 783 if (mStackSupervisor.realStartActivityLocked(activity, app, in attachApplication() 816 mStackSupervisor.getKeyguardController().beginActivityVisibilityUpdate(); in ensureActivitiesVisible() 825 mStackSupervisor.getKeyguardController().endActivityVisibilityUpdate(); in ensureActivitiesVisible() 834 mStackSupervisor.moveTasksToFullscreenStackLocked( in switchUser() 847 mStackSupervisor.mStartingUsers.add(uss); in switchUser() 894 mStackSupervisor.resizeDockedStackLocked(bounds, tempTaskBounds, in resizeStack() 1007 mStackSupervisor.moveTasksToFullscreenStackLocked(stack, !ON_TOP); in moveActivityToPinnedStack() [all …]
|
D | ActivityRecord.java | 366 final ActivityStackSupervisor mStackSupervisor; field in ActivityRecord 977 mStackSupervisor = supervisor; in ActivityRecord() 1260 final RecentTasks recentTasks = mStackSupervisor.mService.getRecentTasks(); in canLaunchHomeActivity() 1423 return mAtmService.mStackSupervisor.canPlaceEntityOnDisplay(displayId, launchedFromPid, in canBeLaunchedOnDisplay() 1843 mStackSupervisor.getActivityMetricsLogger().notifyVisibilityChanged(this); in setVisibility() 1851 mStackSupervisor.mAppVisibilitiesChangedSinceLastPause = true; in setVisible() 2029 mStackSupervisor.mStoppingActivities.remove(this); in makeVisibleIfNeeded() 2030 mStackSupervisor.mGoingToSleepActivities.remove(this); in makeVisibleIfNeeded() 2135 if (!mStackSupervisor.readyToResume()) { in shouldMakeActive() 2203 mStackSupervisor.mAppVisibilitiesChangedSinceLastPause = true; in completeResumeLocked() [all …]
|
D | AppTaskImpl.java | 65 if (!mService.mStackSupervisor.removeTaskByIdLocked(mTaskId, false, in finishAndRemoveTask() 125 mService.mStackSupervisor.startActivityFromRecents(callingPid, in moveToFront()
|
D | KeyguardController.java | 64 private final ActivityStackSupervisor mStackSupervisor; field in KeyguardController 80 mStackSupervisor = stackSupervisor; in KeyguardController() 211 mStackSupervisor.wakeUp("dismissKeyguard"); in dismissKeyguard() 405 mStackSupervisor.moveTasksToFullscreenStackLocked(stack, in dismissDockedStackIfNeeded()
|
D | ActivityTaskManagerService.java | 372 ActivityStackSupervisor mStackSupervisor; field in ActivityTaskManagerService 703 mStackSupervisor.onSystemReady(); in onSystemReady() 709 mStackSupervisor.initPowerManagement(); in onInitPowerManagement() 820 mStackSupervisor = createStackSupervisor(); in initialize() 825 new TaskChangeNotificationController(mGlobalLock, mStackSupervisor, mH); in initialize() 826 mLockTaskController = new LockTaskController(mContext, mStackSupervisor, mH); in initialize() 829 mStackSupervisor.setRecentTasks(mRecentTasks); in initialize() 831 mKeyguardController = mStackSupervisor.getKeyguardController(); in initialize() 856 mStackSupervisor.setWindowManager(wm); in setWindowManager() 898 return new RecentTasks(this, mStackSupervisor); in createRecentTasks() [all …]
|
D | TaskPersister.java | 75 private final ActivityStackSupervisor mStackSupervisor; field in TaskPersister 104 mStackSupervisor = stackSupervisor; in TaskPersister() 114 mStackSupervisor = null; in TaskPersister() 323 final TaskRecord task = TaskRecord.restoreFromXml(in, mStackSupervisor); in restoreTasksForUserLocked() 343 mStackSupervisor.setNextTaskIdForUserLocked(taskId, userId); in restoreTasksForUserLocked()
|
D | ActivityDisplay.java | 466 mRootActivityContainer.mStackSupervisor, windowingMode, activityType, onTop); in createStackUnchecked() 660 mRootActivityContainer.mStackSupervisor.removeStack(stacks.get(i)); in removeStacksInWindowingModes() 684 mRootActivityContainer.mStackSupervisor.removeStack(stacks.get(i)); in removeStacksWithActivityTypes() 990 … && mRootActivityContainer.mStackSupervisor.getKeyguardController().isKeyguardLocked() in topRunningActivity() 1131 mRootActivityContainer.mStackSupervisor.beginDeferResume(); in remove() 1157 mRootActivityContainer.mStackSupervisor.endDeferResume(); in remove() 1190 mRootActivityContainer.mStackSupervisor in releaseSelfIfNeeded()
|
D | TaskChangeNotificationController.java | 64 private final ActivityStackSupervisor mStackSupervisor; field in TaskChangeNotificationController 177 mStackSupervisor.logStackState(); in handleMessage() 251 mStackSupervisor = stackSupervisor; in TaskChangeNotificationController()
|
D | ActivityStartController.java | 123 this(service, service.mStackSupervisor, in ActivityStartController() 124 new DefaultFactory(service, service.mStackSupervisor, in ActivityStartController() 125 new ActivityStartInterceptor(service, service.mStackSupervisor))); in ActivityStartController()
|
D | TaskRecord.java | 497 mService.mStackSupervisor.mRecentTasks.remove(this); in cleanUpResourcesForDestroy() 571 mService.mStackSupervisor.restoreRecentTaskLocked(this, null, !ON_TOP); in resize() 686 final ActivityStackSupervisor supervisor = mService.mStackSupervisor; in reparent() 775 mService.mStackSupervisor.mNoAnimActivities.add(topActivity); in reparent() 794 mService.mStackSupervisor.getLaunchParamsController().layoutTask(this, null); in reparent() 802 mService.mStackSupervisor.moveRecentsStackToFront(reason); in reparent() 1236 return mService.mStackSupervisor.isCurrentProfileLocked(userId) in okToShowLocked() 1609 return mService.mStackSupervisor.canPlaceEntityOnDisplay(displayId, in canBeLaunchedOnDisplay() 1892 mService.mStackSupervisor.scheduleUpdateMultiWindowMode(this); in onConfigurationChanged() 1926 mService.mStackSupervisor.mLaunchParamsPersister.saveTask(this); in saveLaunchingStateIfNeeded() [all …]
|
D | SafeActivityOptions.java | 101 return getOptions(r.intent, r.info, r.app, r.mStackSupervisor); in getOptions()
|
D | RecentTasks.java | 227 mSupervisor = mService.mStackSupervisor; in RecentTasks() 237 mSupervisor = mService.mStackSupervisor; in RecentTasks()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityStarterTests.java | 122 mStarter = new ActivityStarter(mController, mService, mService.mStackSupervisor, in setUp() 129 final TaskRecord task = new TaskBuilder(mService.mStackSupervisor) in testUpdateLaunchBounds() 140 final TaskRecord task2 = new TaskBuilder(mService.mStackSupervisor) in testUpdateLaunchBounds() 207 service.mStackSupervisor, mock(ActivityStartInterceptor.class)); in verifyStartActivityPreconditions() 229 new TaskBuilder(service.mStackSupervisor).setVoiceSession(voiceSession).build()); in verifyStartActivityPreconditions() 254 doReturn(false).when(service.mStackSupervisor).checkStartAnyActivityPermission( in verifyStartActivityPreconditions() 296 mService.mStackSupervisor, mock(ActivityStartInterceptor.class)); in verifyStartActivityPreconditions() 369 mService.mStackSupervisor, mock(ActivityStartInterceptor.class)) in prepareStarter() 382 mService.mStackSupervisor.getLaunchParamsController().registerModifier(modifier); in testCreateTaskLayout() 512 doReturn(mActivityMetricsLogger).when(mService.mStackSupervisor).getActivityMetricsLogger(); in testActivityStartsLogging_noLoggingWhenDisabled() [all …]
|
D | ActivityStartControllerTests.java | 60 mController = new ActivityStartController(mService, mService.mStackSupervisor, mFactory); in setUp() 62 mService.mStackSupervisor, mock(ActivityStartInterceptor.class))); in setUp() 101 mService.mStackSupervisor, mock(ActivityStartInterceptor.class)); in testRecycling()
|
D | ActivityDisplayTests.java | 93 final TaskRecord pinnedTask = new TaskBuilder(mService.mStackSupervisor) in testFullscreenStackCanBeFocusedWhenFocusablePinnedStackExists() 172 final TaskRecord fullscreenTask = new TaskBuilder(mService.mStackSupervisor) in createFullscreenStackWithSimpleActivityAt() 307 final TaskRecord task1 = new TaskBuilder(mService.mStackSupervisor).setStack( in removeStackTests() 309 final TaskRecord task2 = new TaskBuilder(mService.mStackSupervisor).setStack( in removeStackTests() 311 final TaskRecord task3 = new TaskBuilder(mService.mStackSupervisor).setStack( in removeStackTests() 313 final TaskRecord task4 = new TaskBuilder(mService.mStackSupervisor).setStack( in removeStackTests()
|
D | ActivityTestsBase.java | 126 mSupervisor = mService.mStackSupervisor; in setUpBase() 256 mTaskRecord = new TaskBuilder(mService.mStackSupervisor) in build() 279 mService.mStackSupervisor, null /* options */, null /* sourceRecord */); in build() 496 mDefaultDisplay = TestActivityDisplay.create(mStackSupervisor, DEFAULT_DISPLAY); in createDefaultDisplay() 500 final TaskRecord task = new TaskBuilder(mStackSupervisor) in createDefaultDisplay() 885 return new ActivityStack(mDisplay, stackId, mRootActivityContainer.mStackSupervisor, in build() 899 mRootActivityContainer.mStackSupervisor, mWindowingMode, in build()
|
D | LaunchParamsControllerTests.java | 281 final TaskRecord task = new TaskBuilder(mService.mStackSupervisor).build(); in testLayoutTaskPreferredDisplayChange() 301 final TaskRecord task = new TaskBuilder(mService.mStackSupervisor).build(); in testLayoutTaskWindowingModeChange() 326 final TaskRecord task = new TaskBuilder(mService.mStackSupervisor).build(); in testLayoutTaskBoundsChangeFreeformWindow() 349 final TaskRecord task = new TaskBuilder(mService.mStackSupervisor).build(); in testLayoutTaskBoundsChangeFixedWindow()
|
D | RunningTasksTest.java | 102 final TaskRecord task = new TaskBuilder(mService.mStackSupervisor) in createTask()
|
D | RecentTasksTest.java | 119 mRunningTasks = (TestRunningTasks) mTestService.mStackSupervisor.mRunningTasks; in setUp() 744 (MyTestActivityStackSupervisor) mTestService.mStackSupervisor; in testBackStackTasks_expectNoTrim() 763 (MyTestActivityStackSupervisor) mTestService.mStackSupervisor; in testBehindHomeStackTasks_expectTaskTrimmed() 785 (MyTestActivityStackSupervisor) mTestService.mStackSupervisor; in testOtherDisplayTasks_expectNoTrim() 1033 return new TaskBuilder(mTestService.mStackSupervisor) in createTaskBuilder()
|
D | RecentsAnimationTest.java | 141 verify(mRootActivityContainer.mStackSupervisor).startSpecificActivityLocked( in testRestartRecentsActivity()
|
D | ActivityRecordTests.java | 122 final TaskRecord newTask = new TaskBuilder(mService.mStackSupervisor).setStack(mStack) in testNoCleanupMovingActivityInSameStack() 224 TaskRecord task2 = new TaskBuilder(mService.mStackSupervisor).setStack(mStack).build(); in testsApplyOptionsLocked()
|
D | ActivityStackTests.java | 276 final TaskRecord task = new TaskBuilder(mService.mStackSupervisor).setStack(mStack).build(); in testFindTaskAlias() 1089 mService, mService.mStackSupervisor, mock(ActivityStartInterceptor.class)); in testNavigateUpTo()
|
D | TaskRecordTests.java | 485 return TaskRecord.restoreFromXml(parser, mService.mStackSupervisor); in restoreFromBytes()
|