Home
last modified time | relevance | path

Searched refs:mDownloader (Results 1 – 6 of 6) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/util/
DGCSFileDownloaderFuncTest.java62 private GCSFileDownloader mDownloader; field in GCSFileDownloaderFuncTest
87 mDownloader = in setUp()
104 mDownloader.getStorage( in setUp()
194 mDownloader.downloadFile(BUCKET_NAME, mRemoteRoot + "/" + FILE_NAME1); in testDownloadFile_streamOutput()
203 mDownloader.downloadFile(BUCKET_NAME, mRemoteRoot + "/" + "non_exist_file"); in testDownloadFile_streamOutput_notExist()
213 StorageObject object = mDownloader.getRemoteFileMetaData(BUCKET_NAME, filename); in testGetRemoteFileMetaData()
220 StorageObject object = mDownloader.getRemoteFileMetaData(BUCKET_NAME, filename); in testGetRemoteFileMetaData_notExist()
227 mDownloader.isRemoteFolder( in testIsRemoteFolder()
230 mDownloader.isRemoteFolder( in testIsRemoteFolder()
237 mDownloader.downloadFile( in testDownloadFile()
[all …]
DRemoteZipTest.java47 private IFileDownloader mDownloader; field in RemoteZipTest
63 mDownloader = Mockito.mock(IFileDownloader.class); in setUp()
74 .when(mDownloader) in setUp()
103 new RemoteZip(REMOTE_FILE, mZipFileSize, mDownloader, false, false); in testGetZipEntries()
125 new RemoteZip(REMOTE_FILE, mZipFileSize, mDownloader, true, false); in testGetZipEntriesWithUseZip64()
149 new RemoteZip(REMOTE_FILE, mZipFileSize, mDownloader, false, false); in testDownloadFilesFromZip()
DGCSFileUploaderFuncTest.java47 private GCSFileDownloader mDownloader; field in GCSFileUploaderFuncTest
52 mDownloader = new GCSFileDownloader(); in setUp()
129 return mDownloader.downloadFile(BUCKET_NAME, gcsFilePath); in pullFileFromGcs()
/tools/tradefederation/core/src/com/android/tradefed/util/
DRemoteZip.java51 private IFileDownloader mDownloader; field in RemoteZip
75 mDownloader = downloader; in RemoteZip()
139 mDownloader.downloadFile(mRemoteFilePath, partialZipFile, startOffset, size); in getZipEntries()
145 mDownloader.downloadFile( in getZipEntries()
253 mDownloader.downloadFile( in downloadFiles()
/tools/tradefederation/core/common_util/com/android/tradefed/cache/remote/
DRemoteCacheClient.java55 private final ByteStreamDownloader mDownloader; field in RemoteCacheClient
67 mDownloader = downloader; in RemoteCacheClient()
149 downloads.add(mDownloader.downloadBlob(stdoutDigest, stdoutStream)); in lookupCache()
159 downloads.add(mDownloader.downloadBlob(stderrDigest, stderrStream)); in lookupCache()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DOxygenUtil.java64 private GCSFileDownloader mDownloader; field in OxygenUtil
145 mDownloader = new GCSFileDownloader(true); in OxygenUtil()
155 mDownloader = downloader; in OxygenUtil()
181 localDir = mDownloader.downloadFile(remoteFilePath); in downloadLaunchFailureLogs()