/system/bt/service/ |
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,
|
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);
|
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, std::move(advertiser)) [all...] |
low_energy_advertiser.h | 127 bool RegisterInstance(const UUID& app_uuid, 135 const UUID& app_uuid, uint8_t advertiser_id,
|
gatt_client.h | 74 const bt_uuid_t& app_uuid) override;
|
low_energy_scanner.h | 140 bool RegisterInstance(const UUID& app_uuid, 148 const UUID& app_uuid, uint8_t scanner_id,
|
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));
|
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);
|
low_energy_client.h | 163 const bt_uuid_t& app_uuid) override;
|
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) { 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) { 350 client_if, app_uuid->uu[0]);
|
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);
|
/system/bt/service/ipc/binder/ |
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/ |
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);
|
fake_bluetooth_gatt_interface.cc | 31 bt_status_t FakeRegisterClient(bt_uuid_t* app_uuid) { 32 if (g_client_handler) return g_client_handler->RegisterClient(app_uuid); 59 bt_status_t FakeRegisterServer(bt_uuid_t* app_uuid) { 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));
|
bluetooth_gatt_interface.h | 70 const bt_uuid_t& app_uuid); 121 const bt_uuid_t& app_uuid);
|
bluetooth_gatt_interface.cc | 81 void RegisterClientCallback(int status, int client_if, bt_uuid_t* app_uuid) { 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) { 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/ |
bta_gatts_int.h | 62 tBT_UUID app_uuid; member in struct:__anon105479 127 tBT_UUID app_uuid; member in struct:__anon105487
|
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/ |
gatt_test.h | 62 int clientIf, const bt_uuid_t& app_uuid) override;
|
gatt_test.cc | 95 int clientIf, const bt_uuid_t& app_uuid) {
|
/system/bt/stack/gatt/ |
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);
|
/hardware/libhardware/include/hardware/ |
bt_gatt_server.h | 49 bt_uuid_t *app_uuid);
|
/system/bt/btif/src/ |
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);
|
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);
|
/system/bt/stack/srvc/ |
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);
|