Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DPacketReflector.java103 writePacket(buf, len); in processTcpPacket()
121 writePacket(buf, len); in processUdpPacket()
141 writePacket(buf, len); in processIcmpPacket()
183 writePacket(buf, len); in processIcmpPacket()
186 private void writePacket(byte[] buf, int len) { in writePacket() method in PacketReflector
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/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.cpp894 bool DNSResponder::writePacket(const DNSHeader* header, char* response, in writePacket() function in test::DNSResponder
911 return writePacket(header, response, response_len); in makeErrorResponse()
924 return writePacket(header, response, response_len); in makeTruncatedResponse()
985 return writePacket(header, response, response_len); in makeResponseFromAddressOrHostname()
1031 return writePacket(header, response, response_len); in makeResponseFromDnsHeader()
1068 return writePacket(header, response, response_len); in makeResponseFromBinaryPacket()
Ddns_responder.h266 bool writePacket(const DNSHeader* header, char* response, size_t* response_len) const;