Searched refs:backgroundPermission (Results 1 – 3 of 3) 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()
291 if (requestedPermissionInfo.backgroundPermission != null) { in create()308 Permission backgroundPermission = allPermissions.get( in create() local311 if (backgroundPermission != null) { in create()312 backgroundPermission.addForegroundPermissions(permission); in create()313 permission.setBackgroundPermission(backgroundPermission); in create()322 backgroundPermission.setAppOpAllowed(true); in create()723 Permission backgroundPermission = permission.getBackgroundPermission(); in allowAppOp() local725 if (backgroundPermission == null) { in allowAppOp()731 if (backgroundPermission.isAppOpAllowed()) { in allowAppOp()
50 mBackgroundPermissionName = permissionInfo.backgroundPermission; in Permission()78 public void setBackgroundPermission(Permission backgroundPermission) { in setBackgroundPermission() argument79 mBackgroundPermission = backgroundPermission; in setBackgroundPermission()