Searched refs:permissionInfo (Results 1 – 4 of 4) sorted by relevance
418 PermissionInfo permissionInfo = new PermissionInfo(); in createPermissionInfo() local419 populatePackageItemInfo(permissionInfo, owner, itemData); in createPermissionInfo()421 permissionInfo.group = itemData.getPermissionGroup(); in createPermissionInfo()422 permissionInfo.protectionLevel = decodeProtectionLevel(itemData.getProtectionLevel()); in createPermissionInfo()423 permissionInfo.metaData = metaDataToBundle(itemData.getMetaData().getValueMap()); in createPermissionInfo()429 permissionInfo.descriptionRes = in createPermissionInfo()438 permissionInfo.labelRes = in createPermissionInfo()441 permissionInfo.nonLocalizedLabel = labelRefOrString; in createPermissionInfo()445 return permissionInfo; in createPermissionInfo()
831 PermissionInfo permissionInfo = extraPermissions.get(name); in getPermissionInfo() local832 if (permissionInfo != null) { in getPermissionInfo()833 return permissionInfo; in getPermissionInfo()1031 for (PermissionInfo permissionInfo : extraPermissions.values()) { in queryPermissionsByGroup()1032 if (Objects.equals(permissionInfo.group, group)) { in queryPermissionsByGroup()1033 result.add(permissionInfo); in queryPermissionsByGroup()
502 public void addPermissionInfo(PermissionInfo permissionInfo) { in addPermissionInfo() argument503 extraPermissions.put(permissionInfo.name, permissionInfo); in addPermissionInfo()
434 PermissionInfo permissionInfo = new PermissionInfo(); in getPermissionInfo_addedPermissions() local435 permissionInfo.name = "manually_added_permission"; in getPermissionInfo_addedPermissions()436 shadowPackageManager.addPermissionInfo(permissionInfo); in getPermissionInfo_addedPermissions()2178 PermissionInfo permissionInfo = new PermissionInfo(); in queryPermissionsByGroup_nullMatchesPermissionsNotAssociatedWithGroup_with_addPermissionInfo() local2179 permissionInfo.name = "some_name"; in queryPermissionsByGroup_nullMatchesPermissionsNotAssociatedWithGroup_with_addPermissionInfo()2180 shadowPackageManager.addPermissionInfo(permissionInfo); in queryPermissionsByGroup_nullMatchesPermissionsNotAssociatedWithGroup_with_addPermissionInfo()2185 assertThat(permissions.get(0).name).isEqualTo(permissionInfo.name); in queryPermissionsByGroup_nullMatchesPermissionsNotAssociatedWithGroup_with_addPermissionInfo()2190 PermissionInfo permissionInfo = new PermissionInfo(); in queryPermissionsByGroup_with_addPermissionInfo() local2191 permissionInfo.name = "some_name"; in queryPermissionsByGroup_with_addPermissionInfo()2192 permissionInfo.group = "some_group"; in queryPermissionsByGroup_with_addPermissionInfo()[all …]