Home
last modified time | relevance | path

Searched refs:eventThreadID (Results 1 – 17 of 17) sorted by relevance

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
DResume002Test.java91 long eventThreadID = debuggeeWrapper.vmMirror.waitForBreakpoint(requestID); in waitBreakpointHits() local
92 String threadName = debuggeeWrapper.vmMirror.getThreadName(eventThreadID); in waitBreakpointHits()
94 checkThreadSuspendStatus(eventThreadID); in waitBreakpointHits()
95 checkThreadSuspendCount(eventThreadID); in waitBreakpointHits()
99 private void checkThreadSuspendStatus(long eventThreadID) { in checkThreadSuspendStatus() argument
104 packet.setNextValueAsThreadID(eventThreadID); in checkThreadSuspendStatus()
113 assertEquals("Invalid suspend status for thread " + eventThreadID, in checkThreadSuspendStatus()
118 private void checkThreadSuspendCount(long eventThreadID) { in checkThreadSuspendCount() argument
123 packet.setNextValueAsThreadID(eventThreadID); in checkThreadSuspendCount()
131 assertEquals("Invalid suspend count for thread " + eventThreadID, 1, suspendCount); in checkThreadSuspendCount()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/
DJDWPStackFrameAccessTest.java172 long eventThreadID = suspendDebuggee(); in runStackFrameTest() local
175 checkStackFrame(classID, eventThreadID, tester, suspensionMethodInfo, true); in runStackFrameTest()
178 resumeTest(eventThreadID); in runStackFrameTest()
181 eventThreadID = suspendDebuggee(); in runStackFrameTest()
184 checkStackFrame(classID, eventThreadID, tester, suspensionMethodInfo, false); in runStackFrameTest()
186 resumeTest(eventThreadID); in runStackFrameTest()
230 private void checkStackFrame(long classID, long eventThreadID, StackFrameTester tester, in checkStackFrame() argument
242 FrameInfo testMethodFrame = getFrameInfo(eventThreadID, classID, testMethodID); in checkStackFrame()
266 Value actual = getVariableValue(eventThreadID, testMethodFrame.frameID, in checkStackFrame()
275 setVariableValue(eventThreadID, testMethodFrame.frameID, in checkStackFrame()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DCombinedExceptionEventsTest.java121 long eventThreadID = -1; in runCombinedExceptionEventsTest() local
142 if (eventThreadID != -1) { in runCombinedExceptionEventsTest()
143 assertEquals("Invalid event thread ID", eventThreadID, in runCombinedExceptionEventsTest()
146 eventThreadID = currentEventThreadID; in runCombinedExceptionEventsTest()
156 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in runCombinedExceptionEventsTest()
DCombinedEventsTestCase.java200 long eventThreadID = 0; in checkEventLocation() local
205 eventThreadID = ((ParsedEvent.EventThread)parsedEvent).getThreadID(); in checkEventLocation()
209 eventThreadID = ((ParsedEvent.EventThread)parsedEvent).getThreadID(); in checkEventLocation()
213 eventThreadID = ((ParsedEvent.EventThread)parsedEvent).getThreadID(); in checkEventLocation()
217 eventThreadID = ((ParsedEvent.EventThread)parsedEvent).getThreadID(); in checkEventLocation()
222 eventThreadID = ((ParsedEvent.EventThread)parsedEvent).getThreadID(); in checkEventLocation()
237 + eventThreadID); in checkEventLocation()
DBreakpoint002Test.java168 long eventThreadID = debuggeeWrapper.vmMirror.waitForBreakpoint(breakpointReqID); in testBreakpointIn() local
169 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testBreakpointIn()
DMethodEntryTest.java74 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in testMethodEntry() local
75 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testMethodEntry()
DMethodExitTest.java74 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in testMethodExit() local
75 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testMethodExit()
DBreakpointTest.java78 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in testSetBreakpointEvent() local
79 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testSetBreakpointEvent()
DFieldAccessTest.java73 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in testFieldAccessEvent() local
74 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testFieldAccessEvent()
DFieldModificationTest.java73 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in testFieldModifyEvent() local
74 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testFieldModifyEvent()
DBreakpointOnCatchTest.java90 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in testBreakpointOnCatch() local
91 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testBreakpointOnCatch()
DExceptionBaseTest.java57 long eventThreadID = exceptionEvent.getThreadID(); in receiveAndCheckExceptionEvent() local
58 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in receiveAndCheckExceptionEvent()
DSingleStepTest.java179 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in stepFunction() local
180 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in stepFunction()
DMethodExitWithReturnValueTest.java190 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in runMethodExitWithReturn() local
191 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in runMethodExitWithReturn()
DCombinedEvents003Test.java281 long eventThreadID = ((ParsedEvent.EventThread)parsedEvents[i]).getThreadID(); in receiveAndCheckEvents() local
286 + eventThreadID); in receiveAndCheckEvents()
DCombinedEventsTest.java1007 long eventThreadID = ((ParsedEvent.EventThread)parsedEvents[i]).getThreadID(); in receiveAndCheckEvents() local
1012 + eventThreadID); in receiveAndCheckEvents()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/
DJDWPTestCase.java607 protected void checkThreadState(long eventThreadID, byte expectedThreadStatus, in checkThreadState() argument
612 commandPacket.setNextValueAsThreadID(eventThreadID); in checkThreadState()