Home
last modified time | relevance | path

Searched refs:server_socket_ (Results 1 – 6 of 6) sorted by relevance

/system/connectivity/shill/
Dhttp_request.cc85 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()
Dhttp_proxy.cc97 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()
Dhttp_request.h137 int server_socket_; variable
Dhttp_proxy.h157 int server_socket_; variable
Dhttp_request_unittest.cc179 EXPECT_EQ(-1, request_->server_socket_); in ExpectReset()
186 if (request_->server_socket_ != -1) { in ExpectStop()
Dhttp_proxy_unittest.cc134 proxy_.server_socket_, in TearDown()
193 EXPECT_EQ(-1, proxy_.server_socket_); in ExpectClientReset()