/system/bt/service/ |
D | low_energy_advertiser.cc | 296 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()
|
D | bluetooth_instance.h | 61 std::function<void(BLEStatus status, const Uuid& app_uuid, 68 virtual bool RegisterInstance(const Uuid& app_uuid,
|
D | gatt_client.cc | 80 const Uuid& app_uuid) { in RegisterClientCallback() argument 81 Uuid uuid(app_uuid); in RegisterClientCallback()
|
D | low_energy_advertiser.h | 127 bool RegisterInstance(const Uuid& app_uuid, 135 const Uuid& app_uuid, uint8_t advertiser_id,
|
D | low_energy_scanner.h | 140 bool RegisterInstance(const Uuid& app_uuid, 148 const Uuid& app_uuid, uint8_t scanner_id,
|
D | low_energy_scanner.cc | 199 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()
|
D | gatt_client.h | 74 const Uuid& app_uuid) override;
|
D | low_energy_client.cc | 234 const bluetooth::Uuid& app_uuid) { in RegisterClientCallback() argument 235 Uuid uuid(app_uuid); in RegisterClientCallback()
|
D | gatt_server_old.cc | 133 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()
|
D | low_energy_client.h | 163 const bluetooth::Uuid& app_uuid) override;
|
/system/bt/service/hal/ |
D | fake_bluetooth_gatt_interface.cc | 31 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()
|
D | fake_bluetooth_gatt_interface.h | 39 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);
|
D | bluetooth_gatt_interface.h | 70 const bluetooth::Uuid& app_uuid); 123 const bluetooth::Uuid& app_uuid);
|
D | bluetooth_gatt_interface.cc | 86 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/ |
D | interface_with_instances_base.cc | 37 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/ |
D | bta_gatts_api.cc | 83 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()
|
D | bta_gatts_int.h | 65 bluetooth::Uuid app_uuid; member 131 bluetooth::Uuid app_uuid; member
|
D | bta_gatts_act.cc | 187 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/ |
D | le_scanning_manager.cc | 58 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 …]
|
D | le_scanning_manager.h | 56 const bluetooth::hci::Uuid app_uuid, ScannerId scanner_id, ScanningStatus status) = 0; 123 void RegisterScanner(const Uuid app_uuid);
|
/system/bt/test/mock/ |
D | mock_bta_gatts_api.cc | 48 void BTA_GATTS_AppRegister(const bluetooth::Uuid& app_uuid, in BTA_GATTS_AppRegister() argument
|
/system/bt/include/hardware/ |
D | ble_scanner.h | 79 virtual void OnScannerRegistered(const bluetooth::Uuid app_uuid, 116 virtual void RegisterScanner(const bluetooth::Uuid& app_uuid,
|
/system/bt/test/suite/gatt/ |
D | gatt_test.h | 62 int clientIf, const bluetooth::Uuid& app_uuid) override;
|
D | gatt_test.cc | 94 int clientIf, const bluetooth::Uuid& app_uuid) { in RegisterClientCallback() argument
|
/system/bt/main/shim/ |
D | le_scanning_manager.cc | 66 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()
|