Searched refs:BT_HDR_SIZE (Results 1 - 25 of 36) sorted by relevance

12

/external/bluetooth/bluedroid/stack/avrc/
H A Davrc_int.h83 #define AVRC_MIN_VENDOR_SIZE (AVRC_MSG_VENDOR_OFFSET + BT_HDR_SIZE + AVRC_MIN_META_HDR_SIZE)
87 #define AVRC_MIN_PASS_THRU_SIZE (AVRC_MSG_PASS_THRU_OFFSET + BT_HDR_SIZE + 4)
89 #define AVRC_MIN_BROWSE_SIZE (AVCT_BROWSE_OFFSET + BT_HDR_SIZE + AVRC_MIN_BROWSE_HDR_SIZE)
H A Davrc_api.c179 p_pkt = (BT_HDR *)GKI_getbuf((UINT16)(AVRC_PACKET_LEN + AVCT_MSG_OFFSET + BT_HDR_SIZE));
1018 + BT_HDR_SIZE));
H A Davrc_bld_tg.c311 len_left = GKI_get_buf_size(p_pkt) - BT_HDR_SIZE - p_pkt->offset - p_pkt->len;
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
H A Dandroid_logmsg.cpp83 int nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1;
85 int data_len = BT_HDR_SIZE + p_buf->offset + p_buf->len;
108 int nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1;
110 int data_len = BT_HDR_SIZE + p_buf->offset + p_buf->len;
H A Duserial_linux.c126 #define READ_LIMIT (USERIAL_POOL_BUF_SIZE-BT_HDR_SIZE)
/external/libnfc-nci/src/nfc/int/
H A Dce_int.h141 #define CE_T4T_MAX_LE (NFC_CE_POOL_BUF_SIZE - BT_HDR_SIZE - NCI_MSG_OFFSET_SIZE - NCI_DATA_HDR_SIZE - T4T_RSP_STATUS_WORDS_SIZE)
144 #define CE_T4T_MAX_LC (NFC_CE_POOL_BUF_SIZE - BT_HDR_SIZE - NCI_DATA_HDR_SIZE - T4T_CMD_MAX_HDR_SIZE)
H A Drw_int.h407 #define RW_T4T_MAX_DATA_PER_READ (NFC_RW_POOL_BUF_SIZE - BT_HDR_SIZE - NCI_DATA_HDR_SIZE - T4T_RSP_STATUS_WORDS_SIZE)
410 #define RW_T4T_MAX_DATA_PER_WRITE (NFC_RW_POOL_BUF_SIZE - BT_HDR_SIZE - NCI_MSG_OFFSET_SIZE - NCI_DATA_HDR_SIZE - T4T_CMD_MAX_HDR_SIZE)
/external/libnfc-nci/src/adaptation/
H A Dlibmain.c453 int nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1;
455 int data_len = BT_HDR_SIZE + p_buf->offset + p_buf->len;
488 int nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1;
490 int data_len = BT_HDR_SIZE + p_buf->offset + p_buf->len;
550 int nBytes = ((BT_HDR_SIZE + p_buf->offset + p_buf->len)*2)+1;
552 int data_len = BT_HDR_SIZE + p_buf->offset + p_buf->len;
/external/libnfc-nci/src/nfc/nfc/
H A Dnfc_task.c70 if ((p_msg = (BT_HDR *) GKI_getbuf (BT_HDR_SIZE)) != NULL)
192 if ((p_msg = (BT_HDR *) GKI_getbuf (BT_HDR_SIZE)) != NULL)
H A Dnfc_main.c914 nfc_cb.p_disc_pending = GKI_getbuf ((UINT16)(BT_HDR_SIZE + 1 + params_size));
H A Dnfc_ncif.c1483 if (size < (BT_HDR_SIZE + p_last->len + p_last->offset + len))
1493 memcpy(p_max, p_last, BT_HDR_SIZE);
/external/bluetooth/bluedroid/stack/btu/
H A Dbtu_task.c591 if ((p_msg = (BT_HDR *)GKI_getbuf(BT_HDR_SIZE)) != NULL)
646 if ((p_msg = (BT_HDR *)GKI_getbuf(BT_HDR_SIZE)) != NULL)
689 if ((p_msg = (BT_HDR *)GKI_getbuf(BT_HDR_SIZE)) != NULL)
/external/libnfc-nci/src/include/
H A Dnfc_target.h377 #define LLCP_MIU (LLCP_POOL_BUF_SIZE - BT_HDR_SIZE - NCI_MSG_OFFSET_SIZE - NCI_DATA_HDR_SIZE - LLCP_PDU_HEADER_SIZE)
H A Dbt_target.h375 #define HCI_GET_CMD_BUF(paramlen) ((BT_HDR *)GKI_getbuf ((UINT16)(BT_HDR_SIZE + HCIC_PREAMBLE_SIZE + (paramlen))))
/external/libnfc-nci/src/nfc/llcp/
H A Dllcp_sdp.c139 - BT_HDR_SIZE - llcp_cb.sdp_cb.p_snl->offset
244 - BT_HDR_SIZE - llcp_cb.sdp_cb.p_snl->offset
/external/bluetooth/bluedroid/stack/avct/
H A Davct_lcb_act.c515 UINT16 buf_size = p_lcb->peer_mtu + L2CAP_MIN_OFFSET + BT_HDR_SIZE;
/external/libnfc-nci/src/nfa/dm/
H A Dnfa_dm_api.c871 size = BT_HDR_SIZE + NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE + data_len;
/external/libnfc-nci/src/nfa/ee/
H A Dnfa_ee_api.c510 if ((p_msg = (BT_HDR *) GKI_getbuf (BT_HDR_SIZE)) != NULL)
/external/libnfc-nci/src/hal/include/
H A Dnci_defs.h607 #define NCI_GET_CMD_BUF(paramlen) ((BT_HDR *) GKI_getbuf ((UINT16) (BT_HDR_SIZE + NCI_MSG_HDR_SIZE + NCI_MSG_OFFSET_SIZE + (paramlen))))
/external/bluetooth/bluedroid/stack/avdt/
H A Davdt_scb_act.c2078 buf_size = p_tbl->peer_mtu + BT_HDR_SIZE;
2085 mtu_used = buf_size - BT_HDR_SIZE;
/external/bluetooth/bluedroid/bta/av/
H A Dbta_av_main.c1104 copy_size = BT_HDR_SIZE + p_buf->len + p_buf->offset;
/external/bluetooth/bluedroid/include/
H A Dbt_target.h730 #define HCI_GET_CMD_BUF(paramlen) ((BT_HDR *)GKI_getbuf ((UINT16)(BT_HDR_SIZE + HCIC_PREAMBLE_SIZE + (paramlen))))
/external/bluetooth/bluedroid/stack/gap/
H A Dgap_conn.c1208 if ((p_msg = (BT_HDR*)GKI_getbuf(BT_HDR_SIZE)) != NULL)
/external/bluetooth/bluedroid/stack/include/
H A Dbt_types.h208 #define BT_HDR_SIZE (sizeof (BT_HDR)) macro
H A Dobx_api.h29 #define OBX_MAX_MTU (OBX_LRG_DATA_POOL_SIZE - BT_HDR_SIZE - OBX_HDR_OFFSET)

Completed in 3530 milliseconds

12