Searched refs:client_fd (Results 1 – 4 of 4) sorted by relevance
/system/core/adb/ |
D | socket_spec_test.cpp | 136 unique_fd server_fd, client_fd; in TEST() local 137 EXPECT_FALSE(socket_spec_connect(&client_fd, "tcp:localhost:7777", &port, &serial, &error)); in TEST() 140 EXPECT_TRUE(socket_spec_connect(&client_fd, "tcp:localhost:7777", &port, &serial, &error)); in TEST() 141 EXPECT_NE(client_fd.get(), -1); in TEST() 147 unique_fd client_fd; in TEST() local 148 EXPECT_FALSE(socket_spec_connect(&client_fd, "tcp:", &port, &serial, &error)); in TEST() 149 EXPECT_FALSE(socket_spec_connect(&client_fd, "acceptfd:", &port, &serial, &error)); in TEST() 150 EXPECT_FALSE(socket_spec_connect(&client_fd, "vsock:", &port, &serial, &error)); in TEST() 151 EXPECT_FALSE(socket_spec_connect(&client_fd, "vsock:x", &port, &serial, &error)); in TEST() 152 EXPECT_FALSE(socket_spec_connect(&client_fd, "vsock:5", &port, &serial, &error)); in TEST() [all …]
|
/system/bt/btif/src/ |
D | btif_sock_sco.cc | 223 int client_fd = INVALID_FD; in connection_request_cb() local 242 new_sco_socket = sco_socket_establish_locked(true, NULL, &client_fd); in connection_request_cb() 261 client_fd) != sizeof(connect_signal)) { in connection_request_cb() 273 if (client_fd != INVALID_FD) close(client_fd); in connection_request_cb()
|
/system/core/libsysutils/src/ |
D | SocketListener_test.cpp | 140 unique_fd client_fd = clientSocket(mSocketPath); in testCommand() local 141 sendCmd(client_fd.get(), command); in testCommand() 143 std::string reply = recvReply(client_fd.get()); in testCommand()
|
/system/update_engine/ |
D | test_http_server.cc | 655 int client_fd = accept(listen_fd, nullptr, nullptr); in main() local 657 if (client_fd < 0) in main() 659 HandleConnection(client_fd); in main()
|