Home
last modified time | relevance | path

Searched refs:eventThreadID (Results 1 – 18 of 18) 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.java173 long eventThreadID = suspendDebuggee(); in runStackFrameTest() local
176 checkStackFrame(classID, eventThreadID, tester, suspensionMethodInfo, true); in runStackFrameTest()
179 resumeTest(eventThreadID); in runStackFrameTest()
182 eventThreadID = suspendDebuggee(); in runStackFrameTest()
185 checkStackFrame(classID, eventThreadID, tester, suspensionMethodInfo, false); in runStackFrameTest()
187 resumeTest(eventThreadID); in runStackFrameTest()
231 private void checkStackFrame(long classID, long eventThreadID, StackFrameTester tester, in checkStackFrame() argument
243 FrameInfo testMethodFrame = getFrameInfo(eventThreadID, classID, testMethodID); in checkStackFrame()
267 Value actual = getVariableValue(eventThreadID, testMethodFrame.frameID, in checkStackFrame()
276 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()
DBreakpoint003Test.java76 long eventThreadID = debuggeeWrapper.vmMirror.waitForBreakpoint(breakpointReqID); in test() local
77 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in test()
84 packet.setNextValueAsThreadID(eventThreadID); in test()
100 packet.setNextValueAsThreadID(eventThreadID); in test()
DBreakpoint002Test.java168 long eventThreadID = debuggeeWrapper.vmMirror.waitForBreakpoint(breakpointReqID); in testBreakpointIn() local
169 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testBreakpointIn()
DBreakpointTest.java76 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in testSetBreakpointEvent() local
77 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testSetBreakpointEvent()
DMethodExitTest.java75 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in testMethodExit() local
76 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testMethodExit()
DMethodEntryTest.java75 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in testMethodEntry() local
76 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testMethodEntry()
DFieldModificationTest.java74 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in testFieldModifyEvent() local
75 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testFieldModifyEvent()
DFieldAccessTest.java74 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in testFieldAccessEvent() local
75 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in testFieldAccessEvent()
DBreakpointOnCatchTest.java89 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in testBreakpointOnCatch() local
90 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.java175 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in stepFunction() local
176 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in stepFunction()
DMethodExitWithReturnValueTest.java191 long eventThreadID = ((EventThread) parsedEvents[0]).getThreadID(); in runMethodExitWithReturn() local
192 checkThreadState(eventThreadID, JDWPConstants.ThreadStatus.RUNNING, in runMethodExitWithReturn()
DCombinedEvents003Test.java280 long eventThreadID = ((ParsedEvent.EventThread)parsedEvents[i]).getThreadID(); in receiveAndCheckEvents() local
285 + eventThreadID); in receiveAndCheckEvents()
DCombinedEventsTest.java1006 long eventThreadID = ((ParsedEvent.EventThread)parsedEvents[i]).getThreadID(); in receiveAndCheckEvents() local
1011 + eventThreadID); in receiveAndCheckEvents()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/
DJDWPTestCase.java554 protected void checkThreadState(long eventThreadID, byte expectedThreadStatus, in checkThreadState() argument
559 commandPacket.setNextValueAsThreadID(eventThreadID); in checkThreadState()