Searched refs:hostName (Results 1 - 8 of 8) sorted by relevance

/libcore/luni/src/test/java/libcore/javax/net/ssl/
H A DSNIHostNameTest.java35 SNIHostName hostName = new SNIHostName(idnEncoded);
36 assertEquals("xn--ihqwcrb4cv8a8dqg056pqjye", hostName.getAsciiName());
37 assertEquals(StandardConstants.SNI_HOST_NAME, hostName.getType());
38 assertEquals(Arrays.toString(idnEncoded), Arrays.toString(hostName.getEncoded()));
/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...]
H A DInet6AddressImpl.java109 address.holder().hostName = host;
195 anyAddress.holder().hostName = "::";
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DInetAddressThreadTest.java86 String hostName = ia.getHostName();
92 if (!hostName.startsWith(correctName)) {
97 + hostName
/libcore/ojluni/src/main/java/sun/security/util/
H A DHostnameChecker.java101 String hostName = getServerName(principal);
102 return (expectedName.equalsIgnoreCase(hostName));
/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 195 milliseconds