Home
last modified time | relevance | path

Searched refs:RegisterInstance (Results 1 – 25 of 27) sorted by relevance

12

/system/bt/service/test/
Dgatt_client_unittest.cc80 TEST_F(GattClientTest, RegisterInstance) { in TEST_F() argument
105 EXPECT_FALSE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
109 EXPECT_TRUE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
114 EXPECT_FALSE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
123 EXPECT_TRUE(factory_->RegisterInstance(uuid1, callback)); in TEST_F()
Dlow_energy_client_unittest.cc154 ble_factory_->RegisterInstance(uuid, api_callback); in RegisterTestClient()
170 TEST_F(LowEnergyClientTest, RegisterInstance) { in TEST_F() argument
195 EXPECT_FALSE(ble_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
199 EXPECT_TRUE(ble_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
204 EXPECT_FALSE(ble_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
213 EXPECT_TRUE(ble_factory_->RegisterInstance(uuid1, callback)); in TEST_F()
Dlow_energy_scanner_unittest.cc182 ble_factory_->RegisterInstance(uuid, api_callback); in RegisterTestScanner()
197 TEST_F(LowEnergyScannerTest, RegisterInstance) { in TEST_F() argument
223 EXPECT_TRUE(ble_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
228 EXPECT_FALSE(ble_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
239 EXPECT_TRUE(ble_factory_->RegisterInstance(uuid1, callback)); in TEST_F()
Dlow_energy_advertiser_unittest.cc147 ble_advertiser_factory_->RegisterInstance(uuid, api_callback); in RegisterTestAdvertiser()
208 TEST_F(LowEnergyAdvertiserTest, RegisterInstance) { in TEST_F() argument
233 EXPECT_TRUE(ble_advertiser_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
238 EXPECT_FALSE(ble_advertiser_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
248 EXPECT_TRUE(ble_advertiser_factory_->RegisterInstance(uuid1, callback)); in TEST_F()
Da2dp_source_unittest.cc128 factory_->RegisterInstance(uuid, callback); in SetUp()
183 EXPECT_TRUE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
Da2dp_sink_unittest.cc131 factory_->RegisterInstance(uuid, callback); in SetUp()
186 EXPECT_TRUE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
Dgatt_server_unittest.cc231 factory_->RegisterInstance(uuid, callback); in SetUp()
326 EXPECT_FALSE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
330 EXPECT_TRUE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
335 EXPECT_FALSE(factory_->RegisterInstance(uuid0, callback)); in TEST_F()
344 EXPECT_TRUE(factory_->RegisterInstance(uuid1, callback)); in TEST_F()
/system/bt/service/
Dbluetooth_instance.h68 virtual bool RegisterInstance(const Uuid& app_uuid,
Dgatt_client.h67 bool RegisterInstance(const Uuid& uuid,
Dgatt_client.cc56 bool GattClientFactory::RegisterInstance(const Uuid& uuid, in RegisterInstance() function in bluetooth::GattClientFactory
Dlow_energy_advertiser.h127 bool RegisterInstance(const Uuid& app_uuid,
Da2dp_sink.h96 bool RegisterInstance(const Uuid& uuid,
Dlow_energy_scanner.h140 bool RegisterInstance(const Uuid& app_uuid,
Da2dp_source.h111 bool RegisterInstance(const Uuid& uuid,
Davrcp_control.h127 bool RegisterInstance(const Uuid& uuid,
Dlow_energy_client.h154 bool RegisterInstance(const Uuid& uuid,
Da2dp_sink.cc145 bool A2dpSinkFactory::RegisterInstance(const Uuid& uuid, in RegisterInstance() function in bluetooth::A2dpSinkFactory
Dlow_energy_scanner.cc173 bool LowEnergyScannerFactory::RegisterInstance( in RegisterInstance() function in bluetooth::LowEnergyScannerFactory
Davrcp_target.h172 bool RegisterInstance(const Uuid& uuid,
Dlow_energy_client.cc210 bool LowEnergyClientFactory::RegisterInstance( in RegisterInstance() function in bluetooth::LowEnergyClientFactory
Davrcp_control.cc221 bool AvrcpControlFactory::RegisterInstance(const Uuid& uuid, in RegisterInstance() function in bluetooth::AvrcpControlFactory
Dgatt_server.h280 bool RegisterInstance(const Uuid& uuid,
Da2dp_source.cc214 bool A2dpSourceFactory::RegisterInstance(const Uuid& uuid, in RegisterInstance() function in bluetooth::A2dpSourceFactory
Dlow_energy_advertiser.cc295 bool LowEnergyAdvertiserFactory::RegisterInstance( in RegisterInstance() function in bluetooth::LowEnergyAdvertiserFactory
/system/bt/service/ipc/binder/
Dinterface_with_instances_base.cc65 if (factory->RegisterInstance(app_uuid, cb)) return true; in RegisterInstanceBase()

12