/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/ |
D | BouncerMessageViewModel.kt | 115 .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 …]
|
D | BouncerViewModel.kt | 199 .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/ |
D | BouncerViewModelTest.kt | 83 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/ |
D | DeviceUnlockedInteractor.kt | 86 .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/ |
D | AuthenticationRepositoryTest.kt | 101 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/ |
D | AuthenticationInteractor.kt | 225 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/ |
D | AuthenticationInteractorTest.kt | 66 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/ |
D | SceneFrameworkIntegrationTest.kt | 508 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/ |
D | BouncerContent.kt | 240 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()
|