Home
last modified time | relevance | path

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

/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DAppPermissionViewModel.kt218 val askState = ButtonState() in <lambda>() constant
222 askState.isShown = Utils.supportsOneTimeGrant(permGroupName) && in <lambda>()
237 askState.isChecked = !group.foreground.isGranted && group.isOneTime in <lambda>()
244 allowedForegroundState, askState, deniedState, in <lambda>()
248 allowedForegroundState, askState, deniedState, in <lambda>()
275 deniedState.isChecked = deniedState.isChecked || askState.isChecked in <lambda>()
277 askState.isEnabled = false in <lambda>()
291 askState.isChecked = !group.foreground.isGranted && group.isOneTime in <lambda>()
299 askState.isEnabled = false in <lambda>()
320 deniedState.isChecked = deniedState.isChecked || askState.isChecked in <lambda>()
[all …]