Home
last modified time | relevance | path

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

/system/bt/stack/avct/
Davct_lcb_act.cc75 if (p_lcb->p_rx_msg != NULL) in avct_lcb_msg_asmbl()
78 osi_free_and_reset((void**)&p_lcb->p_rx_msg); in avct_lcb_msg_asmbl()
85 if (p_lcb->p_rx_msg != NULL) in avct_lcb_msg_asmbl()
88 osi_free(p_lcb->p_rx_msg); in avct_lcb_msg_asmbl()
95 p_lcb->p_rx_msg = (BT_HDR*)osi_malloc(BT_DEFAULT_BUFFER_SIZE); in avct_lcb_msg_asmbl()
96 memcpy(p_lcb->p_rx_msg, p_buf, sizeof(BT_HDR) + p_buf->offset + p_buf->len); in avct_lcb_msg_asmbl()
102 p = (uint8_t*)(p_lcb->p_rx_msg + 1) + p_lcb->p_rx_msg->offset; in avct_lcb_msg_asmbl()
108 p_lcb->p_rx_msg->offset += p_lcb->p_rx_msg->len; in avct_lcb_msg_asmbl()
111 p_lcb->p_rx_msg->len -= 1; in avct_lcb_msg_asmbl()
118 if (p_lcb->p_rx_msg == NULL) { in avct_lcb_msg_asmbl()
[all …]
Davct_int.h81 BT_HDR* p_rx_msg; /* Message being reassembled */ member
Davct_lcb.cc312 osi_free(p_lcb->p_rx_msg); in avct_lcb_dealloc()
/system/bt/stack/mcap/
Dmca_cact.cc182 p_ccb->p_tx_req = p_ccb->p_rx_msg; in mca_ccb_snd_rsp()
183 p_ccb->p_rx_msg = NULL; in mca_ccb_snd_rsp()
188 osi_free_and_reset((void**)&p_ccb->p_rx_msg); in mca_ccb_snd_rsp()
245 tMCA_CCB_MSG* p_rx_msg = NULL; in mca_ccb_hdl_req() local
252 p_rx_msg = (tMCA_CCB_MSG*)p_pkt; in mca_ccb_hdl_req()
281 } else if (p_ccb->p_rx_msg) { in mca_ccb_hdl_req()
332 p_rx_msg->mdep_id = evt_data.create_ind.dep_id; in mca_ccb_hdl_req()
333 if (!mca_is_valid_dep_id(p_ccb->p_rcb, p_rx_msg->mdep_id)) { in mca_ccb_hdl_req()
335 p_rx_msg->mdep_id); in mca_ccb_hdl_req()
420 p_rx_msg->op_code = evt_data.hdr.op_code; in mca_ccb_hdl_req()
[all …]
/system/bt/stack/avdt/
Davdt_msg.cc1221 if (p_ccb->p_rx_msg != NULL) in avdt_msg_asmbl()
1224 osi_free_and_reset((void**)&p_ccb->p_rx_msg); in avdt_msg_asmbl()
1231 if (p_ccb->p_rx_msg != NULL) in avdt_msg_asmbl()
1234 osi_free_and_reset((void**)&p_ccb->p_rx_msg); in avdt_msg_asmbl()
1241 p_ccb->p_rx_msg = (BT_HDR*)osi_malloc(BT_DEFAULT_BUFFER_SIZE); in avdt_msg_asmbl()
1242 memcpy(p_ccb->p_rx_msg, p_buf, sizeof(BT_HDR) + p_buf->offset + p_buf->len); in avdt_msg_asmbl()
1248 p = (uint8_t*)(p_ccb->p_rx_msg + 1) + p_ccb->p_rx_msg->offset; in avdt_msg_asmbl()
1254 p_ccb->p_rx_msg->offset += p_ccb->p_rx_msg->len; in avdt_msg_asmbl()
1257 p_ccb->p_rx_msg->len -= 1; in avdt_msg_asmbl()
1264 if (p_ccb->p_rx_msg == NULL) { in avdt_msg_asmbl()
[all …]
Davdt_int.h529 p_rx_msg(nullptr),
589 p_rx_msg = nullptr; in ResetCcb()
623 BT_HDR* p_rx_msg; // Current message being received variable
Davdt_ccb_act.cc60 osi_free_and_reset((void**)&p_ccb->p_rx_msg); in avdt_ccb_clear_ccb()