Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/
DBouncerMessageViewModel.kt115 .flatMapLatest { authMethod -> in <lambda>() method
116 if (authMethod == AuthenticationMethodModel.Sim) { in <lambda>()
120 } else if (authMethod.isSecure) { in <lambda>()
129 authMethod, in <lambda>()
145 .flatMapLatest { authMethod -> in <lambda>() method
146 if (authMethod == AuthenticationMethodModel.Sim) { in <lambda>()
173 .collectLatest { (faceMessage, authMethod, fingerprintAllowedOnBouncer) -> in <lambda>() method
177 authMethod, in <lambda>()
192 BouncerMessageStrings.class3AuthLockedOut(authMethod) in <lambda>()
196 authMethod, in <lambda>()
[all …]
DBouncerViewModel.kt199 .map { authMethod -> isSideBySideSupported(authMethod) } in <lambda>() method
212 .map { authMethod -> isFoldSplitRequired(authMethod) } in <lambda>() method
239 private fun isSideBySideSupported(authMethod: AuthMethodBouncerViewModel?): Boolean { in <lambda>()
240 return isUserSwitcherVisible || authMethod !is PasswordBouncerViewModel in <lambda>()
243 private fun isFoldSplitRequired(authMethod: AuthMethodBouncerViewModel?): Boolean { in <lambda>()
244 return authMethod !is PasswordBouncerViewModel in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/ui/viewmodel/
DBouncerViewModelTest.kt83 authMethodsToTest().forEach { authMethod -> in <lambda>() method
84 kosmos.fakeAuthenticationRepository.setAuthenticationMethod(authMethod) in <lambda>()
89 if (authMethod.isSecure) { in <lambda>()
90 assertWithMessage("View-model unexpectedly null for auth method $authMethod") in <lambda>()
95 "View-model unexpectedly non-null for auth method $authMethod" in <lambda>()
113 authMethodsToTest().forEach { authMethod -> in <lambda>() method
114 kosmos.fakeAuthenticationRepository.setAuthenticationMethod(authMethod) in <lambda>()
115 authMethodViewModel?.let { seen[authMethod] = it } in <lambda>()
119 authMethodsToTest().forEach { authMethod -> in <lambda>() method
120 kosmos.fakeAuthenticationRepository.setAuthenticationMethod(authMethod) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/deviceentry/domain/interactor/
DDeviceUnlockedInteractor.kt86 .flatMapLatest { authMethod -> in <lambda>() method
87 if (!authMethod.isSecure) { in <lambda>()
89 } else if (authMethod == AuthenticationMethodModel.Sim) { in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/authentication/data/repository/
DAuthenticationRepositoryTest.kt101 val authMethod by collectLastValue(underTest.authenticationMethod) in authenticationMethod() constant
104 assertThat(authMethod).isEqualTo(AuthenticationMethodModel.Pin) in authenticationMethod()
108 assertThat(authMethod).isEqualTo(AuthenticationMethodModel.Pattern) in authenticationMethod()
113 assertThat(authMethod).isEqualTo(AuthenticationMethodModel.None) in authenticationMethod()
119 assertThat(authMethod).isEqualTo(AuthenticationMethodModel.Sim) in authenticationMethod()
/frameworks/base/packages/SystemUI/src/com/android/systemui/authentication/domain/interactor/
DAuthenticationInteractor.kt225 val authMethod = getAuthenticationMethod() in <lambda>() constant
226 if (shouldSkipAuthenticationAttempt(authMethod, tryAutoConfirm, input.size)) { in <lambda>()
231 val credential = authMethod.createCredential(input) ?: return AuthenticationResult.SKIPPED in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/authentication/domain/interactor/
DAuthenticationInteractorTest.kt66 val authMethod by collectLastValue(underTest.authenticationMethod) in <lambda>() constant
68 assertThat(authMethod).isEqualTo(Pin) in <lambda>()
73 assertThat(authMethod).isEqualTo(Password) in <lambda>()
80 val authMethod by collectLastValue(underTest.authenticationMethod) in <lambda>() constant
85 assertThat(authMethod).isEqualTo(None) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/
DSceneFrameworkIntegrationTest.kt508 authMethod: AuthenticationMethodModel, in <lambda>()
511 if (authMethod.isSecure) { in <lambda>()
520 kosmos.fakeAuthenticationRepository.setAuthenticationMethod(authMethod) in <lambda>()
631 val authMethod = authenticationInteractor.getAuthenticationMethod() in <lambda>() constant
632 assertWithMessage("The authentication method of $authMethod is not secure, cannot lock!") in <lambda>()
633 .that(authMethod.isSecure) in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
DBouncerContent.kt240 val authMethod by viewModel.authMethodViewModel.collectAsStateWithLifecycle() in SplitLayout() constant
248 vertical = if (authMethod is PasswordBouncerViewModel) 24.dp else 48.dp, in SplitLayout()
255 when (authMethod) { in SplitLayout()
294 when (authMethod) { in SplitLayout()
336 val authMethod by viewModel.authMethodViewModel.collectAsStateWithLifecycle() in BesideUserSwitcherLayout() constant
431 val isOutputAreaVisible = authMethod !is PatternBouncerViewModel in BesideUserSwitcherLayout()