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 | 1273 String packageName, String permissionName, UserHandle user) { in grantRuntimePermission() argument 1281 int permissionIndex = getPermissionIndex(packageInfo, permissionName); in grantRuntimePermission() 1284 "Permission " + permissionName + " not requested by package " + packageName); in grantRuntimePermission() 1292 String packageName, String permissionName, UserHandle user) { in revokeRuntimePermission() argument 1300 int permissionIndex = getPermissionIndex(packageInfo, permissionName); in revokeRuntimePermission() 1303 "Permission " + permissionName + " not requested by package " + packageName); in revokeRuntimePermission() 1323 private int getPermissionIndex(PackageInfo packageInfo, String permissionName) { in getPermissionIndex() argument 1326 if (permissionName.equals(packageInfo.requestedPermissions[i])) { in getPermissionIndex() 1336 protected int getPermissionFlags(String permissionName, String packageName, UserHandle user) { in getPermissionFlags() argument 1342 String permissionName, String packageName, int flagMask, int flagValues, UserHandle user) {} in updatePermissionFlags() argument
|
D | ShadowInstrumentation.java | 721 for (String permissionName : permissions) { 722 grantedPermissionsForPidUid.remove(permissionName);
|