Home
last modified time | relevance | path

Searched refs:maxAge (Results 1 – 17 of 17) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCacheControlTest.java49 .maxAge(1, TimeUnit.SECONDS) in completeBuilder()
162 .maxAge(2, TimeUnit.DAYS) in computedHeaderValueIsCached()
173 .maxAge(365 * 100, TimeUnit.DAYS) // Longer than Integer.MAX_VALUE seconds. in timeDurationTruncatedToMaxValue()
181 builder.maxAge(-1, TimeUnit.SECONDS); in secondsMustBeNonNegative()
189 .maxAge(4999, TimeUnit.MILLISECONDS) in timePrecisionIsTruncatedToSeconds()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DCacheControl.java301 public Builder maxAge(int maxAge, TimeUnit timeUnit) { in maxAge() argument
302 if (maxAge < 0) throw new IllegalArgumentException("maxAge < 0: " + maxAge); in maxAge()
303 long maxAgeSecondsLong = timeUnit.toSeconds(maxAge); in maxAge()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DCacheControl.java304 public Builder maxAge(int maxAge, TimeUnit timeUnit) { in maxAge() method in CacheControl.Builder
305 if (maxAge < 0) throw new IllegalArgumentException("maxAge < 0: " + maxAge); in maxAge()
306 long maxAgeSecondsLong = timeUnit.toSeconds(maxAge); in maxAge()
/external/grpc-grpc-java/examples/android/clientcache/app/src/main/java/io/grpc/clientcacheexample/
DSafeMethodCachingInterceptor.java186 private int maxAge = -1;
207 maxAge = Integer.parseInt(parts[1]);
218 if (maxAge > -1) {
219 deadline = Deadline.after(maxAge, TimeUnit.SECONDS);
/external/volley/src/main/java/com/android/volley/toolbox/
DHttpHeaderParser.java58 long maxAge = 0; in parseCacheHeaders() local
81 maxAge = Long.parseLong(token.substring(8)); in parseCacheHeaders()
110 softExpire = now + maxAge * 1000; in parseCacheHeaders()
/external/syzkaller/vendor/google.golang.org/grpc/transport/
Dhttp2_server.go858 maxAge := time.NewTimer(t.kp.MaxConnectionAge)
867 if !maxAge.Stop() {
868 <-maxAge.C
895 case <-maxAge.C:
897 maxAge.Reset(t.kp.MaxConnectionAgeGrace)
899 case <-maxAge.C:
903 maxAge.Reset(infinity)
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/
DFrameReader.java137 long maxAge); in alternateService() argument
DFramedConnection.java827 String host, int port, long maxAge) { in alternateService() argument
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DFrameReader.java135 long maxAge); in alternateService() argument
DFramedConnection.java822 String host, int port, long maxAge) { in alternateService() argument
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DBaseTestHandler.java72 String host, int port, long maxAge) { in alternateService() argument
DMockSpdyPeer.java317 String host, int port, long maxAge) { in alternateService() argument
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/framed/
DFrameReader.java139 long maxAge); in alternateService() argument
/external/python/pyasn1-modules/
DREADME.md4 [![PyPI](https://img.shields.io/pypi/v/pyasn1-modules.svg?maxAge=2592000)](https://pypi.python.org/…
/external/robolectric-shadows/
DREADME.md4 [![GitHub release](https://img.shields.io/github/release/robolectric/robolectric.svg?maxAge=60)](ht…
/external/python/pyasn1/
DREADME.md4 [![PyPI](https://img.shields.io/pypi/v/pyasn1.svg?maxAge=2592000)](https://pypi.org/project/pyasn1)
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpClientTransport.java1204 int port, long maxAge) { in alternateService() argument