Home
last modified time | relevance | path

Searched refs:permissionName (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl96 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
DPackageManager.java2216 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/
DMockPackageManager.java194 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/
DApplicationPackageManager.java426 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/
DPackageManagerService.java2640 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 …]