Home
last modified time | relevance | path

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

/hardware/interfaces/identity/aidl/vts/
DUserAuthTests.cpp99 sp<IWritableIdentityCredential> wc; in provisionData() local
100 ASSERT_TRUE(credentialStore_->createCredential(docType, testCredential, &wc).isOk()); in provisionData()
105 ASSERT_TRUE(wc->getAttestationCertificate(attestationApplicationId, attestationChallenge, in provisionData()
111 wc->setExpectedProofOfProvisioningSize(proofOfProvisioningSize); in provisionData()
113 ASSERT_TRUE(wc->startPersonalization(3 /* numAccessControlProfiles */, in provisionData()
118 ASSERT_TRUE(wc->addAccessControlProfile(0, {}, true, 0, 65 /* secureUserId */, &sacp0_).isOk()); in provisionData()
122 wc->addAccessControlProfile(1, {}, true, 60000, 65 /* secureUserId */, &sacp1_).isOk()); in provisionData()
125 ASSERT_TRUE(wc->addAccessControlProfile(2, {}, false, 0, 0, &sacp2_).isOk()); in provisionData()
128 ASSERT_TRUE(wc->beginAddEntry({0}, "ns", "UserAuth Per Session", 1).isOk()); in provisionData()
129 ASSERT_TRUE(wc->addEntryValue({9}, &encContentUserAuthPerSession_).isOk()); in provisionData()
[all …]
DReaderAuthTests.cpp156 sp<IWritableIdentityCredential> wc; in provisionData() local
157 ASSERT_TRUE(credentialStore_->createCredential(docType, testCredential, &wc).isOk()); in provisionData()
162 ASSERT_TRUE(wc->getAttestationCertificate(attestationApplicationId, attestationChallenge, in provisionData()
168 ASSERT_TRUE(wc->setExpectedProofOfProvisioningSize(proofOfProvisioningSize).isOk()); in provisionData()
171 wc->startPersonalization(4 /* numAccessControlProfiles */, in provisionData()
183 ASSERT_TRUE(wc->addAccessControlProfile(0, cert_A, false, 0, 0, &sacp0_).isOk()); in provisionData()
186 ASSERT_TRUE(wc->addAccessControlProfile(1, cert_B, false, 0, 0, &sacp1_).isOk()); in provisionData()
189 ASSERT_TRUE(wc->addAccessControlProfile(2, cert_C, false, 0, 0, &sacp2_).isOk()); in provisionData()
192 ASSERT_TRUE(wc->addAccessControlProfile(3, {}, false, 0, 0, &sacp3_).isOk()); in provisionData()
195 ASSERT_TRUE(wc->beginAddEntry({0}, "ns", "Accessible by A", 1).isOk()); in provisionData()
[all …]
/hardware/interfaces/identity/aidl/default/
DIdentityCredentialStore.cpp42 shared_ptr<WritableIdentityCredential> wc = in createCredential() local
44 if (!wc->initialize()) { in createCredential()
49 *outWritableCredential = wc; in createCredential()