Home
last modified time | relevance | path

Searched refs:ptype (Results 1 – 10 of 10) 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.cc753 uint8_t ptype, uint8_t sequence) { in llcp_util_send_frmr() argument
768 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/memory/lmkd/include/
Dlmkd.h108 enum proc_type ptype; member
121 params->ptype = field_count > 3 ? (enum proc_type)ntohl(packet[4]) : PROC_TYPE_APP; in lmkd_pack_get_procprio()
133 packet[4] = htonl((int)params->ptype); in lmkd_pack_set_procprio()
/system/core/init/
Dlmkd_service.cpp51 params.ptype = PROC_TYPE_SERVICE; in RegisterProcess()
/system/bpf/libbpf_android/
DLoader.cpp411 enum bpf_prog_type ptype = getSectionType(name); in readCodeSections() local
412 if (ptype != BPF_PROG_TYPE_UNSPEC) { in readCodeSections()
418 cs_temp.type = ptype; in readCodeSections()
/system/memory/lmkd/tests/
Dlmkd_test.cpp255 params.ptype = PROC_TYPE_APP; in runMemStressTest()
/system/memory/lmkd/
Dlmkd.cpp1107 if (params.ptype < PROC_TYPE_FIRST || params.ptype >= PROC_TYPE_COUNT) { in cmd_procprio()
1108 ALOGE("Invalid PROCPRIO process type argument %d", params.ptype); in cmd_procprio()
1139 if (params.ptype == PROC_TYPE_APP && per_app_memcg) { in cmd_procprio()