Home
last modified time | relevance | path

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

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDevicePolicyManager.java92 private final Map<PackageAndPermission, Boolean> appPermissionGrantedMap = new HashMap<>();
93 private final Map<PackageAndPermission, Integer> appPermissionGrantStateMap = new HashMap<>();
104 private static class PackageAndPermission { class in ShadowDevicePolicyManager
106 public PackageAndPermission(String packageName, String permission) { in PackageAndPermission() method in ShadowDevicePolicyManager.PackageAndPermission
116 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()