Searched refs:FingerprintAuthAttemptModel (Results 1 – 9 of 9) sorted by relevance
25 import com.android.settings.biometrics.fingerprint2.lib.model.FingerprintAuthAttemptModel126 var authAttempt: FingerprintAuthAttemptModel? = null in authenticate_DoesNotRun_ifOptical()168 var authAttempt: FingerprintAuthAttemptModel? = null in authenticate_DoesNotRun_ifUltrasonic()198 val success = FingerprintAuthAttemptModel.Success(1) in authenticate_DoesRun_ifNotUdfps()210 var authAttempt: FingerprintAuthAttemptModel? = null in authenticate_DoesRun_ifNotUdfps()335 val success = FingerprintAuthAttemptModel.Success(fingerprints.first().fingerId) in authenticatePauses_whenPaused()337 var authAttempt: FingerprintAuthAttemptModel? = null in authenticatePauses_whenPaused()348 fakeFingerprintManagerInteractor.authenticateAttempt = FingerprintAuthAttemptModel.Success(10) in authenticatePauses_whenPaused()363 var authAttempt: FingerprintAuthAttemptModel? = null in dialog_pausesAuth()380 var authAttempt: FingerprintAuthAttemptModel? = null in cannotAuth_when_notShowingSettings()[all …]
25 import com.android.settings.biometrics.fingerprint2.lib.model.FingerprintAuthAttemptModel in <lambda>()98 private val _isLockedOut: MutableStateFlow<FingerprintAuthAttemptModel.Error?> = in <lambda>()101 private val _authSucceeded: MutableSharedFlow<FingerprintAuthAttemptModel.Success?> = in <lambda>()167 val authFlow: Flow<FingerprintAuthAttemptModel> = in <lambda>()176 is FingerprintAuthAttemptModel.Success -> { in <lambda>()180 is FingerprintAuthAttemptModel.Error -> { in <lambda>()264 private suspend fun onAuthSuccess(success: FingerprintAuthAttemptModel.Success) { in <lambda>()269 private fun lockout(attemptViewModel: FingerprintAuthAttemptModel.Error) { in <lambda>()
20 sealed class FingerprintAuthAttemptModel { class22 data class Success(val fingerId: Int) : FingerprintAuthAttemptModel()25 data class Error(val error: Int, val message: String) : FingerprintAuthAttemptModel()
32 import com.android.settings.biometrics.fingerprint2.lib.model.FingerprintAuthAttemptModel in <lambda>()139 override suspend fun authenticate(): FingerprintAuthAttemptModel = in <lambda>()140 suspendCancellableCoroutine { c: CancellableContinuation<FingerprintAuthAttemptModel> -> in <lambda>()150 c.resume(FingerprintAuthAttemptModel.Error(errorCode, errString.toString())) in <lambda>()159 c.resume(FingerprintAuthAttemptModel.Success(result.fingerprint?.biometricId ?: -1)) in <lambda>()
22 import com.android.settings.biometrics.fingerprint2.lib.model.FingerprintAuthAttemptModel in <lambda>()83 fun userLockout(authAttemptViewModel: FingerprintAuthAttemptModel.Error) in <lambda>()145 is FingerprintAuthAttemptModel.Success -> { in <lambda>()148 is FingerprintAuthAttemptModel.Error -> { in <lambda>()
28 import com.android.settings.biometrics.fingerprint2.lib.model.FingerprintAuthAttemptModel43 var authenticateAttempt = FingerprintAuthAttemptModel.Success(1)59 override suspend fun authenticate(): FingerprintAuthAttemptModel { in authenticate()
22 import com.android.settings.biometrics.fingerprint2.lib.model.FingerprintAuthAttemptModel47 suspend fun authenticate(): FingerprintAuthAttemptModel
42 import com.android.settings.biometrics.fingerprint2.lib.model.FingerprintAuthAttemptModel259 var result: FingerprintAuthAttemptModel? = null in testAuth_succeeds()280 assertThat(result).isEqualTo(FingerprintAuthAttemptModel.Success(fingerprint.biometricId)) in testAuth_succeeds()286 var result: FingerprintAuthAttemptModel? = null in testAuth_lockout()307 FingerprintAuthAttemptModel.Error(FINGERPRINT_ERROR_LOCKOUT_PERMANENT, "Lockout!!") in testAuth_lockout()
52 import com.android.settings.biometrics.fingerprint2.lib.model.FingerprintAuthAttemptModel in <lambda>()149 override fun userLockout(authAttemptViewModel: FingerprintAuthAttemptModel.Error) { in <lambda>()