Searched refs:getCachedFile (Results 1 – 6 of 6) sorted by relevance
180 assertNotNull(mCache.getCachedFile(REMOTE_PATH)); in testFetchRemoteFile_cacheSizeExceeded()181 assertNull(mCache.getCachedFile(remotePath2)); in testFetchRemoteFile_cacheSizeExceeded()201 assertNull(mCache.getCachedFile(REMOTE_PATH)); in testFetchRemoteFile_downloadFailed()220 assertNull(mCache.getCachedFile(REMOTE_PATH)); in testFetchRemoteFile_downloadFailed_Runtime()235 File cachedFile = mCache.getCachedFile(REMOTE_PATH); in testFetchRemoteFile_cacheMissing()247 assertNotNull(mCache.getCachedFile(REMOTE_PATH)); in testFetchRemoteFile_cacheMissing()291 assertNull(mCache.getCachedFile(REMOTE_PATH)); in testFetchRemoteFile_copyFailed()346 File cachedFile = mCache.getCachedFile(gsPath); in testCacheRebuild_multiSlashPath()358 File cachedFileRebuilt = mCache.getCachedFile(gsPath); in testCacheRebuild_multiSlashPath()388 assertNotNull(mCache.getCachedFile(remotePath)); in assertFetchRemoteFile()
109 assertNotNull(mCache.getCachedFile(REMOTE_PATH)); in testFetchRemoteFile_concurrent()189 assertNotNull(mCache.getCachedFile(remotePath1)); in testFetchRemoteFile_multiConcurrent()256 assertNotNull(mCache.getCachedFile(REMOTE_PATH)); in testFetchRemoteFile_concurrentFail()285 assertNotNull(cache.getCachedFile(REMOTE_PATH)); in testConstructor_createCache()286 assertNotNull(cache.getCachedFile("aa/anotherpath")); in testConstructor_createCache()
58 mCache.getCachedFile(targetFile, parentDir.getName() + "/test-name.config", crc); in testcache()63 mCache.getCachedFile( in testcache()
105 public boolean getCachedFile(File targetFile, String fileName, String crc) { in getCachedFile() method in PartialZipDownloadCache
207 .getCachedFile( in downloadFiles()
507 File getCachedFile(String remoteFilePath) { in getCachedFile() method in FileDownloadCache