Home
last modified time | relevance | path

Searched refs:maxAge (Results 1 – 23 of 23) 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/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/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DCacheControl.java301 public Builder maxAge(int maxAge, TimeUnit timeUnit) { in maxAge() method in CacheControl.Builder
302 if (maxAge < 0) throw new IllegalArgumentException("maxAge < 0: " + maxAge); in maxAge()
303 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.java74 long maxAge = 0; in parseCacheHeaders() local
97 maxAge = Long.parseLong(token.substring(8)); in parseCacheHeaders()
126 softExpire = now + maxAge * 1000; in parseCacheHeaders()
/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/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-tests/src/test/java/com/squareup/okhttp/internal/framed/
DBaseTestHandler.java72 String host, int port, long maxAge) { in alternateService() argument
DMockSpdyPeer.java326 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/rust/crates/slab/
DREADME.md5 [![Crates.io](https://img.shields.io/crates/v/slab.svg?maxAge=2592000)](https://crates.io/crates/sl…
/external/python/pyasn1-modules/
DREADME.md4 [![PyPI](https://img.shields.io/pypi/v/pyasn1-modules.svg?maxAge=2592000)](https://pypi.org/project…
/external/rust/crates/weak-table/
DREADME.md4 [![Crates.io](https://img.shields.io/crates/v/weak-table.svg?maxAge=2592000)](https://crates.io/cra…
/external/robolectric-shadows/
DREADME.md4 [![GitHub release](https://img.shields.io/github/release/robolectric/robolectric.svg?maxAge=60)](ht…
/external/rust/crates/flate2/
DREADME.md3 [![Crates.io](https://img.shields.io/crates/v/flate2.svg?maxAge=2592000)](https://crates.io/crates/…
/external/rust/crates/grpcio/
DREADME.md5 [![Crates.io](https://img.shields.io/crates/v/grpcio.svg?maxAge=2592000)](https://crates.io/crates/…
/external/rust/crates/regex-syntax/
DREADME.md8 [![Rust](https://img.shields.io/badge/rust-1.28.0%2B-blue.svg?maxAge=3600)](https://github.com/rust…
/external/rust/crates/hashbrown/
DREADME.md7 [![Rust](https://img.shields.io/badge/rust-1.49.0%2B-blue.svg?maxAge=3600)](https://github.com/rust…
/external/python/pyasn1/
DREADME.md4 [![PyPI](https://img.shields.io/pypi/v/pyasn1.svg?maxAge=2592000)](https://pypi.org/project/pyasn1)
/external/rust/crates/regex/
DREADME.md12 [![Rust](https://img.shields.io/badge/rust-1.28.0%2B-blue.svg?maxAge=3600)](https://github.com/rust…
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpClientTransport.java1205 int port, long maxAge) { in alternateService() argument