Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/model/
DPermissions.java351 String backgroundPermission = getBackgroundPermission(permission, context); in grantPermissionAndAppOp() local
352 if (!isPermissionAndAppOpGranted(packageName, backgroundPermission, context)) { in grantPermissionAndAppOp()
491 String backgroundPermission = getBackgroundPermission(permission, context); in revokeSingle() local
492 if (isPermissionAndAppOpGranted(packageName, backgroundPermission, context)) { in revokeSingle()
693 private static List<String> getForegroundPermissions(@NonNull String backgroundPermission, in getForegroundPermissions() argument
696 return sBackgroundToForegroundPermissions.get(backgroundPermission); in getForegroundPermissions()
738 String backgroundPermission = permissionInfo.backgroundPermission; in createForegroundBackgroundPermissionMappings() local
739 if (backgroundPermission != null) { in createForegroundBackgroundPermissionMappings()
741 backgroundPermission); in createForegroundBackgroundPermissionMappings()
744 sBackgroundToForegroundPermissions.put(backgroundPermission, in createForegroundBackgroundPermissionMappings()
/packages/modules/Permission/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/modules/Permission/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.kt73 val backgroundPermNames = permissions.mapNotNull { it.value.backgroundPermission } in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DKotlinUtils.kt608 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>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DForegroundPermNamesLiveData.kt47 val backgroundPerm: String? = permInfo.backgroundPermission in loadDataAndPostValue()
DAppPermGroupUiInfoLiveData.kt257 permInfo.backgroundPermission?.let { backgroundPerm -> in <lambda>()