Searched refs:ReadPCR (Results 1 - 7 of 7) sorted by relevance

/system/tpm/trunks/
H A Dmock_tpm_utility.h47 MOCK_METHOD2(ReadPCR, TPM_RC(int, std::string*));
H A Dtpm_utility.h103 virtual TPM_RC ReadPCR(int pcr_index, std::string* pcr_value) = 0;
H A Dtpm_utility_impl.h59 TPM_RC ReadPCR(int pcr_index, std::string* pcr_value) override;
H A Dtrunks_factory_for_test.cc170 TPM_RC ReadPCR(int pcr_index, std::string* pcr_value) override {
171 return target_->ReadPCR(pcr_index, pcr_value);
H A Dtrunks_client_test.cc374 TPM_RC result = utility->ReadPCR(pcr_index, &old_data);
385 result = utility->ReadPCR(pcr_index, &pcr_data);
527 result = utility->ReadPCR(pcr_index, &pcr_value);
H A Dtpm_utility_impl.cc372 TPM_RC TpmUtilityImpl::ReadPCR(int pcr_index, std::string* pcr_value) { function in class:trunks::TpmUtilityImpl
1156 result = ReadPCR(pcr_index, &mutable_pcr_value);
H A Dtpm_utility_test.cc471 EXPECT_EQ(TPM_RC_SUCCESS, utility_.ReadPCR(pcr_index, &pcr_value));
478 EXPECT_EQ(TPM_RC_FAILURE, utility_.ReadPCR(1, &pcr_value));
483 EXPECT_EQ(TPM_RC_FAILURE, utility_.ReadPCR(1, &pcr_value));

Completed in 48 milliseconds