/system/tpm/trunks/ |
H A D | trunks_client_test.h | 138 const TrunksFactory& factory_; member in class:trunks::TrunksClientTest
|
H A D | scoped_key_handle.h | 62 const TrunksFactory& factory_; member in class:trunks::ScopedKeyHandle
|
H A D | hmac_session_impl.h | 67 const TrunksFactory& factory_; member in class:trunks::HmacSessionImpl
|
H A D | session_manager_impl.h | 57 const TrunksFactory& factory_; member in class:trunks::SessionManagerImpl
|
H A D | tpm_state_impl.h | 78 const TrunksFactory& factory_; member in class:trunks::TpmStateImpl
|
H A D | tpm_utility_impl.h | 162 const TrunksFactory& factory_; member in class:trunks::TpmUtilityImpl
|
H A D | policy_session_impl.h | 69 const TrunksFactory& factory_; member in class:trunks::PolicySessionImpl
|
H A D | scoped_key_handle_test.cc | 42 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 D | hmac_session_test.cc | 43 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 D | session_manager_test.cc | 42 SessionManagerTest() : session_manager_(factory_) { 47 void SetUp() override { factory_.set_tpm(&mock_tpm_); } 73 TrunksFactoryForTest factory_; member in class:trunks::SessionManagerTest
|
H A D | policy_session_test.cc | 43 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 D | resource_manager.h | 212 const TrunksFactory& factory_; member in class:trunks::ResourceManager
|
H A D | tpm_state_test.cc | 42 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 D | resource_manager_test.cc | 71 ResourceManagerTest() : resource_manager_(factory_, &transceiver_) {} 74 void SetUp() override { factory_.set_tpm(&tpm_); } 228 TrunksFactoryForTest factory_; member in class:trunks::ResourceManagerTest
|
H A D | tpm_utility_test.cc | 47 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 D | tpm2_initializer_test.cc | 58 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 D | tpm2_status_test.cc | 39 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 D | tpm2_nvram_test.cc | 63 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 D | gatt_client_unittest.cc | 62 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 D | gatt_server_unittest.cc | 188 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));
|