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.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/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.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()