Home
last modified time | relevance | path

Searched refs:FileDownloadCache (Results 1 – 6 of 6) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/build/
DFileDownloadCacheFactory.java34 private Map<String, FileDownloadCache> mCacheObjectMap = Collections.synchronizedMap(
35 new HashMap<String, FileDownloadCache>());
54 public synchronized FileDownloadCache getCache(File cacheDir) { in getCache()
55 FileDownloadCache cache = mCacheObjectMap.get(cacheDir.getAbsolutePath()); in getCache()
57 cache = new FileDownloadCache(cacheDir); in getCache()
DFileDownloadCache.java51 public class FileDownloadCache { class
112 FileDownloadCache(File cacheRoot) { in FileDownloadCache() method in FileDownloadCache
449 if (FileDownloadCache.REL_PATH_SEPARATOR != File.separatorChar) { in convertPath()
450 return remotePath.replace(FileDownloadCache.REL_PATH_SEPARATOR , File.separatorChar); in convertPath()
DFileDownloadCacheWrapper.java30 private final FileDownloadCache mCache;
/tools/tradefederation/core/src/com/android/tradefed/build/gcs/
DGCSDownloaderHelper.java19 import com.android.tradefed.build.FileDownloadCache;
82 FileDownloadCache cache = in deleteCacheEntry()
/tools/tradefederation/core/javatests/com/android/tradefed/build/
DFileDownloadCacheTest.java66 private FileDownloadCache mCache;
84 new FileDownloadCache(mCacheDir) { in setUp()
260 new FileDownloadCache(mCacheDir) { in testFetchRemoteFile_copyFailed()
319 new FileDownloadCache(cacheDir) { in testCacheRebuild()
352 new FileDownloadCache(mCacheDir) { in testCacheRebuild_multiSlashPath()
DFileDownloadCacheFuncTest.java59 private FileDownloadCache mCache;
68 mCache = new FileDownloadCache(mTmpDir); in setUp()
284 FileDownloadCache cache = new FileDownloadCache(cacheRoot); in testConstructor_createCache()
308 new FileDownloadCache(cacheRoot) { in testConstructor_cacheExceeded() method