Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_sco.c82 void btm_sco_flush_sco_data(UINT16 sco_inx) in btm_sco_flush_sco_data() argument
89 if (sco_inx < BTM_MAX_SCO_LINKS) in btm_sco_flush_sco_data()
91 p = &btm_cb.sco_cb.sco_db[sco_inx]; in btm_sco_flush_sco_data()
97 UNUSED(sco_inx);
100 UNUSED(sco_inx);
146 static void btm_esco_conn_rsp (UINT16 sco_inx, UINT8 hci_status, BD_ADDR bda,
154 if (sco_inx < BTM_MAX_SCO_LINKS)
155 p_sco = &btm_cb.sco_cb.sco_db[sco_inx];
245 void btm_sco_check_send_pkts (UINT16 sco_inx)
248 tSCO_CONN *p_ccb = &p_cb->sco_db[sco_inx];
[all …]
Dbtm_int.h321 typedef void (tBTM_SCO_IND_CBACK) (UINT16 sco_inx) ;
405 extern void btm_accept_sco_link(UINT16 sco_inx, tBTM_ESCO_PARAMS *p_setup,
407 extern void btm_reject_sco_link(UINT16 sco_inx );
412 #define btm_accept_sco_link(sco_inx, p_setup, p_conn_cb, p_disc_cb) argument
413 #define btm_reject_sco_link(sco_inx) argument
1027 extern void btm_sco_flush_sco_data(UINT16 sco_inx);
/system/bt/btif/src/
Dbtif_sock_sco.c224 sco_socket_t *sco_socket = sco_socket_find_locked(conn_data->sco_inx); in connection_request_cb()
228 … LOG_ERROR(LOG_TAG, "%s unable to find sco_socket for handle: %hu", __func__, conn_data->sco_inx); in connection_request_cb()
233 …%s received connection request on non-listening socket handle: %hu", __func__, conn_data->sco_inx); in connection_request_cb()
260 BTM_EScoConnRsp(conn_data->sco_inx, HCI_SUCCESS, NULL); in connection_request_cb()
270 BTM_EScoConnRsp(conn_data->sco_inx, HCI_ERR_HOST_REJECT_RESOURCES, NULL); in connection_request_cb()
/system/bt/stack/include/
Dbtm_api.h993 typedef void (tBTM_SCO_CB) (UINT16 sco_inx);
994 typedef void (tBTM_SCO_DATA_CB) (UINT16 sco_inx, BT_HDR *p_data, tBTM_SCO_DATA_FLAG status);
1050 UINT16 sco_inx; member
1061 UINT16 sco_inx; member
2893 extern tBTM_STATUS BTM_RemoveSco (UINT16 sco_inx);
2916 extern tBTM_STATUS BTM_SetScoPacketTypes (UINT16 sco_inx, UINT16 pkt_types);
2937 extern UINT16 BTM_ReadScoPacketTypes (UINT16 sco_inx);
2963 extern UINT16 BTM_ReadScoHandle (UINT16 sco_inx);
2976 extern UINT8 *BTM_ReadScoBdAddr (UINT16 sco_inx);
3035 extern tBTM_STATUS BTM_RegForEScoEvts (UINT16 sco_inx,
[all …]
/system/bt/bta/ag/
Dbta_ag_sco.c285 static void bta_ag_sco_read_cback (UINT16 sco_inx, BT_HDR *p_data, tBTM_SCO_DATA_FLAG status) in bta_ag_sco_read_cback() argument
351 UINT16 sco_inx = p_data->conn_evt.sco_inx; in bta_ag_esco_connreq_cback() local
356 if ((handle = bta_ag_idx_by_bdaddr(BTM_ReadScoBdAddr(sco_inx))) != 0 && in bta_ag_esco_connreq_cback()
359 p_scb->sco_idx = sco_inx; in bta_ag_esco_connreq_cback()
364 … APPL_TRACE_EVENT("bta_ag_esco_connreq_cback: Accept Conn Request (sco_inx 0x%04x)", sco_inx); in bta_ag_esco_connreq_cback()
380 …R("bta_ag_esco_connreq_cback: Nothing to remove so accept Conn Request (sco_inx 0x%04x)", sco_inx); in bta_ag_esco_connreq_cback()
392 BTM_EScoConnRsp(p_data->conn_evt.sco_inx, HCI_ERR_HOST_REJECT_RESOURCES, NULL); in bta_ag_esco_connreq_cback()
399 p_data->chg_evt.sco_inx, in bta_ag_esco_connreq_cback()
1627 BTM_EScoConnRsp(p_data->sco_inx, hci_status, &resp); in bta_ag_sco_conn_rsp()
/system/bt/bta/hf_client/
Dbta_hf_client_sco.c173 BTM_EScoConnRsp(p_data->sco_inx, hci_status, &resp); in bta_hf_client_sco_conn_rsp()
198 bta_hf_client_cb.scb.sco_idx = p_data->conn_evt.sco_inx; in bta_hf_client_esco_connreq_cback()