Home
last modified time | relevance | path

Searched refs:app_uuid (Results 1 – 25 of 31) sorted by relevance

12

/system/bt/service/
Dlow_energy_advertiser.cc296 const Uuid& app_uuid, const RegisterCallback& callback) { in RegisterInstance() argument
300 if (pending_calls_.find(app_uuid) != pending_calls_.end()) { in RegisterInstance()
302 << "Uuid: " << app_uuid.ToString(); in RegisterInstance()
312 base::Unretained(this), callback, app_uuid)); in RegisterInstance()
315 pending_calls_.insert(app_uuid); in RegisterInstance()
321 const RegisterCallback& callback, const Uuid& app_uuid, in RegisterAdvertiserCallback() argument
326 auto iter = pending_calls_.find(app_uuid); in RegisterAdvertiserCallback()
328 VLOG(1) << "Ignoring callback for unknown app_id: " << app_uuid.ToString(); in RegisterAdvertiserCallback()
336 advertiser.reset(new LowEnergyAdvertiser(app_uuid, advertiser_id)); in RegisterAdvertiserCallback()
342 callback(result, app_uuid, std::move(advertiser)); in RegisterAdvertiserCallback()
Dbluetooth_instance.h61 std::function<void(BLEStatus status, const Uuid& app_uuid,
68 virtual bool RegisterInstance(const Uuid& app_uuid,
Dlow_energy_advertiser.h127 bool RegisterInstance(const Uuid& app_uuid,
135 const Uuid& app_uuid, uint8_t advertiser_id,
Dgatt_client.cc79 const Uuid& app_uuid) { in RegisterClientCallback() argument
80 Uuid uuid(app_uuid); in RegisterClientCallback()
Dlow_energy_scanner.h140 bool RegisterInstance(const Uuid& app_uuid,
148 const Uuid& app_uuid, uint8_t scanner_id,
Dlow_energy_scanner.cc197 const RegisterCallback& callback, const Uuid& app_uuid, uint8_t scanner_id, in RegisterScannerCallback() argument
199 Uuid uuid(app_uuid); in RegisterScannerCallback()
222 callback(result, app_uuid, std::move(scanner)); in RegisterScannerCallback()
Dgatt_client.h74 const Uuid& app_uuid) override;
Dlow_energy_client.cc230 const bluetooth::Uuid& app_uuid) { in RegisterClientCallback() argument
231 Uuid uuid(app_uuid); in RegisterClientCallback()
Dgatt_server_old.cc133 const bluetooth::Uuid& app_uuid) { in RegisterServerCallback() argument
135 server_if, &app_uuid); in RegisterServerCallback()
140 .uuid = app_uuid, in RegisterServerCallback()
350 const bluetooth::Uuid& app_uuid) { in RegisterClientCallback() argument
352 app_uuid.ToString().c_str()); in RegisterClientCallback()
Dlow_energy_client.h163 const bluetooth::Uuid& app_uuid) override;
/system/bt/service/hal/
Dfake_bluetooth_gatt_interface.cc31 bt_status_t FakeRegisterClient(const bluetooth::Uuid& app_uuid) { in FakeRegisterClient() argument
32 if (g_client_handler) return g_client_handler->RegisterClient(app_uuid); in FakeRegisterClient()
60 bt_status_t FakeRegisterServer(const bluetooth::Uuid& app_uuid) { in FakeRegisterServer() argument
61 if (g_server_handler) return g_server_handler->RegisterServer(app_uuid); in FakeRegisterServer()
187 int status, int client_if, const bluetooth::Uuid& app_uuid) { in NotifyRegisterClientCallback() argument
189 observer.RegisterClientCallback(this, status, client_if, app_uuid); in NotifyRegisterClientCallback()
209 int status, int server_if, const Uuid& app_uuid) { in NotifyRegisterServerCallback() argument
211 observer.RegisterServerCallback(this, status, server_if, app_uuid); in NotifyRegisterServerCallback()
Dfake_bluetooth_gatt_interface.h38 virtual bt_status_t RegisterClient(const bluetooth::Uuid& app_uuid) = 0;
54 virtual bt_status_t RegisterServer(const bluetooth::Uuid& app_uuid) = 0;
80 const bluetooth::Uuid& app_uuid);
86 const bluetooth::Uuid& app_uuid);
94 const bluetooth::Uuid& app_uuid);
Dbluetooth_gatt_interface.h70 const bluetooth::Uuid& app_uuid);
123 const bluetooth::Uuid& app_uuid);
Dbluetooth_gatt_interface.cc85 const bluetooth::Uuid& app_uuid) { in RegisterClientCallback() argument
91 RegisterClientCallback(g_interface, status, client_if, app_uuid)); in RegisterClientCallback()
228 const bluetooth::Uuid& app_uuid) { in RegisterServerCallback() argument
234 RegisterServerCallback(g_interface, status, server_if, app_uuid)); in RegisterServerCallback()
/system/bt/service/ipc/binder/
Dinterface_with_instances_base.cc37 bluetooth::Uuid app_uuid = bluetooth::Uuid::GetRandom(); in RegisterInstanceBase() local
38 if (!pending_callbacks_.Register(app_uuid, callback)) { in RegisterInstanceBase()
65 if (factory->RegisterInstance(app_uuid, cb)) return true; in RegisterInstanceBase()
68 pending_callbacks_.Remove(app_uuid); in RegisterInstanceBase()
/system/bt/bta/gatt/
Dbta_gatts_api.cc79 void BTA_GATTS_AppRegister(const bluetooth::Uuid& app_uuid, in BTA_GATTS_AppRegister() argument
89 p_buf->app_uuid = app_uuid; in BTA_GATTS_AppRegister()
Dbta_gatts_int.h63 bluetooth::Uuid app_uuid; member
128 bluetooth::Uuid app_uuid; member
Dbta_gatts_act.cc189 if (p_cb->rcb[i].app_uuid == p_msg->api_reg.app_uuid) { in bta_gatts_register()
206 cb_data.reg_oper.uuid = p_msg->api_reg.app_uuid; in bta_gatts_register()
212 p_cb->rcb[first_unuse].app_uuid = p_msg->api_reg.app_uuid; in bta_gatts_register()
214 GATT_Register(p_msg->api_reg.app_uuid, &bta_gatts_cback); in bta_gatts_register()
Dbta_gattc_int.h238 bluetooth::Uuid app_uuid; member
319 extern void bta_gattc_register(const bluetooth::Uuid& app_uuid,
/system/bt/test/suite/gatt/
Dgatt_test.h62 int clientIf, const bluetooth::Uuid& app_uuid) override;
Dgatt_test.cc94 int clientIf, const bluetooth::Uuid& app_uuid) { in RegisterClientCallback() argument
/system/bt/include/hardware/
Dbt_gatt_server.h46 const bluetooth::Uuid& app_uuid);
Dbt_gatt_client.h100 const bluetooth::Uuid& app_uuid);
/system/bt/stack/srvc/
Dsrvc_eng.cc403 bluetooth::Uuid app_uuid = in srvc_eng_init() local
405 srvc_eng_cb.gatt_if = GATT_Register(app_uuid, &srvc_gatt_cback); in srvc_eng_init()
/system/bt/stack/gap/
Dgap_ble.cc401 Uuid app_uuid = Uuid::From128BitBE(tmp); in gap_attr_db_init() local
404 gatt_if = GATT_Register(app_uuid, &gap_cback); in gap_attr_db_init()

12