Home
last modified time | relevance | path

Searched refs:netState (Results 1 – 5 of 5) sorted by relevance

/art/runtime/jdwp/
Djdwp_socket.cc75 state->netState = SocketStartup(state, port, false); in InitSocketTransport()
79 state->netState = SocketStartup(state, port, true); in InitSocketTransport()
80 if (state->netState != nullptr) { in InitSocketTransport()
85 if (state->netState == nullptr) { in InitSocketTransport()
90 state->netState = SocketStartup(state, 0, false); in InitSocketTransport()
115 JdwpSocketState* netState = new JdwpSocketState(state); in SocketStartup() local
117 return netState; in SocketStartup()
120 netState->listenSock = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP); in SocketStartup()
121 if (netState->listenSock < 0) { in SocketStartup()
129 if (setsockopt(netState->listenSock, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one)) < 0) { in SocketStartup()
[all …]
Djdwp_main.cc150 return netState != nullptr && netState->IsConnected(); in IsConnected()
166 ssize_t actual = netState->WriteBufferedPacket(iov); in SendBufferedRequest()
185 ssize_t actual = netState->WritePacket(pReq, expandBufGetLength(pReq)); in SendRequest()
217 netState(nullptr), in JdwpState()
345 if (netState != nullptr) { in ~JdwpState()
359 netState->Shutdown(); in ~JdwpState()
371 delete netState; in ~JdwpState()
372 netState = nullptr; in ~JdwpState()
374 CHECK(netState == nullptr); in ~JdwpState()
393 JdwpNetStateBase* netStateBase = netState; in HandlePacket()
[all …]
Djdwp_adb.cc125 state->netState = new JdwpAdbState(state); in InitAdbTransport()
126 return (state->netState != nullptr); in InitAdbTransport()
Djdwp.h375 JdwpNetStateBase* netState;
/art/runtime/hprof/
Dhprof.cc701 JDWP::JdwpNetStateBase* net_state = state->netState; in DumpToDdmsDirect()