Home | History | Annotate | Download | only in adb

Lines Matching refs:port

55 // Return the console port of the currently connected emulator (if any) or -1 if
60 int port;
61 return (sscanf(serial, "emulator-%d", &port) == 1) ? port : -1;
74 int port;
77 if (sscanf(device.c_str(), "emulator-%d", &port) == 1) {
91 return port;
95 int port = adb_get_emulator_console_port(serial);
96 if (port == -1) {
101 int fd = network_loopback_client(port, SOCK_STREAM, &error);
103 fprintf(stderr, "error: could not connect to TCP port %d: %s\n", port,