Home | History | Annotate | Download | only in adb

Lines Matching full:port

142     int port = (int)cookie;
144 if (port <= 0) {
145 snprintf(buf, sizeof(buf), "invalid port\n");
151 snprintf(value, sizeof(value), "%d", port);
152 property_set("service.adb.tcp.port", value);
153 snprintf(buf, sizeof(buf), "restarting in TCP mode port: %d\n", port);
166 property_set("service.adb.tcp.port", "0");
347 int port = atoi(name + 4);
350 ret = socket_loopback_client(port, SOCK_STREAM);
356 ret = socket_network_client(name + 1, port, SOCK_STREAM);
411 int port;
412 if (sscanf(name + 6, "%d", &port) == 0) {
413 port = 0;
415 ret = create_service_thread(restart_tcp_service, (void *)port);