Home
last modified time | relevance | path

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

/packages/modules/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 …]
/packages/modules/adb/daemon/
Dmain.cpp98 static void drop_privileges(int server_port) { in drop_privileges() argument
191 int adbd_main(int server_port) { in adbd_main() argument
228 drop_privileges(server_port); in adbd_main()
/packages/modules/adb/client/
Dcommandline.cpp1628 int server_port = DEFAULT_ADB_PORT; in adb_commandline() local
1631 if (!android::base::ParseInt(server_port_str, &server_port, 1, 65535)) { in adb_commandline()
1642 rc = asprintf(&temp, "tcp:%s:%d", server_host_str, server_port); in adb_commandline()
1644 rc = asprintf(&temp, "tcp:%d", server_port); in adb_commandline()