Searched refs:writePacket (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/ |
D | PacketReflector.java | 101 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/ |
D | TetheringUtilsTest.java | 118 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/ |
D | dns_responder.cpp | 897 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()
|
D | dns_responder.h | 267 bool writePacket(const DNSHeader* header, char* response, size_t* response_len) const;
|