Searched refs:backgroundPermission (Results 1 – 9 of 9) sorted by relevance
351 String backgroundPermission = getBackgroundPermission(permission, context); in grantPermissionAndAppOp() local352 if (!isPermissionAndAppOpGranted(packageName, backgroundPermission, context)) { in grantPermissionAndAppOp()491 String backgroundPermission = getBackgroundPermission(permission, context); in revokeSingle() local492 if (isPermissionAndAppOpGranted(packageName, backgroundPermission, context)) { in revokeSingle()693 private static List<String> getForegroundPermissions(@NonNull String backgroundPermission, in getForegroundPermissions() argument696 return sBackgroundToForegroundPermissions.get(backgroundPermission); in getForegroundPermissions()738 String backgroundPermission = permissionInfo.backgroundPermission; in createForegroundBackgroundPermissionMappings() local739 if (backgroundPermission != null) { in createForegroundBackgroundPermissionMappings()741 backgroundPermission); in createForegroundBackgroundPermissionMappings()744 sBackgroundToForegroundPermissions.put(backgroundPermission, in createForegroundBackgroundPermissionMappings()
342 if (requestedPermissionInfo.backgroundPermission != null) { in create()359 Permission backgroundPermission = allPermissions.get( in create() local362 if (backgroundPermission != null) { in create()363 backgroundPermission.addForegroundPermissions(permission); in create()364 permission.setBackgroundPermission(backgroundPermission); in create()373 backgroundPermission.setAppOpAllowed(true); in create()808 Permission backgroundPermission = permission.getBackgroundPermission();810 if (backgroundPermission == null) {816 if (backgroundPermission.isAppOpAllowed()) {
51 mBackgroundPermissionName = permissionInfo.backgroundPermission; in Permission()79 public void setBackgroundPermission(Permission backgroundPermission) { in setBackgroundPermission() argument80 mBackgroundPermission = backgroundPermission; in setBackgroundPermission()
38 val backgroundPermission: String?, constant in com.android.permissioncontroller.permission.model.livedatatypes.LightPermInfo44 permInfo.group, permInfo.backgroundPermission, permInfo.protection,
55 val backgroundPermission: String? = permInfo.backgroundPermission constant in com.android.permissioncontroller.permission.model.livedatatypes.LightPermission
73 val backgroundPermNames = permissions.mapNotNull { it.value.backgroundPermission } in <lambda>()
608 val bgPerm = group.permissions[perm.backgroundPermission] in <lambda>()884 if (perm.backgroundPermission != null) { in <lambda>()885 wasChanged = if (group.permissions.containsKey(perm.backgroundPermission)) { in <lambda>()886 val bgPerm = group.permissions[perm.backgroundPermission] in <lambda>()
47 val backgroundPerm: String? = permInfo.backgroundPermission in loadDataAndPostValue()
257 permInfo.backgroundPermission?.let { backgroundPerm -> in <lambda>()