/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/ |
D | PromptAuthState.kt | 27 val isAuthenticated: Boolean, constant in com.android.systemui.biometrics.ui.viewmodel.PromptAuthState 36 get() = isAuthenticated && !needsUserConfirmation 40 get() = isAuthenticated && wasConfirmed 44 get() = !isAuthenticated 48 get() = isAuthenticated && authenticatedModality == BiometricModality.Face 52 get() = isAuthenticated && authenticatedModality == BiometricModality.Fingerprint 60 isAuthenticated = isAuthenticated, in asExplicitlyConfirmed()
|
D | PromptIconViewModel.kt | 141 promptViewModel.isAuthenticated, in <lambda>() 157 authState.isAuthenticated, in <lambda>() 165 promptViewModel.isAuthenticated.distinctUntilChanged(), in <lambda>() 187 promptViewModel.isAuthenticated, in <lambda>() 216 isAuthenticated: Boolean, in <lambda>() 220 if (isAuthenticated) { in <lambda>() 278 if (authState.isAuthenticated && isPendingConfirmation) { in <lambda>() 280 } else if (authState.isAuthenticated) { in <lambda>() 307 } else if (authState.isAuthenticated) { in <lambda>() 334 promptViewModel.isAuthenticated, in <lambda>() [all …]
|
D | PromptViewModel.kt | 196 val isAuthenticated: Flow<PromptAuthState> = _isAuthenticated.asStateFlow() in <lambda>() constant 200 isAuthenticated.map { authState -> in <lambda>() 201 authState.isAuthenticated && authState.needsUserConfirmation in <lambda>() 627 isAuthenticated, in <lambda>() 638 isAuthenticated, in <lambda>() 642 size.isNotSmall && authState.isAuthenticated && !showNegativeButton && showConfirmButton in <lambda>() 655 isAuthenticated, in <lambda>() 675 isAuthenticated, in <lambda>() 702 if (_isAuthenticated.value.isAuthenticated) { in <lambda>() 758 val alreadyAuthenticated = _isAuthenticated.value.isAuthenticated in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/ |
D | PromptAuthStateTest.kt | 33 with(PromptAuthState(isAuthenticated = false)) { in notAuthenticated() 44 with(PromptAuthState(isAuthenticated = true)) { in authenticatedByUnknown() 52 with(PromptAuthState(isAuthenticated = true, needsUserConfirmation = true)) { in authenticatedByUnknown() 67 PromptAuthState(isAuthenticated = true, authenticatedModality = BiometricModality.Face) in authenticatedWithFace() 81 isAuthenticated = true, in authenticatedWithFingerprint()
|
D | PromptViewModelTest.kt | 264 val authenticated by collectLastValue(viewModel.isAuthenticated) in <lambda>() 613 val isAuthenticated by collectLastValue(viewModel.isAuthenticated) in <lambda>() constant 785 val authenticated by collectLastValue(viewModel.isAuthenticated) in <lambda>() 799 assertThat(authenticated?.isAuthenticated).isTrue() in <lambda>() 882 val authenticated by collectLastValue(viewModel.isAuthenticated) in <lambda>() 920 val authenticated by collectLastValue(viewModel.isAuthenticated) in <lambda>() 929 assertThat(authenticated?.isAuthenticated).isTrue() in <lambda>() 954 assertThat(authenticated?.isAuthenticated).isTrue() in <lambda>() 1024 val authenticated by collectLastValue(viewModel.isAuthenticated) in <lambda>() 1029 assertThat(authenticated?.isAuthenticated).isTrue() in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/deviceentry/domain/interactor/ |
D | DeviceEntryFaceAuthInteractor.kt | 39 val isAuthenticated: StateFlow<Boolean> constant 87 fun onAuthenticatedChanged(isAuthenticated: Boolean) in canFaceAuthRun()
|
D | SystemUIDeviceEntryFaceAuthInteractor.kt | 286 override val isAuthenticated: StateFlow<Boolean> = repository.isAuthenticated in <lambda>() constant in com.android.systemui.deviceentry.domain.interactor.SystemUIDeviceEntryFaceAuthInteractor 327 repository.isAuthenticated in <lambda>() 329 .onEach { (isAuthenticated, userInfo) -> in <lambda>() method 330 if (!isAuthenticated) { in <lambda>() 335 .onEach { (isAuthenticated, _) -> in <lambda>() method 336 listeners.forEach { it.onAuthenticatedChanged(isAuthenticated) } in <lambda>()
|
D | NoopDeviceEntryFaceAuthInteractor.kt | 40 override val isAuthenticated: StateFlow<Boolean> = MutableStateFlow(false) constant in com.android.systemui.deviceentry.domain.interactor.NoopDeviceEntryFaceAuthInteractor
|
D | DeviceUnlockedInteractor.kt | 57 faceAuthInteractor.isAuthenticated in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/deviceentry/data/repository/ |
D | NoopDeviceEntryFaceAuthRepository.kt | 38 override val isAuthenticated: StateFlow<Boolean> = MutableStateFlow(false) constant in com.android.systemui.deviceentry.data.repository.NoopDeviceEntryFaceAuthRepository
|
D | DeviceEntryFaceAuthRepository.kt | 98 val isAuthenticated: StateFlow<Boolean> in <lambda>() constant 207 override val isAuthenticated: StateFlow<Boolean> = _isAuthenticated constant 265 Pair(isAuthenticated.isFalse(), "faceNotAuthenticated"),
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/deviceentry/domain/interactor/ |
D | DeviceEntryFaceAuthInteractorTest.kt | 486 faceAuthRepository.isAuthenticated.value = true in whenIsAuthenticatedFalse_clearFaceBiometrics() 491 faceAuthRepository.isAuthenticated.value = false in whenIsAuthenticatedFalse_clearFaceBiometrics() 547 assertThat(underTest.isAuthenticated) in authenticated_providesSameValueFromRepository() 548 .isSameInstanceAs(faceAuthRepository.isAuthenticated) in authenticated_providesSameValueFromRepository()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/deviceentry/domain/interactor/ |
D | DeviceUnlockedInteractorTest.kt | 152 kosmos.fakeDeviceEntryFaceAuthRepository.isAuthenticated.value = true in deviceUnlockStatus_whenFaceIsAuthenticatedWhileAwakeWithBypass_isTrue() 166 kosmos.fakeDeviceEntryFaceAuthRepository.isAuthenticated.value = true in deviceUnlockStatus_whenFaceIsAuthenticatedWithoutBypass_providesThatInfo()
|
D | DeviceEntryInteractorTest.kt | 248 faceAuthRepository.isAuthenticated.value = false in <lambda>() 264 faceAuthRepository.isAuthenticated.value = true in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/data/repository/ |
D | FakeDeviceEntryFaceAuthRepository.kt | 35 override val isAuthenticated = MutableStateFlow(false) constant in com.android.systemui.keyguard.data.repository.FakeDeviceEntryFaceAuthRepository
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/ |
D | BiometricViewBinder.kt | 271 combine(viewModel.isAuthenticated, viewModel.size) { (authenticated, _), size -> in <lambda>() 374 viewModel.isAuthenticated.collect { authState -> in <lambda>() 377 if (authState.isAuthenticated) { in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardUpdateMonitorTest.java | 310 when(mFaceAuthInteractor.isAuthenticated()).thenReturn(MutableStateFlow(false)); in setup() 1088 when(mFaceAuthInteractor.isAuthenticated()).thenReturn(MutableStateFlow(true)); in testGetUserCanSkipBouncer_whenFace() 1099 when(mFaceAuthInteractor.isAuthenticated()).thenReturn(MutableStateFlow(true)); in testGetUserCanSkipBouncer_whenFace_nonStrongAndDisallowed() 1483 when(mFaceAuthInteractor.isAuthenticated()).thenReturn(MutableStateFlow(true)); in testShouldNotListenForUdfps_whenFaceAuthenticated() 1537 when(mFaceAuthInteractor.isAuthenticated()).thenReturn(MutableStateFlow(true)); in testFingerprintCanAuth_whenCancellationNotReceivedAndAuthFailed()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/domain/startable/ |
D | SceneContainerStartableTest.kt | 324 faceAuthRepository.isAuthenticated.value = true in <lambda>() 366 faceAuthRepository.isAuthenticated.value = true in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardUpdateMonitor.java | 1310 public void onAuthenticatedChanged(boolean isAuthenticated) { 1311 if (!isAuthenticated) { 1388 && getFaceAuthInteractor().isAuthenticated().getValue(); in getIsFaceAuthenticated() 1431 && getFaceAuthInteractor().isAuthenticated().getValue(); in isCurrentUserUnlockedWithFace()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/deviceentry/data/repository/ |
D | DeviceEntryFaceAuthRepositoryTest.kt | 1212 authenticated = collectLastValue(underTest.isAuthenticated) in initCollectors()
|