Home
last modified time | relevance | path

Searched refs:mStackSupervisor (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DRecentsAnimation.java57 private final ActivityStackSupervisor mStackSupervisor; field in RecentsAnimation
83 mStackSupervisor = stackSupervisor; in RecentsAnimation()
135 mStackSupervisor.startSpecificActivityLocked(targetActivity, false /* andResume */, in preloadRecentsActivity()
193 mStackSupervisor.getActivityMetricsLogger().notifyActivityLaunching(mTargetIntent); in startRecentsActivity()
248 mStackSupervisor.mRecentTasks.getRecentTaskIds()); in startRecentsActivity()
254 mStackSupervisor.getActivityMetricsLogger().notifyActivityLaunched(START_TASK_TO_FRONT, in startRecentsActivity()
323 mStackSupervisor.mNoAnimActivities.add(targetActivity); in finishAnimation()
327 mStackSupervisor.mUserLeaving = true; in finishAnimation()
DActivityStack.java289 mStackSupervisor.resizeDockedStackLocked(getRequestedOverrideBounds(), mTmpRect, in onParentChanged()
409 protected final ActivityStackSupervisor mStackSupervisor; field in ActivityStack
511 mStackSupervisor = supervisor; in ActivityStack()
569 mStackSupervisor.mRecentTasks.add(record.getTaskRecord()); in onActivityStateChanged()
795 mStackSupervisor.mNoAnimActivities.add(topActivity); in setWindowingModeInSurfaceTransaction()
1507 if (!mStackSupervisor.mWaitingActivityLaunched.isEmpty()) { in clearLaunchTime()
1508 mStackSupervisor.removeTimeoutsForActivityLocked(r); in clearLaunchTime()
1509 mStackSupervisor.scheduleIdleTimeoutLocked(r); in clearLaunchTime()
1545 mStackSupervisor.checkReadyForSleepLocked(true /* allowDelay */); in checkReadyForSleep()
1578 if (containsActivityFromStack(mStackSupervisor.mStoppingActivities)) { in goToSleepIfPossible()
[all …]
DRootActivityContainer.java164 ActivityStackSupervisor mStackSupervisor; field in RootActivityContainer
226 mStackSupervisor = service.mStackSupervisor; in RootActivityContainer()
227 mStackSupervisor.mRootActivityContainer = this; in RootActivityContainer()
784 if (mStackSupervisor.realStartActivityLocked(activity, app, in attachApplication()
817 mStackSupervisor.getKeyguardController().beginActivityVisibilityUpdate(); in ensureActivitiesVisible()
826 mStackSupervisor.getKeyguardController().endActivityVisibilityUpdate(); in ensureActivitiesVisible()
835 mStackSupervisor.moveTasksToFullscreenStackLocked( in switchUser()
848 mStackSupervisor.mStartingUsers.add(uss); in switchUser()
895 mStackSupervisor.resizeDockedStackLocked(bounds, tempTaskBounds, in resizeStack()
1008 mStackSupervisor.moveTasksToFullscreenStackLocked(stack, !ON_TOP); in moveActivityToPinnedStack()
[all …]
DActivityRecord.java366 final ActivityStackSupervisor mStackSupervisor; field in ActivityRecord
926 mActivityComponent, mAtmService.mStackSupervisor.getSystemChooserActivity()); in isResolverOrDelegateActivity()
978 mStackSupervisor = supervisor; in ActivityRecord()
1262 final RecentTasks recentTasks = mStackSupervisor.mService.getRecentTasks(); in canLaunchHomeActivity()
1425 return mAtmService.mStackSupervisor.canPlaceEntityOnDisplay(displayId, launchedFromPid, in canBeLaunchedOnDisplay()
1841 mStackSupervisor.getActivityMetricsLogger().notifyVisibilityChanged(this); in setVisibility()
1849 mStackSupervisor.mAppVisibilitiesChangedSinceLastPause = true; in setVisible()
2027 mStackSupervisor.mStoppingActivities.remove(this); in makeVisibleIfNeeded()
2028 mStackSupervisor.mGoingToSleepActivities.remove(this); in makeVisibleIfNeeded()
2133 if (!mStackSupervisor.readyToResume()) { in shouldMakeActive()
[all …]
DAppTaskImpl.java65 if (!mService.mStackSupervisor.removeTaskByIdLocked(mTaskId, false, in finishAndRemoveTask()
125 mService.mStackSupervisor.startActivityFromRecents(callingPid, in moveToFront()
DKeyguardController.java66 private final ActivityStackSupervisor mStackSupervisor; field in KeyguardController
82 mStackSupervisor = stackSupervisor; in KeyguardController()
213 mStackSupervisor.wakeUp("dismissKeyguard"); in dismissKeyguard()
410 mStackSupervisor.moveTasksToFullscreenStackLocked(stack, in dismissDockedStackIfNeeded()
DActivityTaskManagerService.java375 ActivityStackSupervisor mStackSupervisor; field in ActivityTaskManagerService
706 mStackSupervisor.onSystemReady(); in onSystemReady()
712 mStackSupervisor.initPowerManagement(); in onInitPowerManagement()
823 mStackSupervisor = createStackSupervisor(); in initialize()
828 new TaskChangeNotificationController(mGlobalLock, mStackSupervisor, mH); in initialize()
829 mLockTaskController = new LockTaskController(mContext, mStackSupervisor, mH); in initialize()
832 mStackSupervisor.setRecentTasks(mRecentTasks); in initialize()
834 mKeyguardController = mStackSupervisor.getKeyguardController(); in initialize()
859 mStackSupervisor.setWindowManager(wm); in setWindowManager()
901 return new RecentTasks(this, mStackSupervisor); in createRecentTasks()
[all …]
DTaskPersister.java75 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()
DActivityDisplay.java466 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()
DTaskChangeNotificationController.java66 private final ActivityStackSupervisor mStackSupervisor; field in TaskChangeNotificationController
187 mStackSupervisor.logStackState(); in handleMessage()
267 mStackSupervisor = stackSupervisor; in TaskChangeNotificationController()
DActivityStartController.java123 this(service, service.mStackSupervisor, in ActivityStartController()
124 new DefaultFactory(service, service.mStackSupervisor, in ActivityStartController()
125 new ActivityStartInterceptor(service, service.mStackSupervisor))); in ActivityStartController()
DTaskRecord.java497 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 …]
DSafeActivityOptions.java101 return getOptions(r.intent, r.info, r.app, r.mStackSupervisor); in getOptions()
DRecentTasks.java227 mSupervisor = mService.mStackSupervisor; in RecentTasks()
237 mSupervisor = mService.mStackSupervisor; in RecentTasks()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStarterTests.java122 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 …]
DActivityStartControllerTests.java60 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()
DActivityDisplayTests.java93 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()
DActivityTestsBase.java131 mSupervisor = mService.mStackSupervisor; in setUpBase()
281 mTaskRecord = new TaskBuilder(mService.mStackSupervisor) in build()
304 false /* rootVoiceInteraction */, mService.mStackSupervisor, in build()
527 mDefaultDisplay = TestActivityDisplay.create(mStackSupervisor, DEFAULT_DISPLAY); in createDefaultDisplay()
531 final TaskRecord task = new TaskBuilder(mStackSupervisor) in createDefaultDisplay()
916 return new ActivityStack(mDisplay, stackId, mRootActivityContainer.mStackSupervisor, in build()
930 mRootActivityContainer.mStackSupervisor, mWindowingMode, in build()
DLaunchParamsControllerTests.java281 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()
DRunningTasksTest.java107 final TaskRecord task = new TaskBuilder(mService.mStackSupervisor) in createTask()
DRecentTasksTest.java120 mRunningTasks = (TestRunningTasks) mTestService.mStackSupervisor.mRunningTasks; in setUp()
745 (MyTestActivityStackSupervisor) mTestService.mStackSupervisor; in testBackStackTasks_expectNoTrim()
764 (MyTestActivityStackSupervisor) mTestService.mStackSupervisor; in testBehindHomeStackTasks_expectTaskTrimmed()
786 (MyTestActivityStackSupervisor) mTestService.mStackSupervisor; in testOtherDisplayTasks_expectNoTrim()
1033 return new TaskBuilder(mTestService.mStackSupervisor) in createTaskBuilder()
DActivityRecordTests.java128 final TaskRecord newTask = new TaskBuilder(mService.mStackSupervisor).setStack(mStack) in testNoCleanupMovingActivityInSameStack()
230 TaskRecord task2 = new TaskBuilder(mService.mStackSupervisor).setStack(mStack).build(); in testsApplyOptionsLocked()
DRecentsAnimationTest.java195 verify(mRootActivityContainer.mStackSupervisor).startSpecificActivityLocked( in testRestartRecentsActivity()
DActivityStackTests.java276 final TaskRecord task = new TaskBuilder(mService.mStackSupervisor).setStack(mStack).build(); in testFindTaskAlias()
1089 mService, mService.mStackSupervisor, mock(ActivityStartInterceptor.class)); in testNavigateUpTo()
DTaskRecordTests.java485 return TaskRecord.restoreFromXml(parser, mService.mStackSupervisor); in restoreFromBytes()