Lines Matching refs:credential_

85     sp<IIdentityCredential> credential_;  member in android::hardware::identity::UserAuthTests
172 credentialData_, &credential_) in setupRetrieveData()
178 ASSERT_TRUE(credential_->setReaderEphemeralPublicKey(readerEPublicKey.value()).isOk()); in setupRetrieveData()
181 ASSERT_TRUE(credential_->createEphemeralKeyPair(&eKeyPair).isOk()); in setupRetrieveData()
185 Status status = credential_->createAuthChallenge(&authChallenge_); in setupRetrieveData()
220 credential_->generateSigningKeyPair(&signingKeyBlob, &signingKeyCertificate).isOk()); in retrieveData()
229 credential_->setRequestedNamespaces({rns}).isOk(); in retrieveData()
232 credential_->setVerificationToken(verificationToken); in retrieveData()
234 Status status = credential_->startRetrieval({sacp0_, sacp1_, sacp2_}, authToken, in retrieveData()
247 status = credential_->startRetrieveEntryValue("ns", "UserAuth Per Session", 1, {0}); in retrieveData()
251 credential_->retrieveEntryValue(encContentUserAuthPerSession_, &decrypted).isOk()); in retrieveData()
254 status = credential_->startRetrieveEntryValue("ns", "UserAuth Timeout", 1, {1}); in retrieveData()
257 ASSERT_TRUE(credential_->retrieveEntryValue(encContentUserAuthTimeout_, &decrypted).isOk()); in retrieveData()
260 status = credential_->startRetrieveEntryValue("ns", "Accessible by All", 1, {2}); in retrieveData()
263 ASSERT_TRUE(credential_->retrieveEntryValue(encContentAccessibleByAll_, &decrypted).isOk()); in retrieveData()
266 status = credential_->startRetrieveEntryValue("ns", "Accessible by None", 1, {}); in retrieveData()
270 credential_->retrieveEntryValue(encContentAccessibleByNone_, &decrypted).isOk()); in retrieveData()
275 ASSERT_TRUE(credential_->finishRetrieval(&mac, &deviceNameSpaces).isOk()); in retrieveData()