Searched refs:writePacket (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | PacketReflector.java | 103 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/ |
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 | 894 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()
|
D | dns_responder.h | 266 bool writePacket(const DNSHeader* header, char* response, size_t* response_len) const;
|