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()
852 PermissionInfo permissionInfo = extraPermissions.get(name); in getPermissionInfo() local853 if (permissionInfo != null) { in getPermissionInfo()854 return permissionInfo; in getPermissionInfo()1052 for (PermissionInfo permissionInfo : extraPermissions.values()) { in queryPermissionsByGroup()1053 if (Objects.equals(permissionInfo.group, group)) { in queryPermissionsByGroup()1054 result.add(permissionInfo); in queryPermissionsByGroup()
503 public void addPermissionInfo(PermissionInfo permissionInfo) { in addPermissionInfo() argument504 extraPermissions.put(permissionInfo.name, permissionInfo); in addPermissionInfo()
437 PermissionInfo permissionInfo = new PermissionInfo(); in getPermissionInfo_addedPermissions() local438 permissionInfo.name = "manually_added_permission"; in getPermissionInfo_addedPermissions()439 shadowPackageManager.addPermissionInfo(permissionInfo); in getPermissionInfo_addedPermissions()2218 PermissionInfo permissionInfo = new PermissionInfo(); in queryPermissionsByGroup_nullMatchesPermissionsNotAssociatedWithGroup_with_addPermissionInfo() local2219 permissionInfo.name = "some_name"; in queryPermissionsByGroup_nullMatchesPermissionsNotAssociatedWithGroup_with_addPermissionInfo()2220 shadowPackageManager.addPermissionInfo(permissionInfo); in queryPermissionsByGroup_nullMatchesPermissionsNotAssociatedWithGroup_with_addPermissionInfo()2225 assertThat(permissions.get(0).name).isEqualTo(permissionInfo.name); in queryPermissionsByGroup_nullMatchesPermissionsNotAssociatedWithGroup_with_addPermissionInfo()2230 PermissionInfo permissionInfo = new PermissionInfo(); in queryPermissionsByGroup_with_addPermissionInfo() local2231 permissionInfo.name = "some_name"; in queryPermissionsByGroup_with_addPermissionInfo()2232 permissionInfo.group = "some_group"; in queryPermissionsByGroup_with_addPermissionInfo()[all …]