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.java179 ActivityOptions getOptions(ActivityTaskSupervisor supervisor) throws SecurityException { in getOptions() argument
180 return getOptions(null, null, null, supervisor); in getOptions()
192 ActivityTaskSupervisor supervisor) throws SecurityException { in getOptions() argument
194 checkPermissions(intent, aInfo, callerApp, supervisor, mOriginalOptions, in getOptions()
200 checkPermissions(intent, aInfo, callerApp, supervisor, mCallerOptions, in getOptions()
271 @Nullable WindowProcessController callerApp, ActivityTaskSupervisor supervisor, in checkPermissions() argument
276 && !supervisor.mRecentTasks.isCallerRecents(callingUid)) { in checkPermissions()
288 if (options.getTransientLaunch() && !supervisor.mRecentTasks.isCallerRecents(callingUid) in checkPermissions()
297 final TaskDisplayArea taskDisplayArea = getLaunchTaskDisplayArea(options, supervisor); in checkPermissions()
299 && !supervisor.isCallerAllowedToLaunchOnTaskDisplayArea(callingPid, callingUid, in checkPermissions()
[all …]
DLaunchParamsController.java64 void registerDefaultModifiers(ActivityTaskSupervisor supervisor) { in registerDefaultModifiers() argument
66 registerModifier(new TaskLaunchParamsModifier(supervisor)); in registerDefaultModifiers()
DActivityStartInterceptor.java123 ActivityTaskManagerService service, ActivityTaskSupervisor supervisor) { in ActivityStartInterceptor() argument
124 this(service, supervisor, service.mContext); in ActivityStartInterceptor()
128 ActivityStartInterceptor(ActivityTaskManagerService service, ActivityTaskSupervisor supervisor, in ActivityStartInterceptor() argument
131 mSupervisor = supervisor; in ActivityStartInterceptor()
DLaunchParamsPersister.java102 LaunchParamsPersister(PersisterQueue persisterQueue, ActivityTaskSupervisor supervisor) { in LaunchParamsPersister() argument
103 this(persisterQueue, supervisor, Environment::getDataSystemCeDirectory); in LaunchParamsPersister()
107 LaunchParamsPersister(PersisterQueue persisterQueue, ActivityTaskSupervisor supervisor, in LaunchParamsPersister() argument
110 mSupervisor = supervisor; in LaunchParamsPersister()
DActivityStarter.java334 ActivityTaskSupervisor supervisor, ActivityStartInterceptor interceptor) { in DefaultFactory() argument
336 mSupervisor = supervisor; in DefaultFactory()
533 void resolveActivity(ActivityTaskSupervisor supervisor) { in resolveActivity() argument
555 synchronized (supervisor.mService.mGlobalLock) { in resolveActivity()
556 final WindowProcessController callerApp = supervisor.mService in resolveActivity()
572 && supervisor.mService.getPackageManagerInternalLocked() in resolveActivity()
580 resolveInfo = supervisor.resolveIntent(intent, resolvedType, userId, in resolveActivity()
589 resolveInfo = resolveIntentForLockedOrStoppedProfiles(supervisor); in resolveActivity()
593 activityInfo = supervisor.resolveActivity(intent, resolveInfo, startFlags, in resolveActivity()
599 intentGrants = supervisor.mService.mUgmInternal in resolveActivity()
[all …]
DActivityStartController.java115 ActivityStartController(ActivityTaskManagerService service, ActivityTaskSupervisor supervisor, in ActivityStartController() argument
118 mSupervisor = supervisor; in ActivityStartController()
DLockTaskController.java209 LockTaskController(Context context, ActivityTaskSupervisor supervisor, in LockTaskController() argument
212 mSupervisor = supervisor; in LockTaskController()
DTaskLaunchParamsModifier.java94 TaskLaunchParamsModifier(ActivityTaskSupervisor supervisor) { in TaskLaunchParamsModifier() argument
95 mSupervisor = supervisor; in TaskLaunchParamsModifier()
DBackgroundActivityStartController.java223 final ActivityTaskManagerService service, final ActivityTaskSupervisor supervisor) { in BackgroundActivityStartController() argument
225 mSupervisor = supervisor; in BackgroundActivityStartController()
DActivityMetricsLogger.java555 ActivityMetricsLogger(ActivityTaskSupervisor supervisor, Looper looper) { in ActivityMetricsLogger() argument
557 mSupervisor = supervisor; in ActivityMetricsLogger()
DTask.java846 final ActivityTaskSupervisor supervisor = mTaskSupervisor; in reparent() local
850 final Task toRootTask = supervisor.getReparentTargetRootTask(this, preferredRootTask, in reparent()
882 supervisor.scheduleUpdatePictureInPictureModeIfNeeded(this, sourceRootTask); in reparent()
912 supervisor.handleNonResizableTaskIfNeeded(this, preferredRootTask.getWindowingMode(), in reparent()
DActivityTaskManagerService.java1044 final ActivityTaskSupervisor supervisor = new ActivityTaskSupervisor(this, in createTaskSupervisor() local
1046 supervisor.initialize(); in createTaskSupervisor()
1047 return supervisor; in createTaskSupervisor()
DActivityRecord.java2113 boolean _rootVoiceInteraction, ActivityTaskSupervisor supervisor, in ActivityRecord() argument
2251 mTaskSupervisor = supervisor; in ActivityRecord()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DBackgroundActivityStartControllerTests.java134 ActivityTaskSupervisor supervisor) { in TestableBackgroundActivityStartController() argument
135 super(service, supervisor); in TestableBackgroundActivityStartController()
DBackgroundActivityStartControllerExemptionTests.java145 ActivityTaskSupervisor supervisor) { in TestableBackgroundActivityStartController() argument
146 super(service, supervisor); in TestableBackgroundActivityStartController()
DWindowTestsBase.java1620 TaskBuilder(ActivityTaskSupervisor supervisor) { in TaskBuilder() argument
1621 mSupervisor = supervisor; in TaskBuilder()