Home
last modified time | relevance | path

Searched refs:MockTpm (Results 1 – 11 of 11) sorted by relevance

/system/tpm/trunks/
Dmock_tpm.cc28 MockTpm::MockTpm() : Tpm(nullptr) { in MockTpm() function in trunks::MockTpm
33 MockTpm::~MockTpm() {} in ~MockTpm()
35 void MockTpm::StartAuthSession(const TPMI_DH_OBJECT& tpm_key, in StartAuthSession()
51 TPM_RC MockTpm::StartAuthSessionSync( in StartAuthSessionSync()
68 TPM_RC MockTpm::CreateSync(const TPMI_DH_OBJECT& parent_handle, in CreateSync()
84 TPM_RC MockTpm::CertifyCreationSync( in CertifyCreationSync()
100 TPM_RC MockTpm::GetSessionAuditDigestSync( in GetSessionAuditDigestSync()
116 TPM_RC MockTpm::CommitSync(const TPMI_DH_OBJECT& sign_handle, in CommitSync()
131 void MockTpm::PolicySigned(const TPMI_DH_OBJECT& auth_object, in PolicySigned()
146 TPM_RC MockTpm::PolicySignedSync( in PolicySignedSync()
[all …]
Dtrunks_factory_for_test.h37 class MockTpm; variable
105 std::unique_ptr<MockTpm> default_tpm_;
Dscoped_key_handle_test.cc46 NiceMock<MockTpm> mock_tpm_;
Dhmac_session_test.cc53 NiceMock<MockTpm> mock_tpm_;
Dsession_manager_test.cc74 NiceMock<MockTpm> mock_tpm_;
Dpolicy_session_test.cc54 NiceMock<MockTpm> mock_tpm_;
Dtpm_state_test.cc115 NiceMock<MockTpm> mock_tpm_;
Dmock_tpm.h29 class MockTpm : public Tpm {
31 MockTpm();
32 ~MockTpm() override;
Dtrunks_factory_for_test.cc536 : default_tpm_(new NiceMock<MockTpm>()), in TrunksFactoryForTest()
Dresource_manager_test.cc227 StrictMock<MockTpm> tpm_;
Dtpm_utility_test.cc140 NiceMock<MockTpm> mock_tpm_;