Home
last modified time | relevance | path

Searched refs:ptype (Results 1 – 6 of 6) sorted by relevance

/system/nfc/src/nfc/llcp/
Dllcp_link.cc71 static void llcp_link_proc_rx_pdu(uint8_t dsap, uint8_t ptype, uint8_t ssap,
88 static std::string llcp_pdu_type(uint8_t ptype);
1094 uint8_t dsap, ptype, ssap; in llcp_link_proc_agf_pdu() local
1151 ptype = (uint8_t)(LLCP_GET_PTYPE(pdu_hdr)); in llcp_link_proc_agf_pdu()
1157 dsap, llcp_pdu_type(ptype).c_str(), ptype, ssap); in llcp_link_proc_agf_pdu()
1159 if ((ptype == LLCP_PDU_DISC_TYPE) && (dsap == LLCP_SAP_LM) && in llcp_link_proc_agf_pdu()
1164 } else if (ptype == LLCP_PDU_AGF_TYPE) { in llcp_link_proc_agf_pdu()
1166 } else if (ptype == LLCP_PDU_SYMM_TYPE) { in llcp_link_proc_agf_pdu()
1168 } else if (ptype == LLCP_PDU_PAX_TYPE) { in llcp_link_proc_agf_pdu()
1170 } else if (ptype == LLCP_PDU_SNL_TYPE) { in llcp_link_proc_agf_pdu()
[all …]
Dllcp_dlc.cc1060 static void llcp_dlc_proc_rr_rnr_pdu(uint8_t dsap, uint8_t ptype, uint8_t ssap, in llcp_dlc_proc_rr_rnr_pdu() argument
1097 llcp_util_send_frmr(p_dlcb, error_flags, ptype, *p_data); in llcp_dlc_proc_rr_rnr_pdu()
1107 if (ptype == LLCP_PDU_RNR_TYPE) { in llcp_dlc_proc_rr_rnr_pdu()
1169 void llcp_dlc_proc_rx_pdu(uint8_t dsap, uint8_t ptype, uint8_t ssap, in llcp_dlc_proc_rx_pdu() argument
1174 << StringPrintf("DSAP:0x%x, PTYPE:0x%x, SSAP:0x%x", dsap, ptype, ssap); in llcp_dlc_proc_rx_pdu()
1177 LOG(ERROR) << StringPrintf("Invalid SAP:0x%x for PTYPE:0x%x", dsap, ptype); in llcp_dlc_proc_rx_pdu()
1181 switch (ptype) { in llcp_dlc_proc_rx_pdu()
1207 llcp_dlc_proc_rr_rnr_pdu(dsap, ptype, ssap, length, p_data); in llcp_dlc_proc_rx_pdu()
1211 LOG(ERROR) << StringPrintf("Unexpected PDU type (0x%x)", ptype); in llcp_dlc_proc_rx_pdu()
1215 llcp_util_send_frmr(p_dlcb, LLCP_FRMR_W_ERROR_FLAG, ptype, 0); in llcp_dlc_proc_rx_pdu()
Dllcp_util.cc752 uint8_t ptype, uint8_t sequence) { in llcp_util_send_frmr() argument
767 UINT8_TO_BE_STREAM(p, (flags << 4) | ptype); in llcp_util_send_frmr()
/system/nfc/src/nfc/include/
Dllcp_defs.h37 #define LLCP_GET_PDU_HEADER(dsap, ptype, ssap) \ argument
38 (((uint16_t)(dsap) << 10) | ((uint16_t)(ptype) << 6) | (uint16_t)(ssap))
Dllcp_int.h332 uint8_t ptype, uint8_t sequence);
344 void llcp_dlc_proc_rx_pdu(uint8_t dsap, uint8_t ptype, uint8_t ssap,
/system/bpf/libbpf_android/
DLoader.cpp298 enum bpf_prog_type ptype = getSectionType(name); in readCodeSections() local
299 if (ptype != BPF_PROG_TYPE_UNSPEC) { in readCodeSections()
301 cs_temp.type = ptype; in readCodeSections()