Searched refs:permissionName (Results 1 – 2 of 2) sorted by relevance
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowApplicationPackageManager.java | 1245 String packageName, String permissionName, UserHandle user) { in grantRuntimePermission() argument 1253 int permissionIndex = getPermissionIndex(packageInfo, permissionName); in grantRuntimePermission() 1256 "Permission " + permissionName + " not requested by package " + packageName); in grantRuntimePermission() 1264 String packageName, String permissionName, UserHandle user) { in revokeRuntimePermission() argument 1272 int permissionIndex = getPermissionIndex(packageInfo, permissionName); in revokeRuntimePermission() 1275 "Permission " + permissionName + " not requested by package " + packageName); in revokeRuntimePermission() 1295 private int getPermissionIndex(PackageInfo packageInfo, String permissionName) { in getPermissionIndex() argument 1298 if (permissionName.equals(packageInfo.requestedPermissions[i])) { in getPermissionIndex() 1308 protected int getPermissionFlags(String permissionName, String packageName, UserHandle user) { in getPermissionFlags() argument 1314 String permissionName, String packageName, int flagMask, int flagValues, UserHandle user) {} in updatePermissionFlags() argument
|
D | ShadowInstrumentation.java | 716 for (String permissionName : permissions) { 717 grantedPermissionsForPidUid.remove(permissionName);
|