Home
last modified time | relevance | path

Searched refs:eventKind (Results 1 – 25 of 42) sorted by relevance

12

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DCombinedEvents002Test.java147 for (byte eventKind : expectedEventKinds) { in prepareDebuggee()
148 String eventKindName = JDWPConstants.EventKind.getName(eventKind); in prepareDebuggee()
153 switch (eventKind) { in prepareDebuggee()
169 requestsMap.put(Byte.valueOf(eventKind), Integer.valueOf(requestId)); in prepareDebuggee()
170 logWriter.println("==> OK - request " + requestId + " for " + eventKind + in prepareDebuggee()
193 byte eventKind = parsedEvents[i].getEventKind(); in receiveEvents()
194 eventKind = parsedEvents[i].getEventKind(); in receiveEvents()
196 + eventKind in receiveEvents()
197 + "(" + JDWPConstants.EventKind.getName(eventKind) + ")"); in receiveEvents()
217 byte eventKind = parsedEvents[i].getEventKind(); in receiveEvents()
[all …]
DEventLocationEventTestCase.java45 protected void runEventWithLocationTest(byte eventKind) { in runEventWithLocationTest() argument
50 requestEventForAllLocations(eventKind); in runEventWithLocationTest()
65 eventKind, in runEventWithLocationTest()
67 JDWPConstants.EventKind.getName(eventKind), in runEventWithLocationTest()
79 clearAllEvents(eventKind); in runEventWithLocationTest()
89 private void requestEventForAllLocations(byte eventKind) { in requestEventForAllLocations() argument
112 EventBuilder builder = Event.builder(eventKind, JDWPConstants.SuspendPolicy.ALL); in requestEventForAllLocations()
129 private void clearAllEvents(byte eventKind) { in clearAllEvents() argument
132 clearEvent(eventKind, requestId.intValue()); in clearAllEvents()
DVMDeath002Test.java120 byte eventKind = event.getEventKind(); in testVMDeathRequest()
121 logWriter.println("===> EventKind=" + eventKind + "/" in testVMDeathRequest()
122 + JDWPConstants.EventKind.getName(eventKind)); in testVMDeathRequest()
127 if (eventKind == JDWPConstants.EventKind.VM_DEATH) { in testVMDeathRequest()
152 + eventKind); in testVMDeathRequest()
DCombinedEventsTestCase.java199 byte eventKind = parsedEvent.getEventKind(); in checkEventLocation()
202 switch ( eventKind ) { in checkEventLocation()
227 + ": Event kind = " + eventKind + "(" in checkEventLocation()
228 + JDWPConstants.EventKind.getName(eventKind) +")"); in checkEventLocation()
235 + ": Event kind = " + eventKind + "(" in checkEventLocation()
236 + JDWPConstants.EventKind.getName(eventKind) +"); eventThreadID = " in checkEventLocation()
DCombinedExceptionEventsTest.java125 byte eventKind = parsedEvent.getEventKind(); in runCombinedExceptionEventsTest()
128 + JDWPConstants.EventKind.getName(eventKind) in runCombinedExceptionEventsTest()
131 JDWPConstants.EventKind.EXCEPTION, eventKind, in runCombinedExceptionEventsTest()
134 JDWPConstants.EventKind.getName(eventKind)); in runCombinedExceptionEventsTest()
DBreakpointMultipleTest.java123 byte eventKind = parsedEvent.getEventKind(); in checkBreakpointEvent()
126 eventKind, in checkBreakpointEvent()
128 JDWPConstants.EventKind.getName(eventKind)); in checkBreakpointEvent()
DFieldWithLocationTest.java129 final byte eventKind = getFieldEventKind(modification); in runFieldLocationTest()
133 runEventWithLocationTest(eventKind); in runFieldLocationTest()
DCombinedEvents003Test.java281 byte eventKind = parsedEvents[i].getEventKind(); in receiveAndCheckEvents()
285 + ": Event kind = " + eventKind + "(" in receiveAndCheckEvents()
286 + JDWPConstants.EventKind.getName(eventKind) +"); eventThreadID = " in receiveAndCheckEvents()
289 switch ( eventKind ) { in receiveAndCheckEvents()
DEventWithExceptionTest.java477 private ParsedEvent waitForEvent(byte eventKind, int requestId) { in waitForEvent() argument
478 logWriter.println("Waiting for " + JDWPConstants.EventKind.getName(eventKind) + in waitForEvent()
482 EventPacket eventPacket = debuggeeWrapper.vmMirror.receiveCertainEvent(eventKind); in waitForEvent()
488 assertEventKindEquals("Invalid event kind", eventKind, parsedEvent.getEventKind()); in waitForEvent()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/
DJDWPEventModifierTestCase.java62 byte eventKind = JDWPConstants.EventKind.BREAKPOINT; in createBreakpointEventBuilder()
63 return Event.builder(eventKind, TEST_SUSPEND_POLICY) in createBreakpointEventBuilder()
78 byte eventKind = JDWPConstants.EventKind.EXCEPTION; in createExceptionEventBuilder()
83 return Event.builder(eventKind, TEST_SUSPEND_POLICY).setExceptionOnly(exceptionClassID, in createExceptionEventBuilder()
177 byte eventKind; in createFieldEventBuilder()
179 eventKind = JDWPConstants.EventKind.FIELD_MODIFICATION; in createFieldEventBuilder()
181 eventKind = JDWPConstants.EventKind.FIELD_ACCESS; in createFieldEventBuilder()
188 return Event.builder(eventKind, TEST_SUSPEND_POLICY).setFieldOnly(typeID, fieldID); in createFieldEventBuilder()
198 String eventName = JDWPConstants.EventKind.getName(event.eventKind); in requestEvent()
214 protected EventThread waitForEvent(byte eventKind, int requestID) { in waitForEvent() argument
[all …]
DCountModifierTest.java227 waitForEvent(event.eventKind, requestID); in testEventWithCountModifier()
234 clearAndResume(event.eventKind, requestID); in testEventWithCountModifier()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DEvent.java36 public static EventBuilder builder(byte eventKind, byte suspendPolicy) { in builder() argument
37 return new EventBuilder(eventKind, suspendPolicy); in builder()
40 public final byte eventKind; field in Event
49 Event(byte eventKind, byte suspendPolicy, List<EventMod> mods) { in Event() argument
50 this.eventKind = eventKind; in Event()
DParsedEvent.java39 private byte eventKind; field in ParsedEvent
44 protected ParsedEvent(byte suspendPolicy, Packet packet, byte eventKind) { in ParsedEvent() argument
47 this.eventKind = eventKind; in ParsedEvent()
72 return eventKind; in getEventKind()
88 protected EventThread(byte suspendPolicy, Packet packet, byte eventKind) { in EventThread() argument
89 super(suspendPolicy, packet, eventKind); in EventThread()
115 byte eventKind) { in EventThreadLocation() argument
116 super(suspendPolicy, packet, eventKind); in EventThreadLocation()
143 byte eventKind) { in EventThreadMonitor() argument
144 super(suspendPolicy, packet, eventKind); in EventThreadMonitor()
[all …]
DVmMirror.java943 byte eventKind = JDWPConstants.EventKind.CLASS_PREPARE; in setClassPreparedForSourceNameMatch()
945 Event event = Event.builder(eventKind, suspendPolicy) in setClassPreparedForSourceNameMatch()
1148 commandPacket.setNextValueAsByte(event.eventKind); in setEvent()
1352 byte eventKind = JDWPConstants.EventKind.EXCEPTION; in setException()
1354 Event event = Event.builder(eventKind, suspendPolicy) in setException()
1369 byte eventKind = JDWPConstants.EventKind.METHOD_ENTRY; in setMethodEntry()
1371 EventBuilder builder = Event.builder(eventKind, suspendPolicy); in setMethodEntry()
1388 byte eventKind = JDWPConstants.EventKind.METHOD_EXIT; in setMethodExit()
1390 EventBuilder builder = Event.builder(eventKind, suspendPolicy); in setMethodExit()
1407 byte eventKind = JDWPConstants.EventKind.METHOD_EXIT_WITH_RETURN_VALUE; in setMethodExitWithReturnValue()
[all …]
DEventBuilder.java28 private final byte eventKind; field in EventBuilder
32 EventBuilder(byte eventKind, byte suspendPolicy) { in EventBuilder() argument
33 this.eventKind = eventKind; in EventBuilder()
197 return new Event(eventKind, suspendPolicy, modifiers); in build()
DPacketDispatcher.java572 byte eventKind = parsedEvents[i].getEventKind(); in run()
573 if (eventKind == eventKindForTrace) { in run()
583 + eventKind in run()
586 .getName(eventKind) in run()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/MultiSession/
DExceptionTest.java99 byte eventKind = event.getEventKind(); in testException001()
100 logWriter.println("=> EventKind=" + eventKind + "/" in testException001()
101 + JDWPConstants.EventKind.getName(eventKind)); in testException001()
106 if (eventKind == JDWPConstants.EventKind.VM_DEATH) { in testException001()
117 + eventKind); in testException001()
DFieldModificationTest.java95 byte eventKind = event.getEventKind(); in testFieldModification001()
96 logWriter.println("=> EventKind=" + eventKind + "/" in testFieldModification001()
97 + JDWPConstants.EventKind.getName(eventKind)); in testFieldModification001()
102 if (eventKind == JDWPConstants.EventKind.VM_DEATH) { in testFieldModification001()
113 + eventKind); in testFieldModification001()
DClassPrepareTest.java98 byte eventKind = event.getEventKind(); in testClassPrepare001()
99 logWriter.println("=> EventKind=" + eventKind + "/" in testClassPrepare001()
100 + JDWPConstants.EventKind.getName(eventKind)); in testClassPrepare001()
105 if (eventKind == JDWPConstants.EventKind.VM_DEATH) { in testClassPrepare001()
116 + eventKind); in testClassPrepare001()
DFieldAccessTest.java94 byte eventKind = event.getEventKind(); in testFieldAccess001()
95 logWriter.println("=> EventKind=" + eventKind + "/" in testFieldAccess001()
96 + JDWPConstants.EventKind.getName(eventKind)); in testFieldAccess001()
101 if (eventKind == JDWPConstants.EventKind.VM_DEATH) { in testFieldAccess001()
112 + eventKind); in testFieldAccess001()
DVMDeathTest.java118 byte eventKind = event.getEventKind(); in testVMDeathRequest()
119 logWriter.println("=> EventKind=" + eventKind + "/" in testVMDeathRequest()
120 + JDWPConstants.EventKind.getName(eventKind)); in testVMDeathRequest()
125 if (eventKind == JDWPConstants.EventKind.VM_DEATH) { in testVMDeathRequest()
136 + eventKind); in testVMDeathRequest()
DSingleStepTest.java148 byte eventKind = event.getEventKind(); in stepFunction()
149 logWriter.println("=> EventKind=" + eventKind + "/" in stepFunction()
150 + JDWPConstants.EventKind.getName(eventKind)); in stepFunction()
155 if (eventKind == JDWPConstants.EventKind.VM_DEATH) { in stepFunction()
166 + eventKind); in stepFunction()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Deoptimization/
DDeoptimizationWithExceptionHandlingTest.java136 final byte eventKind = JDWPConstants.EventKind.EXCEPTION; in waitForExceptionEvent()
137 EventPacket event = debuggeeWrapper.vmMirror.receiveCertainEvent(eventKind); in waitForExceptionEvent()
145 debuggeeWrapper.vmMirror.clearEvent(eventKind, requestID); in waitForExceptionEvent()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
DInvokeMethodTest.java118 byte eventKind = event.getNextValueAsByte(); in testInvokeMethod001()
124 + eventKind + " requestID=" + newRequestID + " threadID=" in testInvokeMethod001()
273 byte eventKind = event.getNextValueAsByte(); in testInvokeMethod002()
279 + eventKind + " requestID=" + newRequestID + " threadID=" in testInvokeMethod002()
410 byte eventKind = event.getNextValueAsByte(); in testInvokeMethod003()
416 + eventKind + " requestID=" + newRequestID + " threadID=" in testInvokeMethod003()
DNewInstanceTest.java117 byte eventKind = event.getNextValueAsByte(); in testNewInstance001()
123 + eventKind + "; requestID=" + newRequestID + "; threadID=" in testNewInstance001()
307 byte eventKind = event.getNextValueAsByte(); in testNewInstance002()
313 + eventKind + "; requestID=" + newRequestID + "; threadID=" in testNewInstance002()

12