Searched refs:FakeAuthenticationRepository (Results 1 – 15 of 15) sorted by relevance
26 import com.android.systemui.authentication.data.repository.FakeAuthenticationRepository in <lambda>()94 assertSucceeded(underTest.authenticate(FakeAuthenticationRepository.DEFAULT_PIN)) in <lambda>()159 assertSucceeded(underTest.authenticate(FakeAuthenticationRepository.PATTERN)) in <lambda>()186 val defaultPin = FakeAuthenticationRepository.DEFAULT_PIN.toMutableList() in <lambda>()208 val wrongPin = FakeAuthenticationRepository.DEFAULT_PIN.map { it + 1 } in <lambda>()225 val longerPin = FakeAuthenticationRepository.DEFAULT_PIN + listOf(7) in <lambda>()242 val correctPin = FakeAuthenticationRepository.DEFAULT_PIN in <lambda>()258 val correctPin = FakeAuthenticationRepository.DEFAULT_PIN in <lambda>()274 val correctPin = FakeAuthenticationRepository.DEFAULT_PIN in <lambda>()315 repeat(FakeAuthenticationRepository.MAX_FAILED_AUTH_TRIES_BEFORE_LOCKOUT) { in <lambda>()[all …]
23 import com.android.systemui.authentication.data.repository.FakeAuthenticationRepository in <lambda>()88 assertThat(underTest.authenticate(FakeAuthenticationRepository.DEFAULT_PIN)) in <lambda>()118 FakeAuthenticationRepository.DEFAULT_PIN, in <lambda>()143 FakeAuthenticationRepository.DEFAULT_PIN, in <lambda>()201 assertThat(wrongPattern).isNotEqualTo(FakeAuthenticationRepository.PATTERN) in <lambda>()210 FakeAuthenticationRepository.PATTERN.subList( in <lambda>()218 assertThat(underTest.authenticate(FakeAuthenticationRepository.PATTERN)) in <lambda>()236 repeat(FakeAuthenticationRepository.MAX_FAILED_AUTH_TRIES_BEFORE_LOCKOUT) { times -> in <lambda>()240 if (times < FakeAuthenticationRepository.MAX_FAILED_AUTH_TRIES_BEFORE_LOCKOUT - 1) { in <lambda>()248 advanceTimeBy(FakeAuthenticationRepository.LOCKOUT_DURATION_SECONDS.seconds) in <lambda>()[all …]
26 import com.android.systemui.authentication.data.repository.FakeAuthenticationRepository97 kosmos.authenticationInteractor.authenticate(FakeAuthenticationRepository.DEFAULT_PIN) in canShowAlternateBouncer_false_dueToTransitionState_scene_container()
29 import com.android.systemui.authentication.data.repository.FakeAuthenticationRepository in <lambda>()210 FakeAuthenticationRepository.DEFAULT_PIN.forEach(underTest::onPinButtonClicked) in <lambda>()253 FakeAuthenticationRepository.DEFAULT_PIN.forEach(underTest::onPinButtonClicked) in <lambda>()274 FakeAuthenticationRepository.DEFAULT_PIN.forEach(underTest::onPinButtonClicked) in <lambda>()295 FakeAuthenticationRepository.DEFAULT_PIN.dropLast(1).forEach { digit -> in <lambda>()299 FakeAuthenticationRepository.DEFAULT_PIN.last() + 1 in <lambda>()313 FakeAuthenticationRepository.DEFAULT_PIN.forEach(underTest::onPinButtonClicked) in <lambda>()406 assertThat(hintedPinLength).isEqualTo(FakeAuthenticationRepository.HINTING_PIN_LENGTH) in <lambda>()409 repeat(FakeAuthenticationRepository.HINTING_PIN_LENGTH - 1) { repetition -> in <lambda>()415 underTest.onPinButtonClicked(FakeAuthenticationRepository.HINTING_PIN_LENGTH) in <lambda>()[all …]
22 import com.android.systemui.authentication.data.repository.FakeAuthenticationRepository in <lambda>()65 FakeAuthenticationRepository.DEFAULT_PIN.drop(2).forEach { digit -> in <lambda>()75 FakeAuthenticationRepository.DEFAULT_PIN.forEach { digit -> in <lambda>()
26 import com.android.systemui.authentication.data.repository.FakeAuthenticationRepository in <lambda>()122 repeat(FakeAuthenticationRepository.MAX_FAILED_AUTH_TRIES_BEFORE_LOCKOUT) { in <lambda>()135 val lockoutSeconds = FakeAuthenticationRepository.LOCKOUT_DURATION_SECONDS in <lambda>()140 repeat(FakeAuthenticationRepository.MAX_FAILED_AUTH_TRIES_BEFORE_LOCKOUT) { times -> in <lambda>()143 if (times == FakeAuthenticationRepository.MAX_FAILED_AUTH_TRIES_BEFORE_LOCKOUT) { in <lambda>()152 repeat(FakeAuthenticationRepository.LOCKOUT_DURATION_SECONDS) { time -> in <lambda>()446 private val WRONG_PIN = FakeAuthenticationRepository.DEFAULT_PIN.map { it + 1 } in <lambda>()
26 import com.android.systemui.authentication.data.repository.FakeAuthenticationRepository in <lambda>()163 repeat(FakeAuthenticationRepository.MAX_FAILED_AUTH_TRIES_BEFORE_LOCKOUT) { in <lambda>()226 private val WRONG_PIN = FakeAuthenticationRepository.DEFAULT_PIN.map { it + 1 } in <lambda>()
23 import com.android.systemui.authentication.data.repository.FakeAuthenticationRepository in <lambda>()304 val attempts = FakeAuthenticationRepository.MAX_FAILED_AUTH_TRIES_BEFORE_LOCKOUT + 1 in <lambda>()381 private val CORRECT_PATTERN = FakeAuthenticationRepository.PATTERN in <lambda>()
26 Kosmos.Fixture { FakeAuthenticationRepository { testScope.currentTime } } in <lambda>()
40 class FakeAuthenticationRepository( in <lambda>() class265 ) = FakeAuthenticationRepository(currentTime = { scope.currentTime }) in provideFake()269 @Binds fun bindFake(fake: FakeAuthenticationRepository): AuthenticationRepository
25 import com.android.systemui.authentication.data.repository.FakeAuthenticationRepository in <lambda>()196 assertThat(authenticationInteractor.authenticate(FakeAuthenticationRepository.DEFAULT_PIN)) in <lambda>()
23 import com.android.systemui.authentication.data.repository.FakeAuthenticationRepository297 FakeAuthenticationRepository.DEFAULT_PIN in setLockscreenDismissible()
33 import com.android.systemui.authentication.data.repository.FakeAuthenticationRepository in <lambda>()672 FakeAuthenticationRepository.DEFAULT_PIN.forEach { digit -> in <lambda>()700 FakeAuthenticationRepository.DEFAULT_PIN.forEach { digit -> in <lambda>()
25 import com.android.systemui.authentication.data.repository.FakeAuthenticationRepository in <lambda>()436 authenticationInteractor.authenticate(FakeAuthenticationRepository.DEFAULT_PIN) in <lambda>()
23 import com.android.systemui.authentication.data.repository.FakeAuthenticationRepository in <lambda>()963 kosmos.authenticationInteractor.authenticate(FakeAuthenticationRepository.DEFAULT_PIN) in <lambda>()