Home
last modified time | relevance | path

Searched refs:downloadFile (Results 1 – 7 of 7) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/build/
DIFileDownloader.java33 public File downloadFile(String remoteFilePath) throws BuildRetrievalError; in downloadFile() method
44 public void downloadFile(String relativeRemotePath, File destFile) throws BuildRetrievalError; in downloadFile() method
DFileDownloadCache.java266 downloadFile(downloader, remotePath, cachedFile); in fetchRemoteFile()
292 private void downloadFile(IFileDownloader downloader, String remotePath, File cachedFile) in downloadFile() method in FileDownloadCache
295 downloader.downloadFile(remotePath, cachedFile); in downloadFile()
/tools/tradefederation/core/src/com/android/tradefed/config/gcs/
DGCSConfigurationServer.java61 InputStream hostConfigMapping = downloadFile(mHostConfigMapping); in getCurrentHostConfig()
127 return downloadFile(name); in getConfig()
138 InputStream downloadFile(String name) throws ConfigurationException { in downloadFile() method in GCSConfigurationServer
140 return getFileDownloader().downloadFile(mBucketName, name); in downloadFile()
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DFileDownloadCacheFuncTest.java88 mMockDownloader.downloadFile(EasyMock.eq(REMOTE_PATH), EasyMock.<File>anyObject()); in testFetchRemoteFile_concurrent()
145 .downloadFile(Mockito.eq(remotePath1), Mockito.any()); in testFetchRemoteFile_multiConcurrent()
148 .downloadFile(Mockito.eq(remotePath2), Mockito.any()); in testFetchRemoteFile_multiConcurrent()
151 .downloadFile(Mockito.eq(remotePath3), Mockito.any()); in testFetchRemoteFile_multiConcurrent()
183 Mockito.verify(mockDownloader1).downloadFile(Mockito.eq(remotePath1), Mockito.any()); in testFetchRemoteFile_multiConcurrent()
184 Mockito.verify(mockDownloader2).downloadFile(Mockito.eq(remotePath2), Mockito.any()); in testFetchRemoteFile_multiConcurrent()
185 Mockito.verify(mockDownloader3).downloadFile(Mockito.eq(remotePath3), Mockito.any()); in testFetchRemoteFile_multiConcurrent()
216 mMockDownloader.downloadFile(EasyMock.eq(REMOTE_PATH), EasyMock.<File>anyObject()); in testFetchRemoteFile_concurrentFail()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DGCSFileDownloaderFuncTest.java101 InputStream inputStream = mDownloader.downloadFile(sBucketName, FILE_NAME); in testDownloadFile()
109 mDownloader.downloadFile(sBucketName, "non_exist_file"); in testDownloadFile_notExist()
/tools/tradefederation/core/src/com/android/tradefed/util/
DGCSFileDownloader.java38 public InputStream downloadFile(String bucketName, String filename) throws IOException { in downloadFile() method in GCSFileDownloader
/tools/tradefederation/core/tests/src/com/android/tradefed/config/gcs/
DGCSConfigurationServerTest.java57 InputStream downloadFile(String name) throws ConfigurationException { in setUp()