Lines Matching refs:DOMAIN
45 private static final String DOMAIN = "domain";
82 // RFC2109 defines 20 as max cookie count per domain. As we track with base
83 // domain, we allow 50 per base domain
87 // domain, we set 200 as max base domain count
94 // max domain count to limit RAM cookie takes less than 100k,
128 String domain;
150 domain = defaultDomain;
156 // An exact match means that domain, path, and name are equal. If
161 return domain.equals(in.domain) && path.equals(in.path) &&
166 if (domain.startsWith(".")) {
167 if (urlHost.endsWith(domain.substring(1))) {
168 int len = domain.length();
178 // exact match if domain is not leading w/ dot
179 return urlHost.equals(domain);
201 return "domain: " + domain + "; path: " + path + "; name: " + name
213 // Domain) is unspecified.
219 diff = cookie2.domain.length() - cookie1.domain.length();
793 String baseDomain = getBaseDomain(cookie.domain);
837 byteCount += cookie.domain.length()
861 String domain = domains[toGo].toString();
863 Log.v(LOGTAG, "delete domain: " + domain
866 retlist.addAll(mCookieMap.get(domain));
867 mCookieMap.remove(domain);
884 * The domain (i.e. host) portion of the cookie is supposed to be
885 * case-insensitive. We will consistently return the domain in lower
900 // "localhost" is the best pseudo domain name.
933 * Get the base domain for a give host. E.g. mail.google.com will return
936 * @return the base domain
956 * path=PATH; domain=DOMAIN_NAME; secure httponly" to a list of Cookies.
958 * 17-Jan-2038 19:14:07 GMT; path=/ig; domain=.google.com, =,
960 * expires=Sun, 17-Jan-2038 19:14:07 GMT; path=/; domain=.google.com which
1149 } else if (name.equals(DOMAIN)) {
1153 cookie.domain = null;
1161 cookie.domain = null;
1169 // pre-pended dot to make it as a domain cookie
1179 cookie.domain = null;
1187 cookie.domain = null;
1191 cookie.domain = value;
1193 // no cross-site or more specific sub-domain cookie
1194 cookie.domain = null;
1202 if (cookie != null && cookie.domain != null) {