Home
last modified time | relevance | path

Searched refs:CacheControl (Results 1 – 18 of 18) 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/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/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/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/syzkaller/vendor/cloud.google.com/go/storage/
Dstorage.go369 if uattrs.CacheControl != nil {
370 attrs.CacheControl = optional.ToString(uattrs.CacheControl)
430 CacheControl optional.String member
678 CacheControl: o.CacheControl,
704 CacheControl string member
825 CacheControl: o.CacheControl,
Dreader.go78 func (r *Reader) CacheControl() string { func
/external/v8/tools/testrunner/local/
Dandroid.py187 cache = cache_control.CacheControl(self.device)
/external/chromium-trace/catapult/systrace/profile_chrome/
Dchrome_startup_tracing_agent.py57 cache_control.CacheControl(self._device).DropRamCaches()
/external/okhttp/
DCHANGELOG.md700 * New: CacheControl model and parser.
/external/syzkaller/vendor/google.golang.org/api/storage/v1/
Dstorage-gen.go1156 CacheControl string `json:"cacheControl,omitempty"` member