Searched refs:permissionName (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/content/pm/ |
D | IPackageManager.aidl | 96 void grantPermission(String packageName, String permissionName); in grantPermission() argument 98 void revokePermission(String packageName, String permissionName); in revokePermission() argument 116 String[] getAppOpPermissionPackages(String permissionName); in getAppOpPermissionPackages() argument
|
D | PackageManager.java | 2216 public abstract void grantPermission(String packageName, String permissionName); in grantPermission() argument 2226 public abstract void revokePermission(String packageName, String permissionName); in revokePermission() argument
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockPackageManager.java | 194 public void grantPermission(String packageName, String permissionName) { in grantPermission() argument 200 public void revokePermission(String packageName, String permissionName) { in revokePermission() argument
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 426 public void grantPermission(String packageName, String permissionName) { in grantPermission() argument 428 mPM.grantPermission(packageName, permissionName); in grantPermission() 435 public void revokePermission(String packageName, String permissionName) { in revokePermission() argument 437 mPM.revokePermission(packageName, permissionName); in revokePermission()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 2640 public void grantPermission(String packageName, String permissionName) { in grantPermission() argument 2648 final BasePermission bp = mSettings.mPermissions.get(permissionName); in grantPermission() 2650 throw new IllegalArgumentException("Unknown permission: " + permissionName); in grantPermission() 2660 if (gp.grantedPermissions.add(permissionName)) { in grantPermission() 2670 public void revokePermission(String packageName, String permissionName) { in revokePermission() argument 2682 final BasePermission bp = mSettings.mPermissions.get(permissionName); in revokePermission() 2684 throw new IllegalArgumentException("Unknown permission: " + permissionName); in revokePermission() 2694 if (gp.grantedPermissions.remove(permissionName)) { in revokePermission() 2695 gp.grantedPermissions.remove(permissionName); in revokePermission() 2718 "revoke " + permissionName); in revokePermission() local [all …]
|