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.cc79 TEST_F(GattClientTest, RegisterInstance) { in TEST_F() argument
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()
Dlow_energy_client_unittest.cc152 ble_factory_->RegisterInstance(uuid, api_callback); in RegisterTestClient()
168 TEST_F(LowEnergyClientTest, RegisterInstance) { in TEST_F() argument
193 EXPECT_FALSE(ble_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
197 EXPECT_TRUE(ble_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
202 EXPECT_FALSE(ble_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
211 EXPECT_TRUE(ble_factory_->RegisterInstance(uuid1, callback)); in TEST_F()
Dlow_energy_scanner_unittest.cc178 ble_factory_->RegisterInstance(uuid, api_callback); in RegisterTestScanner()
193 TEST_F(LowEnergyScannerTest, RegisterInstance) { in TEST_F() argument
218 EXPECT_TRUE(ble_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
223 EXPECT_FALSE(ble_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
233 EXPECT_TRUE(ble_factory_->RegisterInstance(uuid1, callback)); in TEST_F()
Dlow_energy_advertiser_unittest.cc145 ble_advertiser_factory_->RegisterInstance(uuid, api_callback); in RegisterTestAdvertiser()
206 TEST_F(LowEnergyAdvertiserTest, RegisterInstance) { in TEST_F() argument
231 EXPECT_TRUE(ble_advertiser_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
236 EXPECT_FALSE(ble_advertiser_factory_->RegisterInstance(uuid0, callback)); in TEST_F()
246 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.cc230 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/service/
Dbluetooth_instance.h68 virtual bool RegisterInstance(const Uuid& app_uuid,
Dgatt_client.h67 bool RegisterInstance(const Uuid& uuid,
Da2dp_sink.h96 bool RegisterInstance(const Uuid& uuid,
Dlow_energy_advertiser.h127 bool RegisterInstance(const Uuid& app_uuid,
Dgatt_client.cc56 bool GattClientFactory::RegisterInstance(const Uuid& uuid, in RegisterInstance() function in bluetooth::GattClientFactory
Dlow_energy_scanner.h140 bool RegisterInstance(const Uuid& app_uuid,
Davrcp_control.h127 bool RegisterInstance(const Uuid& uuid,
Da2dp_source.h111 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,
Davrcp_control.cc221 bool AvrcpControlFactory::RegisterInstance(const Uuid& uuid, in RegisterInstance() function in bluetooth::AvrcpControlFactory
Da2dp_source.cc214 bool A2dpSourceFactory::RegisterInstance(const Uuid& uuid, in RegisterInstance() function in bluetooth::A2dpSourceFactory
Dgatt_server.h280 bool RegisterInstance(const Uuid& uuid,
Dlow_energy_client.cc207 bool LowEnergyClientFactory::RegisterInstance( in RegisterInstance() function in bluetooth::LowEnergyClientFactory
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