/tools/tradefederation/core/javatests/com/android/tradefed/cache/remote/ |
D | ByteStreamDownloaderTest.java | 95 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()
|
D | RemoteCacheClientTest.java | 203 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/ |
D | HttpRemoteFileResolver.java | 45 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/ |
D | FileDownloadCache.java | 307 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/ |
D | RemoteZip.java | 70 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/ |
D | OxygenUtilTest.java | 49 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/ |
D | ClusterBuildProvider.java | 102 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/ |
D | fetcher_lib.py | 166 downloader = apiclient.http.MediaIoBaseDownload( 170 status, done = downloader.next_chunk(num_retries=_DEFAULT_RETRIES)
|
/tools/tradefederation/core/common_util/com/android/tradefed/cache/remote/ |
D | RemoteCacheClient.java | 62 ByteStreamDownloader downloader) { in RemoteCacheClient() argument 67 mDownloader = downloader; in RemoteCacheClient()
|
/tools/acloud/internal/lib/ |
D | android_build_client.py | 110 downloader = apiclient.http.MediaIoBaseDownload( 114 _, done = downloader.next_chunk()
|
/tools/tradefederation/core/javatests/com/android/tradefed/build/ |
D | FileDownloadCacheFuncTest.java | 324 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/ |
D | OxygenUtil.java | 154 OxygenUtil(GCSFileDownloader downloader) { in OxygenUtil() argument 155 mDownloader = downloader; in OxygenUtil()
|