Home
last modified time | relevance | path

Searched refs:changeTarget (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionPreference.java101 void onDenyAnyWay(String key, PermissionTarget changeTarget); in onDenyAnyWay() argument
372 private boolean requestChange(boolean requestGrant, PermissionTarget changeTarget) { in requestChange() argument
381 mState = PermissionTarget.Companion.fromInt(mState.or(changeTarget)); in requestChange()
384 if (changeTarget.and(PermissionTarget.PERMISSION_FOREGROUND) in requestChange()
388 if (changeTarget.and(PermissionTarget.PERMISSION_BACKGROUND) in requestChange()
398 showDefaultDenyDialog(changeTarget, requestToRevokeGrantedByDefault); in requestChange()
402 mState = PermissionTarget.Companion.fromInt(mState.and(~changeTarget.getValue())); in requestChange()
425 private void showDefaultDenyDialog(PermissionTarget changeTarget, in showDefaultDenyDialog() argument
435 args.putInt(DefaultDenyDialog.CHANGE_TARGET, changeTarget.getValue()); in showDefaultDenyDialog()
496 void onDenyAnyWay(PermissionTarget changeTarget) { in onDenyAnyWay() argument
[all …]
DReviewPermissionsFragment.java440 public void onDenyAnyWay(String key, PermissionTarget changeTarget) { in onDenyAnyWay() argument
441 getPreference(key).onDenyAnyWay(changeTarget); in onDenyAnyWay()