Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/model/
DPermissions.java217 if (isBackgroundPermission(permission, context)) { in grantSingle()
289 if (!isBackgroundPermission(permission, context)) { in isPermissionAndAppOpGranted()
340 if (!isBackgroundPermission(permission, context)) { in grantPermissionAndAppOp()
422 if (isBackgroundPermission(permission, context)) { in revoke()
513 if (!isBackgroundPermission(permission, context)) { in revokePermissionAndAppOp()
686 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()
253 public boolean isBackgroundPermission() { in isBackgroundPermission() method in Permission
DAppPermissionGroup.java387 if (permission.isBackgroundPermission()) { in create()
796 if (permission.isBackgroundPermission()) {
1009 if (permission.isBackgroundPermission()) {
1165 if (!permission.isBackgroundPermission()) {
1233 return mPermissions.valueAt(0).isBackgroundPermission();
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DKotlinUtils.kt563 val affectsAppOp = permissionToOp(perm.name) != null || perm.isBackgroundPermission in <lambda>()
781 val affectsAppOp = permissionToOp(perm.name) != null || perm.isBackgroundPermission in <lambda>()
872 if (perm.isBackgroundPermission && perm.foregroundPerms != null) { in <lambda>()
935 if (perm.isBackgroundPermission && perm.foregroundPerms != null) { in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
DLightPermission.kt57 val isBackgroundPermission = foregroundPerms?.isNotEmpty() ?: false constant