Home
last modified time | relevance | path

Searched defs:permissionName (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/permission/
DPermissionControllerService.java152 @NonNull String permissionName, @NonNull Runnable callback); in onRevokeRuntimePermission()
334 public void revokeRuntimePermission(String packageName, String permissionName) { in onBind()
DIPermissionController.aidl37 void revokeRuntimePermission(String packageName, String permissionName); in revokeRuntimePermission()
DPermissionControllerManager.java410 @NonNull String permissionName) { in revokeRuntimePermission()
1060 @NonNull String permissionName) { in PendingRevokeAppPermissionRequest()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageBuilder.java109 PackageBuilder addPermissionRequest(String permissionName) { in addPermissionRequest()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java3638 public abstract PermissionInfo getPermissionInfo(@NonNull String permissionName, in getPermissionInfo()
3689 public abstract PermissionGroupInfo getPermissionGroupInfo(@NonNull String permissionName, in getPermissionGroupInfo()
3929 public abstract int checkPermission(@NonNull String permissionName, in checkPermission()
3945 public abstract boolean isPermissionRevokedByPolicy(@NonNull String permissionName, in isPermissionRevokedByPolicy()
4016 public abstract void removePermission(@NonNull String permissionName); in removePermission()
4069 @NonNull String permissionName, @NonNull UserHandle user); in grantRuntimePermission()
4096 @NonNull String permissionName, @NonNull UserHandle user); in revokeRuntimePermission()
4116 public abstract int getPermissionFlags(@NonNull String permissionName, in getPermissionFlags()
4137 public abstract void updatePermissionFlags(@NonNull String permissionName, in updatePermissionFlags()
4310 public abstract boolean shouldShowRequestPermissionRationale(@NonNull String permissionName); in shouldShowRequestPermissionRationale()
DIPackageManager.aidl121 void grantRuntimePermission(String packageName, String permissionName, int userId); in grantRuntimePermission()
123 void revokeRuntimePermission(String packageName, String permissionName, int userId); in revokeRuntimePermission()
127 int getPermissionFlags(String permissionName, String packageName, int userId); in getPermissionFlags()
129 void updatePermissionFlags(String permissionName, String packageName, int flagMask, in updatePermissionFlags()
143 boolean shouldShowRequestPermissionRationale(String permissionName, in shouldShowRequestPermissionRationale()
175 String[] getAppOpPermissionPackages(String permissionName); in getAppOpPermissionPackages()
/frameworks/base/services/core/java/com/android/server/vr/
DEnabledComponentsObserver.java252 String serviceName, String permissionName) { in loadComponentNames()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java256 public void grantRuntimePermission(String packageName, String permissionName, UserHandle user) { in grantRuntimePermission()
260 public void revokeRuntimePermission(String packageName, String permissionName, in revokeRuntimePermission()
265 public int getPermissionFlags(String permissionName, String packageName, UserHandle user) { in getPermissionFlags()
270 public void updatePermissionFlags(String permissionName, String packageName, int flagMask, in updatePermissionFlags()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java239 public void grantRuntimePermission(String packageName, String permissionName, in grantRuntimePermission()
245 public void revokeRuntimePermission(String packageName, String permissionName, in revokeRuntimePermission()
251 public int getPermissionFlags(String permissionName, String packageName, UserHandle user) { in getPermissionFlags()
256 public void updatePermissionFlags(String permissionName, String packageName, int flagMask, in updatePermissionFlags()
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java273 public void grantRuntimePermission(String packageName, String permissionName, in grantRuntimePermission()
280 public void revokeRuntimePermission(String packageName, String permissionName, in revokeRuntimePermission()
287 public int getPermissionFlags(String permissionName, String packageName, UserHandle user) { in getPermissionFlags()
293 public void updatePermissionFlags(String permissionName, String packageName, in updatePermissionFlags()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java628 final String permissionName = newPermission.info.name; in revokeRuntimePermissionsIfGroupChanged() local
2030 final String permissionName = pkg.requestedPermissions.get(i); in getWhitelistedRestrictedPermissions() local
2340 final String permissionName = pkg.requestedPermissions.get(i); in setWhitelistedRestrictedPermissions() local
2699 final String permissionName = bp.getName(); in updatePermissions() local
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java681 public void grantRuntimePermission(String packageName, String permissionName, in grantRuntimePermission()
691 public void revokeRuntimePermission(String packageName, String permissionName, in revokeRuntimePermission()
701 public int getPermissionFlags(String permissionName, String packageName, UserHandle user) { in getPermissionFlags()
710 public void updatePermissionFlags(String permissionName, String packageName, in updatePermissionFlags()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java11882 public boolean isRuntimePermission(String permissionName) throws NameNotFoundException { in isRuntimePermission()