/frameworks/base/core/java/android/content/pm/ |
D | IPackageManager.aidl | 101 void grantRuntimePermission(String packageName, String permissionName, int userId); in grantRuntimePermission() argument 103 void revokeRuntimePermission(String packageName, String permissionName, int userId); in revokeRuntimePermission() argument 107 int getPermissionFlags(String permissionName, String packageName, int userId); in getPermissionFlags() argument 109 void updatePermissionFlags(String permissionName, String packageName, int flagMask, in updatePermissionFlags() argument 114 boolean shouldShowRequestPermissionRationale(String permissionName, in shouldShowRequestPermissionRationale() argument 137 String[] getAppOpPermissionPackages(String permissionName); in getAppOpPermissionPackages() argument
|
D | PackageManager.java | 3299 @NonNull String permissionName, @NonNull UserHandle user); in grantRuntimePermission() argument 3324 @NonNull String permissionName, @NonNull UserHandle user); in revokeRuntimePermission() argument 3337 public abstract @PermissionFlags int getPermissionFlags(String permissionName, in getPermissionFlags() argument 3353 public abstract void updatePermissionFlags(String permissionName, in updatePermissionFlags() argument
|
/frameworks/base/services/core/java/com/android/server/vr/ |
D | EnabledComponentsObserver.java | 243 String serviceName, String permissionName) { in loadComponentNames() argument 257 if (!permissionName.equals(info.permission)) { in loadComponentNames() 260 + permissionName); in loadComponentNames()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePackageManager.java | 221 public void grantRuntimePermission(String packageName, String permissionName, UserHandle user) { in grantRuntimePermission() argument 225 public void revokeRuntimePermission(String packageName, String permissionName, in revokeRuntimePermission() argument 230 public int getPermissionFlags(String permissionName, String packageName, UserHandle user) { in getPermissionFlags() argument 235 public void updatePermissionFlags(String permissionName, String packageName, int flagMask, in updatePermissionFlags() argument
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockPackageManager.java | 241 public void grantRuntimePermission(String packageName, String permissionName, in grantRuntimePermission() argument 248 public void revokeRuntimePermission(String packageName, String permissionName, in revokeRuntimePermission() argument 255 public int getPermissionFlags(String permissionName, String packageName, UserHandle user) { in getPermissionFlags() argument 261 public void updatePermissionFlags(String permissionName, String packageName, in updatePermissionFlags() argument
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 560 public void grantRuntimePermission(String packageName, String permissionName, in grantRuntimePermission() argument 563 mPM.grantRuntimePermission(packageName, permissionName, user.getIdentifier()); in grantRuntimePermission() 570 public void revokeRuntimePermission(String packageName, String permissionName, in revokeRuntimePermission() argument 573 mPM.revokeRuntimePermission(packageName, permissionName, user.getIdentifier()); in revokeRuntimePermission() 580 public int getPermissionFlags(String permissionName, String packageName, UserHandle user) { in getPermissionFlags() argument 582 return mPM.getPermissionFlags(permissionName, packageName, user.getIdentifier()); in getPermissionFlags() 589 public void updatePermissionFlags(String permissionName, String packageName, in updatePermissionFlags() argument 592 mPM.updatePermissionFlags(permissionName, packageName, flagMask, in updatePermissionFlags()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | Settings.java | 269 String permissionName; field in Settings.RestoredPermissionGrant 274 permissionName = name; in RestoredPermissionGrant() 486 BasePermission bp = mPermissions.get(grant.permissionName); in applyPendingPermissionGrantsLPw() 4785 pw.print(g.permissionName); in dumpRestoredPermissionGrantsLPr() 5072 serializer.attribute(null, ATTR_NAME, g.permissionName); in writePermissionsSync()
|
D | PackageManagerService.java | 4463 public boolean shouldShowRequestPermissionRationale(String permissionName, 4476 if (checkPermission(permissionName, packageName, userId) 4485 flags = getPermissionFlags(permissionName, 4854 public String[] getAppOpPermissionPackages(String permissionName) { 4856 ArraySet<String> pkgs = mAppOpPermissionPackages.get(permissionName);
|