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()
129 checkPermissions(intent, aInfo, callerApp, supervisor, mCallerOptions, in getOptions()
192 @Nullable WindowProcessController callerApp, ActivityStackSupervisor supervisor, in checkPermissions() argument
197 && !supervisor.mRecentTasks.isCallerRecents(callingUid)) { in checkPermissions()
213 && !supervisor.isCallerAllowedToLaunchOnDisplay(callingPid, callingUid, in checkPermissions()
225 && !supervisor.mService.getLockTaskController().isPackageWhitelisted( in checkPermissions()
236 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()
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()
DActivityStarter.java263 ActivityStackSupervisor supervisor, ActivityStartInterceptor interceptor) { in DefaultFactory() argument
265 mSupervisor = supervisor; in DefaultFactory()
441 ActivityStackSupervisor supervisor, ActivityStartInterceptor interceptor) { in ActivityStarter() argument
445 mSupervisor = supervisor; in ActivityStarter()
DActivityStack.java509 ActivityStack(ActivityDisplay display, int stackId, ActivityStackSupervisor supervisor, in ActivityStack() argument
511 mStackSupervisor = supervisor; in ActivityStack()
512 mService = supervisor.mService; in ActivityStack()
514 mHandler = new ActivityStackHandler(supervisor.mLooper); in ActivityStack()
DActivityRecord.java945 boolean _rootVoiceInteraction, ActivityStackSupervisor supervisor, in ActivityRecord() argument
978 mStackSupervisor = supervisor; in ActivityRecord()
DActivityTaskManagerService.java850 … final ActivityStackSupervisor supervisor = new ActivityStackSupervisor(this, mH.getLooper()); in createStackSupervisor() local
851 supervisor.initialize(); in createStackSupervisor()
852 return supervisor; in createStackSupervisor()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityTestsBase.java350 TaskBuilder(ActivityStackSupervisor supervisor) { in TaskBuilder() argument
351 mSupervisor = supervisor; in TaskBuilder()
694 static TestActivityDisplay create(ActivityStackSupervisor supervisor, int displayId) { in create() argument
695 return create(supervisor, displayId, new DisplayInfo()); in create()
698 static TestActivityDisplay create(ActivityStackSupervisor supervisor, int displayId, in create() argument
701 return new TestActivityDisplay(supervisor, in create()
702 supervisor.mRootActivityContainer.mDisplayManager.getDisplay(displayId)); in create()
706 return new TestActivityDisplay(supervisor, display); in create()
709 TestActivityDisplay(ActivityStackSupervisor supervisor, Display display) { in TestActivityDisplay() argument
710 super(supervisor.mService.mRootActivityContainer, display); in TestActivityDisplay()
[all …]
DRecentTasksTest.java744 final MyTestActivityStackSupervisor supervisor = in testBackStackTasks_expectNoTrim() local
747 final ActivityStack aboveHomeStack = new MyTestActivityStack(mDisplay, supervisor); in testBackStackTasks_expectNoTrim()
763 final MyTestActivityStackSupervisor supervisor = in testBehindHomeStackTasks_expectTaskTrimmed() local
765 final ActivityStack behindHomeStack = new MyTestActivityStack(mDisplay, supervisor); in testBehindHomeStackTasks_expectTaskTrimmed()
767 final ActivityStack aboveHomeStack = new MyTestActivityStack(mDisplay, supervisor); in testBehindHomeStackTasks_expectTaskTrimmed()
785 final MyTestActivityStackSupervisor supervisor = in testOtherDisplayTasks_expectNoTrim() local
788 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.java8606 final String supervisor = mContext.getResources().getString( in enforceCanSetProfileOwnerLocked() local
8609 if (supervisor == null) { in enforceCanSetProfileOwnerLocked()
8615 supervisor); in enforceCanSetProfileOwnerLocked()