Home
last modified time | relevance | path

Searched refs:CacheControl (Results 1 – 19 of 19) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCacheControlTest.java30 CacheControl cacheControl = new CacheControl.Builder().build(); in emptyBuilderIsEmpty()
46 CacheControl cacheControl = new CacheControl.Builder() in completeBuilder()
72 CacheControl cacheControl = CacheControl.parse( in parseEmpty()
90 CacheControl cacheControl = CacheControl.parse(new Headers.Builder() in parse()
110 CacheControl cacheControl = CacheControl.parse(new Headers.Builder() in parseIgnoreCacheControlExtensions()
130 CacheControl cacheControl = CacheControl.parse(headers); in parseCacheControlAndPragmaAreCombined()
138 CacheControl cacheControl = CacheControl.parse(headers); in parseCacheControlHeaderValueIsRetained()
144 CacheControl cacheControl = CacheControl.parse(headers); in parseCacheControlHeaderValueInvalidatedByPragma()
150 CacheControl cacheControl = CacheControl.parse(headers); in parseCacheControlHeaderValueInvalidatedByTwoValues()
156 CacheControl cacheControl = CacheControl.parse(headers); in parsePragmaHeaderValueIsNotRetained()
[all …]
DRequestTest.java142 .cacheControl(new CacheControl.Builder().noCache().build()) in cacheControl()
151 .cacheControl(new CacheControl.Builder().build()) in emptyCacheControlClearsAllCacheControlHeaders()
DCacheTest.java944 .cacheControl(new CacheControl.Builder().noStore().build()) in clientSideNoStore()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DCacheControl.java16 public final class CacheControl { class
22 public static final CacheControl FORCE_NETWORK = new Builder().noCache().build();
30 public static final CacheControl FORCE_CACHE = new Builder()
49 private CacheControl(boolean noCache, boolean noStore, int maxAgeSeconds, int sMaxAgeSeconds, in CacheControl() method in CacheControl
66 private CacheControl(Builder builder) { in CacheControl() method in CacheControl
153 public static CacheControl parse(Headers headers) { in parse()
246 return new CacheControl(noCache, noStore, maxAgeSeconds, sMaxAgeSeconds, isPrivate, isPublic, in parse()
365 public CacheControl build() { in build()
366 return new CacheControl(this); in build()
DRequest.java42 private volatile CacheControl cacheControl; // Lazily initialized.
106 public CacheControl cacheControl() { in cacheControl()
107 CacheControl result = cacheControl; in cacheControl()
108 return result != null ? result : (cacheControl = CacheControl.parse(headers)); in cacheControl()
225 public Builder cacheControl(CacheControl cacheControl) { in cacheControl()
DResponse.java55 private volatile CacheControl cacheControl; // Lazily initialized.
211 public CacheControl cacheControl() { in cacheControl()
212 CacheControl result = cacheControl; in cacheControl()
213 return result != null ? result : (cacheControl = CacheControl.parse(headers)); in cacheControl()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DCacheControl.java14 public final class CacheControl { class
20 public static final CacheControl FORCE_NETWORK = new Builder().noCache().build();
28 public static final CacheControl FORCE_CACHE = new Builder()
47 private CacheControl(boolean noCache, boolean noStore, int maxAgeSeconds, int sMaxAgeSeconds, in CacheControl() method in CacheControl
64 private CacheControl(Builder builder) { in CacheControl() method in CacheControl
151 public static CacheControl parse(Headers headers) { in parse()
244 return new CacheControl(noCache, noStore, maxAgeSeconds, sMaxAgeSeconds, isPrivate, isPublic, in parse()
362 public CacheControl build() { in build()
363 return new CacheControl(this); in build()
DRequest.java37 private volatile CacheControl cacheControl; // Lazily initialized.
101 public CacheControl cacheControl() { in cacheControl()
102 CacheControl result = cacheControl; in cacheControl()
103 return result != null ? result : (cacheControl = CacheControl.parse(headers)); in cacheControl()
217 public Builder cacheControl(CacheControl cacheControl) { in cacheControl()
DResponse.java48 private volatile CacheControl cacheControl; // Lazily initialized.
204 public CacheControl cacheControl() { in cacheControl()
205 CacheControl result = cacheControl; in cacheControl()
206 return result != null ? result : (cacheControl = CacheControl.parse(headers)); in cacheControl()
/external/exoplayer/tree/extensions/okhttp/src/main/java/com/google/android/exoplayer2/ext/okhttp/
DOkHttpDataSourceFactory.java23 import okhttp3.CacheControl;
34 @Nullable private final CacheControl cacheControl;
52 Call.Factory callFactory, @Nullable String userAgent, @Nullable CacheControl cacheControl) { in OkHttpDataSourceFactory()
78 @Nullable CacheControl cacheControl) { in OkHttpDataSourceFactory()
DOkHttpDataSource.java39 import okhttp3.CacheControl;
67 @Nullable private final CacheControl cacheControl;
102 @Nullable CacheControl cacheControl, in OkHttpDataSource()
153 @Nullable CacheControl cacheControl, in OkHttpDataSource()
/external/chromium-trace/catapult/devil/devil/android/perf/
Dcache_control.py6 class CacheControl(object): class
15 self._device.WriteFile(CacheControl._DROP_CACHES, '3', as_root=True)
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DCacheStrategy.java4 import com.android.okhttp.CacheControl;
195 CacheControl requestCaching = request.cacheControl(); in getCandidate()
213 CacheControl responseCaching = cacheResponse.cacheControl(); in getCandidate()
251 CacheControl responseCaching = cacheResponse.cacheControl(); in computeFreshnessLifetime()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DCacheStrategy.java3 import com.squareup.okhttp.CacheControl;
190 CacheControl requestCaching = request.cacheControl(); in getCandidate()
208 CacheControl responseCaching = cacheResponse.cacheControl(); in getCandidate()
246 CacheControl responseCaching = cacheResponse.cacheControl(); in computeFreshnessLifetime()
/external/chromium-trace/catapult/systrace/profile_chrome/
Dchrome_startup_tracing_agent.py57 cache_control.CacheControl(self._device).DropRamCaches()
/external/caliper/lib/
Djsr311-api-1.1.1.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/ws/ javax/ ...
Djersey-core-1.11.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/jersey-module- ...
/external/okhttp/
DCHANGELOG.md700 * New: CacheControl model and parser.
/external/conscrypt/benchmark-android/
Dvogar.jarMETA-INF/ META-INF/MANIFEST.MF vogar/ vogar/TestProperties.class TestProperties ...