Home
last modified time | relevance | path

Searched refs:downloader (Results 1 – 12 of 12) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/cache/remote/
DByteStreamDownloaderTest.java95 ByteStreamDownloader downloader = newDownloader(); in downloadBlob_works() local
99 downloader.downloadBlob( in downloadBlob_works()
102 ListenableFuture<Void> downloaded = downloader.downloadBlob(digest, out); in downloadBlob_works()
125 ByteStreamDownloader downloader = newDownloader(); in downloadBlob_ignore_error_after_fully_downloaded() local
129 downloader.downloadBlob(DigestCalculator.compute(blob.getBytes(UTF_8)), out); in downloadBlob_ignore_error_after_fully_downloaded()
DRemoteCacheClientTest.java203 private RemoteCacheClient newClient(ByteStreamDownloader downloader) { in newClient() argument
204 return new RemoteCacheClient(mWorkFolder, INSTANCE, mChannel, null, downloader); in newClient()
/tools/tradefederation/core/src/com/android/tradefed/config/remote/
DHttpRemoteFileResolver.java45 IHttpHelper downloader = getDownloader(); in resolveRemoteFile() local
52 downloader.doGet(downloader.buildUrl(path, new MultiMap<>(args.getQueryArgs())), in resolveRemoteFile()
/tools/tradefederation/core/src/com/android/tradefed/build/
DFileDownloadCache.java307 public void fetchRemoteFile(IFileDownloader downloader, String remoteFilePath, File destFile) in fetchRemoteFile() argument
309 internalfetchRemoteFile(downloader, remoteFilePath, destFile); in fetchRemoteFile()
323 public File fetchRemoteFile(IFileDownloader downloader, String remoteFilePath) in fetchRemoteFile() argument
325 return internalfetchRemoteFile(downloader, remoteFilePath, null); in fetchRemoteFile()
329 IFileDownloader downloader, String remotePath, File destFile) in internalfetchRemoteFile() argument
362 || !downloader.isFresh(cachedFile, remotePath))) { in internalfetchRemoteFile()
375 downloadFile(downloader, remotePath, cachedFile); in internalfetchRemoteFile()
401 private void downloadFile(IFileDownloader downloader, String remotePath, File cachedFile) in downloadFile() argument
404 downloader.downloadFile(remotePath, cachedFile); in downloadFile()
/tools/tradefederation/core/src/com/android/tradefed/util/
DRemoteZip.java70 IFileDownloader downloader, in RemoteZip() argument
75 mDownloader = downloader; in RemoteZip()
83 String remoteFilePath, long fileSize, IFileDownloader downloader, boolean useZip64) { in RemoteZip() argument
84 this(remoteFilePath, fileSize, downloader, useZip64, false); in RemoteZip()
94 public RemoteZip(String remoteFilePath, long fileSize, IFileDownloader downloader) { in RemoteZip() argument
95 this(remoteFilePath, fileSize, downloader, false); in RemoteZip()
/tools/tradefederation/core/javatests/com/android/tradefed/device/cloud/
DOxygenUtilTest.java49 GCSFileDownloader downloader = Mockito.mock(GCSFileDownloader.class); in testDownloadLaunchFailureLogs() local
69 when(downloader.downloadFile(expectedUrl)).thenReturn(tmpDir); in testDownloadLaunchFailureLogs()
71 OxygenUtil util = new OxygenUtil(downloader); in testDownloadLaunchFailureLogs()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterBuildProvider.java102 final TestResourceDownloader downloader = createTestResourceDownloader(); in getBuild() local
132 File cachedFile = retrieveFile(resource.getUrl(), cache, downloader, resourceFile); in getBuild()
166 TestResourceDownloader downloader, in retrieveFile() argument
173 downloader.download(url, downloadDest); in retrieveFile()
/tools/treble/fetcher/
Dfetcher_lib.py166 downloader = apiclient.http.MediaIoBaseDownload(
170 status, done = downloader.next_chunk(num_retries=_DEFAULT_RETRIES)
/tools/tradefederation/core/common_util/com/android/tradefed/cache/remote/
DRemoteCacheClient.java62 ByteStreamDownloader downloader) { in RemoteCacheClient() argument
67 mDownloader = downloader; in RemoteCacheClient()
/tools/acloud/internal/lib/
Dandroid_build_client.py110 downloader = apiclient.http.MediaIoBaseDownload(
114 _, done = downloader.next_chunk()
/tools/tradefederation/core/javatests/com/android/tradefed/build/
DFileDownloadCacheFuncTest.java324 private Thread createDownloadThread(IFileDownloader downloader, String remotePath) { in createDownloadThread() argument
329 mReturnedFiles.add(mCache.fetchRemoteFile(downloader, remotePath)); in createDownloadThread()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DOxygenUtil.java154 OxygenUtil(GCSFileDownloader downloader) { in OxygenUtil() argument
155 mDownloader = downloader; in OxygenUtil()