Searched refs:MdnsSocket (Results 1 – 8 of 8) sorted by relevance
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/ |
D | MdnsSocketClient.java | 102 @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()
|
D | MdnsSocket.java | 39 public class MdnsSocket { class 50 public MdnsSocket( in MdnsSocket() method in MdnsSocket 58 MdnsSocket(@NonNull MulticastNetworkInterfaceProvider multicastNetworkInterfaceProvider, in MdnsSocket() method in MdnsSocket
|
D | MdnsInterfaceSocket.java | 19 import static com.android.server.connectivity.mdns.MdnsSocket.MULTICAST_IPV4_ADDRESS; 20 import static com.android.server.connectivity.mdns.MdnsSocket.MULTICAST_IPV6_ADDRESS;
|
D | MdnsServiceInfo.java | 19 import static com.android.server.connectivity.mdns.MdnsSocket.INTERFACE_INDEX_UNSPECIFIED;
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/ |
D | MdnsSocketTests.java | 62 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()
|
D | MdnsSocketClientTests.java | 83 @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()
|
D | MdnsServiceInfoTest.java | 19 import static com.android.server.connectivity.mdns.MdnsSocket.INTERFACE_INDEX_UNSPECIFIED;
|
D | MdnsResponseDecoderTests.java | 648 MdnsSocket.INTERFACE_INDEX_UNSPECIFIED, mock(Network.class)).first); in decode()
|