/tools/tradefederation/core/common_util/com/android/tradefed/util/net/ |
D | HttpHelper.java | 365 HttpURLConnection conn = createConnection(new URL(getUrl()), "POST", mContentType); in run() local 367 outputStream = getConnectionOutputStream(conn); in run() 372 inputStream = getConnectionInputStream(conn); in run() 420 HttpURLConnection conn = createConnection(url, "GET", null); in getRemoteUrlStream() local 423 int status = conn.getResponseCode(); in getRemoteUrlStream() 432 String location = conn.getHeaderField("Location"); in getRemoteUrlStream() 435 conn = createConnection(newURL, "GET", null); in getRemoteUrlStream() 438 return conn.getInputStream(); in getRemoteUrlStream() 444 InputStream getConnectionInputStream(HttpURLConnection conn) throws IOException { in getConnectionInputStream() argument 445 return conn.getInputStream(); in getConnectionInputStream() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | JsonHttpTestResultReporter.java | 171 HttpURLConnection conn = helper.createJsonConnection( in postResults() local 173 conn.setConnectTimeout(CONNECTION_TIMEOUT_MS); in postResults() 174 conn.setReadTimeout(CONNECTION_TIMEOUT_MS); in postResults() 175 outputStream = conn.getOutputStream(); in postResults() 178 String response = StreamUtil.getStringFromStream(conn.getInputStream()).trim(); in postResults() 179 int responseCode = conn.getResponseCode(); in postResults()
|
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | GceSshTunnelMonitor.java | 155 AbstractConnection conn = mDevice.getConnection(); in closeConnection() local 156 if (conn instanceof AdbTcpConnection) { in closeConnection() 157 if (!((AdbTcpConnection) conn) in closeConnection() 296 AbstractConnection conn = mDevice.getConnection(); in run() local 297 if (conn instanceof AdbTcpConnection) { in run() 298 if (!((AdbTcpConnection) conn) in run()
|
/tools/asuite/atest/test_runners/ |
D | atest_tf_test_runner.py | 424 conn, addr = socket_object.accept() 426 conn.setblocking(False) 427 inputs.append(conn) 428 data_map[conn] = '' 432 inv_socket = conn 489 def _process_connection(self, data_map, conn, event_handler): argument 507 conn.settimeout(None) 508 data = conn.recv(SOCKET_BUFFER) 513 data_map[conn] += data 515 match = EVENT_RE.match(data_map[conn]) [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/net/ |
D | HttpHelperTest.java | 239 InputStream getConnectionInputStream(HttpURLConnection conn) { in testDoPostWithRetry_datasize() 357 InputStream getConnectionInputStream(HttpURLConnection conn) throws IOException { in getConnectionInputStream() argument 365 OutputStream getConnectionOutputStream(HttpURLConnection conn) throws IOException { in getConnectionOutputStream() argument
|
/tools/asuite/atest/ |
D | module_info.py | 275 conn = sqlite3.connect(self.cache_file) 276 with conn: 277 name_to_module_info = SqliteDict(conn, _NAME_MODULE_TABLE) 278 path_to_module_info = SqliteDict(conn, _PATH_MODULE_TABLE) 1585 def __init__(self, conn: sqlite3.Connection, table_name: str): 1587 self.conn = conn 1597 results = self.conn.execute(f'SELECT key FROM {self.table}').fetchall() 1606 result = self.conn.execute(
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | LocalAndroidVirtualDevice.java | 607 AdbTcpConnection conn = in adbTcpConnect() local 609 return conn.adbTcpConnect(host, port); in adbTcpConnect() 613 AdbTcpConnection conn = in adbTcpDisconnect() local 615 return conn.adbTcpDisconnect(host, port); in adbTcpDisconnect()
|
/tools/metalava/gradle/wrapper/ |
D | gradle-wrapper.jar | ... contentLength
long progressCounter
long numDownloaded
java.net.URLConnection conn
java.net.URI address
java.io. ... |
/tools/trebuchet/gradle/wrapper/ |
D | gradle-wrapper.jar | ... contentLength
long progressCounter
long numDownloaded
java.net.URLConnection conn
java.net.URI address
java.io. ... |
/tools/asuite/asuite_plugin/gradle/wrapper/ |
D | gradle-wrapper.jar | ... contentLength
long progressCounter
long numDownloaded
java.net.URLConnection conn
java.net.URI address
java.io. ... |
/tools/apksig/gradle/wrapper/ |
D | gradle-wrapper.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/gradle/
org/ ... |
/tools/ndkports/gradle/wrapper/ |
D | gradle-wrapper.jar | ... totalLength
long downloadedLength
long progressCounter
java.net.URLConnection conn
java.net.SocketTimeoutException e
java.net. ... |