Home
last modified time | relevance | path

Searched refs:queryArgs (Results 1 – 4 of 4) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/config/remote/
DHttpRemoteFileResolver.java38 public File resolveRemoteFiles(File consideredFile, Map<String, String> queryArgs) in resolveRemoteFiles() argument
53 return DynamicRemoteFileResolver.unzipIfRequired(downloadedFile, queryArgs); in resolveRemoteFiles()
DIRemoteFileResolver.java55 File consideredFile, Map<String, String> queryArgs) throws BuildRetrievalError { in resolveRemoteFiles() argument
/tools/tradefederation/core/src/com/android/tradefed/config/
DDynamicRemoteFileResolver.java277 Map<String, String> queryArgs; in resolvePartialDownloadZip() local
282 queryArgs = parseQuery(uri.getQuery()); in resolvePartialDownloadZip()
291 queryArgs.put("partial_download_dir", destDir.getAbsolutePath()); in resolvePartialDownloadZip()
293 queryArgs.put("include_filters", String.join(";", includeFilters)); in resolvePartialDownloadZip()
296 queryArgs.put("exclude_filters", String.join(";", excludeFilters)); in resolvePartialDownloadZip()
301 resolver.resolveRemoteFiles(new File(remoteZipFilePath), queryArgs); in resolvePartialDownloadZip()
303 if (isOptional(queryArgs)) { in resolvePartialDownloadZip()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DDynamicRemoteFileResolverTest.java468 Map<String, String> queryArgs = new HashMap<>(); in testResolvePartialDownloadZip() local
469 queryArgs.put("partial_download_dir", "/tmp"); in testResolvePartialDownloadZip()
470 queryArgs.put("include_filters", "test1;test2"); in testResolvePartialDownloadZip()
471 queryArgs.put("exclude_filters", "[.]config"); in testResolvePartialDownloadZip()
476 EasyMock.eq(queryArgs))) in testResolvePartialDownloadZip()
491 Map<String, String> queryArgs = new HashMap<>(); in testResolvePartialDownloadZip_optional() local
492 queryArgs.put("partial_download_dir", "/tmp"); in testResolvePartialDownloadZip_optional()
493 queryArgs.put("include_filters", "test1;test2"); in testResolvePartialDownloadZip_optional()
494 queryArgs.put("exclude_filters", "[.]config"); in testResolvePartialDownloadZip_optional()
495 queryArgs.put("optional", "true"); in testResolvePartialDownloadZip_optional()
[all …]