Home
last modified time | relevance | path

Searched refs:isLoopback (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DNetworkInterfaceTest.java128 if (nif.isLoopback()) { in testDumpAll()
184 lo.isLoopback(); in testInterfaceRemoval()
253 assertEquals((getFlags(nif) & IFF_LOOPBACK) == IFF_LOOPBACK, nif.isLoopback()); in testIsLoopback()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DNetworkInterfaceTest.java393 assertEquals(loopback, netif.isLoopback()); in test_isLoopback()
407 if (netif.isLoopback()) { in test_getHardwareAddress()
DMulticastSocketTest.java72 assertTrue(loopbackInterface.isLoopback()); in setUp()
932 && !iface.isLoopback() in willWorkForMulticast()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DDatagramChannelTest.java278 if (networkInterface.isLoopback() || !networkInterface.isUp()) { in getNonLoopbackNetworkInterfaceAddress()
DDatagramChannelMulticastTest.java89 assertTrue(loopbackInterface.isLoopback()); in setUp()
1279 && !iface.isLoopback() && iface.supportsMulticast() in willWorkForMulticast()
/libcore/ojluni/src/main/java/java/net/
DNetworkInterface.java492 public boolean isLoopback() throws SocketException { in isLoopback() method in NetworkInterface