/external/webkit/Source/WebCore/platform/network/ |
ProxyServer.h | 53 ProxyServer(Type type, const String& hostName, int port) 55 , m_hostName(hostName) 61 const String& hostName() const { return m_hostName; }
|
ProxyServer.cpp | 50 ASSERT(!proxyServer.hostName().isNull()); 51 builder.append(proxyServer.hostName());
|
/libcore/luni/src/main/java/javax/net/ssl/ |
DefaultHostnameVerifier.java | 69 * Returns true if {@code certificate} matches {@code hostName}. 71 private boolean verifyHostName(String hostName, X509Certificate certificate) { 72 hostName = hostName.toLowerCase(Locale.US); 76 if (verifyHostName(hostName, altName)) { 86 return verifyHostName(hostName, cn); 123 * Returns true if {@code hostName} matches the name or pattern {@code cn}. 125 * @param hostName lowercase host name. 129 public boolean verifyHostName(String hostName, String cn) { 130 if (hostName == null || hostName.isEmpty() || cn == null || cn.isEmpty()) [all...] |
/libcore/luni/src/main/java/java/net/ |
InetAddress.java | 50 * <p>An {@code InetAddress} may have a hostname (accessible via {@code getHostName}), but may not, 136 String hostName; 149 InetAddress(int family, byte[] ipaddress, String hostName) { 152 this.hostName = hostName; 188 * @param hostName the hostname corresponding to the IP address. 191 private static InetAddress[] bytesToInetAddresses(byte[][] rawAddresses, String hostName) 196 returnedAddresses[i] = makeInetAddress(rawAddresses[i], hostName); 209 * @param host the hostname or literal IP string to be resolved 440 String hostname = Libcore.os.getnameinfo(address, NI_NAMEREQD); local [all...] |
Inet4Address.java | 51 Inet4Address(byte[] ipaddress, String hostName) { 52 super(AF_INET, ipaddress, hostName); 129 return new Inet4Address(ipaddress, hostName);
|
Inet6Address.java | 65 Inet6Address(byte[] ipaddress, String hostName, int scope_id) { 66 super(AF_INET6, ipaddress, hostName); 104 * the hostname associated with the address.
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/ |
SslContextBuilder.java | 40 * self-signed certificate for a single hostname such as "localhost". 51 private final String hostName; 56 * @param hostName the subject of the host. For TLS this should be the 59 public SslContextBuilder(String hostName) { 60 this.hostName = hostName; 96 * Generates a certificate for {@code hostName} containing {@code keyPair}'s 102 X500Principal issuer = new X500Principal("CN=" + hostName); 103 X500Principal subject = new X500Principal("CN=" + hostName);
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
SpdyConnection.java | 96 private final String hostName; 117 hostName = builder.hostName; 119 new Thread(new Reader(), "Spdy Reader " + hostName).start(); 206 new NamedRunnable(String.format("Spdy Writer %s stream %d", hostName, streamId)) { 222 new NamedRunnable(String.format("Spdy Writer %s stream %d", hostName, streamId)) { 257 executor.submit(new NamedRunnable(String.format("Spdy Writer %s ping %d", hostName, streamId)) { 376 private String hostName; 394 public Builder(String hostName, boolean client, Socket socket) throws IOException { 395 this(hostName, client, socket.getInputStream(), socket.getOutputStream()) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
InetAddressThreadTest.java | 86 String hostName = ia.getHostName(); 91 // may not include a domain suffix on the hostname 92 if (!hostName.startsWith(correctName)) { 97 + hostName
|
/external/nist-sip/java/gov/nist/core/ |
Host.java | 43 * Stores hostname. 68 protected static final int HOSTNAME = 1; 72 /** hostName field 74 protected String hostname; field in class:Host 86 addressType = HOSTNAME; 94 public Host(String hostName) throws IllegalArgumentException { 95 if (hostName == null) 101 setHost(hostName, IPV4ADDRESS); 124 if (addressType == IPV6ADDRESS && !isIPv6Reference(hostname)) { 125 buffer.append('[').append(hostname).append(']') [all...] |
/external/smack/src/com/kenai/jbosh/ |
BOSHClientConfig.java | 230 * Specify the hostname and port of an HTTP proxy to connect through. 232 * @param hostName proxy hostname 236 public Builder setProxy(final String hostName, final int port) { 237 if (hostName == null || hostName.length() == 0) { 245 bProxyHost = hostName;
|
/external/webkit/Source/WebCore/platform/network/qt/ |
ProxyServerQt.cpp | 66 servers.append(ProxyServer(proxyType, proxy.hostName(), proxy.port()));
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
HopImpl.java | 70 * @param hostName hostname 74 public HopImpl(String hostName, int portNumber, String trans) { 75 host = hostName;
|
/external/webkit/Tools/WebKitLauncher/ |
WebKitNightlyEnablerSparkle.m | 48 NSString *hostName = objc_msgSend(host, @selector(name)); 49 NSPanel *panel = NSGetInformationalAlertPanel([NSString stringWithFormat:@"Would you like to download and install %@ %@ now?", hostName, objc_msgSend(updateItem, @selector(displayVersionString))], 50 [NSString stringWithFormat:@"You are currently running %@ %@.", hostName, objc_msgSend(host, @selector(displayVersion))],
|
/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);
|
/external/webkit/Source/WebCore/loader/ |
ResourceLoadScheduler.cpp | 59 String hostName = url.host(); 60 HostInformation* host = m_hosts.get(hostName); 62 host = new HostInformation(hostName, maxRequestsInFlightPerHost); 63 m_hosts.add(hostName, host);
|
/external/apache-http/src/org/apache/http/client/protocol/ |
RequestAddCookies.java | 134 String hostName = targetHost.getHostName(); 141 hostName,
|
/libcore/luni/src/main/java/libcore/net/url/ |
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/tradefed-host/src/com/android/cts/tradefed/result/ |
TestResults.java | 127 String hostName = ""; 129 hostName = InetAddress.getLocalHost().getHostName(); 131 serializer.attribute(ns, "name", hostName);
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/mockspdyserver/ |
MockSpdyServer.java | 97 String hostName = getHostName(); 98 return hostName.contains(".") ? hostName : ".local";
|
/frameworks/base/core/java/android/net/dhcp/ |
DhcpPacket.java | 572 String hostName = null; 696 hostName = readAsciiString(packet, optionLen); 798 newPacket.mHostName = hostName; 888 InetAddress serverIdentifier, byte[] requestedParams, String hostName) { 893 pkt.mHostName = hostName;
|
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
MockWebServer.java | 122 String hostName = getHostName(); 123 return hostName.contains(".") ? hostName : ".local";
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
HttpURLConnectionImpl.java | 226 String hostName = getURL().getHost(); 230 hostName = proxyAddress.getHostName(); 233 return new SocketPermission(hostName + ":" + hostPort, "connect, resolve");
|
/external/webkit/Source/WebCore/websockets/ |
WebSocketHandshake.cpp | 74 static String hostName(const KURL& url, bool secure) 222 builder.append(hostName(m_url, m_secure)); 239 fields.append("Host: " + hostName(m_url, m_secure)); 283 request.addHeaderField("Host", hostName(m_url, m_secure));
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountCheckSettingsFragment.java | [all...] |