Searched refs:server_socket_ (Results 1 – 6 of 6) sorted by relevance
/system/connectivity/shill/ |
D | http_request.cc | 85 server_socket_(-1), in HTTPRequest() 161 if (server_socket_ != -1) { in Stop() 162 sockets_->Close(server_socket_); in Stop() 163 server_socket_ = -1; in Stop() 178 if (server_socket_ == -1) { in ConnectServer() 215 server_socket_ = fd; in OnConnectCompletion() 217 dispatcher_->CreateReadyHandler(server_socket_, in OnConnectCompletion() 275 CHECK_EQ(server_socket_, fd); in WriteToServer() 296 server_socket_, in WriteToServer()
|
D | http_proxy.cc | 97 server_socket_(-1), in HTTPProxy() 236 server_socket_ = fd; in OnConnectCompletion() 604 server_socket_, in StartReceive() 624 dispatcher_->CreateReadyHandler(server_socket_, in StartTransmit() 665 if (server_socket_ != -1) { in StopClient() 666 sockets_->Close(server_socket_); in StopClient() 667 server_socket_ = -1; in StopClient() 707 CHECK_EQ(server_socket_, fd); in WriteToServer()
|
D | http_request.h | 137 int server_socket_; variable
|
D | http_proxy.h | 157 int server_socket_; variable
|
D | http_request_unittest.cc | 179 EXPECT_EQ(-1, request_->server_socket_); in ExpectReset() 186 if (request_->server_socket_ != -1) { in ExpectStop()
|
D | http_proxy_unittest.cc | 134 proxy_.server_socket_, in TearDown() 193 EXPECT_EQ(-1, proxy_.server_socket_); in ExpectClientReset()
|