Home
last modified time | relevance | path

Searched refs:packetCreationBuffer (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/util/
DMdnsUtils.java226 public static byte[] createRawDnsPacket(@NonNull byte[] packetCreationBuffer, in createRawDnsPacket() argument
229 final MdnsPacketWriter writer = new MdnsPacketWriter(packetCreationBuffer); in createRawDnsPacket()
233 return Arrays.copyOfRange(packetCreationBuffer, 0, len); in createRawDnsPacket()
250 @NonNull byte[] packetCreationBuffer, @NonNull MdnsPacket packet) throws IOException { in writePossibleMdnsPacket()
252 final MdnsPacketWriter writer = new MdnsPacketWriter(packetCreationBuffer); in writePossibleMdnsPacket()
315 @NonNull byte[] packetCreationBuffer, @NonNull MdnsPacket packet, in createQueryDatagramPackets()
321 writePossibleMdnsPacket(packetCreationBuffer, remainingPacket); in createQueryDatagramPackets()
324 final byte[] outBuffer = Arrays.copyOfRange(packetCreationBuffer, 0, len); in createQueryDatagramPackets()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsInterfaceAdvertiser.java187 @NonNull MdnsInterfaceSocket socket, @NonNull byte[] packetCreationBuffer, in makeReplySender() argument
189 return new MdnsReplySender(looper, socket, packetCreationBuffer, in makeReplySender()
217 @NonNull byte[] packetCreationBuffer, @NonNull Callback cb, in MdnsInterfaceAdvertiser() argument
220 this(socket, initialAddresses, looper, packetCreationBuffer, cb, in MdnsInterfaceAdvertiser()
226 @NonNull byte[] packetCreationBuffer, @NonNull Callback cb, @NonNull Dependencies deps, in MdnsInterfaceAdvertiser() argument
235 packetCreationBuffer, sharedLog, mdnsFeatureFlags); in MdnsInterfaceAdvertiser()
236 mPacketCreationBuffer = packetCreationBuffer; in MdnsInterfaceAdvertiser()
DMdnsReplySender.java106 @NonNull byte[] packetCreationBuffer, @NonNull SharedLog sharedLog, in MdnsReplySender() argument
108 this(looper, socket, packetCreationBuffer, sharedLog, enableDebugLog, new Dependencies(), in MdnsReplySender()
114 @NonNull byte[] packetCreationBuffer, @NonNull SharedLog sharedLog, in MdnsReplySender() argument
119 mPacketCreationBuffer = packetCreationBuffer; in MdnsReplySender()
DEnqueueMdnsQueryCallable.java84 private final byte[] packetCreationBuffer = new byte[1500]; // TODO: use interface MTU field in EnqueueMdnsQueryCallable
233 packetCreationBuffer, mdnsPacket, address, isQueryWithKnownAnswer); in sendPacket()
DMdnsServiceTypeClient.java237 @NonNull byte[] packetCreationBuffer, @NonNull MdnsPacket packet, in getDatagramPacketsFromMdnsPacket()
241 return MdnsUtils.createQueryDatagramPackets(packetCreationBuffer, packet, address); in getDatagramPacketsFromMdnsPacket()
244 MdnsUtils.createRawDnsPacket(packetCreationBuffer, packet); in getDatagramPacketsFromMdnsPacket()
DMdnsAdvertiser.java105 @NonNull Looper looper, @NonNull byte[] packetCreationBuffer, in makeAdvertiser() argument
112 packetCreationBuffer, cb, deviceHostName, sharedLog, mdnsFeatureFlags); in makeAdvertiser()