/libcore/ojluni/src/test/java/net/InetAddress/ |
D | IsReachableViaLoopbackTest.java | 47 if (!addr.isReachable(10000)) in testReachableViaLoopback() 51 if (!addr.isReachable(inf, 20, 10000)) { in testReachableViaLoopback() 55 if (remoteAddr.isReachable(inf, 20, 10000)) { in testReachableViaLoopback()
|
D | IsReachable.java | 41 if (!addr.isReachable(10000)) in testIsReachable() 45 if (!addr.isReachable(inf, 20, 10000)) in testIsReachable()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | InetAddressTest.java | 293 assertTrue(ia.isReachable(10000)); in test_isReachableI() 296 ia.isReachable(-1); in test_isReachableI() 309 assertTrue(ia.isReachable(null, 0, 10000)); in test_isReachableLjava_net_NetworkInterfaceII() 312 ia.isReachable(null, -1, 10000); in test_isReachableLjava_net_NetworkInterfaceII() 318 ia.isReachable(null, 0, -1); in test_isReachableLjava_net_NetworkInterfaceII() 324 ia.isReachable(null, -1, -1); in test_isReachableLjava_net_NetworkInterfaceII() 332 assertFalse(ia.isReachable(1000)); in test_isReachableLjava_net_NetworkInterfaceII() 333 assertFalse(ia.isReachable(null, 0, 1000)); in test_isReachableLjava_net_NetworkInterfaceII() 341 ia.isReachable(netif, 10, 1000); in test_isReachableLjava_net_NetworkInterfaceII() 387 assertTrue(destAddress.isReachable(loopbackInterface, TTL, TIME_OUT)); in test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface() [all …]
|
/libcore/ojluni/src/main/java/java/net/ |
D | InetAddress.java | 479 public boolean isReachable(int timeout) throws IOException { in isReachable() method in InetAddress 480 return isReachable(null, 0 , timeout); in isReachable() 518 public boolean isReachable(NetworkInterface netif, int ttl, in isReachable() method in InetAddress 525 return impl.isReachable(this, timeout, netif, ttl); in isReachable()
|
D | InetAddressImpl.java | 76 boolean isReachable(InetAddress addr, int timeout, NetworkInterface netif, in isReachable() method
|
D | Inet6AddressImpl.java | 174 …public boolean isReachable(InetAddress addr, int timeout, NetworkInterface netif, int ttl) throws … in isReachable() method in Inet6AddressImpl
|
/libcore/ojluni/annotations/sdk/nullability/java/net/ |
D | InetAddress.annotated.java | 55 public boolean isReachable(int timeout) throws java.io.IOException { throw new RuntimeException("St… in isReachable() method in InetAddress 57 public boolean isReachable(@libcore.util.Nullable java.net.NetworkInterface netif, int ttl, int tim… in isReachable() method in InetAddress
|
/libcore/ojluni/annotations/mmodule/java/net/ |
D | InetAddress.annotated.java | 58 public boolean isReachable(int timeout) throws java.io.IOException { throw new RuntimeException("St… in isReachable() method in InetAddress 60 public boolean isReachable(java.net.NetworkInterface netif, int ttl, int timeout) throws java.io.IO… in isReachable() method in InetAddress
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | InetAddressTest.java | 253 deserialized.isReachable(500); in test_isReachable() 256 deserialized.isReachable(nif, 20, 500); in test_isReachable() 275 assertFalse(inetAddress.isReachable(netIf, 256, 500)); in test_isReachable_neverThrows() 299 assertFalse(blackholeAddress.isReachable(1000)); in test_inUnreachable()
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | InetAddress.java | 88 public boolean isReachable(int timeout) throws java.io.IOException { in isReachable() method in InetAddress 92 public boolean isReachable(java.net.NetworkInterface netif, int ttl, int timeout) in isReachable() method in InetAddress
|
D | Inet6AddressImpl.java | 54 public boolean isReachable( in isReachable() method in Inet6AddressImpl
|
/libcore/api/ |
D | current.txt | 5740 method public boolean isReachable(int) throws java.io.IOException; 5741 …method public boolean isReachable(@Nullable java.net.NetworkInterface, int, int) throws java.io.IO…
|