Searched refs:Permissions (Results 1 – 8 of 8) sorted by relevance
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/model/ |
D | AppOpPermissions.java | 72 int defaultMode = Permissions.getDefaultAppOpMode(appOp); in revoke() 89 return Permissions.setAppOpPackageMode(packageName, appOp, mode, context); in setAppOpMode() 93 return Permissions.setAppOpUidMode(packageName, appOp, mode, context); in setAppOpMode() 95 return Permissions.setAppOpPackageMode(packageName, appOp, mode, context); in setAppOpMode() 98 return Permissions.setAppOpUidMode(packageName, appOp, mode, context); in setAppOpMode()
|
D | AppOp.java | 83 return Permissions.setAppOpUidMode(packageName, mName, mMode, context); in grant() 98 int defaultMode = Permissions.getDefaultAppOpMode(mName); in revoke() 99 return Permissions.setAppOpUidMode(packageName, mName, defaultMode, context); in revoke()
|
D | Role.java | 773 boolean permissionOrAppOpChanged = Permissions.grant(packageName, in grant() 774 Permissions.filterBySdkVersion(mPermissions), in grant() 800 if (!dontKillApp && permissionOrAppOpChanged && !Permissions.isRuntimePermissionsSupported( in grant() 820 List<String> permissionsToRevoke = Permissions.filterBySdkVersion(mPermissions); in revoke() 826 permissionsToRevoke.removeAll(Permissions.filterBySdkVersion(role.mPermissions)); in revoke() 829 boolean permissionOrAppOpChanged = Permissions.revoke(packageName, permissionsToRevoke, in revoke()
|
D | DialerRoleBehavior.java | 91 Permissions.grant(packageName, SYSTEM_DIALER_PERMISSIONS, false, false, in grant() 101 Permissions.revoke(packageName, SYSTEM_DIALER_PERMISSIONS, true, false, false, context); in revoke()
|
D | SmsRoleBehavior.java | 106 Permissions.grant(packageName, SYSTEM_SMS_PERMISSIONS, false, false, in grant() 115 Permissions.revoke(packageName, SYSTEM_SMS_PERMISSIONS, true, false, false, context); in revoke()
|
D | HomeRoleBehavior.java | 190 Permissions.grant(packageName, AUTOMOTIVE_PERMISSIONS, in grant() 199 Permissions.revoke(packageName, AUTOMOTIVE_PERMISSIONS, true, false, false, context); in revoke()
|
D | BrowserRoleBehavior.java | 139 Permissions.grant(packageName, SYSTEM_BROWSER_PERMISSIONS, false, false, false, in grant()
|
D | Permissions.java | 50 public class Permissions { class 52 private static final String LOG_TAG = Permissions.class.getSimpleName();
|