Searched refs:setAppOpMode (Results 1 – 3 of 3) sorted by relevance
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/ |
D | AppPermissionGroup.java | 674 private boolean setAppOpMode(@NonNull String op, int uid, int mode) { in setAppOpMode() method in AppPermissionGroup 718 wasChanged |= setAppOpMode(foregroundPermission.getAppOp(), uid, MODE_ALLOWED); in allowAppOp() 729 wasChanged = setAppOpMode(permission.getAppOp(), uid, MODE_FOREGROUND); in allowAppOp() 732 wasChanged = setAppOpMode(permission.getAppOp(), uid, MODE_ALLOWED); in allowAppOp() 734 wasChanged = setAppOpMode(permission.getAppOp(), uid, MODE_FOREGROUND); in allowAppOp() 738 wasChanged = setAppOpMode(permission.getAppOp(), uid, MODE_ALLOWED); in allowAppOp() 921 wasChanged |= setAppOpMode(foregroundPermission.getAppOp(), uid, in disallowAppOp() 926 wasChanged = setAppOpMode(permission.getAppOp(), uid, MODE_IGNORED); in disallowAppOp()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/ |
D | AppOp.java | 83 return Permissions.setAppOpMode(packageName, mName, mMode, context); in grant() 99 return Permissions.setAppOpMode(packageName, mName, defaultMode, context); in revoke()
|
D | Permissions.java | 339 permissionOrAppOpChanged = setAppOpMode(packageName, appOp, appOpMode, context); in grantPermissionAndAppOp() 352 permissionOrAppOpChanged |= setAppOpMode(packageName, foregroundAppOp, in grantPermissionAndAppOp() 502 boolean appOpModeChanged = setAppOpMode(packageName, appOp, appOpMode, context); in revokePermissionAndAppOp() 531 permissionOrAppOpChanged |= setAppOpMode(packageName, foregroundAppOp, in revokePermissionAndAppOp() 780 static boolean setAppOpMode(@NonNull String packageName, @NonNull String appOp, int mode, in setAppOpMode() method in Permissions
|