Searched refs:FakeAuthenticationRepository (Results 1 – 9 of 9) sorted by relevance
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/authentication/domain/interactor/ |
H A D | AuthenticationInteractorTest.kt | 24 import com.android.systemui.authentication.data.repository.FakeAuthenticationRepository 318 assertThat(underTest.authenticate(FakeAuthenticationRepository.PATTERN)).isTrue() 359 FakeAuthenticationRepository.DEFAULT_PIN.toMutableList().apply { 379 FakeAuthenticationRepository.DEFAULT_PIN.map { it + 1 }, 397 FakeAuthenticationRepository.DEFAULT_PIN + listOf(7), 415 FakeAuthenticationRepository.DEFAULT_PIN, 433 FakeAuthenticationRepository.DEFAULT_PIN, 462 underTest.authenticate(FakeAuthenticationRepository.DEFAULT_PIN) 489 remainingMs = FakeAuthenticationRepository.THROTTLE_DURATION_MS, 502 remainingMs = FakeAuthenticationRepository.THROTTLE_DURATION_MS, [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bouncer/domain/interactor/ |
H A D | BouncerInteractorTest.kt | 23 import com.android.systemui.authentication.data.repository.FakeAuthenticationRepository 98 assertThat(underTest.authenticate(FakeAuthenticationRepository.DEFAULT_PIN)).isTrue() 131 FakeAuthenticationRepository.DEFAULT_PIN, 160 FakeAuthenticationRepository.DEFAULT_PIN, 232 assertThat(underTest.authenticate(FakeAuthenticationRepository.PATTERN)).isTrue() 309 FakeAuthenticationRepository.MAX_FAILED_AUTH_TRIES_BEFORE_THROTTLING, 310 remainingMs = FakeAuthenticationRepository.THROTTLE_DURATION_MS, 315 FakeAuthenticationRepository.THROTTLE_DURATION_MS.milliseconds.inWholeSeconds 320 assertThat(underTest.authenticate(FakeAuthenticationRepository.DEFAULT_PIN)).isNull() 324 FakeAuthenticationRepository.THROTTLE_DURATION_MS.milliseconds.inWholeSeconds [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bouncer/ui/viewmodel/ |
H A D | BouncerViewModelTest.kt | 22 import com.android.systemui.authentication.data.repository.FakeAuthenticationRepository 124 repeat(FakeAuthenticationRepository.MAX_FAILED_AUTH_TRIES_BEFORE_THROTTLING) { 149 repeat(FakeAuthenticationRepository.MAX_FAILED_AUTH_TRIES_BEFORE_THROTTLING) { 167 repeat(FakeAuthenticationRepository.MAX_FAILED_AUTH_TRIES_BEFORE_THROTTLING) { 188 private fun FakeAuthenticationRepository.setAuthenticationMethod( regex
|
H A D | AuthMethodBouncerViewModelTest.kt | 22 import com.android.systemui.authentication.data.repository.FakeAuthenticationRepository 62 FakeAuthenticationRepository.DEFAULT_PIN.drop(2).forEach { digit -> 72 FakeAuthenticationRepository.DEFAULT_PIN.forEach { digit ->
|
H A D | PinBouncerViewModelTest.kt | 23 import com.android.systemui.authentication.data.repository.FakeAuthenticationRepository 202 FakeAuthenticationRepository.DEFAULT_PIN.forEach { digit -> 261 FakeAuthenticationRepository.DEFAULT_PIN.forEach { digit -> 283 FakeAuthenticationRepository.DEFAULT_PIN.forEach { digit -> 304 FakeAuthenticationRepository.DEFAULT_PIN.dropLast(1).forEach { digit -> 308 FakeAuthenticationRepository.DEFAULT_PIN.last() + 1
|
H A D | PatternBouncerViewModelTest.kt | 23 import com.android.systemui.authentication.data.repository.FakeAuthenticationRepository 253 private val CORRECT_PATTERN = FakeAuthenticationRepository.PATTERN
|
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/scene/ |
H A D | SceneTestUtils.kt | 23 import com.android.systemui.authentication.data.repository.FakeAuthenticationRepository 78 val authenticationRepository: FakeAuthenticationRepository by lazy { 79 FakeAuthenticationRepository( 132 fun authenticationRepository(): FakeAuthenticationRepository {
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/scene/ |
H A D | SceneFrameworkIntegrationTest.kt | 23 import com.android.systemui.authentication.data.repository.FakeAuthenticationRepository 491 FakeAuthenticationRepository.DEFAULT_PIN.forEach { digit ->
|
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/authentication/data/repository/ |
H A D | FakeAuthenticationRepository.kt | 31 class FakeAuthenticationRepository( regex
|