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();
356 public final String getHostName() { method in class:InetSocketAddress
357 return holder.getHostName();
H A DInetAddress.java198 String getHostName() { method in class:InetAddress.InetAddressHolder
269 return new Inet4Address(holder().getHostName(), holder().getAddress());
478 public String getHostName() { method in class:InetAddress
479 if (holder().getHostName() == null) {
482 return holder().getHostName();
622 String hostName = holder().getHostName();
982 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 104 milliseconds