Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionPreference.java188 requestChange(switchView.isChecked(), PermissionTarget.PERMISSION_BOTH); in updateUi()
201 requestChange((Boolean) newValue, in updateUi()
208 requestChange((Boolean) newValue, in updateUi()
214 requestChange((Boolean) newValue, in updateUi()
232 requestChange(false, PermissionTarget.PERMISSION_BOTH); in updateUi()
242 requestChange((Boolean) newValue, PermissionTarget.PERMISSION_BOTH)); in updateUi()
372 private boolean requestChange(boolean requestGrant, PermissionTarget changeTarget) { in requestChange() method in PermissionPreference
533 requestChange(true, PermissionTarget.PERMISSION_BOTH); in onBackgroundAccessChosen()
538 requestChange(false, PermissionTarget.PERMISSION_BACKGROUND); in onBackgroundAccessChosen()
540 requestChange(true, PermissionTarget.PERMISSION_FOREGROUND); in onBackgroundAccessChosen()
[all …]
DAppPermissionFragment.java415 mViewModel.requestChange(false, this, this, ChangeRequest.GRANT_BOTH, in setRadioButtonsState()
423 mViewModel.requestChange(false, this, this, ChangeRequest.GRANT_BOTH, in setRadioButtonsState()
427 mViewModel.requestChange(false, this, this, ChangeRequest.GRANT_FOREGROUND_ONLY, in setRadioButtonsState()
434 mViewModel.requestChange(true, this, this, ChangeRequest.REVOKE_BOTH, in setRadioButtonsState()
441 mViewModel.requestChange(false, this, this, ChangeRequest.PHOTOS_SELECTED, in setRadioButtonsState()
456 mViewModel.requestChange(false, this, this, ChangeRequest.REVOKE_BOTH, in setRadioButtonsState()
461 mViewModel.requestChange(false, this, this, ChangeRequest.REVOKE_FOREGROUND, in setRadioButtonsState()
473 mViewModel.requestChange(false, this, this, ChangeRequest.GRANT_FINE_LOCATION, in setRadioButtonsState()
476 mViewModel.requestChange(false, this, this, ChangeRequest.REVOKE_FINE_LOCATION, in setRadioButtonsState()
519 mViewModel.requestChange(false, this, this, ChangeRequest.GRANT_FOREGROUND, in allowButtonFrameClickListener()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DAppPermissionFragment.java285 mViewModel.requestChange(false, this, this, ChangeRequest.GRANT_FOREGROUND, in setRadioButtonsState()
295 mViewModel.requestChange(false, this, this, ChangeRequest.GRANT_BOTH, in setRadioButtonsState()
304 mViewModel.requestChange(false, this, this, ChangeRequest.GRANT_BOTH, in setRadioButtonsState()
309 mViewModel.requestChange(false, this, this, ChangeRequest.GRANT_FOREGROUND_ONLY, in setRadioButtonsState()
317 mViewModel.requestChange(true, this, this, ChangeRequest.REVOKE_BOTH, in setRadioButtonsState()
323 mViewModel.requestChange(false, this, this, ChangeRequest.REVOKE_BOTH, in setRadioButtonsState()
329 mViewModel.requestChange(false, this, this, ChangeRequest.REVOKE_FOREGROUND, in setRadioButtonsState()
480 fragment.mViewModel.requestChange(false, fragment, in onCreateDialog()
515 mViewModel.requestChange(args.getSetOneTime(), in showAdvancedConfirmDialog()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoAppPermissionFragment.java220 requestChange(ChangeRequest.GRANT_FOREGROUND, in onViewCreated()
227 requestChange(ChangeRequest.GRANT_BOTH, in onViewCreated()
234 requestChange(ChangeRequest.GRANT_FOREGROUND_ONLY, in onViewCreated()
241 requestChange(ChangeRequest.REVOKE_BOTH, in onViewCreated()
528 private void requestChange(ChangeRequest changeRequest, in requestChange() method in AutoAppPermissionFragment
530 mViewModel.requestChange(/* setOneTime= */false, /* fragment= */ this, in requestChange()
591 fragment.mViewModel.requestChange(false, fragment, in onCreateDialog()
594 fragment.mViewModel.requestChange(false, fragment, in onCreateDialog()
627 mViewModel.requestChange(args.getSetOneTime(),
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DWearAppPermissionFragment.kt169 viewModel.requestChange(false, this, this, changeRequest, buttonClicked) in <lambda>()
179 viewModel.requestChange( in <lambda>()
204 viewModel.requestChange( in <lambda>()
222 viewModel.requestChange( in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DAppPermissionViewModel.kt898 fun requestChange( in <lambda>() method