/frameworks/base/core/java/android/net/http/ |
H A D | CertificateChainValidator.java | 67 * @param domain The website domain 71 HttpsConnection connection, SSLSocket sslSocket, String domain) 115 if (!DomainNameChecker.match(currCertificate, domain)) { 116 String errorMessage = "certificate not for this host: " + domain; 70 doHandshakeAndValidateServerCertificates( HttpsConnection connection, SSLSocket sslSocket, String domain) argument
|
H A D | DomainNameChecker.java | 34 * Implements basic domain-name validation as specified by RFC2818. 50 * Checks the site certificate against the domain name of the site being visited 52 * @param thisDomain The domain name of the site being visited 53 * @return True iff if there is a domain match as specified by RFC2818 69 * @return True iff the domain name is specified as an IP address 71 private static boolean isIpAddress(String domain) { argument 72 boolean rval = (domain != null && domain.length() != 0); 76 rval = QUICK_IP_PATTERN.matcher(domain).matches(); 78 rval = domain [all...] |
H A D | CertificateValidatorCache.java | 35 * to keep each secure domain name associated with a cryptographically secure 36 * hash of the certificate chain successfully used to validate the domain. If 37 * we establish connection with the domain more than once and each time receive 60 * The certificate validator cache map (domain to a cache entry) 130 * @param domain The domain to check against 133 * associated with the domain and the secure hash 135 public boolean has(String domain, byte[] secureHash) { argument 138 if (domain != null && domain 166 put(String domain, byte[] secureHash, long save) argument 210 CacheEntry(String domain, byte[] secureHash, long save) argument 232 has(String domain, byte[] secureHash) argument [all...] |
/frameworks/base/core/java/android/text/util/ |
H A D | Rfc822Validator.java | 28 * and has the specified domain name added. It is meant for use with 42 * that constraint by accepting any kind of top level domain, not just 51 * Constructs a new validator that uses the specified domain name as 54 public Rfc822Validator(String domain) { argument 55 mDomain = domain; 71 * or the domain name part of the email address have been removed. 115 // If there is no @, just append the domain of the account 120 String domain = removeIllegalCharacters(text.substring(index + 1)); 121 tokens[i].setAddress(fix + "@" + (domain.length() != 0 ? domain [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | CookieSyncManager.java | 94 * matches a given base domain. 95 * @param domain 98 ArrayList<Cookie> getCookiesForDomain(String domain) { argument 105 return mDataBase.getCookiesForDomain(domain); 192 mDataBase.deleteCookies(cookie.domain, cookie.path,
|
H A D | CookieManager.java | 39 private static final String DOMAIN = "domain"; 76 // RFC2109 defines 20 as max cookie count per domain. As we track with base 77 // domain, we allow 50 per base domain 81 // domain, we set 200 as max base domain count 88 // max domain count to limit RAM cookie takes less than 100k, 120 String domain; field in class:CookieManager.Cookie 142 domain = defaultDomain; 148 return domain [all...] |
H A D | WebViewDatabase.java | 91 private static final String COOKIES_DOMAIN_COL = "domain"; 351 * a given domain 355 ArrayList<Cookie> getCookiesForDomain(String domain) { argument 357 if (domain == null || mDatabase == null) { 370 columns, selection, new String[] { domain }, null, null, 381 cookie.domain = cursor.getString(domainCol); 401 * Delete cookies which matches (domain, path, name). 403 * @param domain If it is null, nothing happens. 404 * @param path If it is null, all the cookies match (domain) will be 406 * @param name If it is null, all the cookies match (domain, pat 409 deleteCookies(String domain, String path, String name) argument [all...] |
/frameworks/base/core/java/com/google/android/util/ |
H A D | AbstractMessageParser.java | 35 /** Get the possible values for the last part of a domain name. 313 /** Determines if this is an allowable domain character. */ 318 /** Determines if the given string is a valid domain. */ 319 private boolean isValidDomain(String domain) { argument 320 // For hostnames, check that it ends with a known domain suffix 321 if (matches(getResources().getDomainSuffixes(), reverse(domain))) { 329 * scheme or a domain name optionally followed by a path, query, or query. 357 // Search for the end of the domain name. 367 // Make sure the domain name has a valid suffix. Since tries look for 369 String domain [all...] |
/frameworks/opt/com.google.android/ |
H A D | framework.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/googlelogin/ ... |