Searched refs:backgroundPermission (Results 1 – 9 of 9) sorted by relevance
332 String backgroundPermission = getBackgroundPermission(permission, context); in grantPermissionAndAppOp() local333 if (!isPermissionAndAppOpGranted(packageName, backgroundPermission, context)) { in grantPermissionAndAppOp()471 String backgroundPermission = getBackgroundPermission(permission, context); in revokeSingle() local472 if (isPermissionAndAppOpGranted(packageName, backgroundPermission, context)) { in revokeSingle()674 private static List<String> getForegroundPermissions(@NonNull String backgroundPermission, in getForegroundPermissions() argument677 return sBackgroundToForegroundPermissions.get(backgroundPermission); in getForegroundPermissions()719 String backgroundPermission = permissionInfo.backgroundPermission; in createForegroundBackgroundPermissionMappings() local720 if (backgroundPermission != null) { in createForegroundBackgroundPermissionMappings()722 backgroundPermission); in createForegroundBackgroundPermissionMappings()725 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
71 val backgroundPermNames = permissions.mapNotNull { it.value.backgroundPermission } in <lambda>()
508 val bgPerm = group.permissions[perm.backgroundPermission] in <lambda>()741 if (perm.backgroundPermission != null) { in <lambda>()742 wasChanged = if (group.permissions.containsKey(perm.backgroundPermission)) { in <lambda>()743 val bgPerm = group.permissions[perm.backgroundPermission] in <lambda>()
47 val backgroundPerm: String? = permInfo.backgroundPermission in <lambda>()
225 permInfo.backgroundPermission?.let { backgroundPerm -> in <lambda>()