Home
last modified time | relevance | path

Searched refs:backgroundPermission (Results 1 – 9 of 9) sorted by relevance

/packages/apps/PermissionController/src/com/android/permissioncontroller/role/model/
DPermissions.java332 String backgroundPermission = getBackgroundPermission(permission, context); in grantPermissionAndAppOp() local
333 if (!isPermissionAndAppOpGranted(packageName, backgroundPermission, context)) { in grantPermissionAndAppOp()
471 String backgroundPermission = getBackgroundPermission(permission, context); in revokeSingle() local
472 if (isPermissionAndAppOpGranted(packageName, backgroundPermission, context)) { in revokeSingle()
674 private static List<String> getForegroundPermissions(@NonNull String backgroundPermission, in getForegroundPermissions() argument
677 return sBackgroundToForegroundPermissions.get(backgroundPermission); in getForegroundPermissions()
719 String backgroundPermission = permissionInfo.backgroundPermission; in createForegroundBackgroundPermissionMappings() local
720 if (backgroundPermission != null) { in createForegroundBackgroundPermissionMappings()
722 backgroundPermission); in createForegroundBackgroundPermissionMappings()
725 sBackgroundToForegroundPermissions.put(backgroundPermission, in createForegroundBackgroundPermissionMappings()
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/model/
DAppPermissionGroup.java342 if (requestedPermissionInfo.backgroundPermission != null) { in create()
359 Permission backgroundPermission = allPermissions.get( in create() local
362 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()) {
DPermission.java51 mBackgroundPermissionName = permissionInfo.backgroundPermission; in Permission()
79 public void setBackgroundPermission(Permission backgroundPermission) { in setBackgroundPermission() argument
80 mBackgroundPermission = backgroundPermission; in setBackgroundPermission()
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
DLightPermInfo.kt38 val backgroundPermission: String?, constant in com.android.permissioncontroller.permission.model.livedatatypes.LightPermInfo
44 permInfo.group, permInfo.backgroundPermission, permInfo.protection,
DLightPermission.kt55 val backgroundPermission: String? = permInfo.backgroundPermission constant in com.android.permissioncontroller.permission.model.livedatatypes.LightPermission
DLightAppPermGroup.kt71 val backgroundPermNames = permissions.mapNotNull { it.value.backgroundPermission } in <lambda>()
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/utils/
DKotlinUtils.kt508 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>()
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/data/
DForegroundPermNamesLiveData.kt47 val backgroundPerm: String? = permInfo.backgroundPermission in <lambda>()
DAppPermGroupUiInfoLiveData.kt225 permInfo.backgroundPermission?.let { backgroundPerm -> in <lambda>()