/external/bluetooth/bluedroid/stack/gatt/ |
gatt_main.c | 47 static void gatt_le_data_ind (BD_ADDR bd_addr, BT_HDR *p_buf); 471 static void gatt_le_data_ind (BD_ADDR bd_addr, BT_HDR *p_buf) 479 gatt_data_process(p_tcb, p_buf); 483 GKI_freebuf (p_buf); 800 void gatt_l2cif_data_ind_cback(UINT16 lcid, BT_HDR *p_buf) 809 gatt_data_process(p_tcb, p_buf); 812 GKI_freebuf(p_buf); 873 void gatt_data_process (tGATT_TCB *p_tcb, BT_HDR *p_buf) 875 UINT8 *p = (UINT8 *)(p_buf + 1) + p_buf->offset 928 tGATTS_SRV_CHG *p_buf; local [all...] |
gatt_api.c | 86 tGATT_HDL_LIST_ELEM *p_buf; local 89 if ((p_buf = gatt_alloc_hdl_buffer()) != NULL) 91 p_buf->asgn_range = *p_hndl_range; 92 status = gatt_add_an_item_to_list(&gatt_cb.hdl_list_info, p_buf); 149 tGATTS_PENDING_NEW_SRV_START *p_buf=NULL; local 224 if ( (p_buf = gatt_add_pending_new_srv_start(&p_list->asgn_range)) == NULL) 250 if (p_buf) 251 GKI_freebuf (GKI_remove_from_queue (&gatt_cb.pending_new_srv_start_q, p_buf)); 399 tGATTS_PENDING_NEW_SRV_START *p_buf; local 418 if ( (p_buf = gatt_sr_is_new_srv_chg(&p_list->asgn_range.app_uuid128 472 tGATTS_PENDING_NEW_SRV_START *p_buf; local 601 tGATT_VALUE *p_buf; local 670 BT_HDR *p_buf; local [all...] |
/external/libnfc-nci/src/nfa/include/ |
nfa_mem_co.h | 67 NFC_API extern void nfa_mem_co_free (void *p_buf);
|
/external/bluetooth/bluedroid/btif/co/ |
bta_dm_co.c | 292 void bta_dm_sco_co_in_data(BT_HDR *p_buf) 295 btui_sco_codec_inqdata (p_buf); 297 GKI_freebuf(p_buf); 309 void bta_dm_sco_co_out_data(BT_HDR **p_buf) 311 btui_sco_codec_readbuf(p_buf);
|
bta_hl_co.c | 315 ** p_buf - the buffer pointer 323 UINT16 buf_size, UINT8 *p_buf, UINT16 evt) 338 memcpy(p_buf, p_dcb->p_tx_pkt, p_dcb->tx_size); 419 ** p_buf - the buffer pointer 427 UINT16 buf_size, UINT8 *p_buf, UINT16 evt)
|
bta_av_co.c | 753 BT_HDR *p_buf; local 756 p_buf = btif_media_aa_readbuf(); 757 if (p_buf != NULL) 763 * p_buf->layer_specific : number of SBC frames in the packet 764 * p_buf->word[0] : timestamp 767 *p_timestamp = *((UINT32 *) (p_buf + 1)); 770 bta_av_sbc_bld_hdr(p_buf, p_buf->layer_specific); 783 p_buf->len++; 784 p_buf->offset-- [all...] |
/external/bluetooth/bluedroid/stack/avrc/ |
avrc_pars_tg.c | 42 UINT8 *p_buf, UINT16 buf_len) 122 if (p_buf && (len == ((p_result->set_app_val.num_val<<1) + 1))) 124 p_result->set_app_val.p_vals = (tAVRC_APP_SETTING *)p_buf; 282 tAVRC_STS AVRC_ParsCommand (tAVRC_MSG *p_msg, tAVRC_COMMAND *p_result, UINT8 *p_buf, UINT16 buf_len) 292 status = avrc_pars_vendor_cmd(&p_msg->vendor, p_result, p_buf, buf_len);
|
/external/bluetooth/bluedroid/bta/gatt/ |
bta_gattc_act.c | 177 tBTA_GATTC_INT_START_IF *p_buf; local 209 if ((p_buf = (tBTA_GATTC_INT_START_IF *) GKI_getbuf(sizeof(tBTA_GATTC_INT_START_IF))) != NULL) 211 p_buf->hdr.event = BTA_GATTC_INT_START_IF_EVT; 212 p_buf->client_if = p_cb->cl_rcb[i].client_if; 214 bta_sys_sendmsg(p_buf); 1616 tBTA_GATTC_DATA *p_buf; local 1877 tBTA_GATTC_OP_CMPL *p_buf; local [all...] |
/external/bluetooth/bluedroid/stack/btu/ |
btu_hcif.c | 151 static void btu_hcif_store_cmd (UINT8 controller_id, BT_HDR *p_buf) 163 p = (UINT8 *)(p_buf + 1) + p_buf->offset; 175 if ((p_cmd = HCI_GET_CMD_BUF(p_buf->len + p_buf->offset - HCIC_PREAMBLE_SIZE)) == NULL) 181 memcpy (p_cmd, p_buf, sizeof(BT_HDR)); 194 opcode, *(UINT32 *)(p_buf + 1)); 196 memcpy ((UINT8 *)(p_cmd + 1), (UINT8 *)(p_buf + 1), sizeof(void *)); 200 (UINT8 *)(p_buf + 1) + p_buf->offset, p_buf->len) [all...] |
/external/bluetooth/bluedroid/bta/av/ |
bta_av_main.c | 209 BT_HDR *p_buf; local 224 if (p_scb && (p_buf = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL) 228 p_buf->event = p->event; 229 p_buf->layer_specific = p_scb->hndl; 230 bta_sys_sendmsg(p_buf); 832 tBTA_AV_ROLE_RES *p_buf; local 843 (p_buf = (tBTA_AV_ROLE_RES *) GKI_getbuf(sizeof(tBTA_AV_ROLE_RES))) != NULL) 852 p_buf->hdr.event = BTA_AV_ROLE_CHANGE_EVT; 853 p_buf->hdr.layer_specific = p_scb->hndl; 854 p_buf->new_role = id [all...] |
/external/bluetooth/bluedroid/bta/ag/ |
bta_ag_sdp.c | 72 tBTA_AG_DISC_RESULT *p_buf; local 90 if ((p_buf = (tBTA_AG_DISC_RESULT *) GKI_getbuf(sizeof(tBTA_AG_DISC_RESULT))) != NULL) 92 p_buf->hdr.event = event; 93 p_buf->hdr.layer_specific = idx; 94 p_buf->status = status; 95 bta_sys_sendmsg(p_buf);
|
bta_ag_at.c | 188 void bta_ag_at_parse(tBTA_AG_AT_CB *p_cb, char *p_buf, UINT16 len) 204 if ((p_cb->cmd_pos == 0) && (p_buf[i] == 0)) 210 p_cb->p_cmd_buf[p_cb->cmd_pos] = p_buf[i++];
|
bta_ag_sco.c | 135 BT_HDR *p_buf; local 155 if ((p_buf = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL) 157 p_buf->event = BTA_AG_SCO_OPEN_EVT; 158 p_buf->layer_specific = handle; 159 bta_sys_sendmsg(p_buf); 183 BT_HDR *p_buf; local 232 if ((p_buf = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL) 234 p_buf->event = BTA_AG_SCO_CLOSE_EVT; 235 p_buf->layer_specific = handle; 236 bta_sys_sendmsg(p_buf); 667 BT_HDR *p_buf; local [all...] |
/external/bluetooth/bluedroid/bta/dm/ |
bta_dm_pm.c | 673 tBTA_DM_PM_BTM_STATUS *p_buf; local 675 if ((p_buf = (tBTA_DM_PM_BTM_STATUS *) GKI_getbuf(sizeof(tBTA_DM_PM_BTM_STATUS))) != NULL) 677 p_buf->hdr.event = BTA_DM_PM_BTM_STATUS_EVT; 678 p_buf->status = status; 679 p_buf->value = value; 680 p_buf->hci_status = hci_status; 681 bdcpy(p_buf->bd_addr, bd_addr); 682 bta_sys_sendmsg(p_buf); 698 tBTA_DM_PM_TIMER *p_buf; local 727 if ((p_buf = (tBTA_DM_PM_TIMER *) GKI_getbuf(sizeof(tBTA_DM_PM_TIMER))) != NULL [all...] |
/external/bluetooth/bluedroid/stack/pan/ |
pan_main.c | 531 ** p_buf - pointer to the data buffer 542 BT_HDR *p_buf, 556 GKI_freebuf (p_buf); 564 GKI_freebuf (p_buf); 568 p_data = (UINT8 *)(p_buf + 1) + p_buf->offset; 569 len = p_buf->len; 597 (*pan_cb.pan_data_buf_ind_cb) (pcb->handle, src, dst, protocol, p_buf, ext, forward); 601 GKI_freebuf (p_buf); 612 result = BNEP_WriteBuf (dst_pcb->handle, dst, p_buf, protocol, src, ext) [all...] |
pan_api.c | 612 ** p_buf - pointer to the data buffer 620 tPAN_RESULT PAN_WriteBuf (UINT16 handle, BD_ADDR dst, BD_ADDR src, UINT16 protocol, BT_HDR *p_buf, BOOLEAN ext) 632 p_data = (UINT8 *)(p_buf + 1) + p_buf->offset; 633 len = p_buf->len; 635 GKI_freebuf (p_buf); 642 GKI_freebuf (p_buf); 660 GKI_freebuf (p_buf); 664 result = BNEP_WriteBuf (pan_cb.pcb[i].handle, dst, p_buf, protocol, src, ext); 685 GKI_freebuf (p_buf); [all...] |
/external/bluetooth/bluedroid/stack/l2cap/ |
l2c_api.c | 1720 BT_HDR *p_buf1, *p_buf; local [all...] |
/external/bluetooth/bluedroid/btif/include/ |
btif_hh.h | 66 BT_HDR *p_buf; member in struct:__anon3337
|
/external/bluetooth/bluedroid/stack/bnep/ |
bnep_int.h | 222 extern void bnepu_build_bnep_hdr (tBNEP_CONN *p_bcb, BT_HDR *p_buf, UINT16 protocol, 224 extern void test_bnepu_build_bnep_hdr (tBNEP_CONN *p_bcb, BT_HDR *p_buf, UINT16 protocol, 228 extern void bnepu_check_send_packet (tBNEP_CONN *p_bcb, BT_HDR *p_buf);
|
/external/bluetooth/bluedroid/stack/btm/ |
btm_sco.c | 85 BT_HDR *p_buf; local 92 if ((p_buf = (BT_HDR *)GKI_dequeue (&p->xmit_data_q)) != NULL) 93 GKI_freebuf (p_buf); 248 BT_HDR *p_buf; local 255 p_buf = NULL; 260 p_buf = (BT_HDR *)GKI_dequeue (&p_ccb->xmit_data_q); 262 HCI_SCO_DATA_TO_LOWER (p_buf); 316 ** to be written p_buf needs to carry an offset of 332 tBTM_STATUS BTM_WriteScoData (UINT16 sco_inx, BT_HDR *p_buf) 343 if (p_buf->offset < HCI_SCO_PREAMBLE_SIZE [all...] |
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
userial_linux.c | 693 extern BOOLEAN gki_chk_buf_damage(void *p_buf); 713 BT_HDR *p_buf = NULL; local 722 BT_HDR *p_buf; local 725 if ((p_buf = (BT_HDR *) GKI_getpoolbuf( USERIAL_POOL_ID ) )!= NULL) 727 p_buf->offset = 0; 728 p_buf->layer_specific = 0; 730 current_packet = (UINT8 *) (p_buf + 1); 736 ALOGE( "userial_read_thread(): unable to get buffer from GKI p_buf = %p poolid = %d\n", p_buf, USERIAL_POOL_ID); 748 p_buf->len = (UINT16)rx_length 1423 BT_HDR *p_buf = NULL; local [all...] |
/external/bluetooth/bluedroid/stack/hid/ |
hidh_conn.c | 820 BT_HDR *p_buf; local 866 if((p_buf = (BT_HDR *)GKI_getpoolbuf (pool_id)) == NULL) 869 p_buf->offset = L2CAP_MIN_OFFSET; 877 if((p_buf = (BT_HDR *)GKI_getpoolbuf (pool_id)) == NULL) 880 p_buf->offset = L2CAP_MIN_OFFSET; 887 p_buf = buf ; 888 p_buf->offset -= 1; 894 p_out = (UINT8 *)(p_buf + 1) + p_buf->offset; 921 p_buf->len = bytes_copied + 1 + use_data [all...] |
/external/bluetooth/bluedroid/hci/src/ |
btsnoop.c | 627 void btsnoop_capture(HC_BT_HDR *p_buf, uint8_t is_rcvd) 629 uint8_t *p = (uint8_t *)(p_buf + 1) + p_buf->offset; 632 hci_btsnoop_fd, p_buf->event, is_rcvd, ext_parser_fd); 642 switch (p_buf->event & MSG_EVT_MASK) 660 send_ext_parser((char*)p, p_buf->len+1); 670 switch (p_buf->event & MSG_EVT_MASK)
|
/external/bluetooth/bluedroid/stack/avdt/ |
avdt_ad.c | 459 void avdt_ad_tc_data_ind(tAVDT_TC_TBL *p_tbl, BT_HDR *p_buf) 465 p_buf->layer_specific = avdt_ad_tcid_to_type(p_tbl->tcid); 472 avdt_msg_ind(p_ccb, p_buf); 480 avdt_scb_event(p_scb, AVDT_SCB_TC_DATA_EVT, (tAVDT_SCB_EVT *) &p_buf); 483 GKI_freebuf(p_buf); 502 UINT8 avdt_ad_write_req(UINT8 type, tAVDT_CCB *p_ccb, tAVDT_SCB *p_scb, BT_HDR *p_buf) 510 return L2CA_DataWrite(avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid, p_buf);
|
/external/bluetooth/bluedroid/stack/mcap/ |
mca_cact.c | 256 BT_HDR *p_buf; local 406 p_buf = (BT_HDR *)GKI_getbuf (MCA_CTRL_MTU); 407 if (p_buf) 409 p_buf->offset = L2CAP_MIN_OFFSET; 410 p = p_start = (UINT8*)(p_buf + 1) + L2CAP_MIN_OFFSET; 421 p_buf->len = p - p_start; 422 L2CA_DataWrite (p_ccb->lcid, p_buf);
|