Searched refs:grantState (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/permission/ |
D | PermissionControllerService.java | 203 @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()
|
D | PermissionControllerManager.java | 300 @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()
|
D | IPermissionController.aidl | 42 String permission, int grantState, in RemoteCallback callback); in setRuntimePermissionGrantStateByDeviceAdmin() argument
|
/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 316 String permission, int grantState, in RemoteCallback resultReceiver); in setPermissionGrantState() argument
|
D | DevicePolicyManager.java | 8840 @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/ |
D | DevicePolicyManagerService.java | 11751 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()
|