Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DInetAddressTest.java97 assertTrue(ia.isLoopbackAddress()); in test_getAllByNameLjava_lang_String()
102 assertTrue(ia.isLoopbackAddress()); in test_getAllByNameLjava_lang_String()
201 assertFalse(ia2.isLoopbackAddress()); in test_isLoopbackAddress()
203 assertTrue(ia2.isLoopbackAddress()); in test_isLoopbackAddress()
205 assertTrue(ia2.isLoopbackAddress()); in test_isLoopbackAddress()
393 if (address.isLoopbackAddress()) { in test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface()
DInet6AddressTest.java127 addr.isLoopbackAddress()); in test_isLoopbackAddress()
133 .isLoopbackAddress()); in test_isLoopbackAddress()
140 .isLoopbackAddress()); in test_isLoopbackAddress()
154 .isLoopbackAddress()); in test_isLoopbackAddress()
161 .isLoopbackAddress()); in test_isLoopbackAddress()
168 .isLoopbackAddress()); in test_isLoopbackAddress()
180 + " not detected.", addr.isLoopbackAddress()); in test_isLoopbackAddress()
186 + " not detected.", addr.isLoopbackAddress()); in test_isLoopbackAddress()
193 .isLoopbackAddress()); in test_isLoopbackAddress()
DInet4AddressTest.java70 .isLoopbackAddress()); in test_isLoopbackAddress()
76 .isLoopbackAddress()); in test_isLoopbackAddress()
83 .isLoopbackAddress()); in test_isLoopbackAddress()
DNetworkInterfaceTest.java388 if (addrs.nextElement().isLoopbackAddress()) { in test_isLoopback()
DMulticastSocketTest.java710 if ((!(thisInterface.getInetAddresses().nextElement()).isLoopbackAddress())) { in test_setNetworkInterfaceLjava_net_NetworkInterface()
DSocketTest.java549 InetAddress.getLocalHost().isLoopbackAddress()); in test_ConstructorLjava_lang_StringILjava_net_InetAddressI()
/libcore/luni/src/test/java/libcore/java/net/
DInetAddressTest.java107 assertTrue(InetAddress.parseNumericAddress(null).isLoopbackAddress()); in test_parseNumericAddress()
108 assertTrue(InetAddress.parseNumericAddress("").isLoopbackAddress()); in test_parseNumericAddress()
201 assertTrue(InetAddress.getLoopbackAddress().isLoopbackAddress()); in test_getLoopbackAddress()
DSocketTest.java57 assertTrue(s.getLocalAddress().toString(), s.getLocalAddress().isLoopbackAddress()); in test_getLocalAddress_after_close()
DOldSocketTest.java106 assertTrue(address.isLoopbackAddress()); in test_ConstructorLjava_lang_StringI()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DServerSocketChannelTest.java86 assertFalse(boundAddress.getAddress().isLoopbackAddress()); in test_bind_nullBindsToAll()
112 assertTrue(boundAddress.getAddress().isLoopbackAddress()); in test_bind_loopback()
/libcore/luni/src/main/java/java/net/
DInet4Address.java64 @Override public boolean isLoopbackAddress() { in isLoopbackAddress() method in Inet4Address
DInet6Address.java194 @Override public boolean isLoopbackAddress() { in isLoopbackAddress() method in Inet6Address
DInetAddress.java567 public boolean isLoopbackAddress() { in isLoopbackAddress() method in InetAddress
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSocketChannelTest.java510 assertTrue(s.getLocalAddress().isLoopbackAddress()); in assertSocketAfterImplicitBind()
514 assertTrue(localSocketAddress.getAddress().isLoopbackAddress()); in assertSocketAfterImplicitBind()