Home
last modified time | relevance | path

Searched refs:getInetAddresses (Results 1 – 14 of 14) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DNetworkInterfaceTest.java66 Enumeration theAddresses = networkInterface1.getInetAddresses(); in test_getInetAddresses()
75 Enumeration theAddresses = networkInterface2.getInetAddresses(); in test_getInetAddresses()
86 Enumeration addresses = networkInterface1.getInetAddresses(); in test_getInetAddresses()
97 addresses = networkInterface2.getInetAddresses(); in test_getInetAddresses()
110 .getInetAddresses(); in test_getInetAddresses()
119 reducedAddresses = networkInterface2.getInetAddresses(); in test_getInetAddresses()
134 .getInetAddresses(); in test_getInetAddresses()
143 reducedAddresses = networkInterface2.getInetAddresses(); in test_getInetAddresses()
260 Enumeration addresses = networkInterface1.getInetAddresses(); in test_getByInetAddressLjava_net_InetAddress()
273 Enumeration addresses = networkInterface2.getInetAddresses(); in test_getByInetAddressLjava_net_InetAddress()
[all …]
DMulticastSocketTest.java90 Enumeration<InetAddress> addresses = nextInterface.getInetAddresses(); in setUp()
143 Enumeration addresses = ipv4NetworkInterface.getInetAddresses(); in test_getInterface()
169 theInterface.getInetAddresses().hasMoreElements()); in test_getNetworkInterface()
170 InetAddress firstAddress = theInterface.getInetAddresses().nextElement(); in test_getNetworkInterface()
195 Enumeration addresses = ipv4NetworkInterface.getInetAddresses(); in test_getNetworkInterface()
407 Enumeration<InetAddress> addresses = thisInterface.getInetAddresses(); in test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
737 if ((!(thisInterface.getInetAddresses().nextElement()).isLoopbackAddress())) { in test_setNetworkInterfaceLjava_net_NetworkInterface()
936 && iface.getInetAddresses().hasMoreElements(); in willWorkForMulticast()
DInterfaceAddressTest.java147 .getInetAddresses(); in setUp()
DInetAddressTest.java373 Enumeration<InetAddress> addresses = networkInterface.getInetAddresses(); in test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DServerSocketChannelTest.java98 Enumeration<InetAddress> inetAddresses = nic.getInetAddresses(); in test_bind_nullBindsToAll()
129 Enumeration<InetAddress> inetAddresses = nic.getInetAddresses(); in test_bind_loopback()
DDatagramChannelMulticastTest.java106 Enumeration<InetAddress> addresses = nextInterface.getInetAddresses(); in setUp()
324 if (thisInterface.getInetAddresses().hasMoreElements()) { in test_joinAnySource_networkInterfaces()
341 Enumeration<InetAddress> addresses = thisInterface.getInetAddresses(); in test_joinAnySource_networkInterfaces()
1280 && iface.getInetAddresses().hasMoreElements(); in willWorkForMulticast()
DDatagramChannelTest.java281 Enumeration<InetAddress> inetAddresses = networkInterface.getInetAddresses(); in getNonLoopbackNetworkInterfaceAddress()
/libcore/ojluni/src/main/java/java/net/
DNetworkInterface.java135 public Enumeration<InetAddress> getInetAddresses() { in getInetAddresses() method in NetworkInterface
356 for (InetAddress inetAddress : Collections.list(ni.getInetAddresses())) { in getByInetAddress()
DMulticastSocket.java522 Enumeration<InetAddress> addrs = ni.getInetAddresses(); in getInterface()
DAbstractPlainDatagramSocketImpl.java403 Enumeration<InetAddress> addressesEnum = networkInterface.getInetAddresses(); in getNIFirstAddress()
DInet6AddressImpl.java184 java.util.Enumeration<InetAddress> it = netif.getInetAddresses(); in isReachable()
DInet6Address.java552 Enumeration<InetAddress> addresses = ifc.getInetAddresses(); in deriveNumericScope()
/libcore/luni/src/test/java/libcore/java/net/
DNetworkInterfaceTest.java55 Set<InetAddress> actual = new HashSet<InetAddress>(Collections.list(lo.getInetAddresses())); in testIPv6()
/libcore/ojluni/src/main/java/sun/nio/ch/
DNet.java210 Enumeration<InetAddress> addrs = interf.getInetAddresses(); in anyInet4Address()