Home
last modified time | relevance | path

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

/system/bt/service/test/
Dgatt_client_unittest.cc62 factory_.reset(new GattClientFactory()); in SetUp()
66 factory_.reset(); in TearDown()
73 std::unique_ptr<GattClientFactory> factory_; member in bluetooth::__anon096d84310111::GattClientTest
104 EXPECT_FALSE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
108 EXPECT_TRUE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
113 EXPECT_FALSE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
122 EXPECT_TRUE(factory_->RegisterInstance(uuid1, callback)); in TEST_F()
Da2dp_sink_unittest.cc96 factory_.reset(new A2dpSinkFactory()); in SetUp()
100 factory_.reset(); in TearDown()
107 std::unique_ptr<A2dpSinkFactory> factory_; member in bluetooth::__anonaa9dfa1e0111::A2dpSinkTest
131 factory_->RegisterInstance(uuid, callback); in SetUp()
186 EXPECT_TRUE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
Dgatt_server_unittest.cc189 factory_.reset(new GattServerFactory()); in SetUp()
193 factory_.reset(); in TearDown()
200 std::unique_ptr<GattServerFactory> factory_; member in bluetooth::__anon7876fd490111::GattServerTest
230 factory_->RegisterInstance(uuid, callback); in SetUp()
325 EXPECT_FALSE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
329 EXPECT_TRUE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
334 EXPECT_FALSE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
343 EXPECT_TRUE(factory_->RegisterInstance(uuid1, callback)); in TEST_F()
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dphy_layer_factory.cc89 : PhyLayer(phy_type, id, device_receive), factory_(factory) {} in PhyLayerImpl()
92 factory_->UnregisterPhyLayer(GetId()); in ~PhyLayerImpl()
97 factory_->Send(packet, GetId()); in Send()
Dphy_layer_factory.h67 std::shared_ptr<PhyLayerFactory> factory_;