Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/model/
DPermissions.java221 if (isBackgroundPermission(permission, context)) { in grantSingleAsUser()
296 if (!isBackgroundPermission(permission, context)) { in isPermissionAndAppOpGrantedAsUser()
348 if (!isBackgroundPermission(permission, context)) { in grantPermissionAndAppOpAsUser()
434 if (isBackgroundPermission(permission, context)) { in revokeAsUser()
532 if (!isBackgroundPermission(permission, context)) { in revokePermissionAndAppOpAsUser()
717 private static boolean isBackgroundPermission(@NonNull String permission, in isBackgroundPermission() method in Permissions
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/
DPermission.java116 return mAppOp != null || isBackgroundPermission(); in affectsAppOp()
281 public boolean isBackgroundPermission() { in isBackgroundPermission() method in Permission
DAppPermissionGroup.java414 if (permission.isBackgroundPermission()) { in create()
855 if (permission.isBackgroundPermission()) {
1088 if (permission.isBackgroundPermission()) {
1355 return mPermissions.valueAt(0).isBackgroundPermission();
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
DLightPermission.kt57 val isBackgroundPermission = foregroundPerms?.isNotEmpty() ?: false constant
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DKotlinUtils.kt978 val affectsAppOp = permissionToOp(perm.name) != null || perm.isBackgroundPermission in <lambda>()
1296 val affectsAppOp = permissionToOp(perm.name) != null || perm.isBackgroundPermission in <lambda>()
1428 if (perm.isBackgroundPermission && perm.foregroundPerms != null) { in <lambda>()
1490 if (perm.isBackgroundPermission && perm.foregroundPerms != null) { in <lambda>()