/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
ResponseSource.java | 21 /** The response was returned from the local cache. */ 22 CACHE, 25 * The response is available in the cache but must be validated with the 26 * network. The cache result will be used if it is still valid; otherwise 35 * The request demanded a cached response that the cache couldn't satisfy. 46 return this == CACHE || this == CONDITIONAL_CACHE;
|
HttpResponseCache.java | 58 * <p>This cache extends {@link ResponseCache} but is only intended for use 60 * {@link ResponseCache} API requires that the subclass handles cache-control 62 * handles cursory cache-control logic. 70 * <h3>Cache Optimization</h3> 71 * To measure cache effectiveness, this class tracks three statistics: 74 * of HTTP requests issued since this cache was created. 78 * those requests whose responses were served by the cache. 80 * Sometimes a request will result in a conditional cache hit. If the cache 86 * <p>The best way to improve the cache hit rate is by configuring the we 130 private final DiskLruCache cache; field in class:HttpResponseCache [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/bin/ |
complete-ant-cmd.pl | 82 # Run "ant -projecthelp" to list targets. Keep a cache of results in a 83 # cache-file. 87 open( CACHE, '>'.$cacheFile ) || die "can\'t write $cacheFile: $!\n"; 96 for (@targets) { print CACHE "$_\n"; } 100 # Read the target-cache 101 open( CACHE, $cacheFile ) || die "can\'t read $cacheFile: $!\n"; 103 while (<CACHE>) { 108 close( CACHE );
|
/system/extras/tests/ext4/ |
android_emmc_perf_tests.sh | 32 CACHE="/dev/block/platform/omap/omap_hsmmc.0/by-name/cache" 38 CACHE="/dev/block/platform/sdhci-tegra.3/by-name/cache" 53 CACHE="/dev/block/platform/s3c-sdhci.0/by-name/userdata" 59 CACHE="/dev/block/platform/sdhci-tegra.3/by-name/CAC" 65 CACHE="/dev/block/platform/dw_mmc.0/by-name/cache" 71 CACHE="dev/block/platform/msm_sdcc.1/by-name/cache" [all...] |
/development/samples/Support7Demos/src/com/example/android/supportv7/graphics/ |
ImageLoader.java | 35 private static final BitmapCache CACHE = new BitmapCache( 49 final Bitmap cachedValue = CACHE.get(id); 51 // If the image is already in the cache, display the image, 75 // Add the image to the memory cache first 76 CACHE.put(id, bitmap); 87 * A simple cache implementation for {@link android.graphics.Bitmap} instances which uses
|
/external/chromium_org/content/public/test/ |
test_browser_thread_bundle.cc | 102 cache_thread_.reset(new TestBrowserThread(BrowserThread::CACHE)); 105 cache_thread_.reset(new TestBrowserThread(BrowserThread::CACHE,
|
/external/chromium_org/content/browser/appcache/ |
chrome_appcache_service.cc | 47 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::CACHE).get());
|
chrome_appcache_service_unittest.cc | 26 FILE_PATH_LITERAL("Application Cache"); 30 const char kProtectedManifest[] = "http://www.protected.com/cache.manifest"; 31 const char kNormalManifest[] = "http://www.normal.com/cache.manifest"; 32 const char kSessionOnlyManifest[] = "http://www.sessiononly.com/cache.manifest"; 70 cache_thread_(BrowserThread::CACHE, &message_loop_),
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
CacheStrategy.java | 18 * network, the cache, or both. 20 * <p>Selecting a cache strategy may add conditions to the request (like the 52 /** The cached response to return or validate; or null if this call doesn't use a cache. */ 171 if (candidate.source != ResponseSource.CACHE && request.cacheControl().onlyIfCached()) { 172 // We're forbidden from using the network, but the cache is insufficient. 229 .setResponseSource(ResponseSource.CACHE); // Overwrite any stored response source. 237 return new CacheStrategy(null, builder.build(), ResponseSource.CACHE); 315 * with its own conditions, the built-in response cache won't be used.
|
JavaApiConverter.java | 123 okResponseBuilder.setResponseSource(ResponseSource.CACHE); 520 // necessarily know if we're going to use a proxy by the time we ask the cache for a response. 629 /** An HttpsURLConnection to offer to the cache. */
|
/external/qemu/android/avd/ |
info.h | 42 * it may also contain other lines that cache stuff found in the 65 _AVD_IMG(CACHE,"cache.img","cache") \ 88 /* use to ignore the cache partition */ 90 /* use to wipe cache partition, ignored if NO_CACHE is set */ 156 /* This function returns NULL if the cache image file cannot be found.
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
MessageAttachmentTile.java | 159 mActionHandler.startDownloadingAttachment(AttachmentDestination.CACHE, 222 AttachmentDestination.CACHE, AttachmentRendition.SIMPLE, 0, false);
|
MessageAttachmentBar.java | 251 mActionHandler.startDownloadingAttachment(AttachmentDestination.CACHE); 269 mActionHandler.showAttachment(AttachmentDestination.CACHE);
|
AttachmentActionHandler.java | 100 (destination == AttachmentDestination.CACHE ||
|
/external/chromium_org/content/public/browser/ |
browser_thread.h | 57 // are used. You should never need to cache pointers to MessageLoops, since 81 // This is the thread to handle slow HTTP cache operations. 82 CACHE,
|
/external/sfntly/cpp/ |
CMakeLists.txt | 4 set(CMAKE_CONFIGURATION_TYPES "Debug;Release" CACHE STRING "good configs" FORCE)
|
/external/chromium_org/android_webview/browser/net/ |
aw_url_request_context_getter.cc | 226 partition_path_.Append(FILE_PATH_LITERAL("Cache")), 228 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::CACHE)));
|
/external/chromium_org/content/browser/service_worker/ |
service_worker_context_wrapper.cc | 45 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::CACHE);
|
/external/chromium_org/content/shell/browser/ |
shell_url_request_context_getter.cc | 139 base::FilePath cache_path = base_path_.Append(FILE_PATH_LITERAL("Cache")); 145 // changed to simple cache. 152 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::CACHE));
|
/external/chromium_org/content/browser/ |
browser_main_loop.cc | 692 case BrowserThread::CACHE: 695 "Thread", "BrowserThread::CACHE"); 841 // - The IO thread is the only user of the CACHE thread. 876 case BrowserThread::CACHE: { [all...] |
browser_thread_impl.cc | 35 "Chrome_CacheThread", // CACHE 251 case BrowserThread::CACHE:
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
AttachmentUtilities.java | 394 * Save the attachment to its final resting place (cache or sd card) 406 if (attachment.mUiDestination == UIProvider.AttachmentDestination.CACHE) {
|
/external/bison/djgpp/ |
config.bat | 51 Rem Special arguments are: NLS, XSRC, CACHE, STATIC_LIBS, LIBICONV_PREFIX, LIBINTL_PREFIX and DEPS.
67 if "%1" == "cache" goto NextArgument
68 if "%1" == "CACHE" goto NextArgument
69 if "%1" == "no-cache" goto NoCaching
70 if "%1" == "no-CACHE" goto NoCaching
71 if "%1" == "NO-CACHE" goto NoCaching
74 if "%1" == "no-cache" set CACHING=disabled
75 if "%1" == "no-CACHE" set CACHING=disabled
76 if "%1" == "NO-CACHE" set CACHING=disabled
146 if "%CACHING%" == "enabled" echo --cache-file=%XSRC%/djgpp/config.cache >> args [all...] |
/external/chromium_org/chrome/browser/profiles/ |
profile_impl_io_data.cc | 161 // Keep track of profile path and cache sizes separately so we can use them 544 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::CACHE)); 586 // media cache. It shares the same job factory as the main context. 667 // Use a separate HTTP disk cache for isolated apps. 677 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::CACHE)); 714 // Transfer ownership of the cookies and cache to AppRequestContext. 743 // context before attaching a separate cache. It is important to return 760 // Use a separate HTTP disk cache for isolated apps. 767 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::CACHE)); 773 // Transfer ownership of the cache to MediaRequestContext [all...] |
/external/chromium_org/components/nacl/browser/ |
pnacl_translation_cache.cc | 35 // Handle Reading/Writing to Cache. 45 base::WeakPtr<PnaclTranslationCache> cache, 49 base::WeakPtr<PnaclTranslationCache> cache, 77 PnaclTranslationCacheEntry(base::WeakPtr<PnaclTranslationCache> cache, 93 // Call the user callback, and signal to the cache to delete this. 113 base::WeakPtr<PnaclTranslationCache> cache, 117 new PnaclTranslationCacheEntry(cache, key, true)); 124 base::WeakPtr<PnaclTranslationCache> cache, 129 new PnaclTranslationCacheEntry(cache, key, false)); 136 base::WeakPtr<PnaclTranslationCache> cache, [all...] |