Searched refs:MdnsPacketWriter (Results 1 – 14 of 14) sorted by relevance
32 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()
29 public class MdnsPacketWriter { class41 public MdnsPacketWriter(int maxSize) { in MdnsPacketWriter() method in MdnsPacketWriter54 public MdnsPacketWriter(byte[] buffer) { in MdnsPacketWriter() method in MdnsPacketWriter
224 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()
101 protected void writeData(MdnsPacketWriter writer) throws IOException { in writeData()134 private void writeTypeBlock(MdnsPacketWriter writer, in writeTypeBlock()
43 protected void writeData(MdnsPacketWriter writer) throws IOException { in writeData()
66 protected void writeData(MdnsPacketWriter writer) throws IOException { in writeData()
73 protected void writeData(MdnsPacketWriter writer) throws IOException { in writeData()
84 protected void writeData(MdnsPacketWriter writer) throws IOException { in writeData()
118 protected void writeData(MdnsPacketWriter writer) throws IOException { in writeData()
132 protected void writeData(MdnsPacketWriter writer) throws IOException { in writeData()
400 public synchronized int write(MdnsPacketWriter writer, long now) throws IOException { in write()
33 val writer = MdnsPacketWriter(ByteArray(1000)) in testNameCompression()
376 MdnsPacketWriter writer = new MdnsPacketWriter(MAX_PACKET_SIZE); in toHex()
606 final MdnsPacketWriter writer = new MdnsPacketWriter(1500); in makeResponsePacket()