Home
last modified time | relevance | path

Searched refs:NetworkInterfaceWrapper (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMulticastNetworkInterfaceProvider.java47 private final List<NetworkInterfaceWrapper> multicastNetworkInterfaces = new ArrayList<>();
83 public synchronized List<NetworkInterfaceWrapper> getMulticastNetworkInterfaces() { in getMulticastNetworkInterfaces()
96 List<NetworkInterfaceWrapper> networkInterfaceWrappers = getNetworkInterfaces(); in updateMulticastNetworkInterfaces()
97 for (NetworkInterfaceWrapper interfaceWrapper : networkInterfaceWrappers) { in updateMulticastNetworkInterfaces()
104 public boolean isOnIpV6OnlyNetwork(List<NetworkInterfaceWrapper> networkInterfaces) { in isOnIpV6OnlyNetwork()
114 for (NetworkInterfaceWrapper interfaceWrapper : networkInterfaces) { in isOnIpV6OnlyNetwork()
127 List<NetworkInterfaceWrapper> getNetworkInterfaces() { in getNetworkInterfaces()
128 List<NetworkInterfaceWrapper> networkInterfaceWrappers = new ArrayList<>(); in getNetworkInterfaces()
134 new NetworkInterfaceWrapper(interfaces.nextElement())); in getNetworkInterfaces()
153 private static boolean canScanOnInterface(@Nullable NetworkInterfaceWrapper networkInterface, in canScanOnInterface()
[all …]
DMdnsSocket.java72 List<NetworkInterfaceWrapper> networkInterfaces = in send()
74 for (NetworkInterfaceWrapper networkInterface : networkInterfaces) { in send()
85 List<NetworkInterfaceWrapper> networkInterfaces = in joinGroup()
94 for (NetworkInterfaceWrapper networkInterface : networkInterfaces) { in joinGroup()
104 List<NetworkInterfaceWrapper> networkInterfaces = in leaveGroup()
110 for (NetworkInterfaceWrapper networkInterface : networkInterfaces) { in leaveGroup()
DNetworkInterfaceWrapper.java25 public class NetworkInterfaceWrapper { class
28 public NetworkInterfaceWrapper(NetworkInterface networkInterface) { in NetworkInterfaceWrapper() method in NetworkInterfaceWrapper
DMdnsSocketProvider.java228 public NetworkInterfaceWrapper getNetworkInterfaceByName(@NonNull String interfaceName) in getNetworkInterfaceByName()
231 return ni == null ? null : new NetworkInterfaceWrapper(ni); in getNetworkInterfaceByName()
506 final NetworkInterfaceWrapper networkInterface = in createSocket()
557 @NonNull NetworkInterfaceWrapper iface, @NonNull int[] transports) { in isMdnsCapableInterface()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMulticastNetworkInterfaceProviderTests.java59 @Mock private NetworkInterfaceWrapper loopbackInterface;
60 @Mock private NetworkInterfaceWrapper pointToPointInterface;
61 @Mock private NetworkInterfaceWrapper virtualInterface;
62 @Mock private NetworkInterfaceWrapper inactiveMulticastInterface;
63 @Mock private NetworkInterfaceWrapper activeIpv6MulticastInterface;
64 @Mock private NetworkInterfaceWrapper activeIpv6MulticastInterfaceTwo;
65 @Mock private NetworkInterfaceWrapper nonMulticastInterface;
66 @Mock private NetworkInterfaceWrapper multicastInterfaceOne;
67 @Mock private NetworkInterfaceWrapper multicastInterfaceTwo;
71 private final List<NetworkInterfaceWrapper> networkInterfaces = new ArrayList<>();
[all …]
DMdnsSocketTests.java51 @Mock private NetworkInterfaceWrapper mockNetworkInterfaceWrapper;
DMdnsSocketProviderTest.java119 @Mock private NetworkInterfaceWrapper mTestNetworkIfaceWrapper;
120 @Mock private NetworkInterfaceWrapper mLocalOnlyIfaceWrapper;
121 @Mock private NetworkInterfaceWrapper mTetheredIfaceWrapper;
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java110 public NetworkInterfaceWrapper mNiWrapper = new NetworkInterfaceWrapper();
1652 public class NetworkInterfaceWrapper { class in WifiAwareDataPathStateManager
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java154 @Mock private WifiAwareDataPathStateManager.NetworkInterfaceWrapper mMockNetworkInterface;