Home
last modified time | relevance | path

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

/system/bt/stack/avrc/
Davrc_api.cc481 osi_free_and_reset((void**)&p_rcb->p_rmsg); in avrc_proc_far_msg()
489 p_rcb->p_rmsg = (BT_HDR*)osi_malloc(BT_DEFAULT_BUFFER_SIZE); in avrc_proc_far_msg()
491 memcpy(p_rcb->p_rmsg, p_pkt, sizeof(BT_HDR)); /* Copy bt hdr */ in avrc_proc_far_msg()
494 memcpy((uint8_t*)(p_rcb->p_rmsg + 1), in avrc_proc_far_msg()
498 p_rcb->p_rmsg->offset = p_rcb->rasm_offset = 0; in avrc_proc_far_msg()
505 *pp_pkt = p_rcb->p_rmsg; in avrc_proc_far_msg()
511 p_rcb->p_rmsg->offset += p_rcb->p_rmsg->len; in avrc_proc_far_msg()
513 } else if (p_rcb->p_rmsg == NULL) { in avrc_proc_far_msg()
533 if ((p_rcb->p_rmsg->offset + p_pkt->len) > buf_len) { in avrc_proc_far_msg()
536 p_pkt->len = buf_len - p_rcb->p_rmsg->offset; in avrc_proc_far_msg()
[all …]
Davrc_int.h130 BT_HDR* p_rmsg; /* the received message */ member