Home
last modified time | relevance | path

Searched refs:MdnsPacketWriter (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/util/
DMdnsUtils.java32 import com.android.server.connectivity.mdns.MdnsPacketWriter;
199 public static void writeMdnsPacket(@NonNull MdnsPacketWriter writer, @NonNull MdnsPacket packet) in writeMdnsPacket()
229 final MdnsPacketWriter writer = new MdnsPacketWriter(packetCreationBuffer); in createRawDnsPacket()
252 final MdnsPacketWriter writer = new MdnsPacketWriter(packetCreationBuffer); in writePossibleMdnsPacket()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsPacketWriter.java29 public class MdnsPacketWriter { class
41 public MdnsPacketWriter(int maxSize) { in MdnsPacketWriter() method in MdnsPacketWriter
54 public MdnsPacketWriter(byte[] buffer) { in MdnsPacketWriter() method in MdnsPacketWriter
DMdnsRecord.java224 public final void writeHeaderFields(MdnsPacketWriter writer) throws IOException { in writeHeaderFields()
237 public final void write(MdnsPacketWriter writer, long now) throws IOException { in write()
262 protected abstract void writeData(MdnsPacketWriter writer) throws IOException; in writeData()
DMdnsNsecRecord.java101 protected void writeData(MdnsPacketWriter writer) throws IOException { in writeData()
134 private void writeTypeBlock(MdnsPacketWriter writer, in writeTypeBlock()
DMdnsAnyRecord.java43 protected void writeData(MdnsPacketWriter writer) throws IOException { in writeData()
DMdnsPointerRecord.java66 protected void writeData(MdnsPacketWriter writer) throws IOException { in writeData()
DMdnsKeyRecord.java73 protected void writeData(MdnsPacketWriter writer) throws IOException { in writeData()
DMdnsTextRecord.java84 protected void writeData(MdnsPacketWriter writer) throws IOException { in writeData()
DMdnsInetAddressRecord.java118 protected void writeData(MdnsPacketWriter writer) throws IOException { in writeData()
DMdnsServiceRecord.java132 protected void writeData(MdnsPacketWriter writer) throws IOException { in writeData()
DMdnsResponse.java400 public synchronized int write(MdnsPacketWriter writer, long now) throws IOException { in write()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsPacketWriterTest.kt33 val writer = MdnsPacketWriter(ByteArray(1000)) in testNameCompression()
DMdnsRecordTests.java376 MdnsPacketWriter writer = new MdnsPacketWriter(MAX_PACKET_SIZE); in toHex()
DMdnsResponseDecoderTests.java606 final MdnsPacketWriter writer = new MdnsPacketWriter(1500); in makeResponsePacket()