HomeSort by relevance Sort by last modified time
    Searched refs:maxAge (Results 1 - 25 of 34) sorted by null

1 2

  /external/jetty/src/java/org/eclipse/jetty/http/
HttpCookie.java 65 public HttpCookie(String name, String value, int maxAge)
73 _maxAge = maxAge;
80 public HttpCookie(String name, String value, String domain, String path, int maxAge, boolean httpOnly, boolean secure)
86 _maxAge = maxAge;
95 public HttpCookie(String name, String value, String domain, String path, int maxAge, boolean httpOnly, boolean secure, String comment, int version)
101 _maxAge = maxAge;
146 /** Get the maxAge.
147 * @return the maxAge
HttpFields.java 950 * @param maxAge the maximum age
961 final long maxAge,
1007 if (maxAge >= 0)
1011 if (maxAge == 0)
1014 formatCookieDate(buf, System.currentTimeMillis() + 1000L * maxAge);
1019 buf.append(maxAge);
    [all...]
  /packages/apps/TV/src/com/android/tv/parental/
ContentRatingLevelPolicy.java 84 int maxAge = 0;
86 if (maxAge < rating.getAgeHint()) {
87 maxAge = rating.getAgeHint();
90 return maxAge;
  /packages/apps/TV/tests/func/src/com/android/tv/tests/ui/
ParentalControlsTest.java 63 int maxAge = 20;
65 for (int age = minAge; age <= maxAge; age++) {
74 assertRatingViewIsChecked(minAge, maxAge, blockAge, true);
77 assertRatingViewIsChecked(minAge, maxAge, unBlockAge, false);
83 private void assertRatingViewIsChecked(int minAge, int maxAge, int selectedAge,
85 for (int age = minAge; age <= maxAge; age++) {
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
CacheControl.java 104 * The "s-maxage" directive is the max age for shared caches. Not to be
221 } else if ("s-maxage".equalsIgnoreCase(directive)) {
258 if (sMaxAgeSeconds != -1) result.append("s-maxage=").append(sMaxAgeSeconds).append(", ");
295 * exceeds {@code maxAge}, it will not be used and a network request will
298 * @param maxAge a non-negative integer. This is stored and transmitted with
301 public Builder maxAge(int maxAge, TimeUnit timeUnit) {
302 if (maxAge < 0) throw new IllegalArgumentException("maxAge < 0: " + maxAge);
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
CacheControlTest.java 49 .maxAge(1, TimeUnit.SECONDS)
88 String header = "no-cache, no-store, max-age=1, s-maxage=2, private, public, must-revalidate, "
162 .maxAge(2, TimeUnit.DAYS)
173 .maxAge(365 * 100, TimeUnit.DAYS) // Longer than Integer.MAX_VALUE seconds.
181 builder.maxAge(-1, TimeUnit.SECONDS);
189 .maxAge(4999, TimeUnit.MILLISECONDS)
  /frameworks/volley/src/main/java/com/android/volley/toolbox/
HttpHeaderParser.java 49 long maxAge = 0;
72 maxAge = Long.parseLong(token.substring(8));
101 softExpire = now + maxAge * 1000;
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
FrameReader.java 132 * @param maxAge time in seconds that this alternative is considered fresh.
135 long maxAge);
FramedConnection.java 790 String host, int port, long maxAge) {
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
BaseTestHandler.java 72 String host, int port, long maxAge) {
MockSpdyPeer.java 317 String host, int port, long maxAge) {
  /libcore/ojluni/src/main/java/java/net/
HttpCookie.java 102 private long maxAge = MAX_AGE_UNSPECIFIED; // Max-Age=VALUE ... cookies auto-expire
281 if (maxAge == 0) return true;
286 if (maxAge == MAX_AGE_UNSPECIFIED) return false;
289 if (deltaSecond > maxAge)
493 maxAge = expiry;
514 return maxAge;
    [all...]
  /external/caliper/lib/
jsr311-api-1.1.1.jar 
jersey-core-1.11.jar 
  /frameworks/base/wifi/java/android/net/wifi/
ScanResult.java 152 * @param maxAge
154 public void averageRssi(int previousRssi, long previousSeen, int maxAge) {
161 if (previousSeen > 0 && age > 0 && age < maxAge/2) {
163 double alpha = 0.5 - (double) age / (double) maxAge;
  /external/jetty/src/java/org/eclipse/jetty/server/session/
AbstractSessionManager.java 925 public void setMaxAge(int maxAge)
927 _maxCookieAge=maxAge;
    [all...]
  /prebuilts/tools/common/m2/repository/org/eclipse/jetty/jetty-http/8.1.14.v20131031/
jetty-http-8.1.14.v20131031.jar 
  /external/jetty/src/java/org/eclipse/jetty/webapp/
StandardDescriptorProcessor.java     [all...]
  /prebuilts/tools/common/m2/repository/io/netty/netty-codec-http/4.1.0.CR3/
netty-codec-http-4.1.0.CR3.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
javax.servlet_2.5.0.v200910301333.jar 
  /external/guice/extensions/persist/lib/
servlet-api-2.5.jar 
  /external/guice/extensions/servlet/lib/build/
servlet-api-2.5.jar 
  /external/guice/extensions/struts2/lib/
servlet-api-2.5.jar 
  /external/jetty/lib/
javax.servlet-3.0.0.v201112011016.jar 
  /prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.5.0/
okhttp-2.5.0.jar 

Completed in 517 milliseconds

1 2