Searched refs:IFileDownloader (Results 1 – 9 of 9) sorted by relevance
53 private IFileDownloader mMockDownloader;61 mMockDownloader = EasyMock.createStrictMock(IFileDownloader.class); in setUp()124 IFileDownloader mockDownloader1 = Mockito.mock(IFileDownloader.class); in testFetchRemoteFile_multiConcurrent()125 IFileDownloader mockDownloader2 = Mockito.mock(IFileDownloader.class); in testFetchRemoteFile_multiConcurrent()126 IFileDownloader mockDownloader3 = Mockito.mock(IFileDownloader.class); in testFetchRemoteFile_multiConcurrent()324 private Thread createDownloadThread(IFileDownloader downloader, String remotePath) { in createDownloadThread()
51 private IFileDownloader mMockDownloader;59 mMockDownloader = EasyMock.createMock(IFileDownloader.class); in setUp()
26 public class FileDownloadCacheWrapper implements IFileDownloader {29 private final IFileDownloader mDelegateDownloader;31 public FileDownloadCacheWrapper(File cacheDir, IFileDownloader delegateDownloader) { in FileDownloadCacheWrapper()
242 public File fetchRemoteFile(IFileDownloader downloader, String remotePath) in fetchRemoteFile()301 private void downloadFile(IFileDownloader downloader, String remotePath, File cachedFile) in downloadFile()
23 public interface IFileDownloader { interface
20 import com.android.tradefed.build.IFileDownloader;30 private IFileDownloader mFileDownloader = null;43 private IFileDownloader getGCSFileDownloader() { in getGCSFileDownloader()
20 import com.android.tradefed.build.IFileDownloader;37 private IFileDownloader mFileDownloader = null;67 IFileDownloader getGCSFileDownloader() { in getGCSFileDownloader()
19 import com.android.tradefed.build.IFileDownloader;50 IFileDownloader getGCSFileDownloader() { in setUp()51 return new IFileDownloader() { in setUp()
20 import com.android.tradefed.build.IFileDownloader;47 public class GCSFileDownloader extends GCSCommon implements IFileDownloader {