Home
last modified time | relevance | path

Searched refs:supervisor (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DSafeActivityOptions.java108 ActivityOptions getOptions(ActivityStackSupervisor supervisor) throws SecurityException { in getOptions() argument
109 return getOptions(null, null, null, supervisor); in getOptions()
121 ActivityStackSupervisor supervisor) throws SecurityException { in getOptions() argument
123 checkPermissions(intent, aInfo, callerApp, supervisor, mOriginalOptions, in getOptions()
128 checkPermissions(intent, aInfo, callerApp, supervisor, mCallerOptions, in getOptions()
189 @Nullable WindowProcessController callerApp, ActivityStackSupervisor supervisor, in checkPermissions() argument
194 && !supervisor.mRecentTasks.isCallerRecents(callingUid)) { in checkPermissions()
210 && !supervisor.isCallerAllowedToLaunchOnDisplay(callingPid, callingUid, in checkPermissions()
222 && !supervisor.mService.getLockTaskController().isPackageWhitelisted( in checkPermissions()
233 if (adapter != null && supervisor.mService.checkPermission( in checkPermissions()
DActivityStartInterceptor.java104 ActivityTaskManagerService service, ActivityStackSupervisor supervisor) { in ActivityStartInterceptor() argument
105 this(service, supervisor, service.mRootActivityContainer, service.mContext); in ActivityStartInterceptor()
109 ActivityStartInterceptor(ActivityTaskManagerService service, ActivityStackSupervisor supervisor, in ActivityStartInterceptor() argument
112 mSupervisor = supervisor; in ActivityStartInterceptor()
DLaunchParamsPersister.java93 LaunchParamsPersister(PersisterQueue persisterQueue, ActivityStackSupervisor supervisor) { in LaunchParamsPersister() argument
94 this(persisterQueue, supervisor, Environment::getDataSystemCeDirectory); in LaunchParamsPersister()
98 LaunchParamsPersister(PersisterQueue persisterQueue, ActivityStackSupervisor supervisor, in LaunchParamsPersister() argument
101 mSupervisor = supervisor; in LaunchParamsPersister()
DLaunchParamsController.java63 void registerDefaultModifiers(ActivityStackSupervisor supervisor) { in registerDefaultModifiers() argument
65 registerModifier(new TaskLaunchParamsModifier(supervisor)); in registerDefaultModifiers()
DActivityStartController.java129 ActivityStartController(ActivityTaskManagerService service, ActivityStackSupervisor supervisor, in ActivityStartController() argument
132 mSupervisor = supervisor; in ActivityStartController()
DLockTaskController.java195 LockTaskController(Context context, ActivityStackSupervisor supervisor, in LockTaskController() argument
198 mSupervisor = supervisor; in LockTaskController()
DTaskLaunchParamsModifier.java102 TaskLaunchParamsModifier(ActivityStackSupervisor supervisor) { in TaskLaunchParamsModifier() argument
103 mSupervisor = supervisor; in TaskLaunchParamsModifier()
DActivityMetricsLogger.java263 ActivityMetricsLogger(ActivityStackSupervisor supervisor, Context context, Looper looper) { in ActivityMetricsLogger() argument
265 mSupervisor = supervisor; in ActivityMetricsLogger()
DActivityStarter.java262 ActivityStackSupervisor supervisor, ActivityStartInterceptor interceptor) { in DefaultFactory() argument
264 mSupervisor = supervisor; in DefaultFactory()
440 ActivityStackSupervisor supervisor, ActivityStartInterceptor interceptor) { in ActivityStarter() argument
444 mSupervisor = supervisor; in ActivityStarter()
DTaskRecord.java686 final ActivityStackSupervisor supervisor = mService.mStackSupervisor; in reparent() local
690 final ActivityStack toStack = supervisor.getReparentTargetStack(this, preferredStack, in reparent()
756 supervisor.scheduleUpdatePictureInPictureModeIfNeeded(this, sourceStack); in reparent()
826 supervisor.handleNonResizableTaskIfNeeded(this, preferredStack.getWindowingMode(), in reparent()
DActivityStack.java506 ActivityStack(ActivityDisplay display, int stackId, ActivityStackSupervisor supervisor, in ActivityStack() argument
508 mStackSupervisor = supervisor; in ActivityStack()
509 mService = supervisor.mService; in ActivityStack()
511 mHandler = new ActivityStackHandler(supervisor.mLooper); in ActivityStack()
DActivityRecord.java944 boolean _rootVoiceInteraction, ActivityStackSupervisor supervisor, in ActivityRecord() argument
977 mStackSupervisor = supervisor; in ActivityRecord()
DActivityTaskManagerService.java847 … final ActivityStackSupervisor supervisor = new ActivityStackSupervisor(this, mH.getLooper()); in createStackSupervisor() local
848 supervisor.initialize(); in createStackSupervisor()
849 return supervisor; in createStackSupervisor()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityTestsBase.java323 TaskBuilder(ActivityStackSupervisor supervisor) { in TaskBuilder() argument
324 mSupervisor = supervisor; in TaskBuilder()
662 static TestActivityDisplay create(ActivityStackSupervisor supervisor, int displayId) { in create() argument
663 return create(supervisor, displayId, new DisplayInfo()); in create()
666 static TestActivityDisplay create(ActivityStackSupervisor supervisor, int displayId, in create() argument
669 return new TestActivityDisplay(supervisor, in create()
670 supervisor.mRootActivityContainer.mDisplayManager.getDisplay(displayId)); in create()
674 return new TestActivityDisplay(supervisor, display); in create()
677 TestActivityDisplay(ActivityStackSupervisor supervisor, Display display) { in TestActivityDisplay() argument
678 super(supervisor.mService.mRootActivityContainer, display); in TestActivityDisplay()
[all …]
DRecentTasksTest.java743 final MyTestActivityStackSupervisor supervisor = in testBackStackTasks_expectNoTrim() local
746 final ActivityStack aboveHomeStack = new MyTestActivityStack(mDisplay, supervisor); in testBackStackTasks_expectNoTrim()
762 final MyTestActivityStackSupervisor supervisor = in testBehindHomeStackTasks_expectTaskTrimmed() local
764 final ActivityStack behindHomeStack = new MyTestActivityStack(mDisplay, supervisor); in testBehindHomeStackTasks_expectTaskTrimmed()
766 final ActivityStack aboveHomeStack = new MyTestActivityStack(mDisplay, supervisor); in testBehindHomeStackTasks_expectTaskTrimmed()
784 final MyTestActivityStackSupervisor supervisor = in testOtherDisplayTasks_expectNoTrim() local
787 final ActivityStack otherDisplayStack = new MyTestActivityStack(mOtherDisplay, supervisor); in testOtherDisplayTasks_expectNoTrim()
1148 MyTestActivityStack(ActivityDisplay display, ActivityStackSupervisor supervisor) { in MyTestActivityStack() argument
1149 super(display, sLastStackId++, supervisor, WINDOWING_MODE_FULLSCREEN, in MyTestActivityStack()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java8597 final String supervisor = mContext.getResources().getString( in enforceCanSetProfileOwnerLocked() local
8600 if (supervisor == null) { in enforceCanSetProfileOwnerLocked()
8606 supervisor); in enforceCanSetProfileOwnerLocked()