Home
last modified time | relevance | path

Searched refs:JdwpState (Results 1 – 10 of 10) sorted by relevance

/dalvik/vm/jdwp/
DJdwpPriv.h46 struct JdwpState;
52 bool (*startup)(struct JdwpState* state, const JdwpStartupParams* pParams);
53 bool (*accept)(struct JdwpState* state);
54 bool (*establish)(struct JdwpState* state);
55 void (*close)(struct JdwpState* state);
56 void (*shutdown)(struct JdwpState* state);
57 void (*free)(struct JdwpState* state);
58 bool (*isConnected)(struct JdwpState* state);
59 bool (*awaitingHandshake)(struct JdwpState* state);
60 bool (*processIncoming)(struct JdwpState* state);
[all …]
DJdwp.h33 struct JdwpState; /* opaque */
116 JdwpState* dvmJdwpStartup(const JdwpStartupParams* params);
121 void dvmJdwpShutdown(JdwpState* state);
126 bool dvmJdwpIsActive(JdwpState* state);
132 pthread_t dvmJdwpGetDebugThread(JdwpState* state);
137 s8 dvmJdwpLastDebuggerActivity(JdwpState* state);
159 void dvmJdwpSetWaitForEventThread(JdwpState* state, ObjectId threadId);
160 void dvmJdwpClearWaitForEventThread(JdwpState* state);
165 bool dvmJdwpCheckConnection(JdwpState* state);
166 bool dvmJdwpAcceptConnection(JdwpState* state);
[all …]
DJdwpMain.cpp74 JdwpState* dvmJdwpStartup(const JdwpStartupParams* pParams) in dvmJdwpStartup()
76 JdwpState* state = NULL; in dvmJdwpStartup()
81 state = (JdwpState*) calloc(1, sizeof(JdwpState)); in dvmJdwpStartup()
188 void dvmJdwpResetState(JdwpState* state) in dvmJdwpResetState()
208 void dvmJdwpShutdown(JdwpState* state) in dvmJdwpShutdown()
247 bool dvmJdwpIsActive(JdwpState* state) in dvmJdwpIsActive()
258 JdwpState* state = (JdwpState*) arg; in jdwpThreadStart()
377 pthread_t dvmJdwpGetDebugThread(JdwpState* state) in dvmJdwpGetDebugThread()
428 s8 dvmJdwpLastDebuggerActivity(JdwpState* state) in dvmJdwpLastDebuggerActivity()
DJdwpHandler.cpp102 static JdwpError finishInvoke(JdwpState* state, in finishInvoke()
184 static JdwpError handleVM_Version(JdwpState* state, const u1* buf, in handleVM_Version()
209 static JdwpError handleVM_ClassesBySignature(JdwpState* state, in handleVM_ClassesBySignature()
258 static JdwpError handleVM_AllThreads(JdwpState* state, in handleVM_AllThreads()
280 static JdwpError handleVM_TopLevelThreadGroups(JdwpState* state, in handleVM_TopLevelThreadGroups()
304 static JdwpError handleVM_IDSizes(JdwpState* state, in handleVM_IDSizes()
321 static JdwpError handleVM_Dispose(JdwpState* state, in handleVM_Dispose()
333 static JdwpError handleVM_Suspend(JdwpState* state, in handleVM_Suspend()
343 static JdwpError handleVM_Resume(JdwpState* state, in handleVM_Resume()
353 static JdwpError handleVM_Exit(JdwpState* state, in handleVM_Exit()
[all …]
DJdwpEvent.h110 JdwpError dvmJdwpRegisterEvent(JdwpState* state, JdwpEvent* pEvent);
115 void dvmJdwpUnregisterEventById(JdwpState* state, u4 requestId);
120 void dvmJdwpUnregisterAll(JdwpState* state);
127 bool dvmJdwpSendRequest(JdwpState* state, ExpandBuf* pReq);
DJdwpEvent.cpp119 u4 dvmJdwpNextRequestSerial(JdwpState* state) in dvmJdwpNextRequestSerial()
132 u4 dvmJdwpNextEventSerial(JdwpState* state) in dvmJdwpNextEventSerial()
144 static void lockEventMutex(JdwpState* state) in lockEventMutex()
154 static void unlockEventMutex(JdwpState* state) in unlockEventMutex()
186 JdwpError dvmJdwpRegisterEvent(JdwpState* state, JdwpEvent* pEvent) in dvmJdwpRegisterEvent()
238 static void unregisterEvent(JdwpState* state, JdwpEvent* pEvent) in unregisterEvent()
281 void dvmJdwpUnregisterEventById(JdwpState* state, u4 requestId) in dvmJdwpUnregisterEventById()
305 void dvmJdwpUnregisterAll(JdwpState* state) in dvmJdwpUnregisterAll()
377 static JdwpEvent** allocMatchList(JdwpState* state) in allocMatchList()
386 static void cleanupMatchList(JdwpState* state, JdwpEvent** matchList, in cleanupMatchList()
[all …]
DJdwpAdb.cpp114 static bool startup(struct JdwpState* state, const JdwpStartupParams* pParams) in startup()
186 static bool acceptConnection(struct JdwpState* state) in acceptConnection()
293 static bool establishConnection(struct JdwpState* state) in establishConnection()
302 static void closeConnection(struct JdwpState* state) in closeConnection()
352 static void netShutdown(JdwpState* state) in netShutdown()
361 static void netFree(struct JdwpState* state) in netFree()
371 static bool isConnected(struct JdwpState* state) in isConnected()
380 static bool awaitingHandshake(struct JdwpState* state) in awaitingHandshake()
426 static bool handlePacket(JdwpState* state) in handlePacket()
500 static bool processIncoming(JdwpState* state) in processIncoming()
[all …]
DJdwpSocket.cpp85 static bool prepareSocket(JdwpState* state, const JdwpStartupParams* pParams) in prepareSocket()
124 static bool awaitingHandshake(JdwpState* state) in awaitingHandshake()
232 static void netShutdownExtern(JdwpState* state) in netShutdownExtern()
260 static void netFreeExtern(JdwpState* state) in netFreeExtern()
268 static bool isConnected(JdwpState* state) in isConnected()
307 static bool checkConnection(JdwpState* state)
340 static bool acceptConnection(JdwpState* state) in acceptConnection()
392 static bool establishConnection(JdwpState* state) in establishConnection()
485 static void closeConnection(JdwpState* state) in closeConnection()
582 static bool handlePacket(JdwpState* state) in handlePacket()
[all …]
DJdwpHandler.h41 void dvmJdwpProcessRequest(JdwpState* state, const JdwpReqHeader* pHeader,
/dalvik/vm/
DGlobals.h614 JdwpState* jdwpState;