Home
last modified time | relevance | path

Searched refs:url (Results 1 – 20 of 20) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/util/net/
DIHttpHelper.java49 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 …]
DHttpHelper.java99 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 …]
DHttpMultipartPost.java47 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/repohooks/tools/
Dcheckpatch.pl-update58 local url
61 url="${CGIT_URL}/scripts/checkpatch.pl?h=v${version}"
62 wget "${url}" -O checkpatch.pl
66 url="${CGIT_URL}/scripts/spelling.txt?h=v${version}"
67 wget "${url}" -O spelling.txt
/tools/tradefederation/core/src/com/android/tradefed/result/
DLogFile.java40 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()
DFileSystemLogSaver.java310 String url = mReportUrl; in getUrl() local
311 if (url.endsWith("/")) { in getUrl()
312 url = url.substring(0, url.length() - 1); in getUrl()
315 return String.format("%s%s", url, relativePath.replace(File.separator, "/")); in getUrl()
DConsoleResultReporter.java86 final String url = logFile.getUrl(); in getInvocationSummary() local
87 sb.append(String.format(" %s\n", url != null ? url : logFile.getPath())); in getInvocationSummary()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/net/
DHttpHelperTest.java120 InputStream getRemoteUrlStream(URL url) { in testDoGet_datasize()
161 InputStream getRemoteUrlStream(URL url) { in testDoGetWithRetry_datasize()
183 public String doGet(String url) throws IOException { in testDoGetWithRetry_ioexception()
213 public String doGet(String url) throws IOException, DataSizeException { in testDoGetWithRetry_retry()
218 return super.doGet(url); in testDoGetWithRetry_retry()
265 public HttpURLConnection createConnection(URL url, String method, String contentType) in testDoPostWithRetry_ioexception()
289 public HttpURLConnection createConnection(URL url, String method, String contentType) in testDoPostWithRetry_retry()
295 return super.createConnection(url, method, contentType); in testDoPostWithRetry_retry()
341 InputStream getRemoteUrlStream(URL url) { in getRemoteUrlStream() argument
349 public HttpURLConnection createConnection(URL url, String method, String contentType) in createConnection() argument
DHttpHelperFuncTest.java64 final String url = String.format("http://localhost:%d/", port); in testTimeout() local
66 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/acloud/
Dsetup.py34 url="http://www.android.com/",
/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDeviceOptions.java251 public void setConnCheckUrl(String url) { in setConnCheckUrl() argument
252 mConnCheckUrl = url; in setConnCheckUrl()
/tools/test/connectivity/tools/lab/
Dsetup.py86 url="http://www.android.com/",
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
Dtel_test_utils.py1871 url="www.google.com", argument
1892 state = ad.droid.pingHost(url)
1893 ad.log.info("Connection to %s is %s", url, state)
1908 def _generate_file_directory_and_file_name(url, out_path): argument
1909 file_name = url.split("/")[-1]
1981 url = "http://ipv4.download.thinkbroadband.com/" + file_name + ".zip"
1983 return (http_file_download_by_sl4a, (ad, url, output_path, file_size,
1986 url = "http://146.148.91.8/download/" + file_name + ".zip"
1987 return (http_file_download_by_curl, (ad, url, output_path, file_size,
1990 return (http_file_download_by_sl4a, (ad, url, output_path, file_size,
[all …]
/tools/tradefederation/core/util-apps/WifiUtil/src/com/android/tradefed/utils/wifi/
DWifiUtil.java245 final String url = getString("urlToCheck", DEFAULT_URL_TO_CHECK); in onStart() local
247 result.putBoolean("result", connector.checkConnectivity(url)); in onStart()
/tools/test/connectivity/acts/framework/
Dsetup.py170 url="http://www.android.com/")
/tools/test/connectivity/acts/tests/google/net/
DLegacyVpnTest.py72 url = "http://%s%s%s" % (vpn_server_addr,
80 ret = urllib.request.urlopen(url)
/tools/test/connectivity/acts/tests/google/wifi/
DWifiTetheringPowerTest.py124 http_file_download_by_chrome(ad, self.url)
DWifiTetheringTest.py121 http_response = dut.droid.httpRequestString(self.url)
/tools/metalava/gradle/wrapper/
Dgradle-wrapper.jar ... throws java.lang.Exception java.net.URL url String userAgentValue byte[] buffer int numRead int ...
/tools/tradefederation/core/res/jacoco/
Djacocoant.jarMETA-INF/MANIFEST.MF META-INF/MTNMINDS.SF META-INF/MTNMINDS ...