Home
last modified time | relevance | path

Searched refs:requestChange (Results 1 – 5 of 5) sorted by relevance

/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionPreference.java230 requestChange(switchView.isChecked(), CHANGE_BOTH); in updateUi()
243 requestChange((Boolean) newValue, CHANGE_FOREGROUND)); in updateUi()
249 requestChange((Boolean) newValue, CHANGE_FOREGROUND)); in updateUi()
254 requestChange((Boolean) newValue, CHANGE_BACKGROUND)); in updateUi()
271 requestChange(false, CHANGE_BOTH); in updateUi()
281 requestChange((Boolean) newValue, CHANGE_BOTH)); in updateUi()
459 private boolean requestChange(boolean requestGrant, @ChangeTarget int changeTarget) { in requestChange() method in PermissionPreference
641 requestChange(true, CHANGE_BOTH); in onBackgroundAccessChosen()
645 requestChange(false, CHANGE_BACKGROUND); in onBackgroundAccessChosen()
647 requestChange(true, CHANGE_FOREGROUND); in onBackgroundAccessChosen()
[all …]
DAppPermissionFragment.java329 mViewModel.requestChange(false, this, this, ChangeRequest.GRANT_FOREGROUND, in setRadioButtonsState()
338 mViewModel.requestChange(false, this, this, ChangeRequest.GRANT_BOTH, in setRadioButtonsState()
346 mViewModel.requestChange(false, this, this, ChangeRequest.GRANT_BOTH, in setRadioButtonsState()
350 mViewModel.requestChange(false, this, this, ChangeRequest.GRANT_FOREGROUND_ONLY, in setRadioButtonsState()
357 mViewModel.requestChange(true, this, this, ChangeRequest.REVOKE_BOTH, in setRadioButtonsState()
367 mViewModel.requestChange(false, this, this, ChangeRequest.REVOKE_BOTH, in setRadioButtonsState()
372 mViewModel.requestChange(false, this, this, ChangeRequest.REVOKE_FOREGROUND, in setRadioButtonsState()
554 fragment.mViewModel.requestChange(false, fragment, in onCreateDialog()
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoAppPermissionFragment.java302 return requestChange(/* requestGrant= */true, CHANGE_BOTH); in updateUi()
306 requestChange(/* requestGrant= */false, CHANGE_BACKGROUND); in updateUi()
307 requestChange(/* requestGrant= */true, CHANGE_FOREGROUND); in updateUi()
312 return requestChange(/* requestGrant= */ false, CHANGE_BOTH); in updateUi()
360 mDenyPermissionPreference.setOnPreferenceClickListener(v -> requestChange(false, in updateUi()
371 v -> requestChange(false, CHANGE_FOREGROUND)); in updateUi()
380 v -> requestChange(true, CHANGE_BACKGROUND)); in updateUi()
382 v -> requestChange(false, CHANGE_BACKGROUND)); in updateUi()
615 private boolean requestChange(boolean requestGrant, @ChangeTarget int changeTarget) { in requestChange() method in AutoAppPermissionFragment
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DAppPermissionFragment.java279 mViewModel.requestChange(false, this, this, ChangeRequest.GRANT_FOREGROUND, in setRadioButtonsState()
289 mViewModel.requestChange(false, this, this, ChangeRequest.GRANT_BOTH, in setRadioButtonsState()
298 mViewModel.requestChange(false, this, this, ChangeRequest.GRANT_BOTH, in setRadioButtonsState()
303 mViewModel.requestChange(false, this, this, ChangeRequest.GRANT_FOREGROUND_ONLY, in setRadioButtonsState()
311 mViewModel.requestChange(true, this, this, ChangeRequest.REVOKE_BOTH, in setRadioButtonsState()
317 mViewModel.requestChange(false, this, this, ChangeRequest.REVOKE_BOTH, in setRadioButtonsState()
323 mViewModel.requestChange(false, this, this, ChangeRequest.REVOKE_FOREGROUND, in setRadioButtonsState()
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DAppPermissionViewModel.kt486 fun requestChange( in <lambda>() method