Home
last modified time | relevance | path

Searched refs:RemainingAttempts (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/
DCredentialViewModel.kt96 private val _remainingAttempts: MutableStateFlow<RemainingAttempts> = in <lambda>()
97 MutableStateFlow(RemainingAttempts()) in <lambda>()
99 val remainingAttempts: Flow<RemainingAttempts> = _remainingAttempts.asStateFlow() in <lambda>()
136 _remainingAttempts.value = RemainingAttempts() in <lambda>()
141 RemainingAttempts(result.remainingAttempts, result.urgentMessage ?: "") in <lambda>()
146 _remainingAttempts.value = RemainingAttempts() in <lambda>()
DRemainingAttempts.kt4 data class RemainingAttempts(val remaining: Int? = null, val message: String = "") class
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/
DCredentialViewModelTest.kt118 val remainingAttempts = mutableListOf<RemainingAttempts?>() in <lambda>()
132 assertThat(remainingAttempts).containsExactly(RemainingAttempts()) in <lambda>()
146 val remainingAttempts = mutableListOf<RemainingAttempts?>() in <lambda>()
163 assertThat(remainingAttempts).containsExactly(RemainingAttempts()) // initial value in <lambda>()