Home
last modified time | relevance | path

Searched refs:MdnsSocket (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsSocketClient.java102 @Nullable private MdnsSocket multicastSocket;
103 @Nullable private MdnsSocket unicastSocket;
431 private void receiveThreadMain(byte[] receiverBuffer, @Nullable MdnsSocket socket) { in receiveThreadMain()
450 ? MdnsSocket.INTERFACE_INDEX_UNSPECIFIED in receiveThreadMain()
494 MdnsSocket createMdnsSocket(int port, SharedLog sharedLog) throws IOException { in createMdnsSocket()
495 return new MdnsSocket(interfaceProvider, port, sharedLog); in createMdnsSocket()
498 private void sendPackets(List<DatagramPacket> packets, MdnsSocket socket) { in sendPackets()
DMdnsSocket.java39 public class MdnsSocket { class
50 public MdnsSocket( in MdnsSocket() method in MdnsSocket
58 MdnsSocket(@NonNull MulticastNetworkInterfaceProvider multicastNetworkInterfaceProvider, in MdnsSocket() method in MdnsSocket
DMdnsInterfaceSocket.java19 import static com.android.server.connectivity.mdns.MdnsSocket.MULTICAST_IPV4_ADDRESS;
20 import static com.android.server.connectivity.mdns.MdnsSocket.MULTICAST_IPV6_ADDRESS;
DMdnsServiceInfo.java19 import static com.android.server.connectivity.mdns.MdnsSocket.INTERFACE_INDEX_UNSPECIFIED;
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsSocketTests.java62 private MdnsSocket mdnsSocket;
80 mdnsSocket = new MdnsSocket(mockMulticastNetworkInterfaceProvider, mockMulticastSocket, in mdnsSocket_basicFunctionality()
107 mdnsSocket = new MdnsSocket(mockMulticastNetworkInterfaceProvider, mockMulticastSocket, in ipv6OnlyNetwork_ipv6Enabled()
132 mdnsSocket = new MdnsSocket(mockMulticastNetworkInterfaceProvider, mockMulticastSocket, in ipv6OnlyNetwork_ipv6Toggle()
DMdnsSocketClientTests.java83 @Mock private MdnsSocket mockMulticastSocket;
84 @Mock private MdnsSocket mockUnicastSocket;
104 MdnsSocket createMdnsSocket(int port, SharedLog sharedLog) throws IOException { in setup()
539 MdnsSocket createMdnsSocket(int port, SharedLog sharedLog) { in startDiscovery_andPropagateInterfaceIndex_includesInterfaceIndex()
562 MdnsSocket createMdnsSocket(int port, SharedLog sharedLog) { in startDiscovery_andDoNotPropagateInterfaceIndex_doesNotIncludeInterfaceIndex()
DMdnsServiceInfoTest.java19 import static com.android.server.connectivity.mdns.MdnsSocket.INTERFACE_INDEX_UNSPECIFIED;
DMdnsResponseDecoderTests.java648 MdnsSocket.INTERFACE_INDEX_UNSPECIFIED, mock(Network.class)).first); in decode()