Home
last modified time | relevance | path

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

/system/nfc/src/nfc/llcp/
Dllcp_api.cc700 uint16_t pdu_hdr, ui_pdu_length; in LLCP_ReadLogicalLinkData() local
716 BE_STREAM_TO_UINT16(ui_pdu_length, p_ui_pdu); in LLCP_ReadLogicalLinkData()
726 if (max_data_len >= (uint32_t)(ui_pdu_length - LLCP_PDU_HEADER_SIZE - in LLCP_ReadLogicalLinkData()
729 *p_data_len = (uint32_t)(ui_pdu_length - LLCP_PDU_HEADER_SIZE - in LLCP_ReadLogicalLinkData()
735 p_buf->offset += LLCP_PDU_AGF_LEN_SIZE + ui_pdu_length; in LLCP_ReadLogicalLinkData()
736 p_buf->len -= LLCP_PDU_AGF_LEN_SIZE + ui_pdu_length; in LLCP_ReadLogicalLinkData()
786 uint16_t ui_pdu_length; in LLCP_FlushLogicalLinkRxData() local
800 BE_STREAM_TO_UINT16(ui_pdu_length, p_ui_pdu); in LLCP_FlushLogicalLinkRxData()
802 flushed_length += (uint32_t)(ui_pdu_length - LLCP_PDU_HEADER_SIZE - in LLCP_FlushLogicalLinkRxData()
807 p_buf->offset += LLCP_PDU_AGF_LEN_SIZE + ui_pdu_length; in LLCP_FlushLogicalLinkRxData()
[all …]
Dllcp_link.cc68 uint16_t ui_pdu_length, uint8_t* p_ui_pdu,
955 uint16_t ui_pdu_length, uint8_t* p_ui_pdu, in llcp_link_proc_ui_pdu() argument
985 ui_pdu_length = p_msg->len; /* including LLCP header */ in llcp_link_proc_ui_pdu()
1000 if (available_bytes >= LLCP_PDU_AGF_LEN_SIZE + ui_pdu_length) { in llcp_link_proc_ui_pdu()
1005 UINT16_TO_BE_STREAM(p_dst, ui_pdu_length); in llcp_link_proc_ui_pdu()
1008 memcpy(p_dst, p_ui_pdu, ui_pdu_length); in llcp_link_proc_ui_pdu()
1010 p_last_buf->len += LLCP_PDU_AGF_LEN_SIZE + ui_pdu_length; in llcp_link_proc_ui_pdu()
1024 UINT16_TO_BE_STREAM(p_ui_pdu, ui_pdu_length); in llcp_link_proc_ui_pdu()
1036 UINT16_TO_BE_STREAM(p_dst, ui_pdu_length); in llcp_link_proc_ui_pdu()
1038 memcpy(p_dst, p_ui_pdu, ui_pdu_length); in llcp_link_proc_ui_pdu()
[all …]