Searched defs:hostName (Results 1 - 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/net/
H A DInet4Address.java111 holder().hostName = null;
116 Inet4Address(String hostName, byte addr[]) { argument
117 holder().hostName = hostName;
129 Inet4Address(String hostName, int address) { argument
130 holder().hostName = hostName;
146 inet.holder().hostName = holder().getHostName();
H A DInet6Address.java215 holder().hostName = null;
223 Inet6Address(String hostName, byte addr[], int scope_id) { argument
224 holder().hostName = hostName;
236 Inet6Address(String hostName, byte addr[]) { argument
238 initif (hostName, addr, null);
242 Inet6Address (String hostName, byte addr[], NetworkInterface nif) throws UnknownHostException { argument
243 initif (hostName, addr, nif);
246 Inet6Address (String hostName, byte addr[], String ifname) throws UnknownHostException { argument
247 initstr (hostName, add
315 initstr(String hostName, byte addr[], String ifname) argument
327 initif(String hostName, byte addr[],NetworkInterface nif) argument
[all...]
H A DInetAddress.java190 InetAddressHolder(String hostName, int address, int family) { argument
191 this.hostName = hostName;
196 String hostName; field in class:InetAddress.InetAddressHolder
199 return hostName;
480 holder().hostName = InetAddress.getHostFromNameService(this);
622 String hostName = holder().getHostName();
623 return ((hostName != null) ? hostName : "")
845 String host = (String)gf.get("hostName", nul
[all...]
/libcore/luni/src/test/java/libcore/java/net/
H A DURLConnectionTest.java103 private String hostName; field in class:URLConnectionTest
108 hostName = server.getHostName();
1763 assertContains(first.getHeaders(), "Host: " + hostName + ":" + server.getPort());
1765 assertContains(second.getHeaders(), "Host: " + hostName + ":" + server2.getPort());
1964 assertEquals(Arrays.asList("verify " + hostName), hostnameVerifier.calls);
1966 + "CN=" + hostName + " 3, "
1987 String hostName = "localhost";
1988 int expectedConnectionAttempts = InetAddress.getAllByName(hostName).length;
2022 URLConnection urlConnection = new URL("http://" + hostName + "/").openConnection();

Completed in 531 milliseconds