Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/avct/
Davct_lcb_act.cc82 if (p_lcb->p_rx_msg != NULL) log::warn("Got single during reassembly"); in avct_lcb_msg_asmbl()
84 osi_free_and_reset((void**)&p_lcb->p_rx_msg); in avct_lcb_msg_asmbl()
91 if (p_lcb->p_rx_msg != NULL) log::warn("Got start during reassembly"); in avct_lcb_msg_asmbl()
93 osi_free_and_reset((void**)&p_lcb->p_rx_msg); in avct_lcb_msg_asmbl()
105 p_lcb->p_rx_msg = (BT_HDR*)osi_malloc(BT_DEFAULT_BUFFER_SIZE); in avct_lcb_msg_asmbl()
106 memcpy(p_lcb->p_rx_msg, p_buf, sizeof(BT_HDR) + p_buf->offset + p_buf->len); in avct_lcb_msg_asmbl()
112 p = (uint8_t*)(p_lcb->p_rx_msg + 1) + p_lcb->p_rx_msg->offset; in avct_lcb_msg_asmbl()
118 p_lcb->p_rx_msg->offset += p_lcb->p_rx_msg->len; in avct_lcb_msg_asmbl()
121 p_lcb->p_rx_msg->len -= 1; in avct_lcb_msg_asmbl()
128 if (p_lcb->p_rx_msg == NULL) { in avct_lcb_msg_asmbl()
[all …]
Davct_int.h80 BT_HDR* p_rx_msg; /* Message being reassembled */ member
Davct_lcb.cc323 osi_free(p_lcb->p_rx_msg); in avct_lcb_dealloc()
/packages/modules/Bluetooth/system/stack/avdt/
Davdt_msg.cc1229 if (p_ccb->p_rx_msg != NULL) log::warn("Got single during reassembly"); in avdt_msg_asmbl()
1231 osi_free_and_reset((void**)&p_ccb->p_rx_msg); in avdt_msg_asmbl()
1238 if (p_ccb->p_rx_msg != NULL) log::warn("Got start during reassembly"); in avdt_msg_asmbl()
1240 osi_free_and_reset((void**)&p_ccb->p_rx_msg); in avdt_msg_asmbl()
1252 p_ccb->p_rx_msg = (BT_HDR*)osi_malloc(BT_DEFAULT_BUFFER_SIZE); in avdt_msg_asmbl()
1253 memcpy(p_ccb->p_rx_msg, p_buf, sizeof(BT_HDR) + p_buf->offset + p_buf->len); in avdt_msg_asmbl()
1259 p = (uint8_t*)(p_ccb->p_rx_msg + 1) + p_ccb->p_rx_msg->offset; in avdt_msg_asmbl()
1265 p_ccb->p_rx_msg->offset += p_ccb->p_rx_msg->len; in avdt_msg_asmbl()
1268 p_ccb->p_rx_msg->len -= 1; in avdt_msg_asmbl()
1275 if (p_ccb->p_rx_msg == NULL) { in avdt_msg_asmbl()
[all …]
Davdt_int.h525 p_rx_msg(nullptr),
585 p_rx_msg = nullptr; in ResetCcb()
619 BT_HDR* p_rx_msg; // Current message being received variable
Davdt_ccb_act.cc64 osi_free_and_reset((void**)&p_ccb->p_rx_msg); in avdt_ccb_clear_ccb()