HomeSort by relevance Sort by last modified time
    Searched refs:netState (Results 1 - 10 of 10) sorted by null

  /dalvik/vm/jdwp/
JdwpAdb.cpp 84 adbStateFree( JdwpNetState* netState )
86 if (netState == NULL)
89 if (netState->clientSock >= 0) {
90 shutdown(netState->clientSock, SHUT_RDWR);
91 close(netState->clientSock);
93 if (netState->controlSock >= 0) {
94 shutdown(netState->controlSock, SHUT_RDWR);
95 close(netState->controlSock);
97 if (netState->wakeFds[0] >= 0) {
98 close(netState->wakeFds[0])
    [all...]
JdwpSocket.cpp 93 state->netState = netStartup(port);
97 state->netState = netStartup(port);
98 if (state->netState != NULL)
102 if (state->netState == NULL) {
108 state->netState = netStartup(-1);
126 return state->netState->awaitingHandshake;
144 JdwpNetState* netState = new JdwpNetState;
147 return netState;
151 netState->listenSock = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP);
152 if (netState->listenSock < 0)
    [all...]
JdwpMain.cpp 234 ALOGD("JDWP freeing netstate...");
236 state->netState = NULL;
238 assert(state->netState == NULL);
JdwpPriv.h 86 JdwpNetState* netState;
  /art/jdwpspy/
Net.cpp 50 struct NetState {
223 void jdwpNetFree(NetState* netState); /* fwd */
230 NetState* jdwpNetStartup(uint16_t listenPort, const char* connectHost, uint16_t connectPort) {
231 NetState* netState = new NetState;
232 memset(netState, 0, sizeof(*netState));
233 netState->listenSock = -1
    [all...]
  /art/runtime/jdwp/
jdwp_socket.cc 75 state->netState = SocketStartup(state, port, false);
79 state->netState = SocketStartup(state, port, true);
80 if (state->netState != NULL) {
85 if (state->netState == NULL) {
90 state->netState = SocketStartup(state, 0, false);
115 JdwpSocketState* netState = new JdwpSocketState(state);
117 return netState;
120 netState->listenSock = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP);
121 if (netState->listenSock < 0) {
129 if (setsockopt(netState->listenSock, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one)) < 0)
    [all...]
jdwp_main.cc 141 return netState != NULL && netState->IsConnected();
145 if (netState->clientSock < 0) {
157 ssize_t actual = netState->WriteBufferedPacket(iov);
169 if (netState->clientSock < 0) {
176 ssize_t actual = netState->WritePacket(pReq);
208 netState(NULL),
345 if (netState != NULL) {
354 netState->Shutdown();
364 VLOG(jdwp) << "JDWP freeing netstate..."
    [all...]
jdwp_adb.cc 125 state->netState = new JdwpAdbState(state);
126 return (state->netState != NULL);
134 * closes netState->control_sock_.
jdwp.h 312 JdwpNetStateBase* netState;
  /frameworks/base/services/java/com/android/server/
ConnectivityService.java     [all...]

Completed in 572 milliseconds