Searched refs:client_socket_ (Results 1 – 4 of 4) sorted by relevance
/system/bt/hci/src/ |
D | btsnoop_net.c | 46 static int client_socket_ = -1; variable 69 safe_close_(&client_socket_); in btsnoop_net_close() 80 if (client_socket_ != -1) { in btsnoop_net_write() 82 OSI_NO_INTR(ret = send(client_socket_, data, length, 0)); in btsnoop_net_write() 85 safe_close_(&client_socket_); in btsnoop_net_write() 135 safe_close_(&client_socket_); in listen_fn_() 136 client_socket_ = client_socket; in listen_fn_() 138 OSI_NO_INTR(send(client_socket_, "btsnoop\0\0\0\0\1\0\0\x3\xea", 16, 0)); in listen_fn_()
|
/system/connectivity/shill/ |
D | http_proxy.cc | 95 client_socket_(-1), in HTTPProxy() 191 client_socket_ = client_fd; in AcceptClient() 193 sockets_->SetNonBlocking(client_socket_); in AcceptClient() 195 client_socket_, in AcceptClient() 635 dispatcher_->CreateReadyHandler(client_socket_, in StartTransmit() 655 if (client_socket_ != -1) { in StopClient() 656 sockets_->Close(client_socket_); in StopClient() 657 client_socket_ = -1; in StopClient() 683 CHECK_EQ(client_socket_, fd); in WriteToClient()
|
D | http_proxy.h | 153 int client_socket_; variable
|
D | http_proxy_unittest.cc | 133 proxy_.client_socket_, in TearDown() 190 EXPECT_EQ(-1, proxy_.client_socket_); in ExpectClientReset()
|