Searched defs:factory_ (Results 1 - 20 of 20) sorted by relevance

/system/tpm/trunks/
H A Dtrunks_client_test.h138 const TrunksFactory& factory_; member in class:trunks::TrunksClientTest
H A Dscoped_key_handle.h62 const TrunksFactory& factory_; member in class:trunks::ScopedKeyHandle
H A Dhmac_session_impl.h67 const TrunksFactory& factory_; member in class:trunks::HmacSessionImpl
H A Dsession_manager_impl.h57 const TrunksFactory& factory_; member in class:trunks::SessionManagerImpl
H A Dtpm_state_impl.h78 const TrunksFactory& factory_; member in class:trunks::TpmStateImpl
H A Dtpm_utility_impl.h162 const TrunksFactory& factory_; member in class:trunks::TpmUtilityImpl
H A Dpolicy_session_impl.h69 const TrunksFactory& factory_; member in class:trunks::PolicySessionImpl
H A Dscoped_key_handle_test.cc42 void SetUp() override { factory_.set_tpm(&mock_tpm_); }
45 TrunksFactoryForTest factory_; member in class:trunks::ScopedKeyHandleTest
51 ScopedKeyHandle scoped_handle(factory_, handle);
58 ScopedKeyHandle scoped_handle(factory_, handle);
64 ScopedKeyHandle scoped_handle(factory_, handle);
72 ScopedKeyHandle scoped_handle(factory_, old_handle);
84 ScopedKeyHandle scoped_handle(factory_, handle);
H A Dhmac_session_test.cc43 factory_.set_tpm(&mock_tpm_);
44 factory_.set_session_manager(&mock_session_manager_);
52 TrunksFactoryForTest factory_; member in class:trunks::HmacSessionTest
58 HmacSessionImpl session(factory_);
65 HmacSessionImpl session(factory_);
70 HmacSessionImpl session(factory_);
79 HmacSessionImpl session(factory_);
88 HmacSessionImpl session(factory_);
97 HmacSessionImpl session(factory_);
H A Dsession_manager_test.cc42 SessionManagerTest() : session_manager_(factory_) {
47 void SetUp() override { factory_.set_tpm(&mock_tpm_); }
73 TrunksFactoryForTest factory_; member in class:trunks::SessionManagerTest
H A Dpolicy_session_test.cc43 factory_.set_session_manager(&mock_session_manager_);
44 factory_.set_tpm(&mock_tpm_);
52 TrunksFactoryForTest factory_; member in class:trunks::PolicySessionTest
58 PolicySessionImpl session(factory_);
65 PolicySessionImpl session(factory_);
70 PolicySessionImpl session(factory_);
76 PolicySessionImpl session(factory_);
85 PolicySessionImpl session(factory_, TPM_SE_HMAC);
91 PolicySessionImpl session(factory_);
96 PolicySessionImpl session(factory_);
[all...]
H A Dresource_manager.h212 const TrunksFactory& factory_; member in class:trunks::ResourceManager
H A Dtpm_state_test.cc42 factory_.set_tpm(&mock_tpm_);
114 TrunksFactoryForTest factory_; member in class:trunks::TpmStateTest
153 TpmStateImpl tpm_state(factory_);
170 TpmStateImpl tpm_state(factory_);
184 TpmStateImpl tpm_state(factory_);
206 TpmStateImpl tpm_state(factory_);
228 TpmStateImpl tpm_state(factory_);
235 TpmStateImpl tpm_state2(factory_);
242 TpmStateImpl tpm_state(factory_);
271 TpmStateImpl tpm_state(factory_);
[all...]
H A Dresource_manager_test.cc71 ResourceManagerTest() : resource_manager_(factory_, &transceiver_) {}
74 void SetUp() override { factory_.set_tpm(&tpm_); }
228 TrunksFactoryForTest factory_; member in class:trunks::ResourceManagerTest
H A Dtpm_utility_test.cc47 TpmUtilityTest() : utility_(factory_) {}
50 factory_.set_blob_parser(&mock_blob_parser_);
51 factory_.set_tpm_state(&mock_tpm_state_);
52 factory_.set_tpm(&mock_tpm_);
53 factory_.set_hmac_session(&mock_hmac_session_);
54 factory_.set_trial_session(&mock_trial_session_);
137 TrunksFactoryForTest factory_; member in class:trunks::TpmUtilityTest
/system/tpm/tpm_manager/server/
H A Dtpm2_initializer_test.cc58 factory_.set_tpm_utility(&mock_tpm_utility_);
60 factory_, &mock_openssl_util_, &mock_data_store_, &mock_tpm_status_));
69 trunks::TrunksFactoryForTest factory_; member in class:tpm_manager::Tpm2InitializerTest
H A Dtpm2_status_test.cc39 factory_.set_tpm_state(&mock_tpm_state_);
40 tpm_status_.reset(new Tpm2StatusImpl(factory_));
45 trunks::TrunksFactoryForTest factory_; member in class:tpm_manager::Tpm2StatusTest
H A Dtpm2_nvram_test.cc63 factory_.set_hmac_session(&mock_hmac_session_);
64 factory_.set_policy_session(&mock_policy_session_);
65 factory_.set_trial_session(&mock_trial_session_);
66 factory_.set_tpm_utility(&mock_tpm_utility_);
67 tpm_nvram_.reset(new Tpm2NvramImpl(factory_, &mock_data_store_));
150 trunks::TrunksFactoryForTest factory_; member in class:tpm_manager::Tpm2NvramTest
/system/bt/service/test/
H A Dgatt_client_unittest.cc62 factory_.reset(new GattClientFactory());
66 factory_.reset();
73 std::unique_ptr<GattClientFactory> factory_; member in class:bluetooth::__anon788::GattClientTest
104 EXPECT_FALSE(factory_->RegisterInstance(uuid0, callback));
108 EXPECT_TRUE(factory_->RegisterInstance(uuid0, callback));
113 EXPECT_FALSE(factory_->RegisterInstance(uuid0, callback));
122 EXPECT_TRUE(factory_->RegisterInstance(uuid1, callback));
H A Dgatt_server_unittest.cc188 factory_.reset(new GattServerFactory());
192 factory_.reset();
199 std::unique_ptr<GattServerFactory> factory_; member in class:bluetooth::__anon789::GattServerTest
229 factory_->RegisterInstance(uuid, callback);
325 EXPECT_FALSE(factory_->RegisterInstance(uuid0, callback));
329 EXPECT_TRUE(factory_->RegisterInstance(uuid0, callback));
334 EXPECT_FALSE(factory_->RegisterInstance(uuid0, callback));
343 EXPECT_TRUE(factory_->RegisterInstance(uuid1, callback));

Completed in 152 milliseconds