Home
last modified time | relevance | path

Searched refs:getNetworkInterfaces (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DNetworkInterfaceTest.java52 import static java.net.NetworkInterface.getNetworkInterfaces;
100 for (NetworkInterface nif : Collections.list(getNetworkInterfaces())) { in testInterfaceProperties()
119 for (NetworkInterface nif : Collections.list(getNetworkInterfaces())) { in testGetHardwareAddress_returnsNull()
135 for (NetworkInterface nif : Collections.list(getNetworkInterfaces())) { in testDumpAll()
220 List<NetworkInterface> nifs = Collections.list(NetworkInterface.getNetworkInterfaces()); in testGetNetworkInterfaces_matchesIfaddrs()
242 Enumeration<NetworkInterface> interfaces = NetworkInterface.getNetworkInterfaces(); in testGetNetworkInterfaces_OrphanInterfaceDoesNotThrow()
253 List<NetworkInterface> nifs = Collections.list(NetworkInterface.getNetworkInterfaces()); in testGetSubInterfaces()
262 for (NetworkInterface nif : Collections.list(getNetworkInterfaces())) { in testIsUp()
271 for (NetworkInterface nif : Collections.list(getNetworkInterfaces())) { in testIsLoopback()
277 for (NetworkInterface nif : Collections.list(getNetworkInterfaces())) { in testIsPointToPoint()
[all …]
DInetAddressTest.java255 : Collections.list(NetworkInterface.getNetworkInterfaces())) { in test_isReachable()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DNetworkInterfaceTest.java291 Enumeration theInterfaces = NetworkInterface.getNetworkInterfaces(); in test_getNetworkInterfaces()
361 theInterfaces = NetworkInterface.getNetworkInterfaces(); in test_getInterfaceAddresses()
433 theInterfaces = NetworkInterface.getNetworkInterfaces(); in setUp()
494 theInterfaces = NetworkInterface.getNetworkInterfaces(); in setUp()
DInterfaceAddressTest.java127 .getNetworkInterfaces(); in setUp()
DInetAddressTest.java337 Enumeration<NetworkInterface> nif = NetworkInterface.getNetworkInterfaces(); in test_isReachableLjava_net_NetworkInterfaceII()
369 Enumeration<NetworkInterface> networkInterfaces = NetworkInterface.getNetworkInterfaces(); in test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface()
DMulticastSocketTest.java86 Enumeration<NetworkInterface> interfaces = NetworkInterface.getNetworkInterfaces(); in setUp()
392 Enumeration<NetworkInterface> theInterfaces = NetworkInterface.getNetworkInterfaces(); in joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
712 Enumeration theInterfaces = NetworkInterface.getNetworkInterfaces(); in check_setNetworkInterfaceLjava_net_NetworkInterface()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DServerSocketChannelTest.java108 Enumeration<NetworkInterface> interfaces = NetworkInterface.getNetworkInterfaces(); in bind_nullBindsToAll()
191 Enumeration<NetworkInterface> interfaces = NetworkInterface.getNetworkInterfaces(); in bind_loopback()
DDatagramChannelTest.java275 Enumeration<NetworkInterface> networkInterfaces = NetworkInterface.getNetworkInterfaces(); in getNonLoopbackNetworkInterfaceAddress()
DDatagramChannelMulticastTest.java94 Enumeration<NetworkInterface> interfaces = NetworkInterface.getNetworkInterfaces(); in setUp()
323 Enumeration<NetworkInterface> theInterfaces = NetworkInterface.getNetworkInterfaces(); in test_joinAnySource_networkInterfaces()
/libcore/ojluni/src/main/java/java/net/
DNetworkInterface.java396 public static Enumeration<NetworkInterface> getNetworkInterfaces() in getNetworkInterfaces() method in NetworkInterface
DInet6Address.java581 en = NetworkInterface.getNetworkInterfaces(); in deriveNumericScope()
/libcore/luni/src/test/java/libcore/android/system/
DOsTest.java1648 Enumeration<NetworkInterface> networkInterfaces = NetworkInterface.getNetworkInterfaces();