Home
last modified time | relevance | path

Searched refs:writePacket (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DPacketReflector.java101 writePacket(buf, len); in processTcpPacket()
119 writePacket(buf, len); in processUdpPacket()
139 writePacket(buf, len); in processIcmpPacket()
181 writePacket(buf, len); in processIcmpPacket()
184 private void writePacket(@NonNull byte[] buf, int len) { in writePacket() method in PacketReflector
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/util/
DTetheringUtilsTest.java118 private int writePacket(FileDescriptor fd, ByteBuffer pkt) throws Exception { in writePacket() method in TetheringUtilsTest
143 int len = writePacket(out, dropped); in checkIcmpSocketFilter()
150 writePacket(out, dropped); in checkIcmpSocketFilter()
151 len = writePacket(out, passed); in checkIcmpSocketFilter()
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.cpp897 bool DNSResponder::writePacket(const DNSHeader* header, char* response, in writePacket() function in test::DNSResponder
914 return writePacket(header, response, response_len); in makeErrorResponse()
927 return writePacket(header, response, response_len); in makeTruncatedResponse()
988 return writePacket(header, response, response_len); in makeResponseFromAddressOrHostname()
1034 return writePacket(header, response, response_len); in makeResponseFromDnsHeader()
1071 return writePacket(header, response, response_len); in makeResponseFromBinaryPacket()
Ddns_responder.h267 bool writePacket(const DNSHeader* header, char* response, size_t* response_len) const;