Searched refs:backgroundPermission (Results 1 – 13 of 13) sorted by relevance
241 if (!Objects.equals(expectedPermission.backgroundPermission, in platformPermissionPolicyIsUnaltered()242 declaredPermission.backgroundPermission)) { in platformPermissionPolicyIsUnaltered()247 declaredPermission.backgroundPermission, in platformPermissionPolicyIsUnaltered()248 expectedPermission.backgroundPermission)); in platformPermissionPolicyIsUnaltered()538 final @Nullable String backgroundPermission; field in PermissionPolicyTest.ExpectedPermissionInfo543 @Nullable String backgroundPermission, int flags, int protectionLevel) { in ExpectedPermissionInfo() argument546 this.backgroundPermission = backgroundPermission; in ExpectedPermissionInfo()
78 private val platformBgPermNames = platformRuntimePerms.mapNotNull { it.backgroundPermission } in <lambda>()
359 String backgroundPermission = getBackgroundPermission(permission, context); in grantPermissionAndAppOpAsUser() local360 if (!isPermissionAndAppOpGrantedAsUser(packageName, backgroundPermission, in grantPermissionAndAppOpAsUser()508 String backgroundPermission = getBackgroundPermission(permission, context); in revokeSingleAsUser() local509 if (isPermissionAndAppOpGrantedAsUser(packageName, backgroundPermission, user, in revokeSingleAsUser()724 private static List<String> getForegroundPermissions(@NonNull String backgroundPermission, in getForegroundPermissions() argument727 return sBackgroundToForegroundPermissions.get(backgroundPermission); in getForegroundPermissions()797 String backgroundPermission = permissionInfo.backgroundPermission; in createForegroundBackgroundPermissionMappings() local798 if (backgroundPermission != null) { in createForegroundBackgroundPermissionMappings()800 backgroundPermission); in createForegroundBackgroundPermissionMappings()803 sBackgroundToForegroundPermissions.put(backgroundPermission, in createForegroundBackgroundPermissionMappings()
38 val backgroundPermission: String?, constant in com.android.permissioncontroller.permission.model.livedatatypes.LightPermInfo49 permInfo.backgroundPermission,
55 val backgroundPermission: String? = permInfo.backgroundPermission constant
71 val backgroundPermNames = permissions.mapNotNull { it.value.backgroundPermission } in <lambda>()
51 mBackgroundPermissionName = permissionInfo.backgroundPermission; in Permission()79 public void setBackgroundPermission(Permission backgroundPermission) { in setBackgroundPermission() argument80 mBackgroundPermission = backgroundPermission; in setBackgroundPermission()
369 if (requestedPermissionInfo.backgroundPermission != null) { in create()386 Permission backgroundPermission = allPermissions.get( in create() local389 if (backgroundPermission != null) { in create()390 backgroundPermission.addForegroundPermissions(permission); in create()391 permission.setBackgroundPermission(backgroundPermission); in create()400 backgroundPermission.setAppOpAllowed(true); in create()867 Permission backgroundPermission = permission.getBackgroundPermission();869 if (backgroundPermission == null) {875 if (backgroundPermission.isAppOpAllowed()) {
49 val backgroundPerm: String? = permInfo.backgroundPermission in loadDataAndPostValue()
271 permInfo.backgroundPermission?.let { backgroundPerm -> in <lambda>()
231 if ((permState.mPermissionInfo.backgroundPermission != null)) { in getPermissionGroupGrantStatus()234 permState.mPermissionInfo.backgroundPermission); in getPermissionGroupGrantStatus()
1049 val bgPerm = group.permissions[perm.backgroundPermission] in <lambda>()1369 val bgPerm = group.permissions[perm.backgroundPermission] in <lambda>()1441 if (perm.backgroundPermission != null) { in <lambda>()1443 if (group.permissions.containsKey(perm.backgroundPermission)) { in <lambda>()1444 val bgPerm = group.permissions[perm.backgroundPermission] in <lambda>()
102 String backgroundPermissionName = permission.backgroundPermission; in verifybackgroundPermissionsProperties()