Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/wm/
DRecentsAnimation.java58 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()
DTask.java501 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 …]
DAppTaskImpl.java64 if (!mService.mTaskSupervisor.removeTaskById(mTaskId, false, in finishAndRemoveTask()
116 mService.mTaskSupervisor.startActivityFromRecents(callingPid, in moveToFront()
DActivityRecord.java540 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 …]
DRootWindowContainer.java251 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 …]
DTaskPersister.java76 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()
DKeyguardController.java71 private final ActivityTaskSupervisor mTaskSupervisor; field in KeyguardController
86 mTaskSupervisor = taskSupervisor; in KeyguardController()
253 mTaskSupervisor.wakeUp("dismissKeyguard"); in dismissKeyguard()
421 mTaskSupervisor.wakeUp("handleTurnScreenOn"); in handleTurnScreenOn()
DActivityTaskManagerService.java371 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 …]
DActivityClientController.java90 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()
DActivityStartController.java99 this(service, service.mTaskSupervisor, in ActivityStartController()
100 new DefaultFactory(service, service.mTaskSupervisor, in ActivityStartController()
101 new ActivityStartInterceptor(service, service.mTaskSupervisor))); in ActivityStartController()
DTaskChangeNotificationController.java69 private final ActivityTaskSupervisor mTaskSupervisor; field in TaskChangeNotificationController
200 mTaskSupervisor.logRootTaskState(); in handleMessage()
289 mTaskSupervisor = taskSupervisor; in TaskChangeNotificationController()
DDisplayAreaOrganizerController.java364 mService.mRootWindowContainer.mTaskSupervisor.beginDeferResume(); in deleteTaskDisplayArea()
371 mService.mRootWindowContainer.mTaskSupervisor.endDeferResume(); in deleteTaskDisplayArea()
DEnsureActivitiesVisibleHelper.java222 mTask.mTaskSupervisor.startSpecificActivity(r, andResume, true /* checkConfig */); in makeVisibleAndRestartIfNeeded()
DResetTargetTaskHelper.java263 atmService.mTaskSupervisor.mRecentTasks.add(targetTask); in processPendingReparentActivities()
DTaskDisplayArea.java470 mAtmService.mTaskSupervisor.updateTopResumedActivityIfNeeded();
1163 return mAtmService.mTaskSupervisor.getNextTaskIdForUser();
1784 && mRootWindowContainer.mTaskSupervisor.getKeyguardController()
2048 mAtmService.mTaskSupervisor.beginActivityVisibilityUpdate();
2055 mAtmService.mTaskSupervisor.endActivityVisibilityUpdate();
DSafeActivityOptions.java110 return getOptions(r.intent, r.info, r.app, r.mTaskSupervisor); in getOptions()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStartControllerTests.java54 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()
DActivityStarterTests.java196 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 …]
DLaunchParamsControllerTests.java293 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()
DWindowManagerServiceTests.java164 doNothing().when(mWm.mAtmService.mTaskSupervisor).wakeUp(anyString()); in testDismissKeyguardCanWakeUp()
166 verify(mWm.mAtmService.mTaskSupervisor).wakeUp(anyString()); in testDismissKeyguardCanWakeUp()
DTaskTests.java246 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()
DRunningTasksTest.java166 final Task task = new TaskBuilder(mAtm.mTaskSupervisor) in createTask()
DWindowTestsBase.java182 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()
DRootTaskTests.java335 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/
DCarLaunchParamsModifier.java138 LaunchParamsController controller = mAtm.mTaskSupervisor.getLaunchParamsController(); in init()

12