/external/bluetooth/bluedroid/stack/avrc/ |
avrc_bld_tg.c | 40 static tAVRC_STS avrc_bld_get_capability_rsp (tAVRC_GET_CAPS_RSP *p_rsp, BT_HDR *p_pkt) 58 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; 73 p_data = p_start + p_pkt->len; 101 p_pkt->len = (p_data - p_start); 118 static tAVRC_STS avrc_bld_list_app_settings_attr_rsp (tAVRC_LIST_APP_ATTR_RSP *p_rsp, BT_HDR *p_pkt) 126 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; 139 p_data = p_start + p_pkt->len; 153 p_pkt->len = (p_data - p_start) 729 BT_HDR *p_pkt=NULL; local 801 BT_HDR *p_pkt; local [all...] |
avrc_api.c | 95 static UINT8 * avrc_get_data_ptr(BT_HDR *p_pkt) 97 UINT8 *p_data = (UINT8 *)(p_pkt+1) + p_pkt->offset; 100 if (p_pkt->offset < AVCT_MSG_OFFSET) 102 gap = AVCT_MSG_OFFSET - p_pkt->offset; 103 for(i=p_pkt->len; i>0; i--) 107 p_pkt->offset += gap; 108 p_data = (UINT8 *)(p_pkt+1) + p_pkt->offset; 165 BT_HDR *p_pkt_old, *p_pkt; local 349 BT_HDR *p_pkt = *pp_pkt; local [all...] |
/external/bluetooth/bluedroid/stack/mcap/ |
mca_cact.c | 94 BT_HDR *p_pkt; local 119 p_pkt = (BT_HDR *)GKI_getbuf (MCA_CTRL_MTU); 120 if (p_pkt) 122 p_pkt->offset = L2CAP_MIN_OFFSET; 123 p = p_start = (UINT8*)(p_pkt + 1) + L2CAP_MIN_OFFSET; 132 p_pkt->len = p - p_start; 133 L2CA_DataWrite (p_ccb->lcid, p_pkt); 160 BT_HDR *p_pkt; local 167 p_pkt = (BT_HDR *)GKI_getbuf (MCA_CTRL_MTU); 168 if (p_pkt) 255 BT_HDR *p_pkt = &p_data->hdr; local 456 BT_HDR *p_pkt = &p_data->hdr; local [all...] |
mca_int.h | 110 BT_HDR *p_pkt; member in union:__anon3480
|
/external/bluetooth/bluedroid/stack/avdt/ |
avdt_api.c | 909 ** The memory pointed to by p_pkt must be a GKI buffer 920 UINT16 AVDT_WriteReqOpt(UINT8 handle, BT_HDR *p_pkt, UINT32 time_stamp, UINT8 m_pt, tAVDT_DATA_OPT_MASK opt) 935 evt.apiwrite.p_buf = p_pkt; 1289 BT_HDR *p_pkt; local [all...] |
avdt_scb_act.c | 248 p = p_start = (UINT8 *)(p_data->p_pkt + 1) + p_data->p_pkt->offset; 275 pad_len = *(p_start + p_data->p_pkt->len); 279 if ((offset > p_data->p_pkt->len) || ((pad_len + offset) > p_data->p_pkt->len)) 282 GKI_freebuf(p_data->p_pkt); 287 p_data->p_pkt->len -= (offset + pad_len); 288 p_data->p_pkt->offset += offset; 293 p_data->p_pkt->layer_specific = seq; 294 (*p_scb->cs.p_data_cback)(avdt_scb_to_hdl(p_scb), p_data->p_pkt, 1927 BT_HDR *p_pkt; local [all...] |
avdt_int.h | 480 BT_HDR *p_pkt; member in union:__anon3050 489 BT_HDR *p_pkt; /* packet waiting to be sent */ member in struct:__anon3051
|
/external/libnfc-nci/src/nfa/hci/ |
nfa_hci_main.c | 658 BT_HDR *p_pkt = (BT_HDR *) p_data->data.p_data; local 693 if ((event != NFC_DATA_CEVT) || (p_pkt == NULL)) 705 p = (UINT8 *) (p_pkt + 1) + p_pkt->offset; 706 pkt_len = p_pkt->len; 768 (UINT8)chaining_bit, (UINT8)nfa_hci_cb.assembling, p_pkt->len); 771 pipe, nfa_hci_cb.type, nfa_hci_cb.inst, chaining_bit, nfa_hci_cb.assembling, p_pkt->len); 779 GKI_freebuf (p_pkt); 828 p_pkt->event = NFA_HCI_CHECK_QUEUE_EVT; 829 p_pkt->len = 0 [all...] |
/external/bluetooth/bluedroid/bta/av/ |
bta_av_act.c | 668 p_data->api_meta_rsp.p_pkt); 674 GKI_freebuf (p_data->api_meta_rsp.p_pkt); 688 GKI_freebuf (p_data->api_meta_rsp.p_pkt); 859 BT_HDR *p_pkt = NULL; local [all...] |
bta_av_int.h | 297 BT_HDR *p_pkt; member in struct:__anon2409
|
/external/libnfc-nci/src/nfa/ee/ |
nfa_ee_act.c | 637 BT_HDR *p_pkt; local 644 p_pkt = (BT_HDR *)GKI_getbuf(size); 645 if (p_pkt) 647 p_pkt->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE; 648 p_pkt->len = p_data->send_data.data_len; 649 p = (UINT8 *)(p_pkt+1) + p_pkt->offset; 650 memcpy(p, p_data->send_data.p_data, p_pkt->len); 651 NFC_SendData (p_cb->conn_id, p_pkt); 1275 BT_HDR *p_pkt = NULL; local [all...] |
/external/bluetooth/bluedroid/bta/hl/ |
bta_hl_int.h | 377 BT_HDR *p_pkt; member in struct:__anon2571 598 #define BTA_HL_GET_BUF_PTR(p_pkt) ((UINT8 *)((UINT8 *) (p_pkt+1) + p_pkt->offset)) 705 extern void bta_hl_mcap_data_cback(tMCA_DL mdl, BT_HDR *p_pkt); [all...] |