Searched refs:permName (Results 1 – 7 of 7) sorted by relevance
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/ |
D | GrantPermissionsActivity.java | 141 private void addRequestedPermissions(AppPermissionGroup group, String permName, in addRequestedPermissions() argument 144 reportRequestResult(permName, in addRequestedPermissions() 150 Permission permission = group.getPermission(permName); in addRequestedPermissions() 155 mAppPermissions.getPackageInfo().requestedPermissions, permName)) { in addRequestedPermissions() 156 reportRequestResult(permName, in addRequestedPermissions() 162 reportRequestResult(permName, in addRequestedPermissions() 167 reportRequestResult(permName, in addRequestedPermissions() 181 state.affectedPermissions, permName); in addRequestedPermissions() 186 final String[] filterPermissions = new String[]{permName}; in addRequestedPermissions() 192 reportRequestResult(permName, in addRequestedPermissions() [all …]
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/wear/ |
D | AppPermissionsFragmentWear.java | 284 private static Permission getPermissionFromGroup(AppPermissionGroup group, String permName) { in getPermissionFromGroup() argument 289 if(currentPerm.getName().equals(permName)) { in getPermissionFromGroup() 296 permName, group.getName())); in getPermissionFromGroup() 301 String.format("Permission %s is not in group %s", permName, group.getName())); in getPermissionFromGroup() 305 private void revokePermissionInGroup(AppPermissionGroup group, String permName) { in revokePermissionInGroup() argument 306 group.revokeRuntimePermissions(true, new String[]{ permName }); in revokePermissionInGroup()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/ |
D | PermissionControllerServiceImpl.java | 533 String permName = expandedPermissions.get(i); in onSetRuntimePermissionGrantStateByDeviceAdmin() local 534 AppPermissionGroup group = app.getGroupForPermission(permName); in onSetRuntimePermissionGrantStateByDeviceAdmin() 539 Permission perm = group.getPermission(permName); in onSetRuntimePermissionGrantStateByDeviceAdmin() 547 group.grantRuntimePermissions(false, new String[]{permName}); in onSetRuntimePermissionGrantStateByDeviceAdmin() 551 group.revokeRuntimePermissions(false, new String[]{permName}); in onSetRuntimePermissionGrantStateByDeviceAdmin()
|
D | BackupHelper.java | 406 String permName = parser.getAttributeValue(null, ATTR_PERMISSION_NAME); in parseFromXml() local 407 if (permName == null) { in parseFromXml() 413 expandedPermissions.add(permName); in parseFromXml() 424 && permName.equals(splitPerm.getSplitPermission())) { in parseFromXml()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/ |
D | Utils.java | 293 String permName = permissions.get(i); in getPlatformPermissionsOfGroup() local 296 permInfo = pm.getPermissionInfo(permName, 0); in getPlatformPermissionsOfGroup() 298 throw new IllegalStateException(permName + " not defined by platform", e); in getPlatformPermissionsOfGroup()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/auto/ |
D | AutoAppPermissionFragment.java | 111 @NonNull String permName, @Nullable String groupName, @NonNull UserHandle userHandle) { in newInstance() argument 116 arguments.putString(Intent.EXTRA_PERMISSION_NAME, permName); in newInstance()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/ |
D | AppPermissionFragment.java | 121 @NonNull String permName, @Nullable String groupName, in newInstance() argument 127 arguments.putString(Intent.EXTRA_PERMISSION_NAME, permName); in newInstance()
|