Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/
DPromptAuthState.kt29 val needsUserConfirmation: Boolean = false, constant in com.android.systemui.biometrics.ui.viewmodel.PromptAuthState
36 get() = isAuthenticated && !needsUserConfirmation
62 needsUserConfirmation = false, in asExplicitlyConfirmed()
DPromptViewModel.kt201 authState.isAuthenticated && authState.needsUserConfirmation in <lambda>()
703 if (_isAuthenticated.value.needsUserConfirmation && hapticFeedback) { in <lambda>()
831 _isAuthenticated.value.needsUserConfirmation && in <lambda>()
843 val needsUserConfirmation = needsExplicitConfirmation(modality) in <lambda>() constant
845 PromptAuthState(true, modality, needsUserConfirmation, dismissAfterDelay) in <lambda>()
848 if (!needsUserConfirmation) { in <lambda>()
903 if (_isAuthenticated.value.needsUserConfirmation) { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/
DPromptAuthStateTest.kt52 with(PromptAuthState(isAuthenticated = true, needsUserConfirmation = true)) { in authenticatedByUnknown()
DPromptViewModelTest.kt801 assertThat(authenticated?.needsUserConfirmation).isEqualTo(expectConfirmation) in <lambda>()
1065 assertThat(authenticated?.needsUserConfirmation).isEqualTo(expectConfirmation) in <lambda>()
1095 assertThat(authenticated?.needsUserConfirmation).isEqualTo(expectConfirmation) in <lambda>()
1167 assertThat(authenticated?.needsUserConfirmation).isEqualTo(expectConfirmation) in <lambda>()
1244 assertThat(authenticated?.needsUserConfirmation).isEqualTo(expectConfirmation) in <lambda>()