Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/
H A DCredentialViewModel.kt85 private val _remainingAttempts: MutableStateFlow<RemainingAttempts> =
86 MutableStateFlow(RemainingAttempts())
88 val remainingAttempts: Flow<RemainingAttempts> = _remainingAttempts.asStateFlow()
125 _remainingAttempts.value = RemainingAttempts()
130 RemainingAttempts(result.remainingAttempts, result.urgentMessage ?: "")
135 _remainingAttempts.value = RemainingAttempts()
H A DRemainingAttempts.kt4 data class RemainingAttempts(val remaining: Int? = null, val message: String = "") dataClass
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/
H A DCredentialViewModelTest.kt117 val remainingAttempts = mutableListOf<RemainingAttempts?>()
131 assertThat(remainingAttempts).containsExactly(RemainingAttempts())
145 val remainingAttempts = mutableListOf<RemainingAttempts?>()
162 assertThat(remainingAttempts).containsExactly(RemainingAttempts()) // initial value