Searched refs:requestChange (Results 1 – 3 of 3) sorted by relevance
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/ |
D | PermissionPreference.java | 234 requestChange(switchView.isChecked(), CHANGE_BOTH); in updateUi() 247 requestChange((Boolean) newValue, CHANGE_FOREGROUND)); in updateUi() 253 requestChange((Boolean) newValue, CHANGE_FOREGROUND)); in updateUi() 258 requestChange((Boolean) newValue, CHANGE_BACKGROUND)); in updateUi() 275 requestChange(false, CHANGE_BOTH); in updateUi() 285 requestChange((Boolean) newValue, CHANGE_BOTH)); in updateUi() 475 private boolean requestChange(boolean requestGrant, @ChangeTarget int changeTarget) { in requestChange() method in PermissionPreference 657 requestChange(true, CHANGE_BOTH); in onBackgroundAccessChosen() 661 requestChange(false, CHANGE_BACKGROUND); in onBackgroundAccessChosen() 663 requestChange(true, CHANGE_FOREGROUND); in onBackgroundAccessChosen() [all …]
|
D | AppPermissionFragment.java | 431 mAlwaysButton.setOnClickListener((v) -> requestChange(true, CHANGE_BOTH)); in updateButtons() 433 requestChange(false, CHANGE_BACKGROUND); in updateButtons() 434 requestChange(true, CHANGE_FOREGROUND); in updateButtons() 436 mDenyButton.setOnClickListener((v) -> requestChange(false, CHANGE_BOTH)); in updateButtons() 483 mDenyButton.setOnClickListener((v) -> requestChange(false, CHANGE_FOREGROUND)); in updateButtons() 493 (v) -> requestChange(false, CHANGE_FOREGROUND)); in updateButtons() 502 (v) -> requestChange(true, CHANGE_BACKGROUND)); in updateButtons() 504 (v) -> requestChange(false, CHANGE_BACKGROUND)); in updateButtons() 778 private boolean requestChange(boolean requestGrant, @ChangeTarget int changeTarget) { in requestChange() method in AppPermissionFragment
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/auto/ |
D | AutoAppPermissionFragment.java | 283 v -> requestChange(/* requestGrant= */true, CHANGE_BOTH)); in updateUi() 285 requestChange(/* requestGrant= */false, CHANGE_BACKGROUND); in updateUi() 286 requestChange(/* requestGrant= */true, CHANGE_FOREGROUND); in updateUi() 290 v -> requestChange(/* requestGrant= */ false, CHANGE_BOTH)); in updateUi() 337 mDenyPermissionPreference.setOnPreferenceClickListener(v -> requestChange(false, in updateUi() 348 v -> requestChange(false, CHANGE_FOREGROUND)); in updateUi() 357 v -> requestChange(true, CHANGE_BACKGROUND)); in updateUi() 359 v -> requestChange(false, CHANGE_BACKGROUND)); in updateUi() 594 private boolean requestChange(boolean requestGrant, @ChangeTarget int changeTarget) { in requestChange() method in AutoAppPermissionFragment
|