Searched refs:downloadedFile (Results 1 – 4 of 4) sorted by relevance
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | DynamicRemoteFileResolverTest.java | 135 Set<File> downloadedFile = setter.validateRemoteFilePath(mResolver); in testResolve() local 139 assertThat(downloadedFile) in testResolve() 164 Set<File> downloadedFile = setter.validateRemoteFilePath(mResolver); in testResolveWithQuery() local 165 assertEquals(1, downloadedFile.size()); in testResolveWithQuery() 166 File downloaded = downloadedFile.iterator().next(); in testResolveWithQuery() 192 Set<File> downloadedFile = setter.validateRemoteFilePath(mResolver); in testResolveOptional() local 193 assertEquals(0, downloadedFile.size()); in testResolveOptional() 215 Set<File> downloadedFile = setter.validateRemoteFilePath(mResolver); in testResolve_remoteFileList() local 216 assertEquals(1, downloadedFile.size()); in testResolve_remoteFileList() 217 File downloaded = downloadedFile.iterator().next(); in testResolve_remoteFileList() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | DynamicRemoteFileResolver.java | 175 File downloadedFile = resolveRemoteFiles(consideredFile, option); in validateRemoteFilePath() local 176 if (downloadedFile != null) { in validateRemoteFilePath() 177 downloadedFiles.add(downloadedFile); in validateRemoteFilePath() 180 field.set(obj, downloadedFile); in validateRemoteFilePath() 197 File downloadedFile = resolveRemoteFiles(consideredFile, option); in validateRemoteFilePath() local 198 if (downloadedFile != null) { in validateRemoteFilePath() 199 downloadedFiles.add(downloadedFile); in validateRemoteFilePath() 202 c.add(downloadedFile); in validateRemoteFilePath() 350 public static final File unzipIfRequired(File downloadedFile, Map<String, String> query) in unzipIfRequired() argument 355 if (ZipUtil.isZipFileValid(downloadedFile, false)) { in unzipIfRequired() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/config/remote/ |
D | HttpRemoteFileResolver.java | 46 File downloadedFile = null; in resolveRemoteFiles() local 48 downloadedFile = in resolveRemoteFiles() 52 downloader.doGet(path, new FileOutputStream(downloadedFile)); in resolveRemoteFiles() 53 return DynamicRemoteFileResolver.unzipIfRequired(downloadedFile, queryArgs); in resolveRemoteFiles() 55 FileUtil.deleteFile(downloadedFile); in resolveRemoteFiles()
|
D | GcsRemoteFileResolver.java | 45 File downloadedFile = getDownloader().fetchTestResource(path); in resolveRemoteFiles() local 47 return DynamicRemoteFileResolver.unzipIfRequired(downloadedFile, query); in resolveRemoteFiles()
|