Home
last modified time | relevance | path

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

/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/
DGrantPermissionsActivity.java141 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/
DAppPermissionsFragmentWear.java284 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/
DPermissionControllerServiceImpl.java535 String permName = expandedPermissions.get(i); in onSetRuntimePermissionGrantStateByDeviceAdmin() local
536 AppPermissionGroup group = app.getGroupForPermission(permName); in onSetRuntimePermissionGrantStateByDeviceAdmin()
541 Permission perm = group.getPermission(permName); in onSetRuntimePermissionGrantStateByDeviceAdmin()
549 group.grantRuntimePermissions(false, new String[]{permName}); in onSetRuntimePermissionGrantStateByDeviceAdmin()
553 group.revokeRuntimePermissions(false, new String[]{permName}); in onSetRuntimePermissionGrantStateByDeviceAdmin()
DBackupHelper.java406 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/
DUtils.java293 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/
DAutoAppPermissionFragment.java111 @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/
DAppPermissionFragment.java121 @NonNull String permName, @Nullable String groupName, in newInstance() argument
127 arguments.putString(Intent.EXTRA_PERMISSION_NAME, permName); in newInstance()