Home
last modified time | relevance | path

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

/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()
360 assertTrue(InetAddress.getLoopbackAddress().isLoopbackAddress()); in test_getLoopbackAddress()
495 assertTrue(inetAddress.isLoopbackAddress()); in test_getByAddress_loopbackIpv4()
502 assertTrue(inetAddress.isLoopbackAddress()); in test_getByAddress_loopbackIpv6()
509 assertTrue(inetAddress.isLoopbackAddress()); in test_getByName_loopbackIpv4()
516 assertTrue(inetAddress.isLoopbackAddress()); in test_getByName_loopbackIpv6()
523 assertTrue(inetAddress.isLoopbackAddress()); in test_getByName_empty()
532 assertTrue(inetAddress.isLoopbackAddress()); in test_getAllByName_localhost()
541 assertTrue(inetAddress.isLoopbackAddress()); in test_getAllByName_ip6_localhost()
DSocketTest.java80 assertTrue(s.getLocalAddress().toString(), s.getLocalAddress().isLoopbackAddress()); in test_getLocalAddress_after_close()
632 assertTrue(msg, addrs.stream().allMatch(InetAddress::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()
DMulticastSocketTest.java716 if ((!(thisInterface.getInetAddresses().nextElement()).isLoopbackAddress())) { in check_setNetworkInterfaceLjava_net_NetworkInterface()
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.java214 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/luni/src/test/java/libcore/android/system/
DOsTest.java1712 assertTrue(address.getAddress().isLoopbackAddress());