Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/net/InetAddress/
DGetLoopbackAddress.java65 Assert.assertTrue(addrFromNullHost.isLoopbackAddress()); in testLoopbackAddresses()
68 Assert.assertTrue(addrFromEmptyHost.isLoopbackAddress()); in testLoopbackAddresses()
71 Assert.assertTrue(addrsByNull[0].isLoopbackAddress()); in testLoopbackAddresses()
73 Assert.assertTrue(addrsByEmpty[0].isLoopbackAddress()); in testLoopbackAddresses()
/libcore/luni/src/test/java/libcore/java/net/
DInetAddressTest.java153 assertTrue(InetAddress.parseNumericAddress(null).isLoopbackAddress()); in test_parseNumericAddress_notNumeric()
154 assertTrue(InetAddress.parseNumericAddress("").isLoopbackAddress()); in test_parseNumericAddress_notNumeric()
374 assertTrue(InetAddress.getLoopbackAddress().isLoopbackAddress()); in test_getLoopbackAddress()
509 assertTrue(inetAddress.isLoopbackAddress()); in test_getByAddress_loopbackIpv4()
516 assertTrue(inetAddress.isLoopbackAddress()); in test_getByAddress_loopbackIpv6()
523 assertTrue(inetAddress.isLoopbackAddress()); in test_getByName_loopbackIpv4()
530 assertTrue(inetAddress.isLoopbackAddress()); in test_getByName_loopbackIpv6()
537 assertTrue(inetAddress.isLoopbackAddress()); in test_getByName_empty()
546 assertTrue(inetAddress.isLoopbackAddress()); in test_getAllByName_localhost()
555 assertTrue(inetAddress.isLoopbackAddress()); in test_getAllByName_ip6_localhost()
DDatagramSocketTest.java219 assertTrue(packetAddr.isLoopbackAddress()); in testAddressSameIfUnchanged()
DSocketTest.java114 assertTrue(s.getLocalAddress().toString(), s.getLocalAddress().isLoopbackAddress()); in test_getLocalAddress_after_close()
703 if (!a.isLoopbackAddress()) {
DOldSocketTest.java113 assertTrue(address.isLoopbackAddress()); in test_ConstructorLjava_lang_StringI()
/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()
184 assertFalse(ia2.isLoopbackAddress()); in test_isLoopbackAddress()
186 assertTrue(ia2.isLoopbackAddress()); in test_isLoopbackAddress()
188 assertTrue(ia2.isLoopbackAddress()); in test_isLoopbackAddress()
376 if (address.isLoopbackAddress()) { in test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface()
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()
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()
DSocketTest.java549 InetAddress.getLocalHost().isLoopbackAddress()); in test_ConstructorLjava_lang_StringILjava_net_InetAddressI()
/libcore/ojluni/annotations/hiddenapi/java/net/
DInet6Address.java108 public boolean isLoopbackAddress() { in isLoopbackAddress() method in Inet6Address
272 boolean isLoopbackAddress() { in isLoopbackAddress() method in Inet6Address.Inet6AddressHolder
DInet4Address.java59 public boolean isLoopbackAddress() { in isLoopbackAddress() method in Inet4Address
DInetAddress.java56 public boolean isLoopbackAddress() { in isLoopbackAddress() method in InetAddress
/libcore/ojluni/annotations/mmodule/java/net/
DInet4Address.annotated.java41 public boolean isLoopbackAddress() { throw new RuntimeException("Stub!"); } in isLoopbackAddress() method in Inet4Address
DInet6Address.annotated.java44 public boolean isLoopbackAddress() { throw new RuntimeException("Stub!"); } in isLoopbackAddress() method in Inet6Address
DInetAddress.annotated.java42 public boolean isLoopbackAddress() { throw new RuntimeException("Stub!"); } in isLoopbackAddress() method in InetAddress
/libcore/ojluni/src/main/java/java/net/
DInet6Address.java351 boolean isLoopbackAddress() { in isLoopbackAddress() method in Inet6Address.Inet6AddressHolder
748 public boolean isLoopbackAddress() { in isLoopbackAddress() method in Inet6Address
749 return holder6.isLoopbackAddress(); in isLoopbackAddress()
DInet4Address.java211 public boolean isLoopbackAddress() { in isLoopbackAddress() method in Inet4Address
DInetAddress.java367 public boolean isLoopbackAddress() { in isLoopbackAddress() method in InetAddress
/libcore/luni/src/test/java/libcore/java/nio/channels/
DServerSocketChannelTest.java102 assertFalse(boundAddress.getAddress().isLoopbackAddress()); in bind_nullBindsToAll()
174 assertTrue(boundAddress.getAddress().isLoopbackAddress()); in bind_loopback()
/libcore/ojluni/annotations/sdk/nullability/java/net/
DInetAddress.annotated.java39 public boolean isLoopbackAddress() { throw new RuntimeException("Stub!"); } in isLoopbackAddress() method in InetAddress
/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()
/libcore/luni/src/test/java/libcore/android/system/
DOsTest.java1763 assertTrue(address.getAddress().isLoopbackAddress());
/libcore/api/
Dcurrent.txt5733 method public boolean isLoopbackAddress();