Home
last modified time | relevance | path

Searched refs:sco_inx (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Bluetooth/system/stack/btm/
Dbtm_sco.cc288 static tBTM_STATUS BTM_ChangeEScoLinkParms(uint16_t sco_inx,
309 static void btm_esco_conn_rsp(uint16_t sco_inx, uint8_t hci_status, in btm_esco_conn_rsp() argument
316 if (sco_inx < BTM_MAX_SCO_LINKS) p_sco = &btm_cb.sco_cb.sco_db[sco_inx]; in btm_esco_conn_rsp()
1028 evt_data.sco_inx = sco_index; in btm_sco_conn_req()
1203 tBTM_STATUS BTM_RemoveSco(uint16_t sco_inx) { in BTM_RemoveSco() argument
1204 tSCO_CONN* p = &btm_cb.sco_cb.sco_db[sco_inx]; in BTM_RemoveSco()
1214 if ((sco_inx >= BTM_MAX_SCO_LINKS) || (p->state == SCO_ST_UNUSED)) in BTM_RemoveSco()
1408 const RawAddress* BTM_ReadScoBdAddr(uint16_t sco_inx) { in BTM_ReadScoBdAddr() argument
1409 tSCO_CONN* p = &btm_cb.sco_cb.sco_db[sco_inx]; in BTM_ReadScoBdAddr()
1412 if ((sco_inx < BTM_MAX_SCO_LINKS) && (p->rem_bd_known)) in BTM_ReadScoBdAddr()
[all …]
/packages/modules/Bluetooth/system/stack/include/
Dbtm_api.h465 [[nodiscard]] tBTM_STATUS BTM_RemoveSco(uint16_t sco_inx);
478 [[nodiscard]] const RawAddress* BTM_ReadScoBdAddr(uint16_t sco_inx);
508 [[nodiscard]] tBTM_STATUS BTM_RegForEScoEvts(uint16_t sco_inx,
529 void BTM_EScoConnRsp(uint16_t sco_inx, tHCI_STATUS hci_status,
Dbtm_api_types.h100 typedef void(tBTM_SCO_CB)(uint16_t sco_inx);
116 uint16_t sco_inx; member
Dbtm_client_interface.h139 uint16_t sco_inx, tBTM_ESCO_CBACK* p_esco_cback);
140 [[nodiscard]] tBTM_STATUS (*BTM_RemoveSco)(uint16_t sco_inx);
142 void (*BTM_EScoConnRsp)(uint16_t sco_inx, tHCI_STATUS hci_status,
/packages/modules/Bluetooth/system/btif/src/
Dbtif_sock_sco.cc227 sco_socket_t* sco_socket = sco_socket_find_locked(conn_data->sco_inx); in connection_request_cb()
234 log::error("unable to find sco_socket for handle: {}", conn_data->sco_inx); in connection_request_cb()
240 conn_data->sco_inx); in connection_request_cb()
274 BTM_EScoConnRsp(conn_data->sco_inx, HCI_SUCCESS, NULL); in connection_request_cb()
280 BTM_EScoConnRsp(conn_data->sco_inx, HCI_ERR_HOST_REJECT_RESOURCES, NULL); in connection_request_cb()
/packages/modules/Bluetooth/system/bta/hf_client/
Dbta_hf_client_sco.cc137 BTM_EScoConnRsp(p_data->sco_inx, hci_status, &resp); in bta_hf_client_sco_conn_rsp()
155 bta_hf_client_find_cb_by_sco_handle(p_data->conn_evt.sco_inx); in bta_hf_client_esco_connreq_cback()
158 p_data->conn_evt.sco_inx); in bta_hf_client_esco_connreq_cback()
/packages/modules/Bluetooth/system/bta/ag/
Dbta_ag_sco.cc368 uint16_t sco_inx = p_data->conn_evt.sco_inx; in bta_ag_esco_connreq_cback() local
369 const RawAddress* remote_bda = BTM_ReadScoBdAddr(sco_inx); in bta_ag_esco_connreq_cback()
373 p_scb->sco_idx = sco_inx; in bta_ag_esco_connreq_cback()
377 log::verbose("Accept Conn Request (sco_inx 0x{:04x})", sco_inx); in bta_ag_esco_connreq_cback()
393 sco_inx); in bta_ag_esco_connreq_cback()
406 BTM_EScoConnRsp(p_data->conn_evt.sco_inx, HCI_ERR_HOST_REJECT_RESOURCES, in bta_ag_esco_connreq_cback()