Home
last modified time | relevance | path

Searched refs:Permissions (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/model/
DAppOpPermissions.java72 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()
DAppOp.java83 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()
DRole.java773 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()
DDialerRoleBehavior.java91 Permissions.grant(packageName, SYSTEM_DIALER_PERMISSIONS, false, false, in grant()
101 Permissions.revoke(packageName, SYSTEM_DIALER_PERMISSIONS, true, false, false, context); in revoke()
DSmsRoleBehavior.java106 Permissions.grant(packageName, SYSTEM_SMS_PERMISSIONS, false, false, in grant()
115 Permissions.revoke(packageName, SYSTEM_SMS_PERMISSIONS, true, false, false, context); in revoke()
DHomeRoleBehavior.java190 Permissions.grant(packageName, AUTOMOTIVE_PERMISSIONS, in grant()
199 Permissions.revoke(packageName, AUTOMOTIVE_PERMISSIONS, true, false, false, context); in revoke()
DBrowserRoleBehavior.java139 Permissions.grant(packageName, SYSTEM_BROWSER_PERMISSIONS, false, false, false, in grant()
DPermissions.java50 public class Permissions { class
52 private static final String LOG_TAG = Permissions.class.getSimpleName();