/tools/tradefederation/core/common_util/com/android/tradefed/util/net/ |
D | HttpHelper.java | 99 public String doGet(String url) throws IOException, DataSizeException { in doGet() argument 100 CLog.d("Performing GET request for %s", url); in doGet() 106 remote = getRemoteUrlStream(new URL(url)); in doGet() 130 public void doGet(String url, OutputStream outputStream) throws IOException { in doGet() argument 131 CLog.d("Performing GET download request for %s", url); in doGet() 134 remote = getRemoteUrlStream(new URL(url)); in doGet() 145 public void doGetIgnore(String url) throws IOException { in doGetIgnore() argument 146 CLog.d("Performing GET request for %s. Ignoring result.", url); in doGetIgnore() 149 remote = getRemoteUrlStream(new URL(url)); in doGetIgnore() 159 public HttpURLConnection createConnection(URL url, String method, String contentType) in createConnection() argument [all …]
|
D | IHttpHelper.java | 49 public String buildUrl(String url, MultiMap<String, String> paramMap); in buildUrl() argument 84 public String doGet(String url) throws IOException, DataSizeException; in doGet() argument 95 public void doGet(String url, OutputStream outputStream) throws IOException; in doGet() argument 108 public String doGetWithRetry(String url) throws IOException, DataSizeException; in doGetWithRetry() argument 117 public void doGetIgnore(String url) throws IOException; in doGetIgnore() argument 128 public void doGetIgnoreWithRetry(String url) throws IOException; in doGetIgnoreWithRetry() argument 143 public String doPostWithRetry(String url, String postData) throws IOException, in doPostWithRetry() argument 160 public String doPostWithRetry(String url, String postData, String contentType) in doPostWithRetry() argument 172 public HttpURLConnection createConnection(URL url, String method, String contentType) in createConnection() argument 183 public HttpURLConnection createXmlConnection(URL url, String method) throws IOException; in createXmlConnection() argument [all …]
|
D | HttpMultipartPost.java | 47 public HttpMultipartPost(String url, IHttpHelper httpHelper) { in HttpMultipartPost() argument 49 mUrl = url; in HttpMultipartPost() 53 public HttpMultipartPost(String url) { in HttpMultipartPost() argument 54 this(url, new HttpHelper()); in HttpMultipartPost()
|
/tools/external_updater/ |
D | archive_utils.py | 71 def is_supported_archive(url): argument 73 return get_extract_func(url) is not None 76 def get_extract_func(url): argument 86 parsed_url = urllib.parse.urlparse(url) 93 if url.find('/crates.io/api/') > 0 or url.find('/static.crates.io/crates/'): 98 def download_and_extract(url): argument 109 archive_file, _headers = urllib.request.urlretrieve(url) 113 get_extract_func(url)(archive_file, temporary_dir)
|
D | test_github_archive_updater.py | 37 url = github_archive_updater.choose_best_url(urls, previous_url) 39 self.assertEqual(url, expected_url) 42 url = github_archive_updater.choose_best_url(urls, previous_url) 44 self.assertEqual(url, expected_url)
|
D | crates_updater.py | 72 url = "https://crates.io/api/v1/crates/" + self.package 73 with urllib.request.urlopen(url) as request: 78 for name, url in remotes.items(): 80 current_remote_url = url 110 url = f"https://crates.io/api/v1/crates/{self.package}/versions" 111 with urllib.request.urlopen(url) as request: 126 url = "https://crates.io/api/v1/crates/" + self.package 127 with urllib.request.urlopen(url) as request: 135 url = url + "/" + self._new_identifier.version 136 with urllib.request.urlopen(url) as request:
|
D | fileutils.py | 184 for url in metadata.third_party.url: 185 if url.type == metadata_pb2.URL.HOMEPAGE: 186 metadata.third_party.homepage = url.value 189 identifier.type = IdentifierType[metadata_pb2.URL.Type.Name(url.type)].value 190 identifier.value = url.value
|
D | github_archive_updater.py | 62 key=lambda url: _edit_distance(url, previous_url)) 91 url = f'https://api.github.com/repos/{self.owner}/{self.repo}/releases/latest' 93 with urllib.request.urlopen(url) as request: 109 for name, url in remotes.items(): 111 current_remote_url = url
|
/tools/repohooks/tools/ |
D | checkpatch.pl-update | 59 local url 62 url="${CGIT_URL}/scripts/checkpatch.pl?h=v${version}" 63 wget "${url}" -O checkpatch.pl 67 url="${CGIT_URL}/scripts/spelling.txt?h=v${version}" 68 wget "${url}" -O spelling.txt 71 url="${CGIT_URL}/scripts/const_structs.checkpatch?h=v${version}" 72 wget "${url}" -O const_structs.checkpatch
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | TestResourceDownloader.java | 40 final URL url = new URL(urlString); in download() local 41 final String protocol = url.getProtocol(); in download() 47 final File src = new File(url.getPath()); in download() 52 final List<String> cmdArgs = buildDownloadCommandArgs(url, dest); in download() 63 "Failed to download %s: command status=%s", url, result.getStatus()); in download() 73 private List<String> buildDownloadCommandArgs(URL url, File file) { in buildDownloadCommandArgs() argument 74 final String protocol = url.getProtocol(); in buildDownloadCommandArgs() 77 return ArrayUtil.list("gsutil", "cp", url.toString(), file.getAbsolutePath()); in buildDownloadCommandArgs() 82 return ArrayUtil.list("curl", "-o", file.getAbsolutePath(), "-fL", url.toString()); in buildDownloadCommandArgs()
|
D | TestResource.java | 63 TestResource(String name, String url) { in TestResource() argument 64 this(name, url, false, null, false, (List<String>) null); in TestResource() 69 String url, in TestResource() argument 76 url, in TestResource() 85 String url, in TestResource() argument 91 mUrl = url; in TestResource()
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/functional/ |
D | DownloadStressTest.py | 87 def download_file(self, url): argument 88 self.log.info("Start downloading: %s" % url) 91 url, 94 def download_thread(self, url): argument 95 download_status = self.download_file(url) 97 self.log.info("Success downloading: %s" % url) 99 self.log.info("Failure downloading: %s" % url) 110 for index, url in enumerate(download_urls): 112 t = threading.Thread(target=self.download_thread, args=(url, ))
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/ |
D | LogFile.java | 40 public LogFile(String path, String url, LogDataType type) { in LogFile() argument 42 mUrl = url; in LogFile() 61 public LogFile(String path, String url, boolean isCompressed, LogDataType type, long size) { in LogFile() argument 63 mUrl = url; in LogFile()
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/net/ |
D | HttpHelperTest.java | 115 InputStream getRemoteUrlStream(URL url) { in testDoGet_datasize() 155 InputStream getRemoteUrlStream(URL url) { in testDoGetWithRetry_datasize() 178 public String doGet(String url) throws IOException { in testDoGetWithRetry_ioexception() 209 public String doGet(String url) throws IOException, DataSizeException { in testDoGetWithRetry_retry() 214 return super.doGet(url); in testDoGetWithRetry_retry() 262 public HttpURLConnection createConnection(URL url, String method, String contentType) in testDoPostWithRetry_ioexception() 289 URL url, String method, String contentType) throws IOException { in testDoPostWithRetry_retry() 294 return super.createConnection(url, method, contentType); in testDoPostWithRetry_retry() 340 InputStream getRemoteUrlStream(URL url) { in getRemoteUrlStream() argument 348 public HttpURLConnection createConnection(URL url, String method, String contentType) in createConnection() argument
|
D | HttpHelperFuncTest.java | 65 final String url = String.format("http://localhost:%d/", port); in testTimeout() local 67 http.doGet(url); in testTimeout() 106 final String url = String.format("http://localhost:%d/", port); in testNoTimeout() local 107 http.doGet(url); in testNoTimeout()
|
/tools/ndkports/curl/ |
D | build.gradle.kts | 71 url.set( in <lambda>() 77 url.set("https://curl.haxx.se/docs/copyright.html") in <lambda>() 87 url.set("https://android.googlesource.com/platform/tools/ndkports") in <lambda>() 96 url = uri("${project.buildDir}/repository") in <lambda>()
|
/tools/ndkports/jsoncpp/ |
D | build.gradle.kts | 76 url.set( in <lambda>() 82 … url.set("https://github.com/open-source-parsers/jsoncpp/blob/master/LICENSE") in <lambda>() 92 url.set("https://android.googlesource.com/platform/tools/ndkports") in <lambda>() 101 url = uri("${project.buildDir}/repository") in <lambda>()
|
/tools/acloud/setup/ |
D | google_sdk.py | 169 url = GetSdkUrl() 170 filename = url[url.rfind("/") + 1:] 172 logger.info("Download file from: %s", url) 174 url_stream = urllib.request.urlopen(url)
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/fuchsia/ |
D | utils.py | 22 url, 46 url, out_path) 81 def _generate_file_directory_and_file_name(url, out_path): argument 93 file_name = url.split('/')[-1]
|
/tools/ndkports/googletest/ |
D | build.gradle.kts | 97 url.set( in <lambda>() 103 url.set("https://github.com/google/googletest/blob/master/LICENSE") in <lambda>() 113 url.set("https://android.googlesource.com/platform/tools/ndkports") in <lambda>() 122 url = uri("${project.buildDir}/repository") in <lambda>()
|
/tools/ndkports/openssl/ |
D | build.gradle.kts | 137 url.set( in <lambda>() 143 url.set("https://www.openssl.org/source/license-openssl-ssleay.txt") in <lambda>() 153 url.set("https://android.googlesource.com/platform/tools/ndkports") in <lambda>() 162 url = uri("${project.buildDir}/repository") in <lambda>()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | FileSystemLogSaver.java | 279 String url = mReportUrl; in getUrl() local 280 if (url.endsWith("/")) { in getUrl() 281 url = url.substring(0, url.length() - 1); in getUrl() 284 return String.format("%s%s", url, relativePath.replace(File.separator, "/")); in getUrl()
|
/tools/netsim/testing/netsim-grpc/cfg/ |
D | pip.conf | 4 index-url = file://REPO_DIR 5 extra-index-url = http://localhost:3141/packages/staging
|
/tools/netsim/ui/assets/ |
D | grid-background.svg | 7 <rect width="100" height="100" style="stroke:#366" fill="url(#square)"/> 10 <rect width="1000" height="1000" fill="url(#quad)" style="stroke:#366;stroke-width:2px"/>
|
/tools/netsim/ui/dist/assets/ |
D | grid-background.svg | 7 <rect width="100" height="100" style="stroke:#366" fill="url(#square)"/> 10 <rect width="1000" height="1000" fill="url(#quad)" style="stroke:#366;stroke-width:2px"/>
|