/external/apache-http/src/org/apache/http/impl/conn/ |
DefaultHttpRoutePlanner.java | 44 import org.apache.http.conn.scheme.Scheme; 45 import org.apache.http.conn.scheme.SchemeRegistry; 59 /** The scheme registry. */ 66 * @param schreg the scheme registry 107 final Scheme schm = schemeRegistry.getScheme(target.getSchemeName()); 109 // a layered scheme implies a secure connection
|
/external/nist-sip/java/gov/nist/javax/sip/address/ |
AddressFactoryImpl.java | 141 * Creates a TelURL based on given URI string. The scheme or '+' should 200 * order to create the new URI instance. Depending on the scheme the 212 String scheme = urlParser.peekScheme(); local 213 if (scheme == null) 214 throw new ParseException("bad scheme", 0); 215 if (scheme.equalsIgnoreCase("sip")) { 217 } else if (scheme.equalsIgnoreCase("sips")) { 219 } else if (scheme.equalsIgnoreCase("tel")) {
|
/external/openssl/crypto/asn1/ |
p5_pbev2.c | 93 X509_ALGOR *scheme = NULL, *kalg = NULL, *ret = NULL; 112 /* Setup the AlgorithmIdentifier for the encryption scheme */ 113 scheme = pbe2->encryption; 115 scheme->algorithm = obj; 116 if(!(scheme->parameter = ASN1_TYPE_new())) goto merr; 131 if(EVP_CIPHER_param_to_asn1(&ctx, scheme->parameter) < 0) { 221 /* Note 'scheme' is freed as part of pbe2 */
|
/frameworks/base/core/java/android/net/ |
Uri.java | 100 <scheme>://<authority><path>?<query> 132 * Absolute URIs are hierarchical if the scheme-specific part starts with 139 * scheme-specific part of an opaque URI cannot start with a '/'. 147 * explicit scheme. 155 * explicit scheme. 164 * Gets the scheme of this URI. Example: "http" 166 * @return the scheme or null if this is a relative URI 171 * Gets the scheme-specific part of this URI, i.e. everything between the 172 * scheme separator ':' and the fragment separator '#'. If this is a 177 * @return the decoded scheme-specific-par 481 private volatile String scheme = NOT_CACHED; field in class:Uri.StringUri 782 private final String scheme; field in class:Uri.OpaqueUri 1088 private final String scheme; \/\/ can be null field in class:Uri.HierarchicalUri 1267 private String scheme; field in class:Uri.Builder 1284 public Builder scheme(String scheme) { method in class:Uri.Builder [all...] |
/external/chromium/net/proxy/ |
proxy_config.cc | 61 // Trim whitespace off the url scheme. 64 // Add it to the per-scheme mappings (if supported scheme). 68 ProxyServer::Scheme scheme = (entry == &socks_proxy) ? local 70 *entry = ProxyServer::FromURI(proxy_server_token, scheme); 84 return NULL; // No mapping for this scheme. Use direct. 88 const std::string& scheme) { 90 if (scheme == "http") 92 if (scheme == "https" [all...] |
/external/webkit/WebCore/page/ |
Navigator.cpp | 240 static bool verifyProtocolHandlerScheme(const String& scheme, ExceptionCode& ec) 243 if (equalIgnoringCase(scheme, "http") || equalIgnoringCase(scheme, "https") || equalIgnoringCase(scheme, "file")) { 250 void Navigator::registerProtocolHandler(const String& scheme, const String& url, const String& title, ExceptionCode& ec) 252 if (!verifyProtocolHandlerScheme(scheme, ec)) 268 page->chrome()->registerProtocolHandler(scheme, baseURL, url, m_frame->displayStringModifiedByEncoding(title));
|
/external/chromium/googleurl/src/ |
url_canon_etc.cc | 81 // Contains the canonical version of each possible input letter in the scheme 83 // is not allowed in a scheme. 110 const url_parse::Component& scheme, 113 if (scheme.len <= 0) { 114 // Scheme is unspecified or empty, convert to empty by appending a colon. 120 // The output scheme starts from the current position. 124 int end = scheme.end(); 125 for (int i = scheme.begin; i < end; i++) { 129 if (i == scheme.begin) { 130 // Need to do a special check for the first letter of the scheme [all...] |
url_canon_internal_file.h | 113 // Scheme (known, so we don't bother running it through the more 114 // complicated scheme canonicalizer). 115 new_parsed->scheme.begin = output->length(); 120 new_parsed->scheme.len = output->length() - new_parsed->scheme.begin;
|
url_canon_pathurl.cc | 46 // Scheme: this will append the colon. 47 bool success = CanonicalizeScheme(source.scheme, parsed.scheme, 48 output, &new_parsed->scheme);
|
url_parse.h | 97 // url_parse::Component scheme; 98 // if (!url_parse::ExtractScheme(url, url_len, &scheme)) 101 // if (IsStandardScheme(url, scheme)) // Not provided by this component 103 // else if (IsFileURL(url, scheme)) // Not provided by this component 111 SCHEME, 128 // contain an entry for the four-character scheme, and it doesn't know about 149 // SCHEME: 0 0 160 // Scheme without the colon: "http://foo"/ would have a scheme of "http". 161 // The length will be -1 if no scheme is specified ("foo.com"), or 0 if ther 165 Component scheme; member in struct:url_parse::Parsed [all...] |
/external/chromium/net/http/ |
http_auth_unittest.cc | 89 EXPECT_STREQ(tests[i].challenge_scheme, handler->scheme().c_str()); 156 EXPECT_EQ(std::string("Basic"), challenge.scheme()); 172 EXPECT_EQ(std::string("Basic"), challenge.scheme()); 188 EXPECT_EQ(std::string("Digest"), challenge.scheme()); 204 EXPECT_EQ(std::string("Digest"), challenge.scheme()); 229 EXPECT_EQ(std::string("NTLM"), challenge.scheme()); 263 EXPECT_STREQ("basic", handler->scheme().c_str()); 284 EXPECT_STREQ("digest", handler->scheme().c_str()); 297 EXPECT_STREQ("ntlm", handler->scheme().c_str());
|
http_auth_handler_basic.cc | 29 // Verify the challenge's auth-scheme. 32 !LowerCaseEqualsASCII(challenge_tok.scheme(), "basic"))
|
/frameworks/base/core/java/android/text/util/ |
Linkify.java | 44 * Alone with the pattern that is to be matched, a url scheme prefix is also 45 * required. Any pattern match that does not begin with the supplied scheme 46 * will have the scheme prepended to the matched text when the clickable url 48 * the scheme <code>http://</code>. If the pattern matches example.com, which 49 * does not have a url scheme prefix, the supplied scheme will be prepended to 298 * @param scheme Url scheme string (eg <code>http://</code> to be 300 * a scheme specified in the link text 302 public static final void addLinks(TextView text, Pattern pattern, String scheme) { [all...] |
/external/apache-http/src/org/apache/http/ |
HttpHost.java | 41 * This includes remote host name, port and scheme. 52 /** The default scheme is "http". */ 65 /** The scheme */ 75 * <code>-1</code> indicates the scheme default port. 76 * @param scheme the name of the scheme. 78 * {@link #DEFAULT_SCHEME_NAME default scheme} 80 public HttpHost(final String hostname, int port, final String scheme) { 87 if (scheme != null) { 88 this.schemeName = scheme.toLowerCase(Locale.ENGLISH) [all...] |
/external/apache-http/src/org/apache/http/client/utils/ |
URIUtils.java | 53 * @param scheme 54 * Scheme name 67 * If both a scheme and a path are given but the path is 74 final String scheme, 83 if (scheme != null) { 84 buffer.append(scheme); 111 * A convenience method for creating a new {@link URI} whose scheme, host 119 * Contains the scheme, host and port to use.
|
/external/nist-sip/java/javax/sip/header/ |
AuthorizationHeader.java | 34 void setScheme(String scheme);
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
MockIconLoader.java | 49 .scheme(ContentResolver.SCHEME_ANDROID_RESOURCE)
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
UriRecord.java | 115 String scheme = mUri.getScheme(); local 116 if ("tel".equals(scheme)) { 118 } else if ("sms".equals(scheme) || "smsto".equals(scheme)) { 126 String scheme = mUri.getScheme(); local 127 boolean tel = "tel".equals(scheme); 128 boolean sms = "sms".equals(scheme) || "smsto".equals(scheme);
|
/external/webkit/WebKit/win/ |
WebURLProtectionSpace.cpp | 134 ProtectionSpaceAuthenticationScheme scheme = ProtectionSpaceAuthenticationSchemeDefault; local 136 scheme = ProtectionSpaceAuthenticationSchemeDefault; 138 scheme = ProtectionSpaceAuthenticationSchemeHTTPBasic; 140 scheme = ProtectionSpaceAuthenticationSchemeHTTPDigest; 142 scheme = ProtectionSpaceAuthenticationSchemeHTMLForm; 145 return scheme;
|
/libcore/luni/src/main/java/java/net/ |
ProxySelectorImpl.java | 86 // check scheme 87 String scheme = uri.getScheme(); local 88 if (null == scheme) { 95 if ("http".equals(scheme)) { 97 } else if ("https".equals(scheme)) { 99 } else if ("ftp".equals(scheme)) { 101 } else if ("socket".equals(scheme)) {
|
/packages/apps/Email/src/com/android/email/mail/ |
Store.java | 67 throw new MessagingException("Store.newInstance: Unknown scheme in " + uri); 106 public static StoreInfo getStoreInfo(String scheme, Context context) { 107 StoreInfo result = getStoreInfo(R.xml.stores_product, scheme, context); 109 result = getStoreInfo(R.xml.stores, scheme, context); 114 public static StoreInfo getStoreInfo(int resourceId, String scheme, Context context) { 122 String xmlScheme = xml.getAttributeValue(null, "scheme"); 123 if (scheme != null && scheme.startsWith(xmlScheme)) { 150 * the scheme is used to determine which protocol will be used. 155 * scheme [+ security [+]] :// username : password @ host [ / resource [all...] |
/packages/apps/Email/src/com/android/email/mail/transport/ |
SmtpSender.java | 76 String scheme = uri.getScheme(); local 77 if (scheme == null || !scheme.startsWith("smtp")) { 84 if (scheme.contains("+ssl")) { 87 } else if (scheme.contains("+tls")) { 90 boolean trustCertificates = scheme.contains("+trustallcerts");
|
/external/webkit/WebCore/platform/network/mac/ |
AuthenticationMac.mm | 282 ProtectionSpaceAuthenticationScheme scheme = ProtectionSpaceAuthenticationSchemeDefault; 285 scheme = ProtectionSpaceAuthenticationSchemeDefault; 287 scheme = ProtectionSpaceAuthenticationSchemeHTTPBasic; 289 scheme = ProtectionSpaceAuthenticationSchemeHTTPDigest; 291 scheme = ProtectionSpaceAuthenticationSchemeHTMLForm; 294 scheme = ProtectionSpaceAuthenticationSchemeNTLM; 299 return ProtectionSpace([macSpace host], [macSpace port], serverType, [macSpace realm], scheme);
|
/external/libxml2/ |
uri.c | 170 * Parse an URI scheme 190 if (uri->scheme != NULL) xmlFree(uri->scheme); 191 uri->scheme = STRNDUP(*str, cur - *str); 207 * xpointer scheme selection, so we are allowing it here to not break 407 * IPv6 and future adressing scheme are enclosed between brackets 655 * Parse an path which is not a scheme and fills in the appropriate fields 802 * scheme ":" hier-part [ "?" query ] [ "#" fragment ] 1003 if (uri->scheme != NULL) { 1004 p = uri->scheme; [all...] |
/frameworks/base/services/java/com/android/server/ |
IntentResolver.java | 58 mSchemeToFilter, " Scheme: "); 83 mSchemeToFilter, " Scheme: "); 210 final String scheme = intent.getScheme(); local 214 resolvedType, scheme, listCut.get(i), resultList); 221 String scheme = intent.getScheme(); local 229 TAG, "Resolving type " + resolvedType + " scheme " + scheme 274 // the filters that match its scheme (we will further refine matches 276 if (scheme != null) { 277 schemeCut = mSchemeToFilter.get(scheme); [all...] |