Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/core/java/com/android/server/am/
H A DActiveServices.java5875 final @ReasonCode int allowWhileInUse = shouldAllowFgsWhileInUsePermissionLocked( in setFgsRestrictionLocked() local
5878 r.mAllowWhileInUsePermissionInFgs = (allowWhileInUse != REASON_DENIED); in setFgsRestrictionLocked()
5881 r.mAllowStartForeground = shouldAllowFgsStartForegroundLocked(allowWhileInUse, in setFgsRestrictionLocked()
5901 final @ReasonCode int allowWhileInUse = shouldAllowFgsWhileInUsePermissionLocked( in canStartForegroundServiceLocked() local
5905 allowWhileInUse, callingPid, callingUid, callingPackage, null /* targetService */); in canStartForegroundServiceLocked()
6031 @ReasonCode int allowWhileInUse, String callingPackage, int callingPid, in shouldAllowFgsStartForegroundLocked()
6035 int ret = shouldAllowFgsStartForegroundLocked(allowWhileInUse, callingPid, callingUid, in shouldAllowFgsStartForegroundLocked()
6132 private @ReasonCode int shouldAllowFgsStartForegroundLocked(@ReasonCode int allowWhileInUse, in shouldAllowFgsStartForegroundLocked() argument
6135 int ret = allowWhileInUse; in shouldAllowFgsStartForegroundLocked()