• Home
  • Raw
  • Download

Lines Matching refs:state

114 static bool startup(struct JdwpState* state, const JdwpStartupParams* pParams)  in startup()  argument
120 state->netState = netState = new JdwpNetState; in startup()
186 static bool acceptConnection(struct JdwpState* state) in acceptConnection() argument
188 JdwpNetState* netState = state->netState; in acceptConnection()
293 static bool establishConnection(struct JdwpState* state) in establishConnection() argument
302 static void closeConnection(struct JdwpState* state) in closeConnection() argument
306 assert(state != NULL && state->netState != NULL); in closeConnection()
308 netState = state->netState; in closeConnection()
352 static void netShutdown(JdwpState* state) in netShutdown() argument
354 adbStateShutdown(state->netState); in netShutdown()
361 static void netFree(struct JdwpState* state) in netFree() argument
363 JdwpNetState* netState = state->netState; in netFree()
371 static bool isConnected(struct JdwpState* state) in isConnected() argument
373 return (state->netState != NULL && in isConnected()
374 state->netState->clientSock >= 0); in isConnected()
380 static bool awaitingHandshake(struct JdwpState* state) in awaitingHandshake() argument
382 return state->netState->awaitingHandshake; in awaitingHandshake()
426 static bool handlePacket(JdwpState* state) in handlePacket() argument
428 JdwpNetState* netState = state->netState; in handlePacket()
461 dvmJdwpProcessRequest(state, &hdr, buf, dataLen, pReply); in handlePacket()
500 static bool processIncoming(JdwpState* state) in processIncoming() argument
502 JdwpNetState* netState = state->netState; in processIncoming()
649 return handlePacket(state); in processIncoming()
652 closeConnection(state); in processIncoming()
664 static bool sendRequest(JdwpState* state, ExpandBuf* pReq) in sendRequest() argument
666 JdwpNetState* netState = state->netState; in sendRequest()
695 static bool sendBufferedRequest(JdwpState* state, const struct iovec* iov, in sendBufferedRequest() argument
698 JdwpNetState* netState = state->netState; in sendBufferedRequest()