Home
last modified time | relevance | path

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

/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DPermissionPreference.java107 void onDenyAnyWay(String key, @ChangeTarget int changeTarget); in onDenyAnyWay() argument
475 private boolean requestChange(boolean requestGrant, @ChangeTarget int changeTarget) { in requestChange() argument
484 if ((changeTarget & CHANGE_FOREGROUND) != 0) { in requestChange()
487 if ((changeTarget & CHANGE_BACKGROUND) != 0) { in requestChange()
494 if ((changeTarget & CHANGE_FOREGROUND) != 0) { in requestChange()
497 if ((changeTarget & CHANGE_BACKGROUND) != 0) { in requestChange()
506 showDefaultDenyDialog(changeTarget); in requestChange()
511 if ((changeTarget & CHANGE_FOREGROUND) != 0) { in requestChange()
514 if ((changeTarget & CHANGE_BACKGROUND) != 0) { in requestChange()
541 private void showDefaultDenyDialog(@ChangeTarget int changeTarget) { in showDefaultDenyDialog() argument
[all …]
DAppPermissionFragment.java778 private boolean requestChange(boolean requestGrant, @ChangeTarget int changeTarget) { in requestChange() argument
791 if ((changeTarget & CHANGE_FOREGROUND) != 0) { in requestChange()
798 if ((changeTarget & CHANGE_BACKGROUND) != 0) { in requestChange()
811 if ((changeTarget & CHANGE_FOREGROUND) != 0 in requestChange()
817 if ((changeTarget & CHANGE_BACKGROUND) != 0) { in requestChange()
828 showDefaultDenyDialog(changeTarget); in requestChange()
833 if ((changeTarget & CHANGE_FOREGROUND) != 0 in requestChange()
841 if ((changeTarget & CHANGE_BACKGROUND) != 0) { in requestChange()
873 private void showDefaultDenyDialog(@ChangeTarget int changeTarget) { in showDefaultDenyDialog() argument
877 if ((changeTarget & CHANGE_FOREGROUND) != 0) { in showDefaultDenyDialog()
[all …]
DReviewPermissionsFragment.java443 public void onDenyAnyWay(String key, int changeTarget) { in onDenyAnyWay() argument
444 getPreference(key).onDenyAnyWay(changeTarget); in onDenyAnyWay()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/auto/
DAutoAppPermissionFragment.java594 private boolean requestChange(boolean requestGrant, @ChangeTarget int changeTarget) { in requestChange() argument
606 if ((changeTarget & CHANGE_FOREGROUND) != 0) { in requestChange()
613 if ((changeTarget & CHANGE_BACKGROUND) != 0) { in requestChange()
625 if ((changeTarget & CHANGE_FOREGROUND) != 0 in requestChange()
631 if ((changeTarget & CHANGE_BACKGROUND) != 0) { in requestChange()
642 showDefaultDenyDialog(changeTarget); in requestChange()
646 if ((changeTarget & CHANGE_FOREGROUND) != 0 in requestChange()
654 if ((changeTarget & CHANGE_BACKGROUND) != 0) { in requestChange()
685 private void showDefaultDenyDialog(@ChangeTarget int changeTarget) { in showDefaultDenyDialog() argument
689 if ((changeTarget & CHANGE_FOREGROUND) != 0) { in showDefaultDenyDialog()
[all …]