Home
last modified time | relevance | path

Searched refs:p_rmsg (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/system/stack/avrc/
Davrc_api.cc504 osi_free_and_reset((void**)&p_rcb->p_rmsg); in avrc_proc_far_msg()
512 p_rcb->p_rmsg = (BT_HDR*)osi_calloc(BT_DEFAULT_BUFFER_SIZE); in avrc_proc_far_msg()
514 memcpy(p_rcb->p_rmsg, p_pkt, sizeof(BT_HDR)); /* Copy bt hdr */ in avrc_proc_far_msg()
517 memcpy((uint8_t*)(p_rcb->p_rmsg + 1), in avrc_proc_far_msg()
521 p_rcb->p_rmsg->offset = p_rcb->rasm_offset = 0; in avrc_proc_far_msg()
528 *pp_pkt = p_rcb->p_rmsg; in avrc_proc_far_msg()
534 p_rcb->p_rmsg->offset += p_rcb->p_rmsg->len; in avrc_proc_far_msg()
536 } else if (p_rcb->p_rmsg == NULL) { in avrc_proc_far_msg()
556 if ((p_rcb->p_rmsg->offset + p_pkt->len) > buf_len) { in avrc_proc_far_msg()
558 p_pkt->len = buf_len - p_rcb->p_rmsg->offset; in avrc_proc_far_msg()
[all …]
Davrc_int.h131 BT_HDR* p_rmsg; /* the received message */ member