Home
last modified time | relevance | path

Searched refs:mBackgroundStartPrivileges (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DBackgroundLaunchProcessController.java86 private @Nullable ArrayMap<Binder, BackgroundStartPrivileges> mBackgroundStartPrivileges; field in BackgroundLaunchProcessController
166 if (mBackgroundStartPrivileges == null in isBackgroundStartAllowedByToken()
167 || mBackgroundStartPrivileges.isEmpty()) { in isBackgroundStartAllowedByToken()
173 for (int i = mBackgroundStartPrivileges.size(); i-- > 0; ) { in isBackgroundStartAllowedByToken()
174 if (mBackgroundStartPrivileges.valueAt(i).allowsBackgroundFgsStarts()) { in isBackgroundStartAllowedByToken()
182 for (int i = mBackgroundStartPrivileges.size(); i-- > 0; ) { in isBackgroundStartAllowedByToken()
183 if (mBackgroundStartPrivileges.valueAt(i) in isBackgroundStartAllowedByToken()
204 for (int i = mBackgroundStartPrivileges.size(); i-- > 0; ) { in getOriginatingTokensThatAllowBal()
206 mBackgroundStartPrivileges.valueAt(i); in getOriginatingTokensThatAllowBal()
267 if (mBackgroundStartPrivileges == null) { in addOrUpdateAllowBackgroundStartPrivileges()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java364 private final ArrayMap<Binder, BackgroundStartPrivileges> mBackgroundStartPrivileges = field in ProcessRecord
1523 synchronized (mBackgroundStartPrivileges) { in getBackgroundStartPrivileges()
1527 for (int i = mBackgroundStartPrivileges.size() - 1; i >= 0; --i) { in getBackgroundStartPrivileges()
1530 mBackgroundStartPrivileges.valueAt(i)); in getBackgroundStartPrivileges()
1539 synchronized (mBackgroundStartPrivileges) { in setBackgroundStartPrivileges()
1542 changed = mBackgroundStartPrivileges.remove(entity) != null; in setBackgroundStartPrivileges()
1545 mBackgroundStartPrivileges.put(entity, backgroundStartPrivileges); in setBackgroundStartPrivileges()
DBroadcastRecord.java146 final BackgroundStartPrivileges mBackgroundStartPrivileges; field in BroadcastRecord
483 mBackgroundStartPrivileges = backgroundStartPrivileges; in BroadcastRecord()
548 mBackgroundStartPrivileges = from.mBackgroundStartPrivileges; in BroadcastRecord()
DBroadcastQueueModernImpl.java1155 if (r.mBackgroundStartPrivileges.allowsAny()) { in dispatchReceivers()
1156 app.addOrUpdateBackgroundStartPrivileges(r, r.mBackgroundStartPrivileges); in dispatchReceivers()
DActivityManagerService.java6503 private BackgroundStartPrivileges mBackgroundStartPrivileges = field in ActivityManagerService.GetBackgroundStartPrivilegesFunctor
6509 mBackgroundStartPrivileges = BackgroundStartPrivileges.NONE; in prepare()
6514 return mBackgroundStartPrivileges; in getResult()
6519 mBackgroundStartPrivileges = in accept()
6520 mBackgroundStartPrivileges.merge(pr.getBackgroundStartPrivileges()); in accept()