Home
last modified time | relevance | path

Searched refs:permGroup (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DPermGroupsPackagesLiveData.kt77 val permGroup = permGroupLiveDatas[groupName]?.value in <lambda>() constant
78 if (permGroup == null || !permGroup.hasRuntimePermissions) { in <lambda>()
81 permGroups.add(permGroup) in <lambda>()
110 for (permGroup in permGroups) { in <lambda>() constant
111 if (permGroup.groupInfo.isSinglePermGroup || in <lambda>()
112 permGroup.name == Manifest.permission_group.UNDEFINED) { in <lambda>()
113 val groupPackages = groupApps[permGroup.name] ?: continue in <lambda>()
115 groupApps.remove(permGroup.name) in <lambda>()
DLightAppPermGroupLiveData.kt77 addSource(permGroupLiveData) { permGroup -> in <lambda>() method
78 if (permGroup == null && permGroupLiveData.isInitialized) { in <lambda>()
98 val permGroup = permGroupLiveData.value ?: return in <lambda>() constant
104 permGroup.groupInfo.packageName != OS_PKG) { in <lambda>()
105 value = LightAppPermGroup(packageInfo, permGroup.groupInfo, emptyMap()) in <lambda>()
111 val permInfo = permGroup.permissionInfos[permName] ?: continue in <lambda>()
131 value = LightAppPermGroup(packageInfo, permGroup.groupInfo, permissionMap, in <lambda>()
DPermGroupUsageLiveData.kt44 private val permGroupUsages = permGroupsNames.map { permGroup -> in <lambda>() method
45 val appops = getPlatformPermissionNamesOfGroup(permGroup).mapNotNull { permName -> in <lambda>()
49 permGroup to OpUsageLiveData[appops, usageDurationMs] in <lambda>()
DPermGroupLiveData.kt104 val permGroup = PermGroup(LightPermGroupInfo(groupInfo), permissionInfos) in <lambda>() constant
106 value = permGroup in <lambda>()
/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/
DGetPermissionGroupInfoTest.kt57 var permGroup: String? = null in assertAllPlatformPermGroupsMatch() variable
60 permGroup = it in assertAllPlatformPermGroupsMatch()
64 assertThat(permGroup).isEqualTo(Utils.getGroupOfPlatformPermission(permName)) in assertAllPlatformPermGroupsMatch()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DAllAppPermissionsFragment.java239 final AppPermissionGroup permGroup = mAppPermissions.getPermissionGroup(group.name); in getMutablePreference() local
245 pref.setChecked(permGroup.areRuntimePermissionsGranted(filterPermissions)); in getMutablePreference()
254 permGroup.grantRuntimePermissions(true, false, filterPermissions); in getMutablePreference()
256 permGroup.revokeRuntimePermissions(false, filterPermissions); in getMutablePreference()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DUtils.java531 String permGroup = getGroupOfPlatformPermission(permissionInfo.name); in getPermissionInfosForGroup() local
532 if (permGroup == null || permGroup.equals(Manifest.permission_group.UNDEFINED)) { in getPermissionInfosForGroup()
575 String permGroup = getGroupOfPlatformPermission(permissionInfo.name); in getInstalledRuntimePermissionInfosForGroup() local
576 if (permGroup == null || permGroup.equals(Manifest.permission_group.UNDEFINED)) { in getInstalledRuntimePermissionInfosForGroup()