Home
last modified time | relevance | path

Searched refs:server_port (Results 1 – 6 of 6) sorted by relevance

/system/core/adb/
Dtest_adb.py360 with adb_server() as server_port:
365 subprocess.check_output(["adb", "-P", str(server_port),
377 sock.connect(("localhost", server_port))
382 subprocess.check_call(["adb", "-P", str(server_port),
384 output = subprocess.check_output(["adb", "-P", str(server_port),
472 with adb_server() as server_port:
475 output = subprocess.check_output(["adb", "-P", str(server_port),
481 self.assertEqual(_devices(server_port), [[device_name, "device"]])
490 self.assertEqual(_devices(server_port), [[device_name, "offline"]])
493 output = subprocess.check_output(["adb", "-P", str(server_port),
[all …]
/system/core/adb/daemon/
Dmain.cpp109 static void drop_privileges(int server_port) { in drop_privileges() argument
174 android::base::StringPrintf("tcp:%d", server_port); in drop_privileges()
190 int adbd_main(int server_port) { in adbd_main() argument
230 drop_privileges(server_port); in adbd_main()
/system/bt/common/
Dmetrics.h461 int64_t tx_bytes, int64_t rx_bytes, int uid, int server_port,
Dmetrics.cc804 int64_t tx_bytes, int64_t rx_bytes, int uid, int server_port, in LogSocketConnectionState() argument
817 uid, server_port, socket_role); in LogSocketConnectionState()
822 << ", uid " << uid << ", server_port " << server_port in LogSocketConnectionState()
/system/core/adb/client/
Dcommandline.cpp1525 int server_port = DEFAULT_ADB_PORT; in adb_commandline() local
1528 if (!android::base::ParseInt(server_port_str, &server_port, 1, 65535)) { in adb_commandline()
1539 rc = asprintf(&temp, "tcp:%s:%d", server_host_str, server_port); in adb_commandline()
1541 rc = asprintf(&temp, "tcp:%d", server_port); in adb_commandline()
/system/update_engine/scripts/
Dupdate_device.py262 self.port = self._httpd.server_port