Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/biometrics2/ui/viewmodel/
DAutoCredentialViewModel.kt50 private val credentialModel: CredentialModel in <lambda>() constant
108 || !credentialModel.isValidToken in <lambda>()
109 || !credentialModel.isValidChallenge in <lambda>()
116 credentialModel.token in <lambda>()
118 bundle.putLong(BiometricEnrollBase.EXTRA_KEY_CHALLENGE, credentialModel.challenge) in <lambda>()
128 } else if (credentialModel.isValidGkPwHandle) { in <lambda>()
129 val gkPwHandle = credentialModel.gkPwHandle in <lambda>()
130 credentialModel.clearGkPwHandle() in <lambda>()
151 credentialModel.challenge = challenge in <lambda>()
152 credentialModel.token = newToken in <lambda>()
[all …]
/packages/apps/Settings/src/com/android/settings/biometrics2/factory/
DBiometricsViewModelFactory.java80 final CredentialModel credentialModel = extras.get(CREDENTIAL_MODEL_KEY); in create() local
81 if (challengeGenerator != null && credentialModel != null) { in create()
83 challengeGenerator, credentialModel); in create()
98 final CredentialModel credentialModel = extras.get(CREDENTIAL_MODEL_KEY); in create() local
99 if (repository != null && request != null && credentialModel != null) { in create()
101 credentialModel.getUserId()); in create()
110 final CredentialModel credentialModel = extras.get(CREDENTIAL_MODEL_KEY); in create() local
111 if (credentialModel != null) { in create()
113 new FingerprintUpdater(application), credentialModel.getUserId()); in create()
116 final CredentialModel credentialModel = extras.get(CREDENTIAL_MODEL_KEY); in create() local
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics2/ui/model/
DCredentialModelTest.kt37 val credentialModel = CredentialModel(null, clock) in testNullBundle() constant
38 Truth.assertThat(credentialModel.userId).isEqualTo(UserHandle.myUserId()) in testNullBundle()