Lines Matching refs:wc

99     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()
132 ASSERT_TRUE(wc->beginAddEntry({1}, "ns", "UserAuth Timeout", 1).isOk()); in provisionData()
133 ASSERT_TRUE(wc->addEntryValue({9}, &encContentUserAuthTimeout_).isOk()); in provisionData()
136 ASSERT_TRUE(wc->beginAddEntry({2}, "ns", "Accessible by All", 1).isOk()); in provisionData()
137 ASSERT_TRUE(wc->addEntryValue({9}, &encContentAccessibleByAll_).isOk()); in provisionData()
140 ASSERT_TRUE(wc->beginAddEntry({}, "ns", "Accessible by None", 1).isOk()); in provisionData()
141 ASSERT_TRUE(wc->addEntryValue({9}, &encContentAccessibleByNone_).isOk()); in provisionData()
144 Status status = wc->finishAddingEntries(&credentialData_, &proofOfProvisioningSignature); in provisionData()