Searched refs:server_port (Results 1 – 3 of 3) sorted by relevance
97 static void drop_privileges(int server_port) { in drop_privileges() argument138 android::base::StringPrintf("tcp:%d", server_port); in drop_privileges()150 int adbd_main(int server_port) { in adbd_main() argument177 drop_privileges(server_port); in adbd_main()
173 self.port = self._httpd.server_port
1538 int server_port = DEFAULT_ADB_PORT; in adb_commandline() local1541 if (!android::base::ParseInt(server_port_str, &server_port, 1, 65535)) { in adb_commandline()1553 rc = asprintf(&temp, "tcp:%s:%d", server_host_str, server_port); in adb_commandline()1555 rc = asprintf(&temp, "tcp:%d", server_port); in adb_commandline()