Home
last modified time | relevance | path

Searched refs:hdl (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Bluetooth/system/bta/csis/
Dcsis_types.h244 uint16_t hdl = 0; in GetCsisInstanceByOwningHandle() local
248 hdl = h; in GetCsisInstanceByOwningHandle()
249 log::verbose("found 0x{:04x}", hdl); in GetCsisInstanceByOwningHandle()
253 return (hdl > 0) ? csis_instances_.at(hdl) : nullptr; in GetCsisInstanceByOwningHandle()
257 uint16_t hdl = 0; in GetCsisInstanceByGroupId() local
260 hdl = handle; in GetCsisInstanceByGroupId()
264 return (hdl > 0) ? csis_instances_.at(hdl) : nullptr; in GetCsisInstanceByGroupId()
/packages/modules/Bluetooth/system/bta/hh/
Dbta_hh_act.cc201 uint8_t hdl = 0; in bta_hh_sdp_cback() local
218 if (HID_HostAddDev(p_cb->link_spec.addrt.bda, attr_mask, &hdl) == in bta_hh_sdp_cback()
222 bta_hh_cb.cb_index[hdl] = p_cb->index; in bta_hh_sdp_cback()
227 hdl = p_cb->hid_handle; in bta_hh_sdp_cback()
234 bta_hh_add_device_to_list(p_cb, hdl, attr_mask, &sdp_rec->dscp_info, in bta_hh_sdp_cback()
465 uint8_t hdl; in bta_hh_bredr_conn() local
466 if (HID_HostAddDev(p_cb->link_spec.addrt.bda, p_cb->attr_mask, &hdl) == in bta_hh_bredr_conn()
469 bta_hh_add_device_to_list(p_cb, hdl, p_cb->attr_mask, NULL, in bta_hh_bredr_conn()
474 bta_hh_cb.cb_index[hdl] = p_cb->index; in bta_hh_bredr_conn()
/packages/modules/Bluetooth/system/stack/avdt/
Davdt_scb.cc921 AvdtpScb* avdt_scb_by_hdl(uint8_t hdl) { in avdt_scb_by_hdl() argument
923 if ((hdl < 1) || (hdl > AVDT_NUM_LINKS * AVDT_NUM_SEPS)) { in avdt_scb_by_hdl()
924 log::warn("SCB handle {} out of range", hdl); in avdt_scb_by_hdl()
928 uint8_t index = hdl - 1; in avdt_scb_by_hdl()
935 log::warn("SCB handle {} not allocated", hdl); in avdt_scb_by_hdl()
939 log::verbose("SCB for handle {} found: p_scb={} scb_index={}", hdl, in avdt_scb_by_hdl()
Davdt_scb_act.cc783 uint8_t hdl = avdt_scb_to_hdl(p_scb); in avdt_scb_hdl_tc_close() local
817 (*p_avdt_ctrl_cback)(hdl, remote_addr, event, &avdt_ctrl, scb_index); in avdt_scb_hdl_tc_close()
Davdt_int.h842 AvdtpScb* avdt_scb_by_hdl(uint8_t hdl);
/packages/modules/Bluetooth/system/bta/le_audio/
Dstorage_helper.cc214 auto hdl = hdl_pair.val_hdl; in deserializePacs() local
217 [&hdl](auto& pac_ent) { return std::get<0>(pac_ent).val_hdl == hdl; }); in deserializePacs()
Dclient.cc1777 void LeAudioCharValueHandle(uint16_t conn_id, uint16_t hdl, uint16_t len, in LeAudioCharValueHandle() argument
1788 ase = leAudioDevice->GetAseByValHandle(hdl); in LeAudioCharValueHandle()
1800 [&hdl](auto& pac_ent) { return std::get<0>(pac_ent).val_hdl == hdl; }); in LeAudioCharValueHandle()
1828 [&hdl](auto& pac_ent) { return std::get<0>(pac_ent).val_hdl == hdl; }); in LeAudioCharValueHandle()
1854 if (hdl == leAudioDevice->snk_audio_locations_hdls_.val_hdl) { in LeAudioCharValueHandle()
1885 } else if (hdl == leAudioDevice->src_audio_locations_hdls_.val_hdl) { in LeAudioCharValueHandle()
1913 } else if (hdl == leAudioDevice->audio_avail_hdls_.val_hdl) { in LeAudioCharValueHandle()
1960 } else if (hdl == leAudioDevice->audio_supp_cont_hdls_.val_hdl) { in LeAudioCharValueHandle()
1971 } else if (hdl == leAudioDevice->ctp_hdls_.val_hdl) { in LeAudioCharValueHandle()
1973 } else if (hdl == leAudioDevice->tmap_role_hdl_) { in LeAudioCharValueHandle()
[all …]
/packages/modules/Bluetooth/system/hci/src/
Dpacket_fragmenter.cc181 BT_HDR* hdl = map_iter->second; in reassemble_and_dispatch() local
183 buffer_allocator->free(hdl); in reassemble_and_dispatch()