Home
last modified time | relevance | path

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

/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionPreference.java104 void onDenyAnyWay(String key, @ChangeTarget int changeTarget); in onDenyAnyWay() argument
459 private boolean requestChange(boolean requestGrant, @ChangeTarget int changeTarget) { in requestChange() argument
468 if ((changeTarget & CHANGE_FOREGROUND) != 0) { in requestChange()
471 if ((changeTarget & CHANGE_BACKGROUND) != 0) { in requestChange()
478 if ((changeTarget & CHANGE_FOREGROUND) != 0) { in requestChange()
481 if ((changeTarget & CHANGE_BACKGROUND) != 0) { in requestChange()
490 showDefaultDenyDialog(changeTarget); in requestChange()
495 if ((changeTarget & CHANGE_FOREGROUND) != 0) { in requestChange()
498 if ((changeTarget & CHANGE_BACKGROUND) != 0) { in requestChange()
525 private void showDefaultDenyDialog(@ChangeTarget int changeTarget) { in showDefaultDenyDialog() argument
[all …]
DReviewPermissionsFragment.java447 public void onDenyAnyWay(String key, int changeTarget) { in onDenyAnyWay() argument
448 getPreference(key).onDenyAnyWay(changeTarget); in onDenyAnyWay()
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoAppPermissionFragment.java615 private boolean requestChange(boolean requestGrant, @ChangeTarget int changeTarget) { in requestChange() argument
627 if ((changeTarget & CHANGE_FOREGROUND) != 0) { in requestChange()
634 if ((changeTarget & CHANGE_BACKGROUND) != 0) { in requestChange()
646 if ((changeTarget & CHANGE_FOREGROUND) != 0 in requestChange()
652 if ((changeTarget & CHANGE_BACKGROUND) != 0) { in requestChange()
663 showDefaultDenyDialog(changeTarget); in requestChange()
667 if ((changeTarget & CHANGE_FOREGROUND) != 0 in requestChange()
675 if ((changeTarget & CHANGE_BACKGROUND) != 0) { in requestChange()
706 private void showDefaultDenyDialog(@ChangeTarget int changeTarget) { in showDefaultDenyDialog() argument
710 if ((changeTarget & CHANGE_FOREGROUND) != 0) { in showDefaultDenyDialog()
[all …]