HomeSort by relevance Sort by last modified time
    Searched defs:hostName (Results 1 - 18 of 18) sorted by null

  /external/apache-http/src/org/apache/http/client/protocol/
RequestAddCookies.java 134 String hostName = targetHost.getHostName();
141 hostName,
  /external/apache-http/src/org/apache/http/conn/ssl/
AbstractVerifier.java 147 // establish the socket to the hostname in the certificate.
148 String hostName = host.trim().toLowerCase(Locale.ENGLISH);
171 match = hostName.endsWith(cn.substring(1));
175 match = countDots(hostName) == countDots(cn);
178 match = hostName.equals(cn);
185 throw new SSLException("hostname in certificate didn't match: <" + host + "> !=" + buf);
  /libcore/luni/src/main/java/javax/net/ssl/
DefaultHostnameVerifier.java 48 * The hostname must match either the first CN, or any of the subject-alts.
137 // establish the socket to the hostname in the certificate.
138 String hostName = host.trim().toLowerCase(Locale.ENGLISH);
161 match = hostName.endsWith(cn.substring(1));
165 match = countDots(hostName) == countDots(cn);
168 match = hostName.equals(cn);
175 throw new SSLException("hostname in certificate didn't match: <" + host + "> !=" + buf);
340 * Checks to see if the supplied hostname matches any of the supplied CNs
350 * @param host The hostname to verify.
  /external/webkit/WebCore/loader/
loader.cpp 129 AtomicString hostName = url.host();
130 host = m_hosts.get(hostName.impl());
132 host = Host::create(hostName, maxRequestsInFlightPerHost);
133 m_hosts.add(hostName.impl(), host);
209 AtomicString hostName = url.host();
211 RefPtr<Host> host = m_hosts.get(hostName.impl());
213 host = Host::create(hostName, maxRequestsInFlightPerHost);
214 m_hosts.add(hostName.impl(), host);
225 AtomicString hostName = url.host();
227 RefPtr<Host> host = m_hosts.get(hostName.impl())
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/
HttpConnection.java 68 InetAddress[] addresses = InetAddress.getAllByName(config.hostName);
160 * Return an {@code SSLSocket} that is connected and passed hostname verification.
163 * @param hostnameVerifier Used to verify the hostname we
182 openSslSocket.setHostname(address.hostName);
188 throw new IOException("Hostname '" + address.uri.getHost() + "' was not verified");
245 private final String hostName;
252 this.hostName = uri.getHost();
273 this.hostName = proxySocketAddress.getHostName();
  /libcore/luni/src/main/java/java/net/
SocketPermission.java 43 * <dd>requests permission to resolve the hostname</dd>
92 transient String hostName; // Host name as returned by InetAddress
108 * Constructs a new {@code SocketPermission} instance. The hostname can be a
109 * DNS name, an individual hostname, an IP address or the empty string which
118 * the hostname this permission is valid for.
124 hostName = getHostString(host);
135 parsePort(host, hostName);
158 if (!hostName.equalsIgnoreCase(sp.hostName)) {
184 return hostName.hashCode() ^ actionsMask ^ portMin ^ portMax
    [all...]
InetAddress.java 44 * <p>An {@code InetAddress} may have a hostname (accessible via {@code getHostName}), but may not,
145 String hostName;
214 * @param hostName the hostname corresponding to the IP address.
217 static InetAddress[] bytesToInetAddresses(byte[][] rawAddresses, String hostName) {
230 returnedAddresses[i] = new Inet6Address(rawAddress, hostName);
232 returnedAddresses[i] = new Inet4Address(rawAddress, hostName);
251 * @param host the hostname or literal IP string to be resolved.
314 * string IP address. If the latter, the {@code hostName} field is
319 * the hostName to be resolved to an address or {@code null}
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
CtsXmlResultReporter.java 355 String hostName = "";
357 hostName = InetAddress.getLocalHost().getHostName();
359 serializer.attribute(ns, "name", hostName);
  /frameworks/base/core/java/android/net/http/
RequestQueue.java 431 String hostName = entry.getKey().getHostName();
432 StringBuilder line = new StringBuilder("p" + count++ + " " + hostName + " ");
  /libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/ftp/
FtpURLConnection.java 93 private String hostName;
108 hostName = url.getHost();
219 InetSocketAddress addr = new InetSocketAddress(hostName, port);
321 return new SocketPermission(hostName + ":" + port, "connect, resolve");
  /cts/tools/host/src/com/android/cts/
TestSessionLog.java 359 String hostName = "";
361 hostName = InetAddress.getLocalHost().getHostName();
363 setAttribute(doc, hostInfo, ATTRIBUTE_NAME, hostName);
  /libcore/luni/src/main/java/org/apache/harmony/nio/internal/
SocketChannelImpl.java 183 String hostName = normalAddr.getHostName();
187 sm.checkConnect(hostName, port);
  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
InetAddressTest.java 113 String hostName = ia.getHostName();
118 // may not include a domain suffix on the hostname
119 if (!hostName.startsWith(correctName)) {
124 + hostName
215 // Check that each alias has the same hostname. Intentionally not
509 // Check an IPv4 address with an IPv6 hostname
    [all...]
  /prebuilt/sdk/4/
android.jar 
  /prebuilt/sdk/5/
android.jar 
  /prebuilt/sdk/6/
android.jar 
  /prebuilt/sdk/7/
android.jar 
  /prebuilt/sdk/8/
android.jar 

Completed in 444 milliseconds