Home
last modified time | relevance | path

Searched refs:app_uuid (Results 1 – 25 of 42) 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,
Dgatt_client.cc80 const Uuid& app_uuid) { in RegisterClientCallback() argument
81 Uuid uuid(app_uuid); in RegisterClientCallback()
Dlow_energy_advertiser.h127 bool RegisterInstance(const Uuid& app_uuid,
135 const Uuid& app_uuid, uint8_t advertiser_id,
Dlow_energy_scanner.h140 bool RegisterInstance(const Uuid& app_uuid,
148 const Uuid& app_uuid, uint8_t scanner_id,
Dlow_energy_scanner.cc199 const RegisterCallback& callback, const Uuid& app_uuid, uint8_t scanner_id, in RegisterScannerCallback() argument
201 Uuid uuid(app_uuid); in RegisterScannerCallback()
224 callback(result, app_uuid, std::move(scanner)); in RegisterScannerCallback()
Dgatt_client.h74 const Uuid& app_uuid) override;
Dlow_energy_client.cc234 const bluetooth::Uuid& app_uuid) { in RegisterClientCallback() argument
235 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()
351 const bluetooth::Uuid& app_uuid) { in RegisterClientCallback() argument
353 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
34 return g_client_handler->RegisterClient(app_uuid, false); in FakeRegisterClient()
62 bt_status_t FakeRegisterServer(const bluetooth::Uuid& app_uuid, in FakeRegisterServer() argument
65 return g_server_handler->RegisterServer(app_uuid, false); in FakeRegisterServer()
191 int status, int client_if, const bluetooth::Uuid& app_uuid) { in NotifyRegisterClientCallback() argument
193 observer.RegisterClientCallback(this, status, client_if, app_uuid); in NotifyRegisterClientCallback()
213 int status, int server_if, const Uuid& app_uuid) { in NotifyRegisterServerCallback() argument
215 observer.RegisterServerCallback(this, status, server_if, app_uuid); in NotifyRegisterServerCallback()
Dfake_bluetooth_gatt_interface.h39 virtual bt_status_t RegisterClient(const bluetooth::Uuid& app_uuid,
56 virtual bt_status_t RegisterServer(const bluetooth::Uuid& app_uuid,
83 const bluetooth::Uuid& app_uuid);
89 const bluetooth::Uuid& app_uuid);
97 const bluetooth::Uuid& app_uuid);
Dbluetooth_gatt_interface.h70 const bluetooth::Uuid& app_uuid);
123 const bluetooth::Uuid& app_uuid);
Dbluetooth_gatt_interface.cc86 const bluetooth::Uuid& app_uuid) { in RegisterClientCallback() argument
92 RegisterClientCallback(g_interface, status, client_if, app_uuid)); in RegisterClientCallback()
229 const bluetooth::Uuid& app_uuid) { in RegisterServerCallback() argument
235 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.cc83 void BTA_GATTS_AppRegister(const bluetooth::Uuid& app_uuid, in BTA_GATTS_AppRegister() argument
93 p_buf->app_uuid = app_uuid; in BTA_GATTS_AppRegister()
Dbta_gatts_int.h65 bluetooth::Uuid app_uuid; member
131 bluetooth::Uuid app_uuid; member
Dbta_gatts_act.cc187 if (p_cb->rcb[i].app_uuid == p_msg->api_reg.app_uuid) { in bta_gatts_register()
204 cb_data.reg_oper.uuid = p_msg->api_reg.app_uuid; in bta_gatts_register()
210 p_cb->rcb[first_unuse].app_uuid = p_msg->api_reg.app_uuid; in bta_gatts_register()
212 GATT_Register(p_msg->api_reg.app_uuid, "GattServer", &bta_gatts_cback, in bta_gatts_register()
/system/bt/gd/hci/
Dle_scanning_manager.cc58 Uuid app_uuid; member
137 …void OnScannerRegistered(const bluetooth::hci::Uuid app_uuid, ScannerId scanner_id, ScanningStatus… in OnScannerRegistered() argument
240 scanners_[i].app_uuid = Uuid::kEmpty; in start()
509 void register_scanner(const Uuid app_uuid) { in register_scanner()
511 if (scanners_[i].in_use && scanners_[i].app_uuid == app_uuid) { in register_scanner()
512 LOG_ERROR("Application already registered %s", app_uuid.ToString().c_str()); in register_scanner()
513 …scanning_callbacks_->OnScannerRegistered(app_uuid, 0x00, ScanningCallback::ScanningStatus::INTERNA… in register_scanner()
521 scanners_[i].app_uuid = app_uuid; in register_scanner()
523 … scanning_callbacks_->OnScannerRegistered(app_uuid, i, ScanningCallback::ScanningStatus::SUCCESS); in register_scanner()
529 …scanning_callbacks_->OnScannerRegistered(app_uuid, 0x00, ScanningCallback::ScanningStatus::NO_RESO… in register_scanner()
[all …]
Dle_scanning_manager.h56 const bluetooth::hci::Uuid app_uuid, ScannerId scanner_id, ScanningStatus status) = 0;
123 void RegisterScanner(const Uuid app_uuid);
/system/bt/test/mock/
Dmock_bta_gatts_api.cc48 void BTA_GATTS_AppRegister(const bluetooth::Uuid& app_uuid, in BTA_GATTS_AppRegister() argument
/system/bt/include/hardware/
Dble_scanner.h79 virtual void OnScannerRegistered(const bluetooth::Uuid app_uuid,
116 virtual void RegisterScanner(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/main/shim/
Dle_scanning_manager.cc66 auto app_uuid = bluetooth::hci::Uuid::From128BitBE(uuid.To128BitBE()); in RegisterScanner() local
67 bluetooth::shim::GetScanning()->RegisterScanner(app_uuid); in RegisterScanner()
230 void OnScannerRegistered(const bluetooth::hci::Uuid app_uuid, in OnScannerRegistered() argument
233 auto uuid = bluetooth::Uuid::From128BitBE(app_uuid.To128BitBE()); in OnScannerRegistered()

12