/system/bt/service/ |
H A D | bluetooth_instance.h | 61 std::function<void(BLEStatus status, const UUID& app_uuid, 64 // Registers an instance for the given unique identifier |app_uuid|. 68 virtual bool RegisterInstance(const UUID& app_uuid,
|
H A D | gatt_client.cc | 69 bt_uuid_t app_uuid = uuid.GetBlueDroid(); local 71 if (hal_iface->register_client(&app_uuid) != BT_STATUS_SUCCESS) return false; 80 const bt_uuid_t& app_uuid) { 81 UUID uuid(app_uuid); 78 RegisterClientCallback( hal::BluetoothGattInterface* , int status, int client_id, const bt_uuid_t& app_uuid) argument
|
H A D | low_energy_advertiser.cc | 298 const UUID& app_uuid, const RegisterCallback& callback) { 302 if (pending_calls_.find(app_uuid) != pending_calls_.end()) { 304 << "UUID: " << app_uuid.ToString(); 314 base::Unretained(this), callback, app_uuid)); 317 pending_calls_.insert(app_uuid); 323 const RegisterCallback& callback, const UUID& app_uuid, 328 auto iter = pending_calls_.find(app_uuid); 330 VLOG(1) << "Ignoring callback for unknown app_id: " << app_uuid.ToString(); 338 advertiser.reset(new LowEnergyAdvertiser(app_uuid, advertiser_id)); 344 callback(result, app_uuid, st 297 RegisterInstance( const UUID& app_uuid, const RegisterCallback& callback) argument 322 RegisterAdvertiserCallback( const RegisterCallback& callback, const UUID& app_uuid, uint8_t advertiser_id, uint8_t status) argument [all...] |
H A D | gatt_client.h | 74 const bt_uuid_t& app_uuid) override;
|
H A D | low_energy_advertiser.h | 127 bool RegisterInstance(const UUID& app_uuid, 135 const UUID& app_uuid, uint8_t advertiser_id,
|
H A D | low_energy_scanner.h | 140 bool RegisterInstance(const UUID& app_uuid, 148 const UUID& app_uuid, uint8_t scanner_id,
|
H A D | low_energy_scanner.cc | 197 const RegisterCallback& callback, const UUID& app_uuid, uint8_t scanner_id, 199 UUID uuid(app_uuid); 222 callback(result, app_uuid, std::move(scanner)); 196 RegisterScannerCallback( const RegisterCallback& callback, const UUID& app_uuid, uint8_t scanner_id, uint8_t status) argument
|
H A D | low_energy_client.cc | 221 bt_uuid_t app_uuid = uuid.GetBlueDroid(); local 223 if (hal_iface->register_client(&app_uuid) != BT_STATUS_SUCCESS) return false; 232 const bt_uuid_t& app_uuid) { 233 UUID uuid(app_uuid); 230 RegisterClientCallback( hal::BluetoothGattInterface* gatt_iface, int status, int client_id, const bt_uuid_t& app_uuid) argument
|
H A D | low_energy_client.h | 163 const bt_uuid_t& app_uuid) override;
|
H A D | gatt_server_old.cc | 68 // provides an |app_uuid|, which can be used to store callback structures in 132 void RegisterServerCallback(int status, int server_if, bt_uuid_t* app_uuid) { argument 133 LOG_INFO(LOG_TAG, "%s: status:%d server_if:%d app_uuid:%p", __func__, status, 134 server_if, app_uuid); 138 {.type = BTGATT_DB_PRIMARY_SERVICE, .uuid = *app_uuid}); 348 void RegisterClientCallback(int status, int client_if, bt_uuid_t* app_uuid) { argument 350 client_if, app_uuid->uu[0]);
|
H A D | gatt_server.cc | 595 bt_uuid_t app_uuid = uuid.GetBlueDroid(); local 597 if (hal_iface->register_server(&app_uuid) != BT_STATUS_SUCCESS) return false; 606 const bt_uuid_t& app_uuid) { 607 UUID uuid(app_uuid); 604 RegisterServerCallback( hal::BluetoothGattInterface* gatt_iface, int status, int server_id, const bt_uuid_t& app_uuid) argument
|
/system/bt/service/ipc/binder/ |
H A D | interface_with_instances_base.cc | 37 bluetooth::UUID app_uuid = bluetooth::UUID::GetRandom(); local 38 if (!pending_callbacks_.Register(app_uuid, callback)) { 64 if (factory->RegisterInstance(app_uuid, cb)) return true; 67 pending_callbacks_.Remove(app_uuid);
|
/system/bt/service/hal/ |
H A D | fake_bluetooth_gatt_interface.h | 36 virtual bt_status_t RegisterClient(bt_uuid_t* app_uuid) = 0; 52 virtual bt_status_t RegisterServer(bt_uuid_t* app_uuid) = 0; 78 const bt_uuid_t& app_uuid); 84 const bt_uuid_t& app_uuid); 92 const bt_uuid_t& app_uuid);
|
H A D | fake_bluetooth_gatt_interface.cc | 31 bt_status_t FakeRegisterClient(bt_uuid_t* app_uuid) { argument 32 if (g_client_handler) return g_client_handler->RegisterClient(app_uuid); 59 bt_status_t FakeRegisterServer(bt_uuid_t* app_uuid) { argument 60 if (g_server_handler) return g_server_handler->RegisterServer(app_uuid); 185 int status, int client_if, const bt_uuid_t& app_uuid) { 187 RegisterClientCallback(this, status, client_if, app_uuid)); 204 int status, int server_if, const bt_uuid_t& app_uuid) { 206 RegisterServerCallback(this, status, server_if, app_uuid)); 184 NotifyRegisterClientCallback( int status, int client_if, const bt_uuid_t& app_uuid) argument 203 NotifyRegisterServerCallback( int status, int server_if, const bt_uuid_t& app_uuid) argument
|
H A D | bluetooth_gatt_interface.h | 70 const bt_uuid_t& app_uuid); 121 const bt_uuid_t& app_uuid);
|
H A D | bluetooth_gatt_interface.cc | 81 void RegisterClientCallback(int status, int client_if, bt_uuid_t* app_uuid) { argument 85 CHECK(app_uuid); 88 RegisterClientCallback(g_interface, status, client_if, *app_uuid)); 224 void RegisterServerCallback(int status, int server_if, bt_uuid_t* app_uuid) { argument 228 CHECK(app_uuid); 231 RegisterServerCallback(g_interface, status, server_if, *app_uuid)); 575 int /* client_if */, const bt_uuid_t& /* app_uuid */) { 647 int /* server_if */, const bt_uuid_t& /* app_uuid */) {
|
/system/bt/bta/gatt/ |
H A D | bta_gatts_int.h | 62 tBT_UUID app_uuid; member in struct:__anon161 127 tBT_UUID app_uuid; member in struct:__anon169
|
H A D | bta_gatts_act.cc | 186 if (bta_gatts_uuid_compare(p_cb->rcb[i].app_uuid, 187 p_msg->api_reg.app_uuid)) { 204 memcpy(&cb_data.reg_oper.uuid, &p_msg->api_reg.app_uuid, sizeof(tBT_UUID)); 211 memcpy(&p_cb->rcb[first_unuse].app_uuid, &p_msg->api_reg.app_uuid, 214 GATT_Register(&p_msg->api_reg.app_uuid, &bta_gatts_cback);
|
/system/bt/test/suite/gatt/ |
H A D | gatt_test.h | 62 int clientIf, const bt_uuid_t& app_uuid) override;
|
H A D | gatt_test.cc | 95 int clientIf, const bt_uuid_t& app_uuid) { 93 RegisterClientCallback( bluetooth::hal::BluetoothGattInterface* , int status, int clientIf, const bt_uuid_t& app_uuid) argument
|
/system/bt/stack/gatt/ |
H A D | gatt_attr.cc | 269 tBT_UUID app_uuid = {LEN_UUID_128, {0}}; local 273 memset(&app_uuid.uu.uuid128, 0x81, LEN_UUID_128); 276 gatt_cb.gatt_if = GATT_Register(&app_uuid, &gatt_profile_cback);
|
/system/bt/btif/src/ |
H A D | btif_gatt_test.cc | 210 tBT_UUID app_uuid = {LEN_UUID_128, {0xAE}}; local 211 test_cb.gatt_if = GATT_Register(&app_uuid, &btif_test_callbacks);
|
H A D | btif_gatt_server.cc | 131 bt_uuid_t app_uuid; local 132 bta_to_btif_uuid(&app_uuid, &p_data->reg_oper.uuid); 134 p_data->reg_oper.status, p_data->reg_oper.server_if, &app_uuid);
|
H A D | btif_gatt_client.cc | 236 bt_uuid_t app_uuid; 237 bta_to_btif_uuid(&app_uuid, &bt_uuid); 239 status, client_id, &app_uuid);
|
/system/bt/stack/srvc/ |
H A D | srvc_eng.cc | 406 tBT_UUID app_uuid = {LEN_UUID_16, {UUID_SERVCLASS_DEVICE_INFO}}; local 414 srvc_eng_cb.gatt_if = GATT_Register(&app_uuid, &srvc_gatt_cback);
|