Searched refs:permissionName (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/content/pm/ |
D | IPackageManager.aidl | 89 void grantPermission(String packageName, String permissionName); in grantPermission() argument 91 void revokePermission(String packageName, String permissionName); in revokePermission() argument
|
D | PackageManager.java | 1627 public abstract void grantPermission(String packageName, String permissionName); in grantPermission() argument 1637 public abstract void revokePermission(String packageName, String permissionName); in revokePermission() argument
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockPackageManager.java | 170 public void grantPermission(String packageName, String permissionName) { in grantPermission() argument 176 public void revokePermission(String packageName, String permissionName) { in revokePermission() argument
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 337 public void grantPermission(String packageName, String permissionName) { in grantPermission() argument 339 mPM.grantPermission(packageName, permissionName); in grantPermission() 346 public void revokePermission(String packageName, String permissionName) { in revokePermission() argument 348 mPM.revokePermission(packageName, permissionName); in revokePermission()
|
/frameworks/base/services/java/com/android/server/pm/ |
D | PackageManagerService.java | 2229 public void grantPermission(String packageName, String permissionName) { in grantPermission() argument 2237 final BasePermission bp = mSettings.mPermissions.get(permissionName); in grantPermission() 2241 if (!pkg.requestedPermissions.contains(permissionName)) { in grantPermission() 2243 + " has not requested permission " + permissionName); in grantPermission() 2246 throw new SecurityException("Permission " + permissionName in grantPermission() 2254 if (gp.grantedPermissions.add(permissionName)) { in grantPermission() 2263 public void revokePermission(String packageName, String permissionName) { in revokePermission() argument 2273 final BasePermission bp = mSettings.mPermissions.get(permissionName); in revokePermission() 2277 if (!pkg.requestedPermissions.contains(permissionName)) { in revokePermission() 2279 + " has not requested permission " + permissionName); in revokePermission() [all …]
|