Home
last modified time | relevance | path

Searched refs:clientSock (Results 1 – 4 of 4) sorted by relevance

/art/runtime/jdwp/
Djdwp_adb.cc67 if (clientSock != -1) { in ~JdwpAdbState()
68 shutdown(clientSock, SHUT_RDWR); in ~JdwpAdbState()
69 close(clientSock); in ~JdwpAdbState()
87 int local_clientSock = this->clientSock; in Shutdown()
90 this->control_sock_ = this->clientSock = -1; in Shutdown()
264 clientSock = ReceiveClientFd(); in Accept()
268 if (clientSock == -1) { in Accept()
275 VLOG(jdwp) << "received file descriptor " << clientSock << " from ADB"; in Accept()
300 CHECK_NE(clientSock, -1); in ProcessIncoming()
321 fd = clientSock; in ProcessIncoming()
[all …]
Djdwp_socket.cc174 int local_clientSock = this->clientSock; in Shutdown()
177 this->listenSock = this->clientSock = -1; in Shutdown()
221 CHECK_EQ(clientSock, -1); /* must not already be talking */ in Accept()
244 clientSock = sock; in Accept()
249 SetNoDelay(clientSock); in Accept()
304 clientSock = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP); in Establish()
305 if (clientSock < 0) { in Establish()
313 if (connect(clientSock, &addr.addrPlain, sizeof(addr)) != 0) { in Establish()
315 close(clientSock); in Establish()
316 clientSock = -1; in Establish()
[all …]
Djdwp_main.cc41 clientSock = -1; in JdwpNetStateBase()
108 return clientSock >= 0; in IsConnected()
115 if (clientSock < 0) { in Close()
119 VLOG(jdwp) << "+++ closing JDWP connection on fd " << clientSock; in Close()
121 close(clientSock); in Close()
122 clientSock = -1; in Close()
132 return TEMP_FAILURE_RETRY(write(clientSock, expandBufGetBuffer(pReply), length)); in WritePacket()
146 return TEMP_FAILURE_RETRY(writev(clientSock, &iov[0], iov.size())); in WriteBufferedPacketLocked()
Djdwp_priv.h96 int clientSock; // Active connection to debugger. variable