/hardware/samsung/nfc/halimpl/src/ |
D | hal_nci.cc | 28 int hal_nci_send(tNFC_NCI_PKT* pkt) { in hal_nci_send() argument 29 size_t len = (size_t)(pkt->len + NCI_HDR_SIZE); in hal_nci_send() 32 ret = __send_to_device((uint8_t*)pkt, len); in hal_nci_send() 39 util_nci_analyzer(pkt); in hal_nci_send() 128 tNFC_NCI_PKT* pkt = &msg->nci_packet; in nci_read_payload() local 131 ret = device_read(NCI_PAYLOAD(pkt), NCI_LEN(pkt)); in nci_read_payload() 132 if (ret != (int)NCI_LEN(pkt)) { in nci_read_payload() 150 bool nfc_hal_prehandler(tNFC_NCI_PKT* pkt) { in nfc_hal_prehandler() argument 151 if (NCI_MT(pkt) == NCI_MT_NTF) { in nfc_hal_prehandler() 152 if (NCI_GID(pkt) == NCI_GID_PROP) { in nfc_hal_prehandler() [all …]
|
D | hal_task.cc | 81 tNFC_NCI_PKT* pkt = &msg->nci_packet; in nfc_hal_open_sm() local 90 util_nci_analyzer(pkt); in nfc_hal_open_sm() 91 if (NCI_MT(pkt) != NCI_MT_RSP || NCI_GID(pkt) != NCI_GID_PROP || in nfc_hal_open_sm() 92 NCI_OID(pkt) != NCI_PROP_FW_CFG) { in nfc_hal_open_sm() 95 if (NCI_STATUS(pkt) != NCI_STATUS_OK && in nfc_hal_open_sm() 96 NCI_STATUS(pkt) != NCI_STATUS_E_SYNTAX && in nfc_hal_open_sm() 97 NCI_STATUS(pkt) != NCI_CLOCK_STATUS_SYNTAX_ERROR && in nfc_hal_open_sm() 98 NCI_STATUS(pkt) != NCI_CLOCK_STATUS_MISMATCHED && in nfc_hal_open_sm() 99 NCI_STATUS(pkt) != NCI_CLOCK_STATUS_FULL) { in nfc_hal_open_sm() 100 OSI_loge("Failed to config FW, status: %d", NCI_STATUS(pkt)); in nfc_hal_open_sm() [all …]
|
D | hal.cc | 47 bool nfc_data_callback(tNFC_NCI_PKT* pkt) { in nfc_data_callback() argument 48 uint8_t* data = (uint8_t*)pkt; in nfc_data_callback() 49 size_t len = NCI_LEN(pkt) + NCI_HDR_SIZE; in nfc_data_callback()
|
/hardware/google/apf/ |
D | apf_checksum_test.cc | 32 } pkt; in TEST() member 56 ether_ipv4_udp_pkt.pkt.iphdr.check = 0; in TEST() 58 ether_ipv4_udp_pkt.pkt.udphdr.check = htons(sizeof(ether_ipv4_udp_pkt) - IPV4_HLEN - ETH_HLEN); in TEST() 66 EXPECT_EQ(read_be16((uint8_t *)ðer_ipv4_udp_pkt.pkt.iphdr.check), 0x9535); in TEST() 67 EXPECT_EQ(read_be16((uint8_t *)ðer_ipv4_udp_pkt.pkt.udphdr.check), 0xa73d); in TEST() 79 } pkt; in TEST() member 99 ether_ipv6_udp_pkt.pkt.udphdr.check = htons(sizeof(ether_ipv6_udp_pkt) - IPV6_HLEN - ETH_HLEN); in TEST() 107 EXPECT_EQ(read_be16((uint8_t *)ðer_ipv6_udp_pkt.pkt.udphdr.check), 0x1cbd); in TEST() 119 } pkt; in TEST() member 137 …ether_ipv6_icmp6_pkt.pkt.icmp6hdr.icmp6_cksum = htons(sizeof(ether_ipv6_icmp6_pkt) - IPV6_HLEN - E… in TEST() [all …]
|
D | apf_checksum.h | 48 FUNC(int csum_and_return_dscp(u8* const pkt, const s32 len, const u8 ip_ofs, in FUNC() argument 52 u32 csum = calc_csum(partial_csum, pkt + csum_start, len - csum_start); in FUNC() 54 store_be16(pkt + csum_ofs, csum); in FUNC() 57 u8 ip = pkt[ip_ofs] >> 4; in FUNC() 59 store_be16(pkt + ip_ofs + 10, calc_csum(0, pkt + ip_ofs, IPV4_HLEN)); in FUNC() 60 return pkt[ip_ofs + 1] >> 2; /* DSCP */ in FUNC() 62 return (read_be16(pkt + ip_ofs) >> 6) & 0x3F; /* DSCP */ in FUNC()
|
D | apf_run_test.sh | 15 pkt=$(cat testdata/$testcase.packet) 18 args="--trace --program $prog --packet $pkt"
|
D | apf_run.c | 171 uint32_t program_len, uint32_t ram_len, const char* pkt, uint32_t filter_age) { in packet_handler() argument 173 uint32_t packet_len = parse_hex(pkt, &packet); in packet_handler()
|
/hardware/google/apf/v7/ |
D | apf_checksum.h | 48 FUNC(int csum_and_return_dscp(u8* const pkt, const s32 len, const u8 ip_ofs, in FUNC() argument 52 u32 csum = calc_csum(partial_csum, pkt + csum_start, len - csum_start); in FUNC() 54 store_be16(pkt + csum_ofs, csum); in FUNC() 57 u8 ip = pkt[ip_ofs] >> 4; in FUNC() 59 store_be16(pkt + ip_ofs + 10, calc_csum(0, pkt + ip_ofs, IPV4_HLEN)); in FUNC() 60 return pkt[ip_ofs + 1] >> 2; /* DSCP */ in FUNC() 62 return (read_be16(pkt + ip_ofs) >> 6) & 0x3F; /* DSCP */ in FUNC()
|
D | apf_interpreter.c | 566 FUNC(int apf_internal_csum_and_return_dscp(u8* const pkt, const s32 len, const u8 ip_ofs, in FUNC() argument 570 u32 csum = apf_internal_calc_csum(partial_csum, pkt + csum_start, len - csum_start); in FUNC() 572 store_be16(pkt + csum_ofs, csum); in FUNC() 575 u8 ip = pkt[ip_ofs] >> 4; in FUNC() 577 store_be16(pkt + ip_ofs + 10, apf_internal_calc_csum(0, pkt + ip_ofs, IPV4_HLEN)); in FUNC() 578 return pkt[ip_ofs + 1] >> 2; /* DSCP */ in FUNC() 580 return (read_be16(pkt + ip_ofs) >> 6) & 0x3F; /* DSCP */ in FUNC()
|
/hardware/google/aemu/host-common/include/host-common/ |
D | MediaH264DecoderPlugin.h | 103 PacketInfo pkt{data, pts}; 104 savedPackets.push_back(std::move(pkt)); 114 PacketInfo pkt{vec, pts}; 115 savedPackets.push_back(std::move(pkt)); 153 void savePacketInfo(base::Stream* stream, const PacketInfo& pkt) const { in savePacketInfo() 154 saveVec(stream, pkt.data); in savePacketInfo() 155 stream->putBe64(pkt.pts); in savePacketInfo() 158 void loadPacketInfo(base::Stream* stream, PacketInfo& pkt) { in loadPacketInfo() 159 loadVec(stream, pkt.data); in loadPacketInfo() 160 pkt.pts = stream->getBe64(); in loadPacketInfo()
|
D | MediaSnapshotState.h | 103 void savePacketInfo(base::Stream* stream, const PacketInfo& pkt) const; 108 void loadPacketInfo(base::Stream* stream, PacketInfo& pkt);
|
/hardware/google/aemu/host-common/ |
D | MediaSnapshotState.cpp | 38 PacketInfo pkt{data, pts}; in savePacket() local 39 savedPackets.push_back(std::move(pkt)); in savePacket() 50 PacketInfo pkt{vec, pts}; in savePacket() local 51 savedPackets.push_back(std::move(pkt)); in savePacket() 127 const PacketInfo& pkt) const { in savePacketInfo() 128 saveVec(stream, pkt.data); in savePacketInfo() 129 stream->putBe64(pkt.pts); in savePacketInfo() 132 void MediaSnapshotState::loadPacketInfo(base::Stream* stream, PacketInfo& pkt) { in loadPacketInfo() argument 133 loadVec(stream, pkt.data); in loadPacketInfo() 134 pkt.pts = stream->getBe64(); in loadPacketInfo()
|
D | MediaSnapshotHelper.cpp | 128 MediaSnapshotState::PacketInfo& pkt = in replay() local 131 (int)pkt.data.size()); in replay() 132 oneShotDecode(pkt.data.data(), pkt.data.size(), pkt.pts); in replay()
|
D | MediaH264DecoderFfmpeg.cpp | 485 PacketInfo& pkt = mSnapshotState.savedPackets[i]; in load() local 486 oneShotDecode(pkt.data, pkt.pts); in load()
|
D | MediaH264DecoderVideoToolBox.cpp | 734 PacketInfo& pkt = mSnapshotState.savedPackets[i]; in load() local 735 oneShotDecode(pkt.data, pkt.pts); in load()
|
/hardware/samsung/nfc/halimpl/include/ |
D | hal.h | 101 typedef uint8_t(tNFC_HAL_GRANT_CALLBACK)(tNFC_NCI_PKT* pkt); 174 bool nfc_data_callback(tNFC_NCI_PKT* pkt); 202 int hal_nci_send(tNFC_NCI_PKT* pkt); 207 bool nfc_hal_prehandler(tNFC_NCI_PKT* pkt); 211 void sec_nci_analyzer(tNFC_NCI_PKT* pkt);
|
/hardware/google/apf/devtools/ |
D | apf_interpreter.c | 566 FUNC(int apf_internal_csum_and_return_dscp(u8* const pkt, const s32 len, const u8 ip_ofs, in FUNC() argument 570 u32 csum = apf_internal_calc_csum(partial_csum, pkt + csum_start, len - csum_start); in FUNC() 572 store_be16(pkt + csum_ofs, csum); in FUNC() 575 u8 ip = pkt[ip_ofs] >> 4; in FUNC() 577 store_be16(pkt + ip_ofs + 10, apf_internal_calc_csum(0, pkt + ip_ofs, IPV4_HLEN)); in FUNC() 578 return pkt[ip_ofs + 1] >> 2; /* DSCP */ in FUNC() 580 return (read_be16(pkt + ip_ofs) >> 6) & 0x3F; /* DSCP */ in FUNC()
|
/hardware/google/apf/v6/ |
D | apf_interpreter.c | 564 FUNC(int apf_internal_csum_and_return_dscp(u8* const pkt, const s32 len, const u8 ip_ofs, in FUNC() argument 568 u32 csum = apf_internal_calc_csum(partial_csum, pkt + csum_start, len - csum_start); in FUNC() 570 store_be16(pkt + csum_ofs, csum); in FUNC() 573 u8 ip = pkt[ip_ofs] >> 4; in FUNC() 575 store_be16(pkt + ip_ofs + 10, apf_internal_calc_csum(0, pkt + ip_ofs, IPV4_HLEN)); in FUNC() 576 return pkt[ip_ofs + 1] >> 2; /* DSCP */ in FUNC() 578 return (read_be16(pkt + ip_ofs) >> 6) & 0x3F; /* DSCP */ in FUNC()
|
/hardware/interfaces/wifi/supplicant/1.3/ |
D | ISupplicantStaIface.hal | 116 * @param pkt The contents of the HLP packet starting from ethertype 124 filsHlpAddRequest(MacAddress dst_mac, vec<uint8_t> pkt) generates (SupplicantStatus status);
|
/hardware/interfaces/wifi/supplicant/aidl/aidl_api/android.hardware.wifi.supplicant/1/android/hardware/wifi/supplicant/ |
D | ISupplicantStaIface.aidl | 44 void filsHlpAddRequest(in byte[] dst_mac, in byte[] pkt); in filsHlpAddRequest() argument
|
/hardware/interfaces/wifi/supplicant/aidl/aidl_api/android.hardware.wifi.supplicant/2/android/hardware/wifi/supplicant/ |
D | ISupplicantStaIface.aidl | 44 void filsHlpAddRequest(in byte[] dst_mac, in byte[] pkt); in filsHlpAddRequest() argument
|
/hardware/interfaces/wifi/1.3/ |
D | IWifiChip.hal | 83 * This API help to collect firmware/driver/pkt logs.
|
/hardware/interfaces/wifi/supplicant/aidl/aidl_api/android.hardware.wifi.supplicant/current/android/hardware/wifi/supplicant/ |
D | ISupplicantStaIface.aidl | 44 void filsHlpAddRequest(in byte[] dst_mac, in byte[] pkt); in filsHlpAddRequest() argument
|
/hardware/interfaces/wifi/supplicant/aidl/aidl_api/android.hardware.wifi.supplicant/3/android/hardware/wifi/supplicant/ |
D | ISupplicantStaIface.aidl | 44 void filsHlpAddRequest(in byte[] dst_mac, in byte[] pkt); in filsHlpAddRequest() argument
|
/hardware/interfaces/wifi/supplicant/aidl/android/hardware/wifi/supplicant/ |
D | ISupplicantStaIface.aidl | 151 void filsHlpAddRequest(in byte[] dst_mac, in byte[] pkt); in filsHlpAddRequest() argument
|