Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/
DPromptSelectorInteractorImplTest.kt165 val promptKind by collectLastValue(interactor.promptKind) in <lambda>() constant
189 assertThat(promptKind!!.isBiometric()).isTrue() in <lambda>()
226 val promptKind by collectLastValue(interactor.promptKind) in <lambda>() constant
227 assertThat(promptKind).isEqualTo(PromptKind.None) in <lambda>()
231 assertThat(promptKind?.isOnePanePortraitBiometric()).isTrue() in <lambda>()
244 val promptKind by collectLastValue(interactor.promptKind) in <lambda>() constant
245 assertThat(promptKind).isEqualTo(PromptKind.None) in <lambda>()
249 assertThat(promptKind?.isTwoPaneLandscapeBiometric()).isTrue() in <lambda>()
262 val promptKind by collectLastValue(interactor.promptKind) in <lambda>() constant
263 assertThat(promptKind).isEqualTo(PromptKind.None) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/
DPromptSelectorInteractor.kt58 val promptKind: StateFlow<PromptKind> in <lambda>() constant
116 promptRepository.promptKind,
138 override val promptKind: StateFlow<PromptKind> = promptRepository.promptKind constant
161 if (promptRepository.promptKind.value.isBiometric()) in onSwitchToCredential()
162 (promptRepository.promptKind.value as PromptKind.Biometric).activeModalities in onSwitchToCredential()
187 val hasCredentialViewShown = promptKind.value.isCredential() in setPrompt()
DPromptCredentialInteractor.kt69 biometricPromptRepository.promptKind in <lambda>()
70 ) { promptInfo, challenge, userId, promptKind -> in <lambda>() method
75 when (promptKind) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/data/repository/
DPromptRepository.kt60 val promptKind: StateFlow<PromptKind> in <lambda>() constant
121 override val promptKind = _promptKind.asStateFlow() constant in com.android.systemui.biometrics.data.repository.PromptRepositoryImpl
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/
DPromptViewModel.kt210 val promptKind: StateFlow<PromptKind> = promptSelectorInteractor.promptKind in <lambda>() constant
264 promptKind, in <lambda>()
268 ) { forceLarge, promptKind, isLargeScreen, rotation, modalities -> in <lambda>() method
272 promptKind.isOnePaneNoSensorLandscapeBiometric() -> PromptPosition.Bottom in <lambda>()
556 combine(iconPosition, promptKind, size, position, modalities, hasOnlyOneLineTitle) { in <lambda>()
558 promptKind, in <lambda>() method
568 val noSensorLandscape = promptKind.isOnePaneNoSensorLandscapeBiometric() in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/data/repository/
DPromptRepositoryImplTest.kt148 assertThat(repository.promptKind.value).isEqualTo(kind) in setsAndUnsetsPrompt_whenRequestIdMatches()
170 assertThat(repository.promptKind.value).isEqualTo(kind) in setsAndUnsetsPrompt_whenRequestIdDoesNotMatch()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/biometrics/data/repository/
DFakePromptRepository.kt27 override val promptKind = _promptKind.asStateFlow() constant in com.android.systemui.biometrics.data.repository.FakePromptRepository