Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java5868 final @ReasonCode int allowWhileInUse = shouldAllowFgsWhileInUsePermissionLocked( in setFgsRestrictionLocked() local
5871 r.mAllowWhileInUsePermissionInFgs = (allowWhileInUse != REASON_DENIED); in setFgsRestrictionLocked()
5874 r.mAllowStartForeground = shouldAllowFgsStartForegroundLocked(allowWhileInUse, in setFgsRestrictionLocked()
5894 final @ReasonCode int allowWhileInUse = shouldAllowFgsWhileInUsePermissionLocked( in canStartForegroundServiceLocked() local
5898 allowWhileInUse, callingPid, callingUid, callingPackage, null /* targetService */); in canStartForegroundServiceLocked()
6024 @ReasonCode int allowWhileInUse, String callingPackage, int callingPid, in shouldAllowFgsStartForegroundLocked()
6028 int ret = shouldAllowFgsStartForegroundLocked(allowWhileInUse, callingPid, callingUid, in shouldAllowFgsStartForegroundLocked()
6125 private @ReasonCode int shouldAllowFgsStartForegroundLocked(@ReasonCode int allowWhileInUse, in shouldAllowFgsStartForegroundLocked() argument
6128 int ret = allowWhileInUse; in shouldAllowFgsStartForegroundLocked()