Home
last modified time | relevance | path

Searched refs:backgroundPermNames (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
DLightAppPermGroup.kt71 val backgroundPermNames = permissions.mapNotNull { it.value.backgroundPermission } in <lambda>() constant
76 permissions.mapNotNull { (name, _) -> if (name !in backgroundPermNames) name else null } in <lambda>()
87 permissions.filter { it.key in backgroundPermNames }, in <lambda>()
93 val hasPermWithBackgroundMode = backgroundPermNames.isNotEmpty() in <lambda>()
96 val hasBackgroundGroup = backgroundPermNames.any { permissions.contains(it) } in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/grantPermissions/
DBackgroundGrantBehavior.kt58 val requestsFg = requestedPerms.any { it !in group.backgroundPermNames } in <lambda>()
187 if (perm in group.backgroundPermNames) { in <lambda>()
194 return requestedPerms.any { it in group.backgroundPermNames } in <lambda>()
DLocationGrantBehavior.kt39 val requestsBackground = requestedPerms.any { it in group.backgroundPermNames } in getPrompt()
71 val requestsBackground = requestedPerms.any { it in group.backgroundPermNames } in isGroupFullyGranted()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DGrantPermissionsViewModel.kt211 val fgPermissions = affectedPermissions - group.backgroundPermNames.toSet() in <lambda>()
547 if (perm in group.backgroundPermNames) { in <lambda>()
591 val isBackground = perm in group.backgroundPermNames in <lambda>()
622 val isBackground = perm in group.backgroundPermNames in <lambda>()
1137 filterPermissions = group.backgroundPermNames in <lambda>()
1144 filterPermissions = group.backgroundPermNames in <lambda>()
1283 groupState.affectedPermissions.filter { it in groupState.group.backgroundPermNames } in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DRuntimePermissionsUpgradeController.kt785 permissions intersect newGroup.backgroundPermNames in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DKotlinUtils.kt862 val isBackgroundPerm = permName in group.backgroundPermNames in <lambda>()
1157 val isBackgroundPerm = permName in group.backgroundPermNames in <lambda>()