Home
last modified time | relevance | path

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

/system/bt/stack/avct/
Davct_lcb_act.cc78 if (p_lcb->p_rx_msg != NULL) in avct_lcb_msg_asmbl()
81 osi_free_and_reset((void**)&p_lcb->p_rx_msg); in avct_lcb_msg_asmbl()
88 if (p_lcb->p_rx_msg != NULL) in avct_lcb_msg_asmbl()
91 osi_free(p_lcb->p_rx_msg); in avct_lcb_msg_asmbl()
98 p_lcb->p_rx_msg = (BT_HDR*)osi_malloc(BT_DEFAULT_BUFFER_SIZE); in avct_lcb_msg_asmbl()
99 memcpy(p_lcb->p_rx_msg, p_buf, sizeof(BT_HDR) + p_buf->offset + p_buf->len); in avct_lcb_msg_asmbl()
105 p = (uint8_t*)(p_lcb->p_rx_msg + 1) + p_lcb->p_rx_msg->offset; in avct_lcb_msg_asmbl()
111 p_lcb->p_rx_msg->offset += p_lcb->p_rx_msg->len; in avct_lcb_msg_asmbl()
114 p_lcb->p_rx_msg->len -= 1; in avct_lcb_msg_asmbl()
121 if (p_lcb->p_rx_msg == NULL) { in avct_lcb_msg_asmbl()
[all …]
Davct_int.h79 BT_HDR* p_rx_msg; /* Message being reassembled */ member
Davct_lcb.cc313 osi_free(p_lcb->p_rx_msg); in avct_lcb_dealloc()
/system/bt/stack/avdt/
Davdt_msg.cc1233 if (p_ccb->p_rx_msg != NULL) in avdt_msg_asmbl()
1236 osi_free_and_reset((void**)&p_ccb->p_rx_msg); in avdt_msg_asmbl()
1243 if (p_ccb->p_rx_msg != NULL) in avdt_msg_asmbl()
1246 osi_free_and_reset((void**)&p_ccb->p_rx_msg); in avdt_msg_asmbl()
1253 p_ccb->p_rx_msg = (BT_HDR*)osi_malloc(BT_DEFAULT_BUFFER_SIZE); in avdt_msg_asmbl()
1254 memcpy(p_ccb->p_rx_msg, p_buf, sizeof(BT_HDR) + p_buf->offset + p_buf->len); in avdt_msg_asmbl()
1260 p = (uint8_t*)(p_ccb->p_rx_msg + 1) + p_ccb->p_rx_msg->offset; in avdt_msg_asmbl()
1266 p_ccb->p_rx_msg->offset += p_ccb->p_rx_msg->len; in avdt_msg_asmbl()
1269 p_ccb->p_rx_msg->len -= 1; in avdt_msg_asmbl()
1276 if (p_ccb->p_rx_msg == NULL) { in avdt_msg_asmbl()
[all …]
Davdt_int.h524 p_rx_msg(nullptr),
584 p_rx_msg = nullptr; in ResetCcb()
618 BT_HDR* p_rx_msg; // Current message being received variable
Davdt_ccb_act.cc61 osi_free_and_reset((void**)&p_ccb->p_rx_msg); in avdt_ccb_clear_ccb()