Lines Matching refs:wc
77 sp<IWritableIdentityCredential> wc; in provisionData() local
78 ASSERT_TRUE(credentialStore_->createCredential(docType, testCredential, &wc).isOk()); in provisionData()
83 ASSERT_TRUE(wc->getAttestationCertificate(attestationApplicationId, attestationChallenge, in provisionData()
94 wc->setExpectedProofOfProvisioningSize(proofOfProvisioningSize); in provisionData()
96 ASSERT_TRUE(wc->startPersonalization(1 /* numAccessControlProfiles */, in provisionData()
102 ASSERT_TRUE(wc->addAccessControlProfile(1, {}, false, 0, 0, &sacp).isOk()); in provisionData()
107 ASSERT_TRUE(wc->beginAddEntry({1}, "ns", "Last name", tstrLastName.size()).isOk()); in provisionData()
108 ASSERT_TRUE(wc->addEntryValue(tstrLastName, &encryptedData).isOk()); in provisionData()
111 Status status = wc->finishAddingEntries(&credentialData_, &proofOfProvisioningSignature); in provisionData()
159 sp<IWritableIdentityCredential> wc; in TEST_P() local
160 ASSERT_TRUE(credential->updateCredential(&wc).isOk()); in TEST_P()
166 Status result = wc->getAttestationCertificate(attestationApplicationId, attestationChallenge, in TEST_P()
176 wc->setExpectedProofOfProvisioningSize(proofOfProvisioningSize); in TEST_P()
178 ASSERT_TRUE(wc->startPersonalization(1 /* numAccessControlProfiles */, in TEST_P()
184 ASSERT_TRUE(wc->addAccessControlProfile(2, {}, false, 0, 0, &sacp).isOk()); in TEST_P()
189 ASSERT_TRUE(wc->beginAddEntry({2}, "ns", "Last name", tstrLastName.size()).isOk()); in TEST_P()
190 ASSERT_TRUE(wc->addEntryValue(tstrLastName, &encryptedData).isOk()); in TEST_P()
193 Status status = wc->finishAddingEntries(&credentialData_, &proofOfProvisioningSignature); in TEST_P()