Searched refs:port_value (Results 1 – 1 of 1) sorted by relevance
/packages/modules/adb/ |
D | socket_spec.cpp | 87 int port_value; in parse_tcp_socket_spec() local 91 if (android::base::ParseInt(&spec[4], &port_value)) { in parse_tcp_socket_spec() 94 if (port_value < 0 || port_value > 65535) { in parse_tcp_socket_spec() 95 *error = StringPrintf("bad port number '%d'", port_value); in parse_tcp_socket_spec() 100 port_value = DEFAULT_ADB_LOCAL_TRANSPORT_PORT; in parse_tcp_socket_spec() 104 if (!android::base::ParseNetAddress(addr, &hostname_value, &port_value, serial, error)) { in parse_tcp_socket_spec() 114 *port = port_value; in parse_tcp_socket_spec() 190 int port_value = port ? *port : 0; in socket_spec_connect() local 191 if (!parse_tcp_socket_spec(address, &hostname, &port_value, serial, error)) { in socket_spec_connect() 196 fd->reset(network_loopback_client(port_value, SOCK_STREAM, error)); in socket_spec_connect() [all …]
|