Home
last modified time | relevance | path

Searched refs:conn (Results 1 – 3 of 3) sorted by relevance

/test/vts/utils/python/controllers/
Dandroid.py71 self.conn = socket.create_connection(
73 self.conn.settimeout(timeout)
87 self.client = self.conn.makefile(mode="brw")
100 if self.conn is not None:
101 self.conn.close()
102 self.conn = None
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DBusinessLogicPreparer.java487 HttpURLConnection conn = (HttpURLConnection) url.openConnection(); in doPost() local
488 conn.setRequestMethod("POST"); in doPost()
489 conn.setRequestProperty("User-Agent", "BusinessLogicClient"); in doPost()
492 conn.setRequestProperty("Authorization", String.format("Bearer %s", accessToken)); in doPost()
495 conn.setDoOutput(true); in doPost()
496 try (DataOutputStream wr = new DataOutputStream(conn.getOutputStream())) { in doPost()
499 int responseCode = conn.getResponseCode(); in doPost()
501 return StreamUtil.getStringFromStream(conn.getInputStream()); in doPost()
DMediaPreparer.java292 URLConnection conn = url.openConnection(); in downloadMediaToHost() local
293 InputStream in = conn.getInputStream(); in downloadMediaToHost()