/external/apache-http/src/org/apache/http/ |
H A D | HttpHost.java | 41 * This includes remote host name, port and scheme. 57 /** The default scheme is "http". */ 70 /** The scheme */ 80 * <code>-1</code> indicates the scheme default port. 81 * @param scheme the name of the scheme. 83 * {@link #DEFAULT_SCHEME_NAME default scheme} 85 public HttpHost(final String hostname, int port, final String scheme) { argument 92 if (scheme != null) { 93 this.schemeName = scheme [all...] |
/external/apache-http/src/org/apache/http/auth/ |
H A D | AuthScope.java | 39 * a port number, a realm name and an authentication scheme name which 71 * The <tt>null</tt> value represents any authentication scheme. 76 * Default scope matching any host, port, realm and authentication scheme. 82 /** The authentication scheme the credentials apply to. */ 83 private final String scheme; field in class:AuthScope 96 * <tt>authentication scheme</tt>. 107 * @param scheme the authentication scheme the credentials apply to. 109 * any authentication scheme. 112 final String realm, final String scheme) 111 AuthScope(final String host, int port, final String realm, final String scheme) argument [all...] |
/external/apache-http/src/org/apache/http/client/utils/ |
H A D | URIUtils.java | 58 * @param scheme 72 * If both a scheme and a path are given but the path is 79 final String scheme, 88 if (scheme != null) { 89 buffer.append(scheme); 116 * A convenience method for creating a new {@link URI} whose scheme, host 124 * Contains the scheme, host and port to use. 78 createURI( final String scheme, final String host, int port, final String path, final String query, final String fragment) argument
|
/external/apache-http/src/org/apache/http/conn/scheme/ |
H A D | HostNameResolver.java | 32 package org.apache.http.conn.scheme;
|
H A D | LayeredSocketFactory.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/scheme/LayeredSocketFactory.java $ 32 package org.apache.http.conn.scheme;
|
H A D | PlainSocketFactory.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/scheme/PlainSocketFactory.java $ 32 package org.apache.http.conn.scheme;
|
H A D | Scheme.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/scheme/Scheme.java $ 31 package org.apache.http.conn.scheme; 38 * Encapsulates specifics of a protocol scheme such as "http" or "https". 64 /** The name of this scheme, in lowercase. (e.g. http, https) */ 67 /** The socket factory for this scheme */ 70 /** The default port for this scheme */ 73 /** Indicates whether this scheme allows for layered connections */ 82 * Creates a new scheme. 83 * Whether the created scheme allows for layered connections 86 * @param name the scheme nam [all...] |
H A D | SchemeRegistry.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/scheme/SchemeRegistry.java $ 31 package org.apache.http.conn.scheme; 64 * Creates a new, empty scheme registry. 73 * Obtains a scheme by name. 75 * @param name the name of the scheme to look up (in lowercase) 77 * @return the scheme, never <code>null</code> 80 * if the scheme with the given name is not registered 93 * Obtains the scheme for a host. 96 * @param host the host for which to obtain the scheme 98 * @return the scheme fo [all...] |
H A D | SocketFactory.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/scheme/SocketFactory.java $ 32 package org.apache.http.conn.scheme;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
H A D | PBES2Algorithms.java | 20 private EncryptionScheme scheme; field in class:PBES2Algorithms 46 scheme = EncryptionScheme.getInstance(e.nextElement()); 61 return scheme; 72 subV.add(scheme);
|
H A D | PBES2Parameters.java | 17 private EncryptionScheme scheme; field in class:PBES2Parameters 37 this.scheme = encScheme; 55 scheme = EncryptionScheme.getInstance(e.nextElement()); 65 return scheme; 73 v.add(scheme);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/digest/ |
H A D | SHA1.java | 99 private int scheme; field in class:SHA1.BasePBKDF2WithHmacSHA1 101 public BasePBKDF2WithHmacSHA1(String name, int scheme) argument 105 this.scheme = scheme; 141 CipherParameters param = PBE.Util.makePBEMacParameters(pbeSpec, scheme, digest, keySize); 143 return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
H A D | DES.java | 297 private int scheme; field in class:DES.DESPBEKeyFactory 306 int scheme, 314 this.scheme = scheme; 331 return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, null); 336 param = PBE.Util.makePBEParameters(pbeSpec, scheme, digest, keySize, ivSize); 340 param = PBE.Util.makePBEMacParameters(pbeSpec, scheme, digest, keySize); 355 return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param); 302 DESPBEKeyFactory( String algorithm, ASN1ObjectIdentifier oid, boolean forCipher, int scheme, int digest, int keySize, int ivSize) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
H A D | PBESecretKeyFactory.java | 17 private int scheme; field in class:PBESecretKeyFactory 26 int scheme, 34 this.scheme = scheme; 51 return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, null); 56 param = PBE.Util.makePBEParameters(pbeSpec, scheme, digest, keySize, ivSize); 60 param = PBE.Util.makePBEMacParameters(pbeSpec, scheme, digest, keySize); 63 return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param); 22 PBESecretKeyFactory( String algorithm, ASN1ObjectIdentifier oid, boolean forCipher, int scheme, int digest, int keySize, int ivSize) argument
|
/external/chromium_org/android_webview/browser/net/ |
H A D | aw_url_request_job_factory.cc | 26 const std::string& scheme) const { 41 const std::string& scheme, 45 scheme, request, network_delegate); 50 // If URLRequest supports the scheme NULL should be returned from this method. 53 if (net::URLRequest::IsHandledProtocol(scheme)) 61 const std::string& scheme, 63 return next_factory_->SetProtocolHandler(scheme, protocol_handler); 40 MaybeCreateJobWithProtocolHandler( const std::string& scheme, URLRequest* request, NetworkDelegate* network_delegate) const argument 60 SetProtocolHandler( const std::string& scheme, ProtocolHandler* protocol_handler) argument
|
/external/chromium_org/chrome/browser/browsing_data/ |
H A D | browsing_data_helper.cc | 17 bool BrowsingDataHelper::IsWebScheme(const std::string& scheme) { argument 18 // Special-case `file://` scheme iff cookies and site data are enabled via 20 if (scheme == url::kFileScheme) { 29 return (policy->IsWebSafeScheme(scheme) && 30 !BrowsingDataHelper::IsExtensionScheme(scheme) && 31 scheme != content::kChromeDevToolsScheme); 36 return BrowsingDataHelper::IsWebScheme(origin.scheme()); 40 bool BrowsingDataHelper::IsExtensionScheme(const std::string& scheme) { argument 41 return scheme == extensions::kExtensionScheme; 46 return BrowsingDataHelper::IsExtensionScheme(origin.scheme()); [all...] |
H A D | browsing_data_helper_unittest.cc | 41 bool IsWebScheme(const std::string& scheme) { argument 42 GURL test(scheme + "://example.com"); 44 BrowsingDataHelper::IsWebScheme(scheme)); 47 bool IsExtensionScheme(const std::string& scheme) { argument 48 GURL test(scheme + "://example.com"); 50 BrowsingDataHelper::IsExtensionScheme(scheme)); 71 EXPECT_FALSE(IsWebScheme("invalid-scheme-i-just-made-up")); 94 EXPECT_FALSE(IsExtensionScheme("invalid-scheme-i-just-made-up"));
|
/external/chromium_org/chrome/browser/captive_portal/ |
H A D | captive_portal_browsertest.cc | 356 const std::string& scheme); 414 const std::string& scheme) { 2199 std::string scheme = "http"; local 2200 replacements.SetSchemeStr(scheme); 411 Factory( net::URLRequest* request, net::NetworkDelegate* network_delegate, const std::string& scheme) argument
|
/external/chromium_org/chrome/browser/chromeos/ |
H A D | proxy_cros_settings_parser.cc | 72 net::ProxyServer::Scheme scheme) { 75 uint16 default_port = net::ProxyServer::GetDefaultPortForScheme(scheme); 87 return net::ProxyServer(scheme, host_port_pair); 93 net::ProxyServer::Scheme scheme) { 97 return CreateProxyServer(host, port, scheme); 103 net::ProxyServer::Scheme scheme) { 107 return CreateProxyServer(host, port, scheme); 70 CreateProxyServer(std::string host, uint16 port, net::ProxyServer::Scheme scheme) argument 90 CreateProxyServerFromHost( const std::string& host, const UIProxyConfig::ManualProxy& proxy, net::ProxyServer::Scheme scheme) argument 100 CreateProxyServerFromPort( uint16 port, const UIProxyConfig::ManualProxy& proxy, net::ProxyServer::Scheme scheme) argument
|
H A D | ui_proxy_config.cc | 34 void UIProxyConfig::SetProxyForScheme(const std::string& scheme, argument 36 ManualProxy* proxy = MapSchemeToProxy(scheme); 38 NOTREACHED() << "Cannot set proxy: invalid scheme [" << scheme << "]"; 139 const std::string& scheme) { 140 if (scheme == "http") 142 if (scheme == "https") 144 if (scheme == "ftp") 146 if (scheme == "socks") 148 NOTREACHED() << "Invalid scheme 138 MapSchemeToProxy( const std::string& scheme) argument [all...] |
/external/chromium_org/chrome/browser/custom_handlers/ |
H A D | protocol_handler_registry.cc | 33 const std::string& scheme) { 35 handler_map.find(scheme); 76 bool IsHandledProtocol(const std::string& scheme) const; 80 void ClearDefault(const std::string& scheme); 117 const std::string& scheme) const { 119 return enabled_ && !LookupHandler(default_handlers_, scheme).IsEmpty(); 123 const std::string& scheme) { 125 default_handlers_.erase(scheme); 143 request->url().scheme()); 181 const std::string& scheme, 31 LookupHandler( const ProtocolHandlerRegistry::ProtocolHandlerMap& handler_map, const std::string& scheme) argument 122 ClearDefault( const std::string& scheme) argument 180 MaybeCreateJobWithProtocolHandler( const std::string& scheme, net::URLRequest* request, net::NetworkDelegate* network_delegate) const argument 396 ClearDefault(const std::string& scheme) argument 541 HasPolicyRegisteredHandler( const std::string& scheme) argument 647 RemoveDefaultHandler(const std::string& scheme) argument [all...] |
H A D | protocol_handler_registry_unittest.cc | 43 url.scheme(), request.get(), context.network_delegate()); 67 const std::string& scheme, 72 virtual bool IsHandledProtocol(const std::string& scheme) const OVERRIDE { 84 const std::string& scheme, 90 ASSERT_EQ(expected, interceptor->IsHandledProtocol(scheme)); 95 const std::string& scheme, 102 scheme, 830 std::string scheme("mailto"); 831 ProtocolHandler ph1 = CreateProtocolHandler(scheme, "test1"); 836 AssertWillHandle(scheme, tru 83 AssertWillHandleIO( const std::string& scheme, bool expected, ProtocolHandlerRegistry::JobInterceptorFactory* interceptor) argument 94 AssertWillHandle( const std::string& scheme, bool expected, ProtocolHandlerRegistry::JobInterceptorFactory* interceptor) argument [all...] |
/external/chromium_org/chrome/browser/extensions/api/content_settings/ |
H A D | content_settings_helpers.cc | 45 std::string GetDefaultPort(const std::string& scheme) { argument 46 if (scheme == url::kHttpScheme) 48 if (scheme == url::kHttpsScheme) 76 std::string scheme = url_pattern.scheme(); local 77 if (scheme == "*") 80 builder->WithScheme(scheme); 83 if (port.empty() && scheme != "file") { 84 if (scheme == "*") 87 port = GetDefaultPort(scheme); [all...] |
/external/chromium_org/chrome/browser/extensions/api/cookies/ |
H A D | cookies_helpers.cc | 122 const std::string scheme = local 126 return GURL(scheme + url::kStandardSchemeSeparator + host + "/");
|
/external/chromium_org/chrome/browser/extensions/api/proxy/ |
H A D | proxy_api_helpers.cc | 160 net::ProxyServer::Scheme scheme = local 162 if (scheme == net::ProxyServer::SCHEME_INVALID) 163 scheme = default_scheme; 183 port = net::ProxyServer::GetDefaultPortForScheme(scheme); 185 *out = net::ProxyServer(scheme, net::HostPortPair(host, port)); 201 // whether a setting was found for the scheme; proxy_server holds the 412 // If we add a new scheme some time, we need to also store a new dictionary 413 // representing this scheme in the code above. 432 switch (proxy.scheme()) {
|