Home
last modified time | relevance | path

Searched refs:IFileDownloader (Results 1 – 11 of 11) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/build/
DFileDownloadCacheWrapper.java28 public class FileDownloadCacheWrapper implements IFileDownloader {
31 private final IFileDownloader mDelegateDownloader;
33 public FileDownloadCacheWrapper(File cacheDir, IFileDownloader delegateDownloader) { in FileDownloadCacheWrapper()
DIFileDownloader.java25 public interface IFileDownloader { interface
DFileDownloadCache.java307 public void fetchRemoteFile(IFileDownloader downloader, String remoteFilePath, File destFile) in fetchRemoteFile()
323 public File fetchRemoteFile(IFileDownloader downloader, String remoteFilePath) in fetchRemoteFile()
329 IFileDownloader downloader, String remotePath, File destFile) in internalfetchRemoteFile()
401 private void downloadFile(IFileDownloader downloader, String remotePath, File cachedFile) in downloadFile()
/tools/tradefederation/core/src/com/android/tradefed/build/gcs/
DGCSDownloaderHelper.java22 import com.android.tradefed.build.IFileDownloader;
32 private IFileDownloader mFileDownloader = null;
66 private IFileDownloader getGCSFileDownloader() { in getGCSFileDownloader()
/tools/tradefederation/core/src/com/android/tradefed/host/gcs/
DGCSHostResourceManager.java20 import com.android.tradefed.build.IFileDownloader;
37 private IFileDownloader mFileDownloader = null;
67 IFileDownloader getGCSFileDownloader() { in getGCSFileDownloader()
/tools/tradefederation/core/javatests/com/android/tradefed/build/
DFileDownloadCacheFuncTest.java57 @Mock IFileDownloader mMockDownloader;
129 IFileDownloader mockDownloader1 = Mockito.mock(IFileDownloader.class); in testFetchRemoteFile_multiConcurrent()
130 IFileDownloader mockDownloader2 = Mockito.mock(IFileDownloader.class); in testFetchRemoteFile_multiConcurrent()
131 IFileDownloader mockDownloader3 = Mockito.mock(IFileDownloader.class); in testFetchRemoteFile_multiConcurrent()
324 private Thread createDownloadThread(IFileDownloader downloader, String remotePath) { in createDownloadThread()
DFileDownloadCacheTest.java63 @Mock IFileDownloader mMockDownloader;
/tools/tradefederation/core/javatests/com/android/tradefed/host/gcs/
DGCSHostResourceManagerTest.java19 import com.android.tradefed.build.IFileDownloader;
50 IFileDownloader getGCSFileDownloader() { in setUp()
51 return new IFileDownloader() { in setUp()
/tools/tradefederation/core/src/com/android/tradefed/util/
DRemoteZip.java19 import com.android.tradefed.build.IFileDownloader;
51 private IFileDownloader mDownloader;
70 IFileDownloader downloader, in RemoteZip()
83 String remoteFilePath, long fileSize, IFileDownloader downloader, boolean useZip64) { in RemoteZip()
94 public RemoteZip(String remoteFilePath, long fileSize, IFileDownloader downloader) { in RemoteZip()
DGCSFileDownloader.java20 import com.android.tradefed.build.IFileDownloader;
57 public class GCSFileDownloader extends GCSCommon implements IFileDownloader {
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DRemoteZipTest.java22 import com.android.tradefed.build.IFileDownloader;
47 private IFileDownloader mDownloader;
63 mDownloader = Mockito.mock(IFileDownloader.class); in setUp()