/external/bluetooth/bluedroid/btif/src/ |
btif_media_task.c | 259 static void btif_media_task_handle_cmd(BT_HDR *p_msg); 260 static void btif_media_task_handle_media(BT_HDR *p_msg); 267 static void btif_media_task_enc_init(BT_HDR *p_msg); 268 static void btif_media_task_enc_update(BT_HDR *p_msg); 269 static void btif_media_task_audio_feeding_init(BT_HDR *p_msg); 270 static void btif_media_task_aa_tx_flush(BT_HDR *p_msg); 1107 BT_HDR *p_msg; 1126 while ((p_msg = (BT_HDR *) GKI_read_mbox(BTIF_MEDIA_TASK_CMD_MBOX)) != NULL) 1135 while ((p_msg = (BT_HDR *) GKI_read_mbox(BTIF_MEDIA_TASK_DATA_MBOX)) != NULL) [all...] |
/external/bluetooth/bluedroid/stack/avct/ |
avct_lcb_act.c | 52 static BT_HDR *avct_lcb_msg_asmbl(tAVCT_LCB *p_lcb, BT_HDR *p_buf) 56 BT_HDR *p_ret; 117 buf_len = GKI_get_buf_size(p_lcb->p_rx_msg) - sizeof(BT_HDR); 453 BT_HDR *p_buf; 460 while ( !p_lcb->cong && (p_buf = (BT_HDR *)GKI_dequeue(&p_lcb->tx_q)) != NULL) 511 BT_HDR *p_buf; 545 if ((p_buf = (BT_HDR *) GKI_getbuf(buf_size)) == NULL) 647 BT_HDR *p_buf; 691 if ((p_buf = (BT_HDR *) GKI_getpoolbuf(AVCT_CMD_POOL_ID)) != NULL [all...] |
avct_int.h | 81 BT_HDR *p_rx_msg; /* Message being reassembled */ 97 BT_HDR *p_tx_msg; /* Message to be sent - in case the browsing channel is not open when MsgReg is called */ 114 BT_HDR *p_buf; 123 BT_HDR *p_buf;
|
/external/bluetooth/bluedroid/stack/gap/ |
gap_conn.c | 37 static void gap_data_ind (UINT16 l2cap_cid, BT_HDR *p_msg); 294 BT_HDR *p_buf; 302 p_buf = (BT_HDR *)GKI_getfirst (&p_ccb->rx_queue); 329 p_buf = (BT_HDR *)GKI_getnext (p_buf); 397 UINT16 GAP_ConnBTRead (UINT16 gap_handle, BT_HDR **pp_buf) 400 BT_HDR *p_buf; 405 p_buf = (BT_HDR *)GKI_dequeue (&p_ccb->rx_queue); 436 UINT16 GAP_ConnBTWrite (UINT16 gap_handle, BT_HDR *p_buf) 469 while ((p_buf = (BT_HDR *)GKI_dequeue (&p_ccb->tx_queue)) != NULL) 507 BT_HDR *p_buf [all...] |
/external/libnfc-nci/src/nfc/llcp/ |
llcp_util.c | 270 tLLCP_STATUS llcp_util_send_ui (UINT8 ssap, UINT8 dsap, tLLCP_APP_CB *p_app_cb, BT_HDR *p_msg) 315 BT_HDR *p_msg; 318 p_msg = (BT_HDR*) GKI_getpoolbuf (LLCP_POOL_ID); 424 BT_HDR *p_msg; 442 p_msg = (BT_HDR*) GKI_getpoolbuf (LLCP_POOL_ID); 580 BT_HDR *p_msg; 594 p_msg = (BT_HDR*) GKI_getpoolbuf (LLCP_POOL_ID); 697 BT_HDR *p_msg; 700 p_msg = (BT_HDR*) GKI_getpoolbuf (LLCP_POOL_ID); 726 void llcp_util_build_info_pdu (tLLCP_DLCB *p_dlcb, BT_HDR *p_msg [all...] |
/external/bluetooth/bluedroid/stack/rfcomm/ |
port_api.c | [all...] |
rfc_int.h | 54 extern void RFCOMM_DataReq (tRFC_MCB *p_mcb, UINT8 dlci, BT_HDR *p_buf); 297 extern void rfc_process_test_rsp (tRFC_MCB *p_rfc_mcb, BT_HDR *p_buf); 321 extern void rfc_check_send_cmd(tRFC_MCB *p_mcb, BT_HDR *p_buf); 332 extern void rfc_send_test (tRFC_MCB *p_rfc_mcb, BOOLEAN is_command, BT_HDR *p_buf); 340 extern void rfc_send_buf_uih (tRFC_MCB *p_rfc_mcb, UINT8 dlci, BT_HDR *p_buf); 342 extern void rfc_process_mx_message (tRFC_MCB *p_rfc_mcb, BT_HDR *p_buf); 343 extern UINT8 rfc_parse_data (tRFC_MCB *p_rfc_mcb, MX_FRAME *p_frame, BT_HDR *p_buf); 363 extern void PORT_DataInd (tRFC_MCB *p_mcb, UINT8 dlci, BT_HDR *p_buf);
|
/external/bluetooth/bluedroid/main/ |
bte_main.c | 505 void bte_main_hci_send (BT_HDR *p_msg, UINT16 event) 632 BT_HDR *p_hdr = NULL; 638 p_hdr = (BT_HDR *) GKI_getbuf ((UINT16) size); 692 BT_HDR *p_msg = (BT_HDR *) transac; 727 ((BT_HDR *)transac)->event);
|
/external/libnfc-nci/src/nfc/int/ |
llcp_int.h | 213 BT_HDR *p_snl; /* buffer for SNL PDU */ 319 tLLCP_STATUS llcp_util_send_ui (UINT8 ssap, UINT8 dsap, tLLCP_APP_CB *p_app_cb, BT_HDR *p_msg); 328 void llcp_util_build_info_pdu (tLLCP_DLCB *p_dlcb, BT_HDR *p_msg); 338 void llcp_dlc_proc_i_pdu (UINT8 dsap, UINT8 ssap, UINT16 i_pdu_length, UINT8 *p_i_pdu, BT_HDR *p_msg); 342 BT_HDR *llcp_dlc_get_next_pdu (tLLCP_DLCB *p_dlcb);
|
/external/bluetooth/bluedroid/stack/avdt/ |
avdt_ccb_act.c | 49 BT_HDR *p_buf; 70 while ((p_buf = (BT_HDR *) GKI_dequeue(&p_ccb->rsp_q)) != NULL) 683 p_ccb->p_curr_cmd = (BT_HDR *) GKI_dequeue(&p_ccb->cmd_q); 796 BT_HDR *p_msg; 814 if ((p_msg = (BT_HDR *) GKI_getpoolbuf(AVDT_CMD_POOL_ID)) != NULL) 817 (sizeof(BT_HDR) + p_ccb->p_curr_cmd->offset + p_ccb->p_curr_cmd->len)); 840 BT_HDR *p_msg; 847 if ((p_msg = (BT_HDR *) GKI_dequeue(&p_ccb->cmd_q)) != NULL) 850 if ((p_ccb->p_curr_cmd = (BT_HDR *) GKI_getpoolbuf(AVDT_CMD_POOL_ID)) != NULL) 852 memcpy(p_ccb->p_curr_cmd, p_msg, (sizeof(BT_HDR) + p_msg->offset + p_msg->len)) [all...] |
/external/bluetooth/bluedroid/stack/gatt/ |
gatt_int.h | 251 BT_HDR *p_cmd; 269 BT_HDR *p_rsp_msg; 413 BT_HDR hdr; 419 BT_HDR hdr; 421 BT_HDR *p_data; 527 extern void gatt_data_process (tGATT_TCB *p_tcb, BT_HDR *p_buf); 548 extern BT_HDR *attp_build_sr_msg(tGATT_TCB *p_tcb, UINT8 op_code, tGATT_SR_MSG *p_msg); 549 extern tGATT_STATUS attp_send_sr_msg (tGATT_TCB *p_tcb, BT_HDR *p_msg); 550 extern BOOLEAN attp_send_msg_to_L2CAP(tGATT_TCB *p_tcb, BT_HDR *p_toL2CAP); 653 extern BOOLEAN gatt_cmd_enq(tGATT_TCB *p_tcb, UINT16 clcb_idx, BOOLEAN to_send, UINT8 op_code, BT_HDR *p_buf) [all...] |
/external/bluetooth/bluedroid/stack/include/ |
avrc_api.h | 354 ** The above BT_HDR settings are set by the AVRC_Bld* functions. 360 AVRC_API extern UINT16 AVRC_MsgReq (UINT8 handle, UINT8 label, UINT8 ctype, BT_HDR *p_pkt); 593 AVRC_API extern tAVRC_STS AVRC_BldCommand( tAVRC_COMMAND *p_cmd, BT_HDR **pp_pkt); 606 AVRC_API extern tAVRC_STS AVRC_BldResponse( UINT8 handle, tAVRC_RESPONSE *p_rsp, BT_HDR **pp_pkt);
|
l2c_api.h | 241 typedef void (tL2CA_DATA_IND_CB) (UINT16, BT_HDR *); 493 L2C_API extern UINT8 L2CA_DataWrite (UINT16 cid, BT_HDR *p_data); 516 L2C_API extern BOOLEAN L2CA_Echo (BD_ADDR p_bd_addr, BT_HDR *p_data, tL2CA_ECHO_DATA_CB *p_callback); 729 L2C_API extern UINT8 L2CA_DataWriteEx (UINT16 cid, BT_HDR *p_data, UINT16 flags); 805 typedef void (tL2CA_UCD_DATA_CB) (BD_ADDR, BT_HDR *); [all...] |
/external/bluetooth/bluedroid/stack/bnep/ |
bnep_utils.c | 37 static UINT8 *bnepu_init_hdr (BT_HDR *p_buf, UINT16 hdr_len, UINT8 pkt_type); 172 BT_HDR *p_buf; 176 if ((p_buf = (BT_HDR *)GKI_getpoolbuf (BNEP_POOL_ID)) == NULL) 230 BT_HDR *p_buf; 234 if ((p_buf = (BT_HDR *)GKI_getpoolbuf (BNEP_POOL_ID)) == NULL) 270 BT_HDR *p_buf; 276 if ((p_buf = (BT_HDR *)GKI_getpoolbuf (BNEP_POOL_ID)) == NULL) 322 BT_HDR *p_buf; 328 if ((p_buf = (BT_HDR *)GKI_getpoolbuf (BNEP_POOL_ID)) == NULL) 375 BT_HDR *p_buf [all...] |
bnep_int.h | 131 BT_HDR *p_pending_data; 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/mcap/ |
mca_cact.c | 94 BT_HDR *p_pkt; 119 p_pkt = (BT_HDR *)GKI_getbuf (MCA_CTRL_MTU); 160 BT_HDR *p_pkt; 167 p_pkt = (BT_HDR *)GKI_getbuf (MCA_CTRL_MTU); 255 BT_HDR *p_pkt = &p_data->hdr; 256 BT_HDR *p_buf; 406 p_buf = (BT_HDR *)GKI_getbuf (MCA_CTRL_MTU); 456 BT_HDR *p_pkt = &p_data->hdr;
|
/external/bluetooth/bluedroid/stack/smp/ |
smp_l2c.c | 38 static void smp_data_ind (BD_ADDR bd_addr, BT_HDR *p_buf); 124 static void smp_data_ind (BD_ADDR bd_addr, BT_HDR *p_buf)
|
/external/libnfc-nci/src/adaptation/ |
libmain.c | 450 void DispHciCmd (BT_HDR *p_buf) 485 void DispHciEvt (BT_HDR *p_buf) 547 void DispLLCP (BT_HDR *p_buf, BOOLEAN is_recv) 607 void DispSNEP (UINT8 local_sap, UINT8 remote_sap, BT_HDR *p_buf, BOOLEAN is_first, BOOLEAN is_rx) {} 609 void DispT3TagMessage(BT_HDR *p_msg, BOOLEAN is_rx) {} 610 void DispRWT4Tags (BT_HDR *p_buf, BOOLEAN is_rx) {} 611 void DispCET4Tags (BT_HDR *p_buf, BOOLEAN is_rx) {} 612 void DispRWI93Tag (BT_HDR *p_buf, BOOLEAN is_rx, UINT8 command_to_respond) {}
|
/external/libnfc-nci/src/nfc/include/ |
ce_api.h | 59 BT_HDR *p_data; 74 BT_HDR *p_data;
|
/external/libnfc-nci/src/udrv/include/ |
usb.h | 220 UDRV_API extern void USB_ReadBuf(tUSB_PORT, BT_HDR **); 222 UDRV_API extern BOOLEAN USB_WriteBuf(tUSB_PORT, BT_HDR *);
|
/external/bluetooth/bluedroid/stack/l2cap/ |
l2c_fcr.c | 90 static void process_s_frame (tL2C_CCB *p_ccb, BT_HDR *p_buf, UINT16 ctrl_word); 91 static void process_i_frame (tL2C_CCB *p_ccb, BT_HDR *p_buf, UINT16 ctrl_word, BOOLEAN delay_ack); 93 static void prepare_I_frame (tL2C_CCB *p_ccb, BT_HDR *p_buf, BOOLEAN is_retransmission); 94 static void process_stream_frame (tL2C_CCB *p_ccb, BT_HDR *p_buf); 95 static BOOLEAN do_sar_reassembly (tL2C_CCB *p_ccb, BT_HDR *p_buf, UINT16 ctrl_word); 98 static BOOLEAN l2c_corrupt_the_fcr_packet (tL2C_CCB *p_ccb, BT_HDR *p_buf, 140 UINT16 l2c_fcr_tx_get_fcs (BT_HDR *p_buf) 156 UINT16 l2c_fcr_rx_get_fcs (BT_HDR *p_buf) 336 BT_HDR *l2c_fcr_clone_buf (BT_HDR *p_buf, UINT16 new_offset, UINT16 no_of_bytes, UINT8 pool [all...] |
/external/bluetooth/bluedroid/bta/gatt/ |
bta_gatts_main.c | 63 BOOLEAN bta_gatts_hdl_event(BT_HDR *p_msg)
|
/external/bluetooth/bluedroid/bta/include/ |
bta_pan_co.h | 35 /* BT_HDR buffer offset */ 155 BTA_API extern void bta_pan_co_tx_writebuf(UINT16 handle, UINT8 app_id, BD_ADDR src, BD_ADDR dst, UINT16 protocol, BT_HDR *p_buf,
|
/external/bluetooth/bluedroid/bta/sys/ |
bta_sys_int.h | 113 BOOLEAN bta_sys_sm_execute(BT_HDR *p_msg);
|
/external/bluetooth/bluedroid/btif/include/ |
btif_hh.h | 66 BT_HDR *p_buf;
|