Home
last modified time | relevance | path

Searched refs:grantState (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/permission/
DPermissionControllerService.java203 @NonNull String permission, @PermissionGrantState int grantState, in onSetRuntimePermissionGrantStateByDeviceAdmin() argument
387 String packageName, String permission, int grantState, in onBind() argument
392 checkArgument(grantState == PERMISSION_GRANT_STATE_GRANTED in onBind()
393 || grantState == PERMISSION_GRANT_STATE_DENIED in onBind()
394 || grantState == PERMISSION_GRANT_STATE_DEFAULT); in onBind()
397 if (grantState == PERMISSION_GRANT_STATE_DENIED) { in onBind()
401 if (grantState == PERMISSION_GRANT_STATE_DENIED) { in onBind()
409 packageName, permission, grantState, wasSet -> { in onBind()
DPermissionControllerManager.java300 @PermissionGrantState int grantState, @NonNull @CallbackExecutor Executor executor, in setRuntimePermissionGrantStateByDeviceAdmin() argument
305 checkArgument(grantState == PERMISSION_GRANT_STATE_GRANTED in setRuntimePermissionGrantStateByDeviceAdmin()
306 || grantState == PERMISSION_GRANT_STATE_DENIED in setRuntimePermissionGrantStateByDeviceAdmin()
307 || grantState == PERMISSION_GRANT_STATE_DEFAULT); in setRuntimePermissionGrantStateByDeviceAdmin()
312 mRemoteService, callerPackageName, packageName, permission, grantState, executor, in setRuntimePermissionGrantStateByDeviceAdmin()
861 @NonNull String permission, @PermissionGrantState int grantState, in PendingSetRuntimePermissionGrantStateByDeviceAdmin() argument
868 mGrantState = grantState; in PendingSetRuntimePermissionGrantStateByDeviceAdmin()
DIPermissionController.aidl42 String permission, int grantState, in RemoteCallback callback); in setRuntimePermissionGrantStateByDeviceAdmin() argument
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl316 String permission, int grantState, in RemoteCallback resultReceiver); in setPermissionGrantState() argument
DDevicePolicyManager.java8840 @PermissionGrantState int grantState) { in setPermissionGrantState() argument
8846 permission, grantState, new RemoteCallback((b) -> result.complete(b != null))); in setPermissionGrantState()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java11751 String packageName, String permission, int grantState, RemoteCallback callback) in setPermissionGrantState() argument
11783 if (grantState == DevicePolicyManager.PERMISSION_GRANT_STATE_GRANTED in setPermissionGrantState()
11784 || grantState == DevicePolicyManager.PERMISSION_GRANT_STATE_DENIED in setPermissionGrantState()
11785 || grantState == DevicePolicyManager.PERMISSION_GRANT_STATE_DEFAULT) { in setPermissionGrantState()
11788 packageName, permission, grantState, mContext.getMainExecutor(), in setPermissionGrantState()
11801 .setInt(grantState) in setPermissionGrantState()