Home
last modified time | relevance | path

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

12

/system/bt/service/
Dlow_energy_advertiser.cc297 const UUID& app_uuid, const RegisterCallback& callback) { in RegisterInstance() argument
301 if (pending_calls_.find(app_uuid) != pending_calls_.end()) { in RegisterInstance()
303 << "UUID: " << app_uuid.ToString(); in RegisterInstance()
313 base::Unretained(this), callback, app_uuid)); in RegisterInstance()
316 pending_calls_.insert(app_uuid); in RegisterInstance()
322 const RegisterCallback& callback, const UUID& app_uuid, in RegisterAdvertiserCallback() argument
327 auto iter = pending_calls_.find(app_uuid); in RegisterAdvertiserCallback()
329 VLOG(1) << "Ignoring callback for unknown app_id: " << app_uuid.ToString(); in RegisterAdvertiserCallback()
337 advertiser.reset(new LowEnergyAdvertiser(app_uuid, advertiser_id)); in RegisterAdvertiserCallback()
343 callback(result, app_uuid, std::move(advertiser)); in RegisterAdvertiserCallback()
Dgatt_client.cc69 bt_uuid_t app_uuid = uuid.GetBlueDroid(); in RegisterInstance() local
71 if (hal_iface->register_client(app_uuid) != BT_STATUS_SUCCESS) return false; in RegisterInstance()
80 const bt_uuid_t& app_uuid) { in RegisterClientCallback() argument
81 UUID uuid(app_uuid); in RegisterClientCallback()
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,
Dlow_energy_scanner.h140 bool RegisterInstance(const UUID& app_uuid,
148 const UUID& app_uuid, uint8_t scanner_id,
Dlow_energy_client.cc220 bt_uuid_t app_uuid = uuid.GetBlueDroid(); in RegisterInstance() local
222 if (hal_iface->register_client(app_uuid) != BT_STATUS_SUCCESS) return false; in RegisterInstance()
231 const bt_uuid_t& app_uuid) { in RegisterClientCallback() argument
232 UUID uuid(app_uuid); in RegisterClientCallback()
Dlow_energy_scanner.cc196 const RegisterCallback& callback, const UUID& app_uuid, uint8_t scanner_id, in RegisterScannerCallback() argument
198 UUID uuid(app_uuid); in RegisterScannerCallback()
221 callback(result, app_uuid, std::move(scanner)); in RegisterScannerCallback()
Dgatt_client.h74 const bt_uuid_t& app_uuid) override;
Dgatt_server_old.cc133 const bt_uuid_t& app_uuid) { in RegisterServerCallback() argument
135 server_if, &app_uuid); in RegisterServerCallback()
139 {.type = BTGATT_DB_PRIMARY_SERVICE, .uuid = app_uuid}); in RegisterServerCallback()
350 const bt_uuid_t& app_uuid) { in RegisterClientCallback() argument
352 client_if, app_uuid.uu[0]); in RegisterClientCallback()
Dgatt_server.cc590 bt_uuid_t app_uuid = uuid.GetBlueDroid(); in RegisterInstance() local
592 if (hal_iface->register_server(app_uuid) != BT_STATUS_SUCCESS) return false; in RegisterInstance()
601 const bt_uuid_t& app_uuid) { in RegisterServerCallback() argument
602 UUID uuid(app_uuid); in RegisterServerCallback()
Dlow_energy_client.h163 const bt_uuid_t& app_uuid) override;
/system/bt/service/hal/
Dfake_bluetooth_gatt_interface.cc31 bt_status_t FakeRegisterClient(const bt_uuid_t& 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 bt_uuid_t& app_uuid) { in FakeRegisterServer() argument
61 if (g_server_handler) return g_server_handler->RegisterServer(app_uuid); in FakeRegisterServer()
186 int status, int client_if, const bt_uuid_t& app_uuid) { in NotifyRegisterClientCallback() argument
188 RegisterClientCallback(this, status, client_if, app_uuid)); in NotifyRegisterClientCallback()
205 int status, int server_if, const bt_uuid_t& app_uuid) { in NotifyRegisterServerCallback() argument
207 RegisterServerCallback(this, status, server_if, app_uuid)); in NotifyRegisterServerCallback()
Dfake_bluetooth_gatt_interface.h38 virtual bt_status_t RegisterClient(const bt_uuid_t& app_uuid) = 0;
54 virtual bt_status_t RegisterServer(const bt_uuid_t& app_uuid) = 0;
80 const bt_uuid_t& app_uuid);
86 const bt_uuid_t& app_uuid);
94 const bt_uuid_t& app_uuid);
Dbluetooth_gatt_interface.h70 const bt_uuid_t& app_uuid);
123 const bt_uuid_t& app_uuid);
Dbluetooth_gatt_interface.cc82 const bt_uuid_t& app_uuid) { in RegisterClientCallback() argument
88 RegisterClientCallback(g_interface, status, client_if, app_uuid)); in RegisterClientCallback()
225 const bt_uuid_t& app_uuid) { in RegisterServerCallback() argument
231 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()
64 if (factory->RegisterInstance(app_uuid, cb)) return true; in RegisterInstanceBase()
67 pending_callbacks_.Remove(app_uuid); in RegisterInstanceBase()
/system/bt/bta/gatt/
Dbta_gatts_int.h62 tBT_UUID app_uuid; member
127 tBT_UUID app_uuid; member
Dbta_gatts_act.cc187 if (bta_gatts_uuid_compare(p_cb->rcb[i].app_uuid, in bta_gatts_register()
188 p_msg->api_reg.app_uuid)) { in bta_gatts_register()
205 memcpy(&cb_data.reg_oper.uuid, &p_msg->api_reg.app_uuid, sizeof(tBT_UUID)); in bta_gatts_register()
212 memcpy(&p_cb->rcb[first_unuse].app_uuid, &p_msg->api_reg.app_uuid, in bta_gatts_register()
215 GATT_Register(&p_msg->api_reg.app_uuid, &bta_gatts_cback); in bta_gatts_register()
/system/bt/stack/gatt/
Dgatt_attr.cc272 tBT_UUID app_uuid = {LEN_UUID_128, {0}}; in gatt_profile_db_init() local
276 memset(&app_uuid.uu.uuid128, 0x81, LEN_UUID_128); in gatt_profile_db_init()
279 gatt_cb.gatt_if = GATT_Register(&app_uuid, &gatt_profile_cback); in gatt_profile_db_init()
/system/bt/test/suite/gatt/
Dgatt_test.h62 int clientIf, const bt_uuid_t& app_uuid) override;
Dgatt_test.cc94 int clientIf, const bt_uuid_t& app_uuid) { in RegisterClientCallback() argument
/system/bt/btif/src/
Dbtif_gatt_test.cc208 tBT_UUID app_uuid = {LEN_UUID_128, {0xAE}}; in btif_gattc_test_command_impl() local
209 test_cb.gatt_if = GATT_Register(&app_uuid, &btif_test_callbacks); in btif_gattc_test_command_impl()
Dbtif_gatt_server.cc131 bt_uuid_t app_uuid; in btapp_gatts_handle_cback() local
132 bta_to_btif_uuid(&app_uuid, &p_data->reg_oper.uuid); in btapp_gatts_handle_cback()
134 p_data->reg_oper.status, p_data->reg_oper.server_if, app_uuid); in btapp_gatts_handle_cback()
/system/bt/stack/gap/
Dgap_ble.cc396 tBT_UUID app_uuid = {LEN_UUID_128, {0}}; in gap_attr_db_init() local
400 memset(&app_uuid.uu.uuid128, 0x82, LEN_UUID_128); in gap_attr_db_init()
403 gatt_if = GATT_Register(&app_uuid, &gap_cback); in gap_attr_db_init()
/system/bt/stack/srvc/
Dsrvc_eng.cc405 tBT_UUID app_uuid = {LEN_UUID_16, {UUID_SERVCLASS_DEVICE_INFO}}; in srvc_eng_init() local
413 srvc_eng_cb.gatt_if = GATT_Register(&app_uuid, &srvc_gatt_cback); in srvc_eng_init()

12