Searched refs:assigned_port (Results 1 – 2 of 2) sorted by relevance
39 const int assigned_port(test_utils::GetUnassignedPort(dontcare)); in TEST() local42 "tcp", std::bind(restart_tcp_service, std::placeholders::_1, assigned_port)); in TEST()46 {android::base::StringPrintf("restarting in TCP mode port: %d", assigned_port)}); in TEST()49 std::to_string(assigned_port)); in TEST()
275 static void ClientThreadFunc(const int assigned_port) { in ClientThreadFunc() argument277 const int fd = network_loopback_client(assigned_port, SOCK_STREAM, &error); in ClientThreadFunc()288 const int assigned_port(test_utils::GetUnassignedPort(listen_fd)); in TEST_F() local290 std::thread client_thread(ClientThreadFunc, assigned_port); in TEST_F()