Searched refs:getAllByName (Results 1 - 5 of 5) sorted by relevance

/libcore/luni/src/main/java/java/net/
H A DInetAddress.java54 * <p>The {@code getAllByName} method accepts IPv4 addresses in the "decimal-dotted-quad" form only:
60 * <p>The {@code getAllByName} method accepts IPv6 addresses in the following forms (this text
213 public static InetAddress[] getAllByName(String host) throws UnknownHostException { method in class:InetAddress
464 * @hide used by frameworks/base to ensure that a getAllByName won't cause a DNS lookup.
762 * purposes of this API. Most callers probably want {@link #getAllByName} instead.)
H A DSocket.java109 InetAddress[] dstAddresses = InetAddress.getAllByName(dstName);
112 // address, or getAllByName would have thrown UnknownHostException.
/libcore/luni/src/test/java/libcore/java/net/
H A DURLTest.java56 for (InetAddress inetAddress : InetAddress.getAllByName("localhost")) {
H A DOldSocketTest.java1465 InetAddress allAddresses[] = InetAddress.getAllByName(InetAddress
H A DURLConnectionTest.java1707 int attempts = InetAddress.getAllByName("localhost").length; // one per IP address

Completed in 85 milliseconds