Searched refs:allowWhileInUse (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/android/app/ |
D | ForegroundServiceTypePolicy.java | 720 @NonNull String packageName, int callerUid, int callerPid, boolean allowWhileInUse, in checkForegroundServiceTypePolicy() argument 1063 @NonNull String packageName, boolean allowWhileInUse) { in checkPermissions() argument 1067 packageName, allowWhileInUse); in checkPermissions() 1077 packageName, allowWhileInUse); in checkPermissions() 1136 @NonNull String packageName, boolean allowWhileInUse); in checkPermission() argument 1160 String packageName, boolean allowWhileInUse) { in checkPermission() argument 1162 allowWhileInUse); in checkPermission() 1168 int callerPid, String packageName, boolean allowWhileInUse) { in checkPermission() argument 1195 return !isFgsTypeFgPermissionEnforcementEnabled() || allowWhileInUse in checkPermission() 1203 return allowWhileInUse && result == PERMISSION_SOFT_DENIED in checkPermission() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | EventLogTags.logtags | 125 30100 am_foreground_service_start (User|1|5),(Component Name|3),(allowWhileInUse|1),(startReasonCod… 126 30101 am_foreground_service_denied (User|1|5),(Component Name|3),(allowWhileInUse|1),(startReasonCo… 127 30102 am_foreground_service_stop (User|1|5),(Component Name|3),(allowWhileInUse|1),(startReasonCode… 128 30103 am_foreground_service_timed_out (User|1|5),(Component Name|3),(allowWhileInUse|1),(startReaso…
|
D | ActiveServices.java | 2921 @NonNull String packageName, boolean allowWhileInUse) { in checkPermission() argument 2988 @NonNull String packageName, boolean allowWhileInUse) { in checkPermission() argument 8280 @ReasonCode final int allowWhileInUse = shouldAllowFgsWhileInUsePermissionLocked( in setFgsRestrictionLocked() local 8285 allowWiu = allowWhileInUse; in setFgsRestrictionLocked() 8289 allowWhileInUse, callingPackage, callingPid, callingUid, intent, r, in setFgsRestrictionLocked() 8348 final @ReasonCode int allowWhileInUse = shouldAllowFgsWhileInUsePermissionLocked( in canStartForegroundServiceLocked() local 8352 allowWhileInUse, callingPid, callingUid, callingPackage, null /* targetService */, in canStartForegroundServiceLocked() 8640 @ReasonCode int allowWhileInUse, String callingPackage, int callingPid, in shouldAllowFgsStartForegroundWithBindingCheckLocked() 8645 int ret = shouldAllowFgsStartForegroundNoBindingCheckLocked(allowWhileInUse, callingPid, in shouldAllowFgsStartForegroundWithBindingCheckLocked() 8700 @ReasonCode int allowWhileInUse, int callingPid, int callingUid, String callingPackage, in shouldAllowFgsStartForegroundNoBindingCheckLocked() [all …]
|