Home
last modified time | relevance | path

Searched refs:tpm_ (Results 1 – 5 of 5) sorted by relevance

/system/tpm/trunks/
Dresource_manager_test.cc74 void SetUp() override { factory_.set_tpm(&tpm_); } in SetUp()
175 EXPECT_CALL(tpm_, ContextSaveSync(_, _, _, _)) in EvictObjects()
177 EXPECT_CALL(tpm_, FlushContextSync(_, _)) in EvictObjects()
206 EXPECT_CALL(tpm_, ContextSaveSync(_, _, _, _)) in EvictSession()
227 StrictMock<MockTpm> tpm_; member in trunks::ResourceManagerTest
345 EXPECT_CALL(tpm_, ContextLoadSync(_, _, _)).WillOnce(Return(TPM_RC_SUCCESS)); in TEST_F()
475 EXPECT_CALL(tpm_, ContextLoadSync(_, _, _)).WillOnce(Return(TPM_RC_SUCCESS)); in TEST_F()
514 EXPECT_CALL(tpm_, ContextSaveSync(tpm_handle2, _, _, _)) in TEST_F()
516 EXPECT_CALL(tpm_, FlushContextSync(tpm_handle2, _)) in TEST_F()
541 EXPECT_CALL(tpm_, ContextSaveSync(kArbitrarySessionHandle + 1, _, _, _)) in TEST_F()
[all …]
Dtrunks_factory_impl.cc57 tpm_.reset(new Tpm(transceiver_)); in Initialize()
71 return tpm_.get(); in GetTpm()
Dtrunks_factory_for_test.h76 void set_tpm(Tpm* tpm) { tpm_ = tpm; } in set_tpm()
106 Tpm* tpm_; variable
Dtrunks_factory_impl.h68 std::unique_ptr<Tpm> tpm_; variable
Dtrunks_factory_for_test.cc537 tpm_(default_tpm_.get()), in TrunksFactoryForTest()
558 return tpm_; in GetTpm()