Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/net/
DInetAddressTest.java113 assertTrue(InetAddress.parseNumericAddress(null).isLoopbackAddress()); in test_parseNumericAddress()
114 assertTrue(InetAddress.parseNumericAddress("").isLoopbackAddress()); in test_parseNumericAddress()
221 assertTrue(InetAddress.getLoopbackAddress().isLoopbackAddress()); in test_getLoopbackAddress()
347 assertTrue(inetAddress.isLoopbackAddress()); in test_getByAddress_loopbackIpv4()
353 assertTrue(inetAddress.isLoopbackAddress()); in test_getByAddress_loopbackIpv6()
359 assertTrue(inetAddress.isLoopbackAddress()); in test_getByName_loopbackIpv4()
365 assertTrue(inetAddress.isLoopbackAddress()); in test_getByName_loopbackIpv6()
371 assertTrue(inetAddress.isLoopbackAddress()); in test_getByName_empty()
379 assertTrue(inetAddress.isLoopbackAddress()); in test_getAllByName_localhost()
387 assertTrue(inetAddress.isLoopbackAddress()); in test_getAllByName_ip6_localhost()
DSocketTest.java66 assertTrue(s.getLocalAddress().toString(), s.getLocalAddress().isLoopbackAddress()); in test_getLocalAddress_after_close()
DOldSocketTest.java107 assertTrue(address.isLoopbackAddress()); in test_ConstructorLjava_lang_StringI()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DInet6AddressTest.java128 addr.isLoopbackAddress()); in test_isLoopbackAddress()
134 .isLoopbackAddress()); in test_isLoopbackAddress()
141 .isLoopbackAddress()); in test_isLoopbackAddress()
155 .isLoopbackAddress()); in test_isLoopbackAddress()
162 .isLoopbackAddress()); in test_isLoopbackAddress()
169 .isLoopbackAddress()); in test_isLoopbackAddress()
181 + " not detected.", addr.isLoopbackAddress()); in test_isLoopbackAddress()
187 + " not detected.", addr.isLoopbackAddress()); in test_isLoopbackAddress()
194 .isLoopbackAddress()); in test_isLoopbackAddress()
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()
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.java730 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/nio/channels/
DServerSocketChannelTest.java89 assertFalse(boundAddress.getAddress().isLoopbackAddress()); in test_bind_nullBindsToAll()
115 assertTrue(boundAddress.getAddress().isLoopbackAddress()); in test_bind_loopback()
/libcore/ojluni/src/main/java/java/net/
DInet4Address.java190 public boolean isLoopbackAddress() { in isLoopbackAddress() method in Inet4Address
DInetAddress.java300 public boolean isLoopbackAddress() { in isLoopbackAddress() method in InetAddress
DInet6Address.java495 public boolean isLoopbackAddress() { in isLoopbackAddress() method in Inet6Address
/libcore/ojluni/src/main/java/sun/security/ssl/
DHandshaker.java321 return conn.getInetAddress().isLoopbackAddress(); in isLoopbackSE()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSocketChannelTest.java513 assertTrue(s.getLocalAddress().isLoopbackAddress()); in assertSocketAfterImplicitBind()
517 assertTrue(localSocketAddress.getAddress().isLoopbackAddress()); in assertSocketAfterImplicitBind()