Home
last modified time | relevance | path

Searched refs:EventKind (Results 1 – 25 of 68) sorted by relevance

123

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DParsedEvent.java176 super(suspendPolicy, packet, JDWPConstants.EventKind.VM_START); in Event_VM_START()
192 super(suspendPolicy, packet, JDWPConstants.EventKind.SINGLE_STEP); in Event_SINGLE_STEP()
208 super(suspendPolicy, packet, JDWPConstants.EventKind.BREAKPOINT); in Event_BREAKPOINT()
224 super(suspendPolicy, packet, JDWPConstants.EventKind.METHOD_ENTRY); in Event_METHOD_ENTRY()
240 super(suspendPolicy, packet, JDWPConstants.EventKind.METHOD_EXIT); in Event_METHOD_EXIT()
258 super(suspendPolicy, packet, JDWPConstants.EventKind.METHOD_EXIT_WITH_RETURN_VALUE); in Event_METHOD_EXIT_WITH_RETURN_VALUE()
279 super(suspendPolicy, packet, JDWPConstants.EventKind.MONITOR_CONTENDED_ENTER); in Event_MONITOR_CONTENDED_ENTER()
296 super(suspendPolicy, packet, JDWPConstants.EventKind.MONITOR_CONTENDED_ENTERED); in Event_MONITOR_CONTENDED_ENTERED()
315 super(suspendPolicy, packet, JDWPConstants.EventKind.MONITOR_WAIT); in Event_MONITOR_WAIT()
338 super(suspendPolicy, packet, JDWPConstants.EventKind.MONITOR_WAITED); in Event_MONITOR_WAITED()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DEventWithExceptionTest.java83 ParsedEvent exceptionEvent = waitForEvent(JDWPConstants.EventKind.EXCEPTION, in testBreakpoint_BeforeException()
91 clearEvent(JDWPConstants.EventKind.EXCEPTION, exceptionRequestId, true); in testBreakpoint_BeforeException()
106 ParsedEvent breakpointEvent = waitForEvent(JDWPConstants.EventKind.BREAKPOINT, in testBreakpoint_BeforeException()
114 clearEvent(JDWPConstants.EventKind.BREAKPOINT, breakpointRequestId, true); in testBreakpoint_BeforeException()
142 ParsedEvent exceptionEvent = waitForEvent(JDWPConstants.EventKind.EXCEPTION, in testBreakpoint_UponException()
158 waitForEvent(JDWPConstants.EventKind.EXCEPTION, exceptionRequestId); in testBreakpoint_UponException()
166 ParsedEvent breakpointEvent = waitForEvent(JDWPConstants.EventKind.BREAKPOINT, in testBreakpoint_UponException()
174 clearEvent(JDWPConstants.EventKind.BREAKPOINT, breakpointRequestId, true); in testBreakpoint_UponException()
190 runFieldWatchpointTest(JDWPConstants.EventKind.FIELD_ACCESS); in testFieldAccess()
197 runFieldWatchpointTest(JDWPConstants.EventKind.FIELD_MODIFICATION); in testFieldModification()
[all …]
DCombinedEventsTest.java75 JDWPConstants.EventKind.METHOD_ENTRY, in testCombinedEvents_01()
76 JDWPConstants.EventKind.SINGLE_STEP, in testCombinedEvents_01()
77 JDWPConstants.EventKind.BREAKPOINT, in testCombinedEvents_01()
132 .setNextValueAsByte(JDWPConstants.EventKind.SINGLE_STEP); in testCombinedEvents_01()
165 JDWPConstants.EventKind.METHOD_ENTRY, methodEntryRequestID); in testCombinedEvents_01()
171 JDWPConstants.EventKind.SINGLE_STEP, stepRequestID); in testCombinedEvents_01()
202 JDWPConstants.EventKind.SINGLE_STEP, in testCombinedEvents_02()
203 JDWPConstants.EventKind.BREAKPOINT, in testCombinedEvents_02()
204 JDWPConstants.EventKind.METHOD_EXIT, in testCombinedEvents_02()
267 .setNextValueAsByte(JDWPConstants.EventKind.SINGLE_STEP); in testCombinedEvents_02()
[all …]
DClassPrepareTest.java67 …assertEquals("Invalid event kind,", JDWPConstants.EventKind.CLASS_PREPARE, parsedEvents[0].getEven… in testClassPrepareEvent()
68 , JDWPConstants.EventKind.getName(JDWPConstants.EventKind.CLASS_PREPARE) in testClassPrepareEvent()
69 , JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testClassPrepareEvent()
105 …assertEquals("Invalid event kind,", JDWPConstants.EventKind.CLASS_PREPARE, parsedEvents[0].getEven… in testClassPrepareEventWithoutSourceDebugExtension()
106 , JDWPConstants.EventKind.getName(JDWPConstants.EventKind.CLASS_PREPARE) in testClassPrepareEventWithoutSourceDebugExtension()
107 , JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testClassPrepareEventWithoutSourceDebugExtension()
173 …assertEquals("Invalid event kind,", JDWPConstants.EventKind.CLASS_PREPARE, parsedEvents[0].getEven… in testClassPrepareEventWithSourceDebugExtension()
174 , JDWPConstants.EventKind.getName(JDWPConstants.EventKind.CLASS_PREPARE) in testClassPrepareEventWithSourceDebugExtension()
175 , JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testClassPrepareEventWithSourceDebugExtension()
DCombinedEvents003Test.java66 byte[] EXPECTED_EVENTS_ARRAY = { JDWPConstants.EventKind.METHOD_ENTRY, in testCombinedEvents003_01()
67 JDWPConstants.EventKind.BREAKPOINT, in testCombinedEvents003_01()
68 JDWPConstants.EventKind.SINGLE_STEP, in testCombinedEvents003_01()
69 JDWPConstants.EventKind.METHOD_EXIT}; in testCombinedEvents003_01()
133 .setNextValueAsByte(JDWPConstants.EventKind.SINGLE_STEP); in testCombinedEvents003_01()
164 JDWPConstants.EventKind.METHOD_ENTRY, methodEntryRequestID); in testCombinedEvents003_01()
170 JDWPConstants.EventKind.SINGLE_STEP, stepRequestID); in testCombinedEvents003_01()
200 + JDWPConstants.EventKind.getName(parsedEvents[i] in receiveAndCheckEvents()
204 if ( parsedEvents[i].getEventKind() == JDWPConstants.EventKind.VM_DEATH ) { in receiveAndCheckEvents()
257 + JDWPConstants.EventKind in receiveAndCheckEvents()
[all …]
DCombinedEvents002Test.java71 JDWPConstants.EventKind.METHOD_ENTRY, in testCombinedEvents002_01()
72 JDWPConstants.EventKind.METHOD_EXIT in testCombinedEvents002_01()
85 JDWPConstants.EventKind.METHOD_ENTRY, in testCombinedEvents002_02()
86 JDWPConstants.EventKind.METHOD_EXIT_WITH_RETURN_VALUE in testCombinedEvents002_02()
147 String eventKindName = JDWPConstants.EventKind.getName(eventKind); in prepareDebuggee()
153 case JDWPConstants.EventKind.METHOD_ENTRY: in prepareDebuggee()
156 case JDWPConstants.EventKind.METHOD_EXIT: in prepareDebuggee()
159 case JDWPConstants.EventKind.METHOD_EXIT_WITH_RETURN_VALUE: in prepareDebuggee()
193 + "(" + JDWPConstants.EventKind.getName(eventKind) + ")"); in receiveEvents()
216 + "(" + JDWPConstants.EventKind.getName(eventKind) + ")"); in receiveEvents()
[all …]
DMethodExitWithReturnValueTest.java68 JDWPConstants.EventKind.METHOD_EXIT, in testMethodExitWithReturnValueException()
70 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.METHOD_EXIT), in testMethodExitWithReturnValueException()
71 JDWPConstants.EventKind.getName(event.getEventKind())); in testMethodExitWithReturnValueException()
183 JDWPConstants.EventKind.METHOD_EXIT_WITH_RETURN_VALUE, in runMethodExitWithReturn()
185 JDWPConstants.EventKind in runMethodExitWithReturn()
186 .getName(JDWPConstants.EventKind.METHOD_EXIT_WITH_RETURN_VALUE), in runMethodExitWithReturn()
187 JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in runMethodExitWithReturn()
188 …logWriter.println("==> CHECK: received event's type is " + JDWPConstants.EventKind.METHOD_EXIT_WIT… in runMethodExitWithReturn()
DMonitorContendedEnteredTest.java64 …assertEquals("Invalid event kind,", JDWPConstants.EventKind.MONITOR_CONTENDED_ENTERED, event.getEv… in verifyEvent()
65 , JDWPConstants.EventKind.getName(JDWPConstants.EventKind.MONITOR_CONTENDED_ENTERED) in verifyEvent()
66 , JDWPConstants.EventKind.getName(event.getEventKind())); in verifyEvent()
67 …riter.println("==> CHECK: Event Kind: " + JDWPConstants.EventKind.getName(JDWPConstants.EventKind.… in verifyEvent()
DMonitorContendedEnterTest.java64 …assertEquals("Invalid event kind,", JDWPConstants.EventKind.MONITOR_CONTENDED_ENTER, event.getEven… in verifyEvent()
65 , JDWPConstants.EventKind.getName(JDWPConstants.EventKind.MONITOR_CONTENDED_ENTER) in verifyEvent()
66 , JDWPConstants.EventKind.getName(event.getEventKind())); in verifyEvent()
67 …riter.println("==> CHECK: Event Kind: " + JDWPConstants.EventKind.getName(JDWPConstants.EventKind.… in verifyEvent()
DThreadEndTest.java54 byte eventKind = JDWPConstants.EventKind.THREAD_END; in testThreadEndEvent001()
80 + " (" + JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind()) + ")"); in testThreadEndEvent001()
82 JDWPConstants.EventKind.THREAD_END, in testThreadEndEvent001()
84 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.THREAD_END), in testThreadEndEvent001()
85 JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testThreadEndEvent001()
DThreadStartTest.java56 byte eventKind = JDWPConstants.EventKind.THREAD_START; in testThreadStartEvent001()
86 + " (" + JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind()) + ")"); in testThreadStartEvent001()
88 JDWPConstants.EventKind.THREAD_START, in testThreadStartEvent001()
90 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.THREAD_START), in testThreadStartEvent001()
91 JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testThreadStartEvent001()
DSingleStepTest.java133 .setNextValueAsByte(JDWPConstants.EventKind.SINGLE_STEP); in stepFunction()
167 + JDWPConstants.EventKind.getName(parsedEvents[i].getEventKind()) + ")"); in stepFunction()
174 assertEquals("Invalid event kind,", JDWPConstants.EventKind.SINGLE_STEP, in stepFunction()
176 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.SINGLE_STEP), in stepFunction()
177 JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in stepFunction()
186 debuggeeWrapper.vmMirror.clearEvent(JDWPConstants.EventKind.SINGLE_STEP, requestID); in stepFunction()
DSingleStepWithPendingExceptionTest.java68 debuggeeWrapper.vmMirror.receiveCertainEvent(JDWPConstants.EventKind.EXCEPTION); in testSingleStepWithPendingException()
72 JDWPConstants.EventKind.EXCEPTION); in testSingleStepWithPendingException()
80 clearEvent(JDWPConstants.EventKind.EXCEPTION, exceptionRequestId, true); in testSingleStepWithPendingException()
100 debuggeeWrapper.vmMirror.receiveCertainEvent(JDWPConstants.EventKind.SINGLE_STEP); in testSingleStepWithPendingException()
104 JDWPConstants.EventKind.SINGLE_STEP); in testSingleStepWithPendingException()
115 clearEvent(JDWPConstants.EventKind.SINGLE_STEP, singleStepRequestId, true); in testSingleStepWithPendingException()
DSingleStepWithLocationTest.java105 JDWPConstants.EventKind.SINGLE_STEP); in testSingleStepToLocation()
139 + JDWPConstants.EventKind.getName(parsedEvents[i].getEventKind()) + ")"); in testSingleStepToLocation()
146 assertEquals("Invalid event kind,", JDWPConstants.EventKind.SINGLE_STEP, in testSingleStepToLocation()
148 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.SINGLE_STEP), in testSingleStepToLocation()
149 JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testSingleStepToLocation()
154 … debuggeeWrapper.vmMirror.clearEvent(JDWPConstants.EventKind.SINGLE_STEP, (int) requestID); in testSingleStepToLocation()
DMonitorWaitTest.java120 …assertEquals("Invalid event kind,", JDWPConstants.EventKind.MONITOR_WAIT, parsedEvents[0].getEvent… in verifyEvent()
121 , JDWPConstants.EventKind.getName(JDWPConstants.EventKind.MONITOR_WAIT) in verifyEvent()
122 , JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in verifyEvent()
123 …riter.println("==> CHECK: Event Kind: " + JDWPConstants.EventKind.getName(JDWPConstants.EventKind.… in verifyEvent()
DMonitorWaitedTest.java120 …assertEquals("Invalid event kind,", JDWPConstants.EventKind.MONITOR_WAITED, parsedEvents[0].getEve… in verifyEvent()
121 , JDWPConstants.EventKind.getName(JDWPConstants.EventKind.MONITOR_WAITED) in verifyEvent()
122 , JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in verifyEvent()
123 …riter.println("==> CHECK: Event Kind: " + JDWPConstants.EventKind.getName(JDWPConstants.EventKind.… in verifyEvent()
DVMDeathTest.java57 JDWPConstants.EventKind.VM_DEATH, in testVMDeathEvent()
59 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.VM_DEATH), in testVMDeathEvent()
60 JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testVMDeathEvent()
DSingleStepThroughReflectionTest.java92 .setNextValueAsByte(JDWPConstants.EventKind.SINGLE_STEP); in testSingleStepIntoThroughReflection()
157 + JDWPConstants.EventKind.getName(parsedEvents[i].getEventKind()) + ")"); in waitForSingleStepEvent()
167 assertEquals("Invalid event kind,", JDWPConstants.EventKind.SINGLE_STEP, in waitForSingleStepEvent()
169 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.SINGLE_STEP), in waitForSingleStepEvent()
170 JDWPConstants.EventKind.getName(parsedEvent.getEventKind())); in waitForSingleStepEvent()
178 debuggeeWrapper.vmMirror.clearEvent(JDWPConstants.EventKind.SINGLE_STEP, in clearSingleStep()
DMethodEntryTest.java69 JDWPConstants.EventKind.METHOD_ENTRY, in testMethodEntry()
71 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.METHOD_ENTRY), in testMethodEntry()
72 JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testMethodEntry()
DMethodExitTest.java69 JDWPConstants.EventKind.METHOD_EXIT, in testMethodExit()
71 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.METHOD_EXIT), in testMethodExit()
72 JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testMethodExit()
DClassUnloadTest.java98 … reply = debuggeeWrapper.vmMirror.clearEvent(JDWPConstants.EventKind.CLASS_UNLOAD, requestID); in testClassUnloadEvent()
114 assertEquals("Invalid event kind,", JDWPConstants.EventKind.CLASS_UNLOAD in testClassUnloadEvent()
116 , JDWPConstants.EventKind.getName(JDWPConstants.EventKind.CLASS_UNLOAD) in testClassUnloadEvent()
117 , JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testClassUnloadEvent()
DExceptionBaseTest.java49 JDWPConstants.EventKind.EXCEPTION, in receiveAndCheckExceptionEvent()
51 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.EXCEPTION), in receiveAndCheckExceptionEvent()
52 JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in receiveAndCheckExceptionEvent()
62 debuggeeWrapper.vmMirror.clearEvent(JDWPConstants.EventKind.EXCEPTION, requestID); in receiveAndCheckExceptionEvent()
DBreakpointTest.java72 JDWPConstants.EventKind.BREAKPOINT, in testSetBreakpointEvent()
74 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.BREAKPOINT), in testSetBreakpointEvent()
75 JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testSetBreakpointEvent()
DFieldAccessTest.java68 JDWPConstants.EventKind.FIELD_ACCESS, in testFieldAccessEvent()
70 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.FIELD_ACCESS), in testFieldAccessEvent()
71 JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testFieldAccessEvent()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/
DJDWPEventModifierTestCase.java62 byte eventKind = JDWPConstants.EventKind.BREAKPOINT; in createBreakpointEventBuilder()
80 byte eventKind = JDWPConstants.EventKind.EXCEPTION; in createExceptionEventBuilder()
100 JDWPConstants.EventKind.METHOD_ENTRY, TEST_SUSPEND_POLICY); in createMethodEntryEventBuilder()
114 JDWPConstants.EventKind.METHOD_EXIT, TEST_SUSPEND_POLICY); in createMethodExitEventBuilder()
128 JDWPConstants.EventKind.METHOD_EXIT_WITH_RETURN_VALUE, in createMethodExitWithReturnValueEventBuilder()
139 return new EventBuilder(JDWPConstants.EventKind.THREAD_START, in createThreadStartBuilder()
149 return new EventBuilder(JDWPConstants.EventKind.THREAD_END, in createThreadEndBuilder()
187 eventKind = JDWPConstants.EventKind.FIELD_MODIFICATION; in createFieldEventBuilder()
189 eventKind = JDWPConstants.EventKind.FIELD_ACCESS; in createFieldEventBuilder()
208 String eventName = JDWPConstants.EventKind.getName(event.eventKind); in requestEvent()
[all …]

123