Home
last modified time | relevance | path

Searched refs:backgroundStartPrivileges (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DBackgroundLaunchProcessController.java261 @NonNull BackgroundStartPrivileges backgroundStartPrivileges) { in addOrUpdateAllowBackgroundStartPrivileges() argument
263 requireNonNull(backgroundStartPrivileges, "backgroundStartPrivileges"); in addOrUpdateAllowBackgroundStartPrivileges()
264 checkArgument(backgroundStartPrivileges.allowsAny(), in addOrUpdateAllowBackgroundStartPrivileges()
270 mBackgroundStartPrivileges.put(entity, backgroundStartPrivileges); in addOrUpdateAllowBackgroundStartPrivileges()
DWindowProcessController.java667 @NonNull BackgroundStartPrivileges backgroundStartPrivileges) { in addOrUpdateBackgroundStartPrivileges() argument
669 requireNonNull(backgroundStartPrivileges, "backgroundStartPrivileges"); in addOrUpdateBackgroundStartPrivileges()
670 checkArgument(backgroundStartPrivileges.allowsAny(), in addOrUpdateBackgroundStartPrivileges()
673 backgroundStartPrivileges); in addOrUpdateBackgroundStartPrivileges()
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java1505 @NonNull BackgroundStartPrivileges backgroundStartPrivileges) { in addOrUpdateBackgroundStartPrivileges() argument
1507 requireNonNull(backgroundStartPrivileges, "backgroundStartPrivileges"); in addOrUpdateBackgroundStartPrivileges()
1508 checkArgument(backgroundStartPrivileges.allowsAny(), in addOrUpdateBackgroundStartPrivileges()
1511 backgroundStartPrivileges); in addOrUpdateBackgroundStartPrivileges()
1512 setBackgroundStartPrivileges(entity, backgroundStartPrivileges); in addOrUpdateBackgroundStartPrivileges()
1538 @Nullable BackgroundStartPrivileges backgroundStartPrivileges) { in setBackgroundStartPrivileges() argument
1541 if (backgroundStartPrivileges == null) { in setBackgroundStartPrivileges()
1545 mBackgroundStartPrivileges.put(entity, backgroundStartPrivileges); in setBackgroundStartPrivileges()
1550 changed = backgroundStartPrivileges != oldBsp; in setBackgroundStartPrivileges()
DServiceRecord.java1232 BackgroundStartPrivileges backgroundStartPrivileges = in setProcess() local
1234 if (backgroundStartPrivileges.allowsAny()) { in setProcess()
1236 backgroundStartPrivileges); in setProcess()
1352 void allowBgActivityStartsOnServiceStart(BackgroundStartPrivileges backgroundStartPrivileges) { in allowBgActivityStartsOnServiceStart() argument
1353 checkArgument(backgroundStartPrivileges.allowsAny()); in allowBgActivityStartsOnServiceStart()
1354 mBackgroundStartPrivilegesByStart.add(backgroundStartPrivileges); in allowBgActivityStartsOnServiceStart()
1356 backgroundStartPrivileges.merge(mBackgroundStartPrivilegesByStartMerged)); in allowBgActivityStartsOnServiceStart()
1446 BackgroundStartPrivileges backgroundStartPrivileges = in updateParentProcessBgActivityStartsToken() local
1448 if (backgroundStartPrivileges.allowsAny()) { in updateParentProcessBgActivityStartsToken()
1452 backgroundStartPrivileges); in updateParentProcessBgActivityStartsToken()
DPendingIntentRecord.java651 final BackgroundStartPrivileges backgroundStartPrivileges = in sendInner() local
661 false, userId, backgroundStartPrivileges, in sendInner()
673 final BackgroundStartPrivileges backgroundStartPrivileges = in sendInner() local
680 backgroundStartPrivileges); in sendInner()
DBroadcastRecord.java416 @NonNull BackgroundStartPrivileges backgroundStartPrivileges, in BroadcastRecord() argument
424 initialSticky, userId, -1, backgroundStartPrivileges, timeoutExempt, in BroadcastRecord()
438 @NonNull BackgroundStartPrivileges backgroundStartPrivileges, in BroadcastRecord() argument
483 mBackgroundStartPrivileges = backgroundStartPrivileges; in BroadcastRecord()
DActiveServices.java930 BackgroundStartPrivileges backgroundStartPrivileges) in startServiceLocked() argument
933 callingPackage, callingFeatureId, userId, backgroundStartPrivileges, in startServiceLocked()
940 BackgroundStartPrivileges backgroundStartPrivileges, boolean isSdkSandboxService, in startServiceLocked() argument
986 backgroundStartPrivileges, false /* isBindService */); in startServiceLocked()
1136 backgroundStartPrivileges, false, null)) { in startServiceLocked()
1158 backgroundStartPrivileges, callingPackage); in startServiceLocked()
1183 BackgroundStartPrivileges backgroundStartPrivileges, String callingPackage) in startServiceInnerLocked() argument
1296 if (backgroundStartPrivileges.allowsAny()) { in startServiceInnerLocked()
1297 r.allowBgActivityStartsOnServiceStart(backgroundStartPrivileges); in startServiceInnerLocked()
1408 BackgroundStartPrivileges backgroundStartPrivileges, in deferServiceBringupIfFrozenLocked() argument
[all …]
DActivityManagerService.java6593 final BackgroundStartPrivileges backgroundStartPrivileges = in isProcessInStateToScheduleUserInitiatedJobsLocked() local
6596 if (backgroundStartPrivileges.allowsBackgroundActivityStarts()) { in isProcessInStateToScheduleUserInitiatedJobsLocked()
6645 final BackgroundStartPrivileges backgroundStartPrivileges; in canScheduleUserInitiatedJobs() local
6651 backgroundStartPrivileges = processRecord.getBackgroundStartPrivileges(); in canScheduleUserInitiatedJobs()
6653 backgroundStartPrivileges = getBackgroundStartPrivileges(uid); in canScheduleUserInitiatedJobs()
6656 if (backgroundStartPrivileges.allowsBackgroundActivityStarts()) { in canScheduleUserInitiatedJobs()
6669 pid, uid, pkgName, processRecord, backgroundStartPrivileges)) { in canScheduleUserInitiatedJobs()
15305 BackgroundStartPrivileges backgroundStartPrivileges, in broadcastIntentLocked() argument
15316 backgroundStartPrivileges, broadcastAllowList, filterExtrasForReceiver); in broadcastIntentLocked()
15362 BackgroundStartPrivileges backgroundStartPrivileges, in broadcastIntentLockedTraced() argument
[all …]
/frameworks/base/core/java/android/app/
DActivityManagerInternal.java623 BackgroundStartPrivileges backgroundStartPrivileges, in broadcastIntentInPackage() argument
629 BackgroundStartPrivileges backgroundStartPrivileges) in startServiceInPackage() argument
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBroadcastQueueTest.java1490 final BackgroundStartPrivileges backgroundStartPrivileges =
1498 backgroundStartPrivileges, false, null, PROCESS_STATE_UNKNOWN);
1503 eq(backgroundStartPrivileges));