Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics2/ui/viewmodel/
DAutoCredentialViewModelTest.kt62 private var challengeGenerator: TestChallengeGenerator = TestChallengeGenerator() variable in com.android.settings.biometrics2.ui.viewmodel.AutoCredentialViewModelTest
69 challengeGenerator, in newAutoCredentialViewModel()
76 challengeGenerator = TestChallengeGenerator() in setUp()
83 challengeGenerator.userId = userId in setupGenerateChallenge()
84 challengeGenerator.sensorId = newSensorId in setupGenerateChallenge()
85 challengeGenerator.challenge = newChallenge in setupGenerateChallenge()
239 assertThat(challengeGenerator.callbackRunCount).isEqualTo(1) in <lambda>()
285 assertThat(challengeGenerator.callbackRunCount).isEqualTo(1) in <lambda>()
433 assertThat(challengeGenerator.callbackRunCount).isEqualTo(1) in <lambda>()
478 assertThat(challengeGenerator.callbackRunCount).isEqualTo(1) in <lambda>()
/packages/apps/Settings/src/com/android/settings/biometrics2/factory/
DBiometricsViewModelFactory.java79 final ChallengeGenerator challengeGenerator = extras.get(CHALLENGE_GENERATOR_KEY); in create() local
81 if (challengeGenerator != null && credentialModel != null) { in create()
83 challengeGenerator, credentialModel); in create()
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/viewmodel/
DAutoCredentialViewModel.kt49 private val challengeGenerator: ChallengeGenerator, in <lambda>() constant
146 challengeGenerator.callback = object : GenerateChallengeCallback { in <lambda>()
175 challengeGenerator.generateChallenge(userId) in <lambda>()