Home
last modified time | relevance | path

Searched refs:ChangeRequest (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DWearAppPermissionFragment.kt52 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ChangeRequest in <lambda>()
159 ChangeRequest.GRANT_FINE_LOCATION in <lambda>()
161 ChangeRequest.REVOKE_FINE_LOCATION in <lambda>()
188 ChangeRequest.GRANT_ALL_FILE_ACCESS, in <lambda>()
202 if (args.changeRequest == ChangeRequest.GRANT_ALL_FILE_ACCESS) { in <lambda>()
208 ChangeRequest.GRANT_BOTH, in <lambda>()
257 changeRequest: ChangeRequest, in <lambda>()
293 ChangeRequest.GRANT_FOREGROUND, in <lambda>()
301 ChangeRequest.GRANT_BOTH, in <lambda>()
309 ChangeRequest.GRANT_FOREGROUND_ONLY, in <lambda>()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DAppPermissionViewModel.kt124 changeRequest: ChangeRequest, in <lambda>()
133 enum class ChangeRequest(val value: Int) { in <lambda>() class
152 infix fun andValue(other: ChangeRequest): Int { in <lambda>()
360 var customRequest: ChangeRequest? in <lambda>()
902 changeRequest: ChangeRequest, in <lambda>()
920 if (changeRequest == ChangeRequest.GRANT_FINE_LOCATION) { in <lambda>()
929 if (changeRequest == ChangeRequest.REVOKE_FINE_LOCATION) { in <lambda>()
943 if (changeRequest == ChangeRequest.PHOTOS_SELECTED) { in <lambda>()
962 val shouldGrantForeground = changeRequest andValue ChangeRequest.GRANT_FOREGROUND != 0 in <lambda>()
963 val shouldGrantBackground = changeRequest andValue ChangeRequest.GRANT_BACKGROUND != 0 in <lambda>()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DAppPermissionFragment.java73 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ChangeRequest;
285 mViewModel.requestChange(false, this, this, ChangeRequest.GRANT_FOREGROUND, in setRadioButtonsState()
292 showConfirmDialog(ChangeRequest.GRANT_ALL_FILE_ACCESS, 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()
431 public void showConfirmDialog(ChangeRequest changeRequest, @StringRes int messageId, in showConfirmDialog()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DAppPermissionFragment.java82 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ChangeRequest;
412 showConfirmDialog(ChangeRequest.GRANT_ALL_FILE_ACCESS, in setRadioButtonsState()
415 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()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoAppPermissionFragment.java66 import com.android.permissioncontroller.permission.ui.model.AppPermissionViewModel.ChangeRequest;
220 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()
426 public void showConfirmDialog(ChangeRequest changeRequest, int messageId, in showConfirmDialog()
528 private void requestChange(ChangeRequest changeRequest, in requestChange()
575 == ChangeRequest.GRANT_ALL_FILE_ACCESS; in onCreateDialog()
577 == ChangeRequest.GRANT_STORAGE_SUPERGROUP; in onCreateDialog()
592 fragment, ChangeRequest.GRANT_BOTH, sCode); in onCreateDialog()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/v33/
DAdvancedConfirmDialogArgs.kt31 val changeRequest: AppPermissionViewModel.ChangeRequest? = null,
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/model/
DAppPermissionConfirmDialogViewModel.kt54 val changeRequest: AppPermissionViewModel.ChangeRequest,