Searched refs:IFileDownloader (Results 1 – 11 of 11) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | FileDownloadCacheWrapper.java | 28 public class FileDownloadCacheWrapper implements IFileDownloader { 31 private final IFileDownloader mDelegateDownloader; 33 public FileDownloadCacheWrapper(File cacheDir, IFileDownloader delegateDownloader) { in FileDownloadCacheWrapper()
|
D | IFileDownloader.java | 25 public interface IFileDownloader { interface
|
D | FileDownloadCache.java | 307 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/ |
D | GCSDownloaderHelper.java | 22 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/ |
D | GCSHostResourceManager.java | 20 import com.android.tradefed.build.IFileDownloader; 37 private IFileDownloader mFileDownloader = null; 67 IFileDownloader getGCSFileDownloader() { in getGCSFileDownloader()
|
/tools/tradefederation/core/javatests/com/android/tradefed/build/ |
D | FileDownloadCacheFuncTest.java | 57 @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()
|
D | FileDownloadCacheTest.java | 63 @Mock IFileDownloader mMockDownloader;
|
/tools/tradefederation/core/javatests/com/android/tradefed/host/gcs/ |
D | GCSHostResourceManagerTest.java | 19 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/ |
D | RemoteZip.java | 19 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()
|
D | GCSFileDownloader.java | 20 import com.android.tradefed.build.IFileDownloader; 57 public class GCSFileDownloader extends GCSCommon implements IFileDownloader {
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | RemoteZipTest.java | 22 import com.android.tradefed.build.IFileDownloader; 47 private IFileDownloader mDownloader; 63 mDownloader = Mockito.mock(IFileDownloader.class); in setUp()
|