Searched refs:writableCredential (Results 1 – 6 of 6) sorted by relevance
/hardware/interfaces/identity/aidl/vts/ |
D | VtsIWritableIdentityCredentialTests.cpp | 67 sp<IWritableIdentityCredential> writableCredential; in TEST_P() local 68 ASSERT_TRUE(test_utils::setupWritableCredential(writableCredential, credentialStore_, in TEST_P() 74 result = writableCredential->getAttestationCertificate( in TEST_P() 89 sp<IWritableIdentityCredential> writableCredential; in TEST_P() local 90 ASSERT_TRUE(test_utils::setupWritableCredential(writableCredential, credentialStore_, in TEST_P() 98 result = writableCredential->getAttestationCertificate( in TEST_P() 118 sp<IWritableIdentityCredential> writableCredential; in TEST_P() local 119 ASSERT_TRUE(test_utils::setupWritableCredential(writableCredential, credentialStore_, in TEST_P() 140 result = writableCredential->setRemotelyProvisionedAttestationKey(attestationKey, in TEST_P() 149 result = writableCredential->getAttestationCertificate( in TEST_P() [all …]
|
D | VtsAttestationTests.cpp | 65 sp<IWritableIdentityCredential> writableCredential; in TEST_P() local 66 ASSERT_TRUE(setupWritableCredential(writableCredential, credentialStore_, in TEST_P() 76 result = writableCredential->getAttestationCertificate( in TEST_P() 89 sp<IWritableIdentityCredential> writableCredential; in TEST_P() local 90 ASSERT_TRUE(setupWritableCredential(writableCredential, credentialStore_, in TEST_P() 99 result = writableCredential->getAttestationCertificate( in TEST_P()
|
D | Util.h | 38 AttestationData(sp<IWritableIdentityCredential>& writableCredential, string challenge, in AttestationData() 47 result = writableCredential->getAttestationCertificate( in AttestationData() 98 bool setupWritableCredential(sp<IWritableIdentityCredential>& writableCredential, 110 sp<IWritableIdentityCredential>& writableCredential, 113 bool addEntry(sp<IWritableIdentityCredential>& writableCredential, const TestEntryData& entry,
|
D | EndToEndTests.cpp | 189 sp<IWritableIdentityCredential> writableCredential; in TEST_P() local 190 ASSERT_TRUE(test_utils::setupWritableCredential(writableCredential, credentialStore_, in TEST_P() 194 test_utils::AttestationData attData(writableCredential, challenge, in TEST_P() 206 writableCredential->setExpectedProofOfProvisioningSize(expectedProofOfProvisioningSize); in TEST_P() 208 writableCredential->startPersonalization(testProfiles.size(), testEntriesEntryCounts) in TEST_P() 212 test_utils::addAccessControlProfiles(writableCredential, testProfiles); in TEST_P() 220 ASSERT_TRUE(test_utils::addEntry(writableCredential, entry, hwInfo.dataChunkSize, in TEST_P() 227 writableCredential->finishAddingEntries(&credentialData, &proofOfProvisioningSignature) in TEST_P() 289 writableCredential = nullptr; in TEST_P() 628 sp<IWritableIdentityCredential> writableCredential; in TEST_P() local [all …]
|
D | Util.cpp | 52 bool setupWritableCredential(sp<IWritableIdentityCredential>& writableCredential, in setupWritableCredential() argument 59 Status result = credentialStore->createCredential(docType, testCredential, &writableCredential); in setupWritableCredential() 61 if (result.isOk() && writableCredential != nullptr) { in setupWritableCredential() 175 sp<IWritableIdentityCredential>& writableCredential, in addAccessControlProfiles() argument 186 result = writableCredential->addAccessControlProfile( in addAccessControlProfiles() 216 bool addEntry(sp<IWritableIdentityCredential>& writableCredential, const TestEntryData& entry, in addEntry() argument 222 result = writableCredential->beginAddEntry(entry.profileIds, entry.nameSpace, entry.name, in addEntry() 238 result = writableCredential->addEntryValue(chunk, &encryptedContent); in addEntry()
|
D | PresentationSessionTests.cpp | 182 sp<IWritableIdentityCredential> writableCredential; in TEST_P() local 183 result = credential->updateCredential(&writableCredential); in TEST_P()
|