Home
last modified time | relevance | path

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

/system/core/adb/
Dtest_adb.py294 server_port = find_open_port()
297 ["adb", "-L", "tcp:[::1]:{}".format(server_port), "server"],
306 ["adb", "-P", str(server_port), "kill-server"],
388 with adb_server() as server_port:
393 subprocess.check_output(["adb", "-P", str(server_port),
405 sock.connect(("localhost", server_port))
410 subprocess.check_call(["adb", "-P", str(server_port),
412 output = subprocess.check_output(["adb", "-P", str(server_port),
500 with adb_server() as server_port:
503 output = subprocess.check_output(["adb", "-P", str(server_port),
[all …]
/system/core/adb/daemon/
Dmain.cpp97 static void drop_privileges(int server_port) { in drop_privileges() argument
187 int adbd_main(int server_port) { in adbd_main() argument
224 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.cc825 int64_t tx_bytes, int64_t rx_bytes, int uid, int server_port, in LogSocketConnectionState() argument
840 uid, server_port, socket_role, metric_id); in LogSocketConnectionState()
845 << ", uid " << uid << ", server_port " << server_port in LogSocketConnectionState()
/system/core/adb/client/
Dcommandline.cpp1627 int server_port = DEFAULT_ADB_PORT; in adb_commandline() local
1630 if (!android::base::ParseInt(server_port_str, &server_port, 1, 65535)) { in adb_commandline()
1641 rc = asprintf(&temp, "tcp:%s:%d", server_host_str, server_port); in adb_commandline()
1643 rc = asprintf(&temp, "tcp:%d", server_port); in adb_commandline()
/system/update_engine/scripts/
Dupdate_device.py271 self.port = self._httpd.server_port