Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DInterfaceAddressTest.java128 NetworkInterface theInterface = null; in setUp() local
131 theInterface = netifs.nextElement(); in setUp()
132 if (theInterface != null) { in setUp()
133 List<InterfaceAddress> addrs = theInterface in setUp()
145 if (theInterface != null && interfaceAddr != null) { in setUp()
146 Enumeration<InetAddress> addresses = theInterface in setUp()
DNetworkInterfaceTest.java449 NetworkInterface theInterface = (NetworkInterface) theInterfaces in setUp() local
451 if (theInterface.getInetAddresses().hasMoreElements()) { in setUp()
454 Enumeration addrs = theInterface.getInetAddresses(); in setUp()
457 networkInterface1 = theInterface; in setUp()
464 NetworkInterface theInterface = (NetworkInterface) theInterfaces in setUp() local
466 if (theInterface.getInetAddresses().hasMoreElements()) { in setUp()
469 Enumeration addrs = theInterface.getInetAddresses(); in setUp()
472 networkInterface2 = theInterface; in setUp()
DMulticastSocketTest.java171 NetworkInterface theInterface = mss.getNetworkInterface(); in getNetworkInterface() local
173 "network interface returned wrong network interface when not set:" + theInterface, in getNetworkInterface()
174 theInterface.getInetAddresses().hasMoreElements()); in getNetworkInterface()
175 InetAddress firstAddress = theInterface.getInetAddresses().nextElement(); in getNetworkInterface()
635 InetAddress theInterface = mss.getInterface(); in setInterfaceLjava_net_InetAddress() local
638 if (theInterface instanceof Inet6Address) { in setInterfaceLjava_net_InetAddress()
641 NetworkInterface.getByInetAddress(theInterface)); in setInterfaceLjava_net_InetAddress()