Home
last modified time | relevance | path

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

/packages/modules/adb/daemon/
Drestart_service_test.cpp54 const std::string port_str = android::base::GetProperty("service.adb.tcp.port", ""); in TEST() local
64 EXPECT_EQ(android::base::GetProperty("service.adb.tcp.port", ""), port_str); in TEST()
/packages/modules/adb/
Dsysdeps_win32.cpp1140 char port_str[16]; in network_connect() local
1141 snprintf(port_str, sizeof(port_str), "%d", port); in network_connect()
1152 if (getaddrinfo(host.c_str(), port_str, &hints, &addrinfo_ptr) != 0) { in network_connect()
1155 host.c_str(), port_str, in network_connect()
1184 *error = android::base::StringPrintf("cannot connect to %s:%s: %s", host.c_str(), port_str, in network_connect()
1187 port_str, error->c_str()); in network_connect()