Home
last modified time | relevance | path

Searched refs:authAttempt (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/fingerprint2/ui/settings/
DFingerprintSettingsViewModelTest.kt126 var authAttempt: FingerprintAuthAttemptModel? = null in authenticate_DoesNotRun_ifOptical() variable
127 val job = launch { underTest.authFlow.take(5).collectLatest { authAttempt = it } } in authenticate_DoesNotRun_ifOptical()
136 assertThat(authAttempt).isNull() in authenticate_DoesNotRun_ifOptical()
168 var authAttempt: FingerprintAuthAttemptModel? = null in authenticate_DoesNotRun_ifUltrasonic() variable
169 val job = launch { underTest.authFlow.take(5).collectLatest { authAttempt = it } } in authenticate_DoesNotRun_ifUltrasonic()
176 assertThat(authAttempt).isNull() in authenticate_DoesNotRun_ifUltrasonic()
210 var authAttempt: FingerprintAuthAttemptModel? = null in authenticate_DoesRun_ifNotUdfps() variable
212 val job = launch { underTest.authFlow.take(5).collectLatest { authAttempt = it } } in authenticate_DoesRun_ifNotUdfps()
218 assertThat(authAttempt).isEqualTo(success) in authenticate_DoesRun_ifNotUdfps()
337 var authAttempt: FingerprintAuthAttemptModel? = null in authenticatePauses_whenPaused() variable
[all …]
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/settings/viewmodel/
DFingerprintSettingsViewModel.kt175 when (val authAttempt = fingerprintManagerInteractor.authenticate()) { in <lambda>() method
177 onAuthSuccess(authAttempt) in <lambda>()
178 emit(authAttempt) in <lambda>()
181 if (authAttempt.error == FingerprintManager.FINGERPRINT_ERROR_LOCKOUT) { in <lambda>()
182 lockout(authAttempt) in <lambda>()
183 emit(authAttempt) in <lambda>()