Home
last modified time | relevance | path

Searched refs:resolved_port (Results 1 – 2 of 2) sorted by relevance

/system/core/adb/
Dsocket_spec.cpp263 int socket_spec_listen(std::string_view spec, std::string* error, int* resolved_port) { in socket_spec_listen() argument
282 if (result >= 0 && resolved_port) { in socket_spec_listen()
283 *resolved_port = adb_socket_get_local_port(result); in socket_spec_listen()
323 if (serverfd >= 0 && resolved_port) { in socket_spec_listen()
325 *resolved_port = addr.svm_port; in socket_spec_listen()
/system/core/adb/client/
Dcommandline.cpp1777 std::string resolved_port; in adb_commandline() local
1778 if (ReadProtocolString(fd, &resolved_port, &error_message) && !resolved_port.empty()) { in adb_commandline()
1779 printf("%s\n", resolved_port.c_str()); in adb_commandline()