/libcore/luni/src/test/java/libcore/java/net/ |
D | InetAddressTest.java | 153 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()
|
D | SocketTest.java | 80 assertTrue(s.getLocalAddress().toString(), s.getLocalAddress().isLoopbackAddress()); in test_getLocalAddress_after_close() 632 assertTrue(msg, addrs.stream().allMatch(InetAddress::isLoopbackAddress)
|
D | OldSocketTest.java | 113 assertTrue(address.isLoopbackAddress()); in test_ConstructorLjava_lang_StringI()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | InetAddressTest.java | 97 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()
|
D | Inet6AddressTest.java | 128 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()
|
D | Inet4AddressTest.java | 70 .isLoopbackAddress()); in test_isLoopbackAddress() 76 .isLoopbackAddress()); in test_isLoopbackAddress() 83 .isLoopbackAddress()); in test_isLoopbackAddress()
|
D | NetworkInterfaceTest.java | 388 if (addrs.nextElement().isLoopbackAddress()) { in test_isLoopback()
|
D | MulticastSocketTest.java | 716 if ((!(thisInterface.getInetAddresses().nextElement()).isLoopbackAddress())) { in check_setNetworkInterfaceLjava_net_NetworkInterface()
|
D | SocketTest.java | 549 InetAddress.getLocalHost().isLoopbackAddress()); in test_ConstructorLjava_lang_StringILjava_net_InetAddressI()
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | Inet6Address.java | 108 public boolean isLoopbackAddress() { in isLoopbackAddress() method in Inet6Address 272 boolean isLoopbackAddress() { in isLoopbackAddress() method in Inet6Address.Inet6AddressHolder
|
D | Inet4Address.java | 59 public boolean isLoopbackAddress() { in isLoopbackAddress() method in Inet4Address
|
D | InetAddress.java | 56 public boolean isLoopbackAddress() { in isLoopbackAddress() method in InetAddress
|
/libcore/ojluni/annotations/mmodule/java/net/ |
D | Inet4Address.annotated.java | 41 public boolean isLoopbackAddress() { throw new RuntimeException("Stub!"); } in isLoopbackAddress() method in Inet4Address
|
D | Inet6Address.annotated.java | 44 public boolean isLoopbackAddress() { throw new RuntimeException("Stub!"); } in isLoopbackAddress() method in Inet6Address
|
D | InetAddress.annotated.java | 42 public boolean isLoopbackAddress() { throw new RuntimeException("Stub!"); } in isLoopbackAddress() method in InetAddress
|
/libcore/ojluni/src/main/java/java/net/ |
D | Inet6Address.java | 351 boolean isLoopbackAddress() { in isLoopbackAddress() method in Inet6Address.Inet6AddressHolder 748 public boolean isLoopbackAddress() { in isLoopbackAddress() method in Inet6Address 749 return holder6.isLoopbackAddress(); in isLoopbackAddress()
|
D | Inet4Address.java | 214 public boolean isLoopbackAddress() { in isLoopbackAddress() method in Inet4Address
|
D | InetAddress.java | 367 public boolean isLoopbackAddress() { in isLoopbackAddress() method in InetAddress
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | ServerSocketChannelTest.java | 102 assertFalse(boundAddress.getAddress().isLoopbackAddress()); in bind_nullBindsToAll() 174 assertTrue(boundAddress.getAddress().isLoopbackAddress()); in bind_loopback()
|
/libcore/ojluni/annotations/sdk/nullability/java/net/ |
D | InetAddress.annotated.java | 39 public boolean isLoopbackAddress() { throw new RuntimeException("Stub!"); } in isLoopbackAddress() method in InetAddress
|
/libcore/luni/src/test/java/libcore/android/system/ |
D | OsTest.java | 1712 assertTrue(address.getAddress().isLoopbackAddress());
|