Home
last modified time | relevance | path

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

/system/bt/stack/avrc/
Davrc_api.cc482 osi_free_and_reset((void**)&p_rcb->p_rmsg); in avrc_proc_far_msg()
490 p_rcb->p_rmsg = (BT_HDR*)osi_malloc(BT_DEFAULT_BUFFER_SIZE); in avrc_proc_far_msg()
492 memcpy(p_rcb->p_rmsg, p_pkt, sizeof(BT_HDR)); /* Copy bt hdr */ in avrc_proc_far_msg()
495 memcpy((uint8_t*)(p_rcb->p_rmsg + 1), in avrc_proc_far_msg()
499 p_rcb->p_rmsg->offset = p_rcb->rasm_offset = 0; in avrc_proc_far_msg()
506 *pp_pkt = p_rcb->p_rmsg; in avrc_proc_far_msg()
512 p_rcb->p_rmsg->offset += p_rcb->p_rmsg->len; in avrc_proc_far_msg()
514 } else if (p_rcb->p_rmsg == NULL) { in avrc_proc_far_msg()
534 if ((p_rcb->p_rmsg->offset + p_pkt->len) > buf_len) { in avrc_proc_far_msg()
537 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