Home
last modified time | relevance | path

Searched refs:onlyUseIpv6OnIpv6OnlyNetworks (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsSearchOptions.java78 private final boolean onlyUseIpv6OnIpv6OnlyNetworks; field in MdnsSearchOptions
94 boolean onlyUseIpv6OnIpv6OnlyNetworks, in MdnsSearchOptions() argument
101 this.onlyUseIpv6OnIpv6OnlyNetworks = onlyUseIpv6OnIpv6OnlyNetworks; in MdnsSearchOptions()
138 public boolean onlyUseIpv6OnIpv6OnlyNetworks() { in onlyUseIpv6OnIpv6OnlyNetworks() method in MdnsSearchOptions
139 return onlyUseIpv6OnIpv6OnlyNetworks; in onlyUseIpv6OnIpv6OnlyNetworks()
199 out.writeInt(onlyUseIpv6OnIpv6OnlyNetworks ? 1 : 0); in writeToParcel()
207 private boolean onlyUseIpv6OnIpv6OnlyNetworks = false; field in MdnsSearchOptions.Builder
255 public Builder setOnlyUseIpv6OnIpv6OnlyNetworks(boolean onlyUseIpv6OnIpv6OnlyNetworks) { in setOnlyUseIpv6OnIpv6OnlyNetworks() argument
256 this.onlyUseIpv6OnIpv6OnlyNetworks = onlyUseIpv6OnIpv6OnlyNetworks; in setOnlyUseIpv6OnIpv6OnlyNetworks()
319 onlyUseIpv6OnIpv6OnlyNetworks, in build()
DQueryTaskConfig.java55 final boolean onlyUseIpv6OnIpv6OnlyNetworks; field in QueryTaskConfig
75 this.onlyUseIpv6OnIpv6OnlyNetworks = other.onlyUseIpv6OnIpv6OnlyNetworks; in QueryTaskConfig()
89 boolean onlyUseIpv6OnIpv6OnlyNetworks, in QueryTaskConfig() argument
93 this.onlyUseIpv6OnIpv6OnlyNetworks = onlyUseIpv6OnIpv6OnlyNetworks; in QueryTaskConfig()
DEnqueueMdnsQueryCallable.java83 private final boolean onlyUseIpv6OnIpv6OnlyNetworks; field in EnqueueMdnsQueryCallable
96 boolean onlyUseIpv6OnIpv6OnlyNetworks, in EnqueueMdnsQueryCallable() argument
110 this.onlyUseIpv6OnIpv6OnlyNetworks = onlyUseIpv6OnIpv6OnlyNetworks; in EnqueueMdnsQueryCallable()
239 packets, socketKey, onlyUseIpv6OnIpv6OnlyNetworks); in sendPacket()
242 packets, onlyUseIpv6OnIpv6OnlyNetworks); in sendPacket()
249 packets, socketKey, onlyUseIpv6OnIpv6OnlyNetworks); in sendPacket()
252 packets, onlyUseIpv6OnIpv6OnlyNetworks); in sendPacket()
DMdnsMultinetworkSocketClient.java218 @NonNull SocketKey targetSocketKey, boolean onlyUseIpv6OnIpv6OnlyNetworks) { in sendMdnsPackets() argument
233 final boolean shouldQueryIpv6 = !onlyUseIpv6OnIpv6OnlyNetworks || !socket.hasJoinedIpv4(); in sendMdnsPackets()
272 @NonNull SocketKey socketKey, boolean onlyUseIpv6OnIpv6OnlyNetworks) { in sendPacketRequestingMulticastResponse() argument
273 mHandler.post(() -> sendMdnsPackets(packets, socketKey, onlyUseIpv6OnIpv6OnlyNetworks)); in sendPacketRequestingMulticastResponse()
278 @NonNull List<DatagramPacket> packets, boolean onlyUseIpv6OnIpv6OnlyNetworks) { in sendPacketRequestingMulticastResponse() argument
290 @NonNull SocketKey socketKey, boolean onlyUseIpv6OnIpv6OnlyNetworks) { in sendPacketRequestingUnicastResponse() argument
291 mHandler.post(() -> sendMdnsPackets(packets, socketKey, onlyUseIpv6OnIpv6OnlyNetworks)); in sendPacketRequestingUnicastResponse()
296 @NonNull List<DatagramPacket> packets, boolean onlyUseIpv6OnIpv6OnlyNetworks) { in sendPacketRequestingUnicastResponse() argument
DMdnsSocketClient.java211 boolean onlyUseIpv6OnIpv6OnlyNetworks) { in sendPacketRequestingMulticastResponse() argument
212 sendMdnsPackets(packets, multicastPacketQueue, onlyUseIpv6OnIpv6OnlyNetworks); in sendPacketRequestingMulticastResponse()
217 boolean onlyUseIpv6OnIpv6OnlyNetworks) { in sendPacketRequestingUnicastResponse() argument
219 sendMdnsPackets(packets, unicastPacketQueue, onlyUseIpv6OnIpv6OnlyNetworks); in sendPacketRequestingUnicastResponse()
221 sendMdnsPackets(packets, multicastPacketQueue, onlyUseIpv6OnIpv6OnlyNetworks); in sendPacketRequestingUnicastResponse()
243 Queue<DatagramPacket> packetQueueToUse, boolean onlyUseIpv6OnIpv6OnlyNetworks) { in sendMdnsPackets() argument
261 if (isIpv6 && !ipv6Only && onlyUseIpv6OnIpv6OnlyNetworks) { in sendMdnsPackets()
DMdnsSocketClientBase.java47 boolean onlyUseIpv6OnIpv6OnlyNetworks); in sendPacketRequestingMulticastResponse() argument
53 boolean onlyUseIpv6OnIpv6OnlyNetworks); in sendPacketRequestingUnicastResponse() argument
DMdnsServiceTypeClient.java400 searchOptions.onlyUseIpv6OnIpv6OnlyNetworks(), in startSendAndReceive()
749 taskArgs.config.onlyUseIpv6OnIpv6OnlyNetworks, in run()