Searched refs:FileDownloadCache (Results 1 – 6 of 6) sorted by relevance
34 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()
51 public class FileDownloadCache { class112 FileDownloadCache(File cacheRoot) { in FileDownloadCache() method in FileDownloadCache449 if (FileDownloadCache.REL_PATH_SEPARATOR != File.separatorChar) { in convertPath()450 return remotePath.replace(FileDownloadCache.REL_PATH_SEPARATOR , File.separatorChar); in convertPath()
30 private final FileDownloadCache mCache;
19 import com.android.tradefed.build.FileDownloadCache;82 FileDownloadCache cache = in deleteCacheEntry()
66 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()
59 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