Searched defs:getHostName (Results 1 - 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/java/net/
H A DInetSocketAddress.java79 private String getHostName() { method in class:InetSocketAddress.InetSocketAddressHolder
83 return addr.getHostName();
91 if (addr.holder().getHostName() != null)
92 return addr.holder().getHostName();
355 public final String getHostName() { method in class:InetSocketAddress
356 return holder.getHostName();
H A DInetAddress.java221 String getHostName() { method in class:InetAddress.InetAddressHolder
296 return new Inet4Address(holder().getHostName(), holder().getAddress());
513 public String getHostName() { method in class:InetAddress
514 if (holder().getHostName() == null) {
517 return holder().getHostName();
657 String hostName = holder().getHostName();
1017 String getHostName(boolean check) { method in class:InetAddress
/libcore/support/src/test/java/tests/http/
H A DMockWebServer.java89 public String getHostName() { method in class:MockWebServer
90 return InetAddress.getLoopbackAddress().getHostName();
94 return new Proxy(Proxy.Type.HTTP, new InetSocketAddress(getHostName(), getPort()));
104 ? new URL("https://" + getHostName() + ":" + getPort() + path)
105 : new URL("http://" + getHostName() + ":" + getPort() + path);

Completed in 69 milliseconds