Home
last modified time | relevance | path

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

/system/bt/test/mock/
Dmock_stack_btm_sco.cc50 const RawAddress* BTM_ReadScoBdAddr(uint16_t sco_inx) { in BTM_ReadScoBdAddr() argument
54 tBTM_STATUS BTM_ChangeEScoLinkParms(uint16_t sco_inx, in BTM_ChangeEScoLinkParms() argument
65 tBTM_STATUS BTM_RegForEScoEvts(uint16_t sco_inx, in BTM_RegForEScoEvts() argument
70 tBTM_STATUS BTM_RemoveSco(uint16_t sco_inx) { in BTM_RemoveSco() argument
82 void BTM_EScoConnRsp(uint16_t sco_inx, uint8_t hci_status, in BTM_EScoConnRsp() argument
/system/bt/stack/btm/
Dbtm_sco.cc100 static void btm_sco_flush_sco_data(UNUSED_ATTR uint16_t sco_inx) {} in btm_sco_flush_sco_data() argument
118 static void btm_esco_conn_rsp(uint16_t sco_inx, uint8_t hci_status, in btm_esco_conn_rsp() argument
125 if (sco_inx < BTM_MAX_SCO_LINKS) p_sco = &btm_cb.sco_cb.sco_db[sco_inx]; in btm_esco_conn_rsp()
636 evt_data.sco_inx = sco_index; in btm_sco_conn_req()
791 tBTM_STATUS BTM_RemoveSco(uint16_t sco_inx) { in BTM_RemoveSco() argument
792 tSCO_CONN* p = &btm_cb.sco_cb.sco_db[sco_inx]; in BTM_RemoveSco()
802 if ((sco_inx >= BTM_MAX_SCO_LINKS) || (p->state == SCO_ST_UNUSED)) in BTM_RemoveSco()
966 const RawAddress* BTM_ReadScoBdAddr(uint16_t sco_inx) { in BTM_ReadScoBdAddr() argument
967 tSCO_CONN* p = &btm_cb.sco_cb.sco_db[sco_inx]; in BTM_ReadScoBdAddr()
970 if ((sco_inx < BTM_MAX_SCO_LINKS) && (p->rem_bd_known)) in BTM_ReadScoBdAddr()
[all …]
Dbtm_sco.h65 typedef void(tBTM_SCO_IND_CBACK)(uint16_t sco_inx);
/system/bt/stack/include/
Dbtm_api.h516 tBTM_STATUS BTM_RemoveSco(uint16_t sco_inx);
529 const RawAddress* BTM_ReadScoBdAddr(uint16_t sco_inx);
559 tBTM_STATUS BTM_RegForEScoEvts(uint16_t sco_inx, tBTM_ESCO_CBACK* p_esco_cback);
580 tBTM_STATUS BTM_ChangeEScoLinkParms(uint16_t sco_inx,
601 void BTM_EScoConnRsp(uint16_t sco_inx, uint8_t hci_status,
Dbtm_client_interface.h190 tBTM_STATUS (*BTM_RegForEScoEvts)(uint16_t sco_inx,
192 tBTM_STATUS (*BTM_RemoveSco)(uint16_t sco_inx);
194 void (*BTM_EScoConnRsp)(uint16_t sco_inx, uint8_t hci_status,
Dbtm_api_types.h403 typedef void(tBTM_SCO_CB)(uint16_t sco_inx);
434 uint16_t sco_inx; member
444 uint16_t sco_inx; member
/system/bt/btif/src/
Dbtif_sock_sco.cc217 sco_socket_t* sco_socket = sco_socket_find_locked(conn_data->sco_inx); in connection_request_cb()
225 conn_data->sco_inx); in connection_request_cb()
233 __func__, conn_data->sco_inx); in connection_request_cb()
263 BTM_EScoConnRsp(conn_data->sco_inx, HCI_SUCCESS, NULL); in connection_request_cb()
269 BTM_EScoConnRsp(conn_data->sco_inx, HCI_ERR_HOST_REJECT_RESOURCES, NULL); in connection_request_cb()
/system/bt/main/shim/
Dbtm_api.h1236 tBTM_STATUS BTM_RemoveSco(uint16_t sco_inx);
1248 const RawAddress* BTM_ReadScoBdAddr(uint16_t sco_inx);
1278 tBTM_STATUS BTM_RegForEScoEvts(uint16_t sco_inx, tBTM_ESCO_CBACK* p_esco_cback);
1299 tBTM_STATUS BTM_ChangeEScoLinkParms(uint16_t sco_inx,
1320 void BTM_EScoConnRsp(uint16_t sco_inx, uint8_t hci_status,
/system/bt/bta/ag/
Dbta_ag_sco.cc279 uint16_t sco_inx = p_data->conn_evt.sco_inx; in bta_ag_esco_connreq_cback() local
280 const RawAddress* remote_bda = BTM_ReadScoBdAddr(sco_inx); in bta_ag_esco_connreq_cback()
284 p_scb->sco_idx = sco_inx; in bta_ag_esco_connreq_cback()
289 sco_inx); in bta_ag_esco_connreq_cback()
305 __func__, sco_inx); in bta_ag_esco_connreq_cback()
318 BTM_EScoConnRsp(p_data->conn_evt.sco_inx, HCI_ERR_HOST_REJECT_RESOURCES, in bta_ag_esco_connreq_cback()
326 __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.cc131 BTM_EScoConnRsp(p_data->sco_inx, hci_status, &resp); in bta_hf_client_sco_conn_rsp()
149 bta_hf_client_find_cb_by_sco_handle(p_data->conn_evt.sco_inx); in bta_hf_client_esco_connreq_cback()
152 p_data->conn_evt.sco_inx); in bta_hf_client_esco_connreq_cback()