/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | GCSFileDownloaderFuncTest.java | 194 mDownloader.downloadFile(BUCKET_NAME, mRemoteRoot + "/" + FILE_NAME1); in testDownloadFile_streamOutput() 203 mDownloader.downloadFile(BUCKET_NAME, mRemoteRoot + "/" + "non_exist_file"); in testDownloadFile_streamOutput_notExist() 237 mDownloader.downloadFile( in testDownloadFile() 246 mDownloader.downloadFile( in testDownloadFile_nonExist() 257 mDownloader.downloadFile( in testDownloadFile_folder() 265 mDownloader.downloadFile( in testDownloadFile_folderNotsanitize() 319 mDownloader.downloadFile( in testDownloadFile_folder_nonExist() 331 mDownloader.downloadFile( in testDownloadFile_size0Folder() 351 mDownloader.downloadFile( in testDownloadFile_folderWithOnlyOneFile() 369 mDownloader.downloadFile( in testDownloadFile_emptyFile() [all …]
|
D | GCSFileDownloaderTest.java | 42 protected void downloadFile(String bucketName, String filename, File localFile) in setUp() 62 localFile = mGCSFileDownloader.downloadFile("gs://bucket/this/is/a/file.txt"); in testDownloadFile() 73 mGCSFileDownloader.downloadFile("/this/is/a/file.txt"); in testDownloadFile_nonGCSFile()
|
/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/build/ |
D | FileDownloadCacheFuncTest.java | 98 .downloadFile(Mockito.eq(REMOTE_PATH), Mockito.<File>any()); in testFetchRemoteFile_concurrent() 120 inOrder.verify(mMockDownloader).downloadFile(Mockito.eq(REMOTE_PATH), Mockito.<File>any()); in testFetchRemoteFile_concurrent() 159 .downloadFile(Mockito.eq(remotePath1), Mockito.any()); in testFetchRemoteFile_multiConcurrent() 162 .downloadFile(Mockito.eq(remotePath2), Mockito.any()); in testFetchRemoteFile_multiConcurrent() 165 .downloadFile(Mockito.eq(remotePath3), Mockito.any()); in testFetchRemoteFile_multiConcurrent() 197 Mockito.verify(mockDownloader1).downloadFile(Mockito.eq(remotePath1), Mockito.any()); in testFetchRemoteFile_multiConcurrent() 198 Mockito.verify(mockDownloader2).downloadFile(Mockito.eq(remotePath2), Mockito.any()); in testFetchRemoteFile_multiConcurrent() 199 Mockito.verify(mockDownloader3).downloadFile(Mockito.eq(remotePath3), Mockito.any()); in testFetchRemoteFile_multiConcurrent() 230 .downloadFile(Mockito.eq(REMOTE_PATH), Mockito.<File>any()); in testFetchRemoteFile_concurrentFail() 264 .downloadFile(Mockito.eq(REMOTE_PATH), Mockito.<File>any()); in testFetchRemoteFile_concurrentFail()
|
D | FileDownloadCacheTest.java | 193 .downloadFile(eq(REMOTE_PATH), any(File.class)); in testFetchRemoteFile_downloadFailed() 212 .downloadFile(eq(REMOTE_PATH), any(File.class)); in testFetchRemoteFile_downloadFailed_Runtime() 409 /** Set EasyMock expectations for a downloadFile call for default remote path */ 414 /** Set EasyMock expectations for a downloadFile call. */ 419 /** Set EasyMock expectations for a downloadFile call */ 441 .downloadFile(eq(remotePath), Mockito.<File>any()); in setDownloadExpectations()
|
/aosp_15_r20/external/aws-sdk-java-v2/services-custom/s3-transfer-manager/src/main/java/software/amazon/awssdk/transfer/s3/ |
H A D | S3TransferManager.java | 106 * FileDownload download = transferManager.downloadFile(downloadFileRequest); 189 * FileDownload download = transferManager.downloadFile(downloadFileRequest); 195 * @see #downloadFile(Consumer) 198 default FileDownload downloadFile(DownloadFileRequest downloadRequest) { in downloadFile() method 206 * @see #downloadFile(DownloadFileRequest) 208 default FileDownload downloadFile(Consumer<DownloadFileRequest.Builder> request) { in downloadFile() method 209 return downloadFile(DownloadFileRequest.builder().applyMutation(request).build()); in downloadFile() 213 …* Resumes a downloadFile operation. This download operation uses the same configuration as the ori… 234 * transferManager.downloadFile(downloadFileRequest); 255 * @see #downloadFile(DownloadFileRequest) [all …]
|
/aosp_15_r20/cts/tests/mediaprovider/src/android/provider/cts/media/ |
H A D | MediaStore_DownloadsTest.java | 118 final File downloadFile = new File(mDownloadsDir, "colors.txt"); in testScannedDownload() local 119 downloadFile.createNewFile(); in testScannedDownload() 121 try (PrintWriter pw = new PrintWriter(downloadFile)) { in testScannedDownload() 124 verifyScannedDownload(downloadFile); in testScannedDownload() 132 final File downloadFile = new File(mDownloadsDir, "scenery.png"); in testScannedMediaDownload() local 133 downloadFile.createNewFile(); in testScannedMediaDownload() 135 OutputStream out = new FileOutputStream(downloadFile)) { in testScannedMediaDownload() 138 verifyScannedDownload(downloadFile); in testScannedMediaDownload()
|
/aosp_15_r20/cts/tests/mediaprovider/modern/src/android/provider/cts/media/modern/ |
H A D | MediaStore_DownloadsTest.java | 120 final File downloadFile = new File(mDownloadsDir, "colors.txt"); in testScannedDownload() local 121 downloadFile.createNewFile(); in testScannedDownload() 123 try (PrintWriter pw = new PrintWriter(downloadFile)) { in testScannedDownload() 126 verifyScannedDownload(downloadFile); in testScannedDownload() 135 final File downloadFile = new File(mDownloadsDir, "scenery.png"); in testScannedMediaDownload() local 136 downloadFile.createNewFile(); in testScannedMediaDownload() 138 OutputStream out = new FileOutputStream(downloadFile)) { in testScannedMediaDownload() 141 verifyScannedDownload(downloadFile); in testScannedMediaDownload()
|
/aosp_15_r20/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/ |
H A D | DownloadFileTest.java | 145 mobileDataDownload.downloadFile(singleFileDownloadRequest); in downloadFile_whenRequestAlreadyMade_dedups() 147 mobileDataDownload.downloadFile(singleFileDownloadRequest); in downloadFile_whenRequestAlreadyMade_dedups() 168 mobileDataDownload.downloadFile(singleFileDownloadRequest); in downloadFile_whenRequestAlreadyMadeUsingForegroundService_dedups() 197 mobileDataDownload.downloadFile(singleFileDownloadRequest); in downloadFile_beginsDownload() 250 mobileDataDownload.downloadFile(singleFileDownloadRequest).get(); in download_whenListenerProvided_handlesOnCompleteFailed() 278 mobileDataDownload.downloadFile(singleFileDownloadRequest); in downloadFile_whenDownloadFails_reportsFailure() 294 mobileDataDownload.downloadFile(singleFileDownloadRequest); in downloadFile_whenReturnedFutureIsCanceled_cancelsDownload() 325 mobileDataDownload.downloadFile(singleFileDownloadRequest); in downloadFile_whenMonitorNotProvided_whenDownloadFails_reportsFailure() 407 mobileDataDownload.downloadFile(singleFileDownloadRequest); in downloadFileWithForegroundService_whenRequestAlreadyMadeWithoutForegroundService_dedups()
|
H A D | DownloadFileIntegrationTest.java | 154 ListenableFuture<Void> downloadFuture = mobileDataDownload.downloadFile(downloadRequest); in downloadFile_success() 183 ListenableFuture<Void> downloadFuture = mobileDataDownload.downloadFile(downloadRequest); in downloadFile_failure() 213 ListenableFuture<Void> downloadFuture = mobileDataDownload.downloadFile(downloadRequest); in downloadFile_cancel()
|
/aosp_15_r20/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | GCSFileDownloader.java | 100 public File downloadFile(String remoteFilePath) throws BuildRetrievalError { in downloadFile() method in GCSFileDownloader 103 downloadFile(remoteFilePath, destFile); in downloadFile() 112 public void downloadFile(String remotePath, File destFile) throws BuildRetrievalError { in downloadFile() method in GCSFileDownloader 114 downloadFile(pathParts[0], pathParts[1], destFile); in downloadFile() 119 protected void downloadFile(String bucketName, String remoteFilename, File localFile) in downloadFile() method in GCSFileDownloader 122 super.downloadFile(bucketName, remoteFilename, localFile); in downloadFile()
|
D | RemoteZip.java | 139 mDownloader.downloadFile(mRemoteFilePath, partialZipFile, startOffset, size); in getZipEntries() 145 mDownloader.downloadFile( in getZipEntries() 253 mDownloader.downloadFile( in downloadFiles()
|
/aosp_15_r20/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | IFileDownloader.java | 35 public File downloadFile(String remoteFilePath) throws BuildRetrievalError; in downloadFile() method 38 * Alternate form of {@link #downloadFile(String)}, that allows caller to specify the 46 public void downloadFile(String relativeRemotePath, File destFile) throws BuildRetrievalError; in downloadFile() method 49 * Alternate form of {@link #downloadFile(String, File)}, that allows caller to download a 60 public default void downloadFile( in downloadFile() method
|
/aosp_15_r20/tools/tradefederation/core/common_util/com/android/tradefed/util/gcs/ |
D | GCSFileDownloaderBase.java | 97 public File downloadFile(String remoteFilePath) throws Exception { in downloadFile() method in GCSFileDownloaderBase 100 downloadFile(remoteFilePath, destFile); in downloadFile() 115 public InputStream downloadFile(String bucketName, String filename) throws IOException { in downloadFile() method in GCSFileDownloaderBase 131 public void downloadFile(String remotePath, File destFile) throws Exception { in downloadFile() method in GCSFileDownloaderBase 133 downloadFile(pathParts[0], pathParts[1], destFile); in downloadFile() 137 protected void downloadFile(String bucketName, String remoteFilename, File localFile) in downloadFile() method in GCSFileDownloaderBase
|
/aosp_15_r20/external/aws-sdk-java-v2/services-custom/s3-transfer-manager/src/test/java/software/amazon/awssdk/transfer/s3/samples/ |
H A D | S3TransferManagerSamples.java | 79 public void downloadFile() { in downloadFile() method in S3TransferManagerSamples 80 // @start region=downloadFile in downloadFile() 89 FileDownload download = transferManager.downloadFile(downloadFileRequest); in downloadFile() 93 // @end region=downloadFile in downloadFile() 125 transferManager.downloadFile(downloadFileRequest); in resumeDownloadFile()
|
/aosp_15_r20/external/perfetto/ui/src/traceconv/ |
H A D | index.ts | 47 function downloadFile(buffer: Uint8Array, name: string) { function 50 kind: 'downloadFile', 135 downloadFile(fsNodeToBuffer(fsNode), `trace.${format}`); 218 downloadFile(fsNodeToBuffer(fileNode), fileName);
|
/aosp_15_r20/external/aws-sdk-java-v2/services-custom/s3-transfer-manager/src/test/java/software/amazon/awssdk/transfer/s3/internal/ |
H A D | S3TransferManagerTest.java | 180 …CompletedFileDownload completedFileDownload = tm.downloadFile(d -> d.getObjectRequest(g -> g.bucke… in downloadFile_returnsResponse() 194 CompletableFuture<CompletedFileDownload> future = tm.downloadFile(d -> d in downloadFile_cancel_shouldForwardCancellation() 234 …assertThatThrownBy(() -> tm.downloadFile(b -> b.getObjectRequest(p -> p.bucket(objectLambdaArn).ke… in objectLambdaArnBucketProvided_shouldThrowException() 284 …assertThatThrownBy(() -> tm.downloadFile(b -> b.getObjectRequest(p -> p.bucket(mrapArn).key("key")) in mrapArnProvided_shouldThrowException() 376 …assertThatThrownBy(() -> tm.downloadFile(request).completionFuture().join()).isInstanceOf(NullPoin… in download_requestNull_shouldThrowException()
|
/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/host/gcs/ |
D | GCSHostResourceManagerTest.java | 54 public void downloadFile(String relativeRemotePath, File destFile) in setUp() 64 public File downloadFile(String remoteFilePath) in setUp() 69 downloadFile(remoteFilePath, destFile); in setUp()
|
/aosp_15_r20/external/libpcap/ |
H A D | .appveyor.yml | 16 - appveyor DownloadFile https://www.winpcap.org/install/bin/WpdPack_4_1_2.zip 18 - appveyor DownloadFile https://npcap.com/dist/npcap-sdk-1.13.zip 20 …- appveyor DownloadFile https://support.riverbed.com/bin/support/download?sid=l3vk3eu649usgu3rj60u…
|
/aosp_15_r20/cts/hostsidetests/webkit/compatchangeapp/src/com/android/cts/webkit/compatchange/ |
H A D | WebViewDeviceSideURLUtilTest.java | 95 "Fallback filename is 'downloadfile.bin'", in guessFileName_legacyBehavior() 96 "downloadfile.bin", in guessFileName_legacyBehavior() 188 "Fallback filename is 'downloadfile.bin'", in guessFileName_usesRfc6266() 189 "downloadfile.bin", in guessFileName_usesRfc6266()
|
/aosp_15_r20/external/libcxx/ |
H A D | appveyor-reqs-install.cmd | 12 …appveyor DownloadFile https://prereleases.llvm.org/win-snapshots/LLVM-8.0.0-r345380-win32.exe -Fil… 29 appveyor DownloadFile https://cmake.org/files/v3.7/cmake-3.7.2-win64-x64.zip -FileName cmake.zip 41 …appveyor DownloadFile https://github.com/ninja-build/ninja/releases/download/v1.6.0/ninja-win.zip …
|
/aosp_15_r20/external/cronet/third_party/libc++/src/ |
H A D | appveyor-reqs-install.cmd | 12 …appveyor DownloadFile https://prereleases.llvm.org/win-snapshots/LLVM-9.0.0-r357435-win32.exe -Fil… 29 appveyor DownloadFile https://cmake.org/files/v3.7/cmake-3.7.2-win64-x64.zip -FileName cmake.zip 41 …appveyor DownloadFile https://github.com/ninja-build/ninja/releases/download/v1.6.0/ninja-win.zip …
|
/aosp_15_r20/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/ |
H A D | WebViewDeviceSideURLUtilTest.java | 93 "Fallback filename is 'downloadfile.bin'", in guessFileName_legacyBehavior() 94 "downloadfile.bin", in guessFileName_legacyBehavior() 246 "Fallback filename is 'downloadfile.bin'", in guessFileName_usesRfc6266() 247 "downloadfile.bin", in guessFileName_usesRfc6266()
|
/aosp_15_r20/tools/tradefederation/core/global_configuration/com/android/tradefed/config/gcs/ |
D | GCSConfigurationServer.java | 192 return getFileDownloader().downloadFile(mBucketName, name); in downloadFileToInputStream() 198 protected File downloadFile(String name) throws ConfigurationException { in downloadFile() method in GCSConfigurationServer 200 return getFileDownloader().downloadFile(String.format("gs://%s/%s", mBucketName, name)); in downloadFile()
|
/aosp_15_r20/external/aws-sdk-java-v2/services-custom/s3-transfer-manager/src/it/java/software/amazon/awssdk/transfer/s3/ |
H A D | S3TransferManagerDownloadPauseResumeIntegrationTest.java | 80 FileDownload download = tmCrt.downloadFile(request); in pauseAndResume_ObjectNotChanged_shouldResumeDownload() 107 FileDownload download = tmCrt.downloadFile(request); in pauseAndResume_objectChanged_shouldStartFromBeginning() 141 FileDownload download = tmCrt.downloadFile(request); in pauseAndResume_fileChanged_shouldStartFromBeginning()
|
/aosp_15_r20/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
H A D | BandwidthTest.java | 101 downloadFile(); in testWifiDownload() 112 downloadFile(); in testMobileDownload() 119 protected void downloadFile() throws Exception { in downloadFile() method in BandwidthTest
|