/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ActivityStackSupervisorTests.java | 72 private ActivityStackSupervisor mSupervisor; field in ActivityStackSupervisorTests 81 mSupervisor = mService.mStackSupervisor; in setUp() 93 TaskRecord task = mSupervisor.anyTaskForIdLocked(0 /*taskId*/, in testRestoringInvalidTask() 112 mSupervisor.setFocusStackUnchecked("testReplacingTaskInPinnedStack", mFullscreenStack); in testReplacingTaskInPinnedStack() 119 mSupervisor.moveActivityToPinnedStackLocked(firstActivity, sourceBounds, in testReplacingTaskInPinnedStack() 129 mSupervisor.moveActivityToPinnedStackLocked(secondActivity, sourceBounds, in testReplacingTaskInPinnedStack() 160 mSupervisor.mStoppingActivities.add(firstActivity); in testStoppingActivityRemovedWhenResumed() 164 assertFalse(mSupervisor.mStoppingActivities.contains(firstActivity)); in testStoppingActivityRemovedWhenResumed() 177 synchronized (mSupervisor.mService) { in testReportWaitingActivityLaunchedIfNeeded() 179 mSupervisor.mWaitingActivityLaunched.add(taskToFrontWait); in testReportWaitingActivityLaunchedIfNeeded() [all …]
|
D | ActivityTestsBase.java | 223 private final ActivityStackSupervisor mSupervisor; field in ActivityTestsBase.TaskBuilder 236 mSupervisor = supervisor; in TaskBuilder() 285 mStack = mSupervisor.getDefaultDisplay().createStack( in build() 302 final TestTaskRecord task = new TestTaskRecord(mSupervisor.mService, mTaskId, aInfo, in build() 307 mSupervisor.setFocusStackUnchecked("test", mStack); in build() 451 private final ActivityStackSupervisor mSupervisor; field in ActivityTestsBase.TestActivityDisplay 454 mSupervisor = supervisor; in TestActivityDisplay() 461 return (T) new PinnedActivityStack(this, stackId, mSupervisor, onTop) { in createStackUnchecked() 475 this, stackId, mSupervisor, windowingMode, activityType, onTop); in createStackUnchecked()
|
D | ActivityStackTests.java | 65 private ActivityStackSupervisor mSupervisor; field in ActivityStackTests 76 mSupervisor = mService.mStackSupervisor; in setUp() 80 mTask = new TaskBuilder(mSupervisor).setStack(mStack).build(); in setUp() 135 final TaskRecord destTask = new TaskBuilder(mSupervisor).setStack(destStack).build(); in testResumedActivityFromActivityReparenting() 169 mSupervisor.setFocusStackUnchecked("testStopActivityWithDestroy", mStack); in testStopActivityWhenActivityDestroyed() 611 mSupervisor.mFocusedStack = focusedStack ? mStack : null; in verifyShouldSleepActivities() 614 final KeyguardController keyguardController = mSupervisor.getKeyguardController(); in verifyShouldSleepActivities() 616 doReturn(display).when(mSupervisor).getActivityDisplay(anyInt()); in verifyShouldSleepActivities()
|
D | ActivityStartInterceptorTest.java | 84 private ActivityStackSupervisor mSupervisor; field in ActivityStartInterceptorTest 104 mInterceptor = new ActivityStartInterceptor(mService, mSupervisor, mContext, in setUp()
|
D | LockTaskControllerTest.java | 94 @Mock private ActivityStackSupervisor mSupervisor; field in LockTaskControllerTest 119 mSupervisor.mRecentTasks = mRecentTasks; in setUp() 121 mLockTaskController = new LockTaskController(mContext, mSupervisor, in setUp()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityStartInterceptor.java | 70 private final ActivityStackSupervisor mSupervisor; field in ActivityStartInterceptor 110 mSupervisor = supervisor; in ActivityStartInterceptor() 205 mRInfo = mSupervisor.resolveIntent(mIntent, mResolvedType, parent.id, 0, mRealCallingUid); in interceptQuietProfileIfNeeded() 206 mAInfo = mSupervisor.resolveActivity(mIntent, mRInfo, mStartFlags, null /*profilerInfo*/); in interceptQuietProfileIfNeeded() 225 mRInfo = mSupervisor.resolveIntent(mIntent, mResolvedType, parent.id, 0, in interceptSuspendedByAdminPackage() 228 mRInfo = mSupervisor.resolveIntent(mIntent, mResolvedType, mUserId, 0, in interceptSuspendedByAdminPackage() 231 mAInfo = mSupervisor.resolveActivity(mIntent, mRInfo, mStartFlags, null /*profilerInfo*/); in interceptSuspendedByAdminPackage() 256 mRInfo = mSupervisor.resolveIntent(mIntent, mResolvedType, mUserId, 0, mRealCallingUid); in interceptSuspendedPackageIfNeeded() 257 mAInfo = mSupervisor.resolveActivity(mIntent, mRInfo, mStartFlags, null /*profilerInfo*/); in interceptSuspendedPackageIfNeeded() 281 ActivityRecord homeActivityRecord = mSupervisor.getHomeActivity(); in interceptWorkProfileChallengeIfNeeded() [all …]
|
D | ActivityStarter.java | 136 private final ActivityStackSupervisor mSupervisor; field in ActivityStarter 237 private ActivityStackSupervisor mSupervisor; field in ActivityStarter.DefaultFactory 246 mSupervisor = supervisor; in DefaultFactory() 260 starter = new ActivityStarter(mController, mService, mSupervisor, mInterceptor); in obtain() 417 mSupervisor = supervisor; in ActivityStarter() 609 sourceRecord = mSupervisor.isInAnyStackLocked(resultTo); in startActivity() 717 boolean abort = !mSupervisor.checkStartAnyActivityPermission(intent, aInfo, resultWho, in startActivity() 725 ? options.getOptions(intent, aInfo, callerApp, mSupervisor) in startActivity() 797 rInfo = mSupervisor.resolveIntent(intent, resolvedType, userId, 0, in startActivity() 800 aInfo = mSupervisor.resolveActivity(intent, rInfo, startFlags, in startActivity() [all …]
|
D | ActivityDisplay.java | 76 private ActivityStackSupervisor mSupervisor; field in ActivityDisplay 117 mSupervisor = supervisor; in ActivityDisplay() 143 mSupervisor.mService.updateSleepIfNeededLocked(); in addChild() 151 mSupervisor.mService.updateSleepIfNeededLocked(); in removeChild() 293 final ActivityManagerService service = mSupervisor.mService; in createStack() 319 return (T) new PinnedActivityStack(this, stackId, mSupervisor, onTop); in createStackUnchecked() 322 this, stackId, mSupervisor, windowingMode, activityType, onTop); in createStackUnchecked() 344 mSupervisor.removeStack(stack); in removeStacksInWindowingModes() 359 mSupervisor.removeStack(stack); in removeStacksWithActivityTypes() 421 mSupervisor.mWindowManager.deferSurfaceLayout(); in onSplitScreenModeDismissed() [all …]
|
D | ActivityLaunchParamsModifier.java | 31 private final ActivityStackSupervisor mSupervisor; field in ActivityLaunchParamsModifier 34 mSupervisor = activityStackSupervisor; in ActivityLaunchParamsModifier() 47 if (!(mSupervisor.canUseActivityOptionsLaunchBounds(options) in onCalculate()
|
D | LockTaskController.java | 129 private final ActivityStackSupervisor mSupervisor; field in LockTaskController 185 mSupervisor = supervisor; in LockTaskController() 449 mSupervisor.resumeFocusedStackTopActivityLocked(); in clearLockedTask() 560 mSupervisor.mRecentTasks.onLockTaskModeStateChanged(lockTaskModeState, task.userId); in setLockTaskMode() 579 mSupervisor.findTaskToMoveToFront(task, 0, null, reason, in setLockTaskMode() 581 mSupervisor.resumeFocusedStackTopActivityLocked(); in setLockTaskMode() 584 mSupervisor.handleNonResizableTaskIfNeeded(task, WINDOWING_MODE_UNDEFINED, in setLockTaskMode() 640 for (int displayNdx = mSupervisor.getChildCount() - 1; displayNdx >= 0; --displayNdx) { in updateLockTaskPackages() 641 mSupervisor.getChildAt(displayNdx).onLockTaskPackagesUpdated(); in updateLockTaskPackages() 644 final ActivityRecord r = mSupervisor.topRunningActivityLocked(); in updateLockTaskPackages() [all …]
|
D | ActivityStartController.java | 69 private final ActivityStackSupervisor mSupervisor; field in ActivityStartController 124 mSupervisor = supervisor; in ActivityStartController() 164 mSupervisor.moveHomeStackTaskToTop(reason); in startHomeActivity() 172 if (mSupervisor.inResumeTopActivity) { in startHomeActivity() 176 mSupervisor.scheduleResumeTopActivities(); in startHomeActivity() 342 ActivityInfo aInfo = mSupervisor.resolveActivity(intent, resolvedTypes[i], 0, in startActivities()
|
D | ActivityMetricsLogger.java | 86 private final ActivityStackSupervisor mSupervisor; field in ActivityMetricsLogger 170 mSupervisor = supervisor; in ActivityMetricsLogger() 187 ActivityStack stack = mSupervisor.getFocusedStack(); in logWindowState() 195 stack = mSupervisor.findStackBehind(stack); in logWindowState() 410 synchronized (mSupervisor.mService) { in checkVisibility() 666 ? mSupervisor.mService.mProcessNames.get(launchedActivity.processName, in findProcessForActivity()
|