Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_sco.cc73 void btm_sco_flush_sco_data(UNUSED_ATTR uint16_t sco_inx) {} in btm_sco_flush_sco_data() argument
108 static void btm_esco_conn_rsp(uint16_t sco_inx, uint8_t hci_status, in btm_esco_conn_rsp() argument
114 if (sco_inx < BTM_MAX_SCO_LINKS) p_sco = &btm_cb.sco_cb.sco_db[sco_inx]; in btm_esco_conn_rsp()
226 tBTM_STATUS BTM_WriteScoData(UNUSED_ATTR uint16_t sco_inx, in BTM_WriteScoData() argument
371 void btm_accept_sco_link(uint16_t sco_inx, enh_esco_params_t* p_setup, in btm_accept_sco_link() argument
376 if (sco_inx >= BTM_MAX_SCO_LINKS) { in btm_accept_sco_link()
377 BTM_TRACE_ERROR("btm_accept_sco_link: Invalid sco_inx(%d)", sco_inx); in btm_accept_sco_link()
382 p_sco = &btm_cb.sco_cb.sco_db[sco_inx]; in btm_accept_sco_link()
390 btm_esco_conn_rsp(sco_inx, HCI_SUCCESS, p_sco->esco.data.bd_addr, p_setup); in btm_accept_sco_link()
392 btm_reject_sco_link(sco_inx); in btm_accept_sco_link()
[all …]
Dbtm_int_types.h314 typedef void(tBTM_SCO_IND_CBACK)(uint16_t sco_inx);
374 extern void btm_accept_sco_link(uint16_t sco_inx, enh_esco_params_t* p_setup,
376 extern void btm_reject_sco_link(uint16_t sco_inx);
Dbtm_int.h171 extern void btm_sco_flush_sco_data(uint16_t sco_inx);
/system/bt/stack/include/
Dbtm_api.h992 extern tBTM_STATUS BTM_RemoveSco(uint16_t sco_inx);
1014 extern tBTM_STATUS BTM_SetScoPacketTypes(uint16_t sco_inx, uint16_t pkt_types);
1034 extern uint16_t BTM_ReadScoPacketTypes(uint16_t sco_inx);
1057 extern uint16_t BTM_ReadScoHandle(uint16_t sco_inx);
1069 extern const RawAddress* BTM_ReadScoBdAddr(uint16_t sco_inx);
1125 extern tBTM_STATUS BTM_RegForEScoEvts(uint16_t sco_inx,
1149 extern tBTM_STATUS BTM_ReadEScoLinkParms(uint16_t sco_inx,
1171 extern tBTM_STATUS BTM_ChangeEScoLinkParms(uint16_t sco_inx,
1192 extern void BTM_EScoConnRsp(uint16_t sco_inx, uint8_t hci_status,
2034 extern tBTM_STATUS BTM_WriteScoData(uint16_t sco_inx, BT_HDR* p_buf);
Dbtm_api_types.h974 typedef void(tBTM_SCO_CB)(uint16_t sco_inx);
975 typedef void(tBTM_SCO_DATA_CB)(uint16_t sco_inx, BT_HDR* p_data,
1007 uint16_t sco_inx; member
1017 uint16_t sco_inx; member
/system/bt/btif/src/
Dbtif_sock_sco.cc222 sco_socket_t* sco_socket = sco_socket_find_locked(conn_data->sco_inx); in connection_request_cb()
230 conn_data->sco_inx); in connection_request_cb()
238 __func__, conn_data->sco_inx); in connection_request_cb()
269 BTM_EScoConnRsp(conn_data->sco_inx, HCI_SUCCESS, NULL); in connection_request_cb()
275 BTM_EScoConnRsp(conn_data->sco_inx, HCI_ERR_HOST_REJECT_RESOURCES, NULL); in connection_request_cb()
/system/bt/bta/ag/
Dbta_ag_sco.cc280 uint16_t sco_inx = p_data->conn_evt.sco_inx; in bta_ag_esco_connreq_cback() local
281 const RawAddress* remote_bda = BTM_ReadScoBdAddr(sco_inx); in bta_ag_esco_connreq_cback()
285 p_scb->sco_idx = sco_inx; in bta_ag_esco_connreq_cback()
290 sco_inx); in bta_ag_esco_connreq_cback()
306 __func__, sco_inx); in bta_ag_esco_connreq_cback()
319 BTM_EScoConnRsp(p_data->conn_evt.sco_inx, HCI_ERR_HOST_REJECT_RESOURCES, in bta_ag_esco_connreq_cback()
327 __func__, p_data->chg_evt.sco_inx, p_data->chg_evt.retrans_window, in bta_ag_esco_connreq_cback()
/system/bt/bta/hf_client/
Dbta_hf_client_sco.cc128 BTM_EScoConnRsp(p_data->sco_inx, hci_status, &resp); in bta_hf_client_sco_conn_rsp()
146 bta_hf_client_find_cb_by_sco_handle(p_data->conn_evt.sco_inx); in bta_hf_client_esco_connreq_cback()
149 p_data->conn_evt.sco_inx); in bta_hf_client_esco_connreq_cback()