Searched refs:backgroundPermNames (Results 1 – 6 of 6) sorted by relevance
71 val backgroundPermNames = permissions.mapNotNull { it.value.backgroundPermission } in <lambda>() constant in com.android.permissioncontroller.permission.model.livedatatypes.LightAppPermGroup76 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>()
58 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>()
39 val requestsBackground = requestedPerms.any { it in group.backgroundPermNames } in getPrompt()71 val requestsBackground = requestedPerms.any { it in group.backgroundPermNames } in isGroupFullyGranted()
211 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>()
785 permissions intersect newGroup.backgroundPermNames in <lambda>()
862 val isBackgroundPerm = permName in group.backgroundPermNames in <lambda>()1157 val isBackgroundPerm = permName in group.backgroundPermNames in <lambda>()