Searched refs:PackageAndPermission (Results 1 – 1 of 1) sorted by relevance
92 private final Map<PackageAndPermission, Boolean> appPermissionGrantedMap = new HashMap<>();93 private final Map<PackageAndPermission, Integer> appPermissionGrantStateMap = new HashMap<>();104 private static class PackageAndPermission { class in ShadowDevicePolicyManager106 public PackageAndPermission(String packageName, String permission) { in PackageAndPermission() method in ShadowDevicePolicyManager.PackageAndPermission116 if (!(o instanceof PackageAndPermission)) { in equals()119 PackageAndPermission other = (PackageAndPermission) o; in equals()592 appPermissionGrantStateMap.get(new PackageAndPermission(packageName, permission)); in getPermissionGrantState()598 appPermissionGrantedMap.get(new PackageAndPermission(packageName, permission)); in isPermissionGranted()631 PackageAndPermission key = new PackageAndPermission(packageName, permission); in setPermissionGrantState()