Home
last modified time | relevance | path

Searched refs:networkInterfaces (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMulticastNetworkInterfaceProviderTests.java71 private final List<NetworkInterfaceWrapper> networkInterfaces = new ArrayList<>(); field in MulticastNetworkInterfaceProviderTests
165 return networkInterfaces; in setUp()
174 networkInterfaces.add(loopbackInterface); in testGetMulticastNetworkInterfaces()
175 networkInterfaces.add(pointToPointInterface); in testGetMulticastNetworkInterfaces()
176 networkInterfaces.add(virtualInterface); in testGetMulticastNetworkInterfaces()
177 networkInterfaces.add(inactiveMulticastInterface); in testGetMulticastNetworkInterfaces()
178 networkInterfaces.add(nonMulticastInterface); in testGetMulticastNetworkInterfaces()
179 networkInterfaces.add(multicastInterfaceOne); in testGetMulticastNetworkInterfaces()
185 networkInterfaces.clear(); in testGetMulticastNetworkInterfaces()
186 networkInterfaces.add(multicastInterfaceOne); in testGetMulticastNetworkInterfaces()
[all …]
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsSocket.java72 List<NetworkInterfaceWrapper> networkInterfaces = in send() local
74 for (NetworkInterfaceWrapper networkInterface : networkInterfaces) { in send()
85 List<NetworkInterfaceWrapper> networkInterfaces = in joinGroup() local
88 if (multicastNetworkInterfaceProvider.isOnIpV6OnlyNetwork(networkInterfaces)) { in joinGroup()
94 for (NetworkInterfaceWrapper networkInterface : networkInterfaces) { in joinGroup()
104 List<NetworkInterfaceWrapper> networkInterfaces = in leaveGroup() local
107 if (multicastNetworkInterfaceProvider.isOnIpV6OnlyNetwork(networkInterfaces)) { in leaveGroup()
110 for (NetworkInterfaceWrapper networkInterface : networkInterfaces) { in leaveGroup()
DMulticastNetworkInterfaceProvider.java104 public boolean isOnIpV6OnlyNetwork(List<NetworkInterfaceWrapper> networkInterfaces) { in isOnIpV6OnlyNetwork() argument
105 if (networkInterfaces.isEmpty()) { in isOnIpV6OnlyNetwork()
114 for (NetworkInterfaceWrapper interfaceWrapper : networkInterfaces) { in isOnIpV6OnlyNetwork()