Searched refs:packetCreationBuffer (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/util/ |
D | MdnsUtils.java | 226 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/ |
D | MdnsInterfaceAdvertiser.java | 187 @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()
|
D | MdnsReplySender.java | 106 @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()
|
D | EnqueueMdnsQueryCallable.java | 84 private final byte[] packetCreationBuffer = new byte[1500]; // TODO: use interface MTU field in EnqueueMdnsQueryCallable 233 packetCreationBuffer, mdnsPacket, address, isQueryWithKnownAnswer); in sendPacket()
|
D | MdnsServiceTypeClient.java | 237 @NonNull byte[] packetCreationBuffer, @NonNull MdnsPacket packet, in getDatagramPacketsFromMdnsPacket() 241 return MdnsUtils.createQueryDatagramPackets(packetCreationBuffer, packet, address); in getDatagramPacketsFromMdnsPacket() 244 MdnsUtils.createRawDnsPacket(packetCreationBuffer, packet); in getDatagramPacketsFromMdnsPacket()
|
D | MdnsAdvertiser.java | 105 @NonNull Looper looper, @NonNull byte[] packetCreationBuffer, in makeAdvertiser() argument 112 packetCreationBuffer, cb, deviceHostName, sharedLog, mdnsFeatureFlags); in makeAdvertiser()
|