Home
last modified time | relevance | path

Searched refs:eventKind (Results 1 – 25 of 43) 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.java44 protected void runEventWithLocationTest(byte eventKind) { in runEventWithLocationTest() argument
49 requestEventForAllLocations(eventKind); in runEventWithLocationTest()
64 eventKind, in runEventWithLocationTest()
66 JDWPConstants.EventKind.getName(eventKind), in runEventWithLocationTest()
78 clearAllEvents(eventKind); in runEventWithLocationTest()
88 private void requestEventForAllLocations(byte eventKind) { in requestEventForAllLocations() argument
111 EventBuilder builder = Event.builder(eventKind, JDWPConstants.SuspendPolicy.ALL); in requestEventForAllLocations()
128 private void clearAllEvents(byte eventKind) { in clearAllEvents() argument
131 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.java121 final byte eventKind = getFieldEventKind(modification); in runFieldLocationTest()
125 runEventWithLocationTest(eventKind); in runFieldLocationTest()
DCombinedEvents003Test.java279 byte eventKind = parsedEvents[i].getEventKind(); in receiveAndCheckEvents()
283 + ": Event kind = " + eventKind + "(" in receiveAndCheckEvents()
284 + JDWPConstants.EventKind.getName(eventKind) +"); eventThreadID = " in receiveAndCheckEvents()
287 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()
DClassPrepare002Test.java61 final byte eventKind = JDWPConstants.EventKind.CLASS_PREPARE; in testClassPrepareCausedByDebugger()
63 Event event = Event.builder(eventKind, suspendPolicy) in testClassPrepareCausedByDebugger()
/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 …]
/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/
DFieldModificationTest.java94 byte eventKind = event.getEventKind(); in testFieldModification001()
95 logWriter.println("=> EventKind=" + eventKind + "/" in testFieldModification001()
96 + JDWPConstants.EventKind.getName(eventKind)); in testFieldModification001()
101 if (eventKind == JDWPConstants.EventKind.VM_DEATH) { in testFieldModification001()
112 + eventKind); in testFieldModification001()
DFieldAccessTest.java93 byte eventKind = event.getEventKind(); in testFieldAccess001()
94 logWriter.println("=> EventKind=" + eventKind + "/" in testFieldAccess001()
95 + JDWPConstants.EventKind.getName(eventKind)); in testFieldAccess001()
100 if (eventKind == JDWPConstants.EventKind.VM_DEATH) { in testFieldAccess001()
111 + eventKind); in testFieldAccess001()
DClassPrepareTest.java99 byte eventKind = event.getEventKind(); in testClassPrepare001()
100 logWriter.println("=> EventKind=" + eventKind + "/" in testClassPrepare001()
101 + JDWPConstants.EventKind.getName(eventKind)); in testClassPrepare001()
106 if (eventKind == JDWPConstants.EventKind.VM_DEATH) { in testClassPrepare001()
117 + eventKind); in testClassPrepare001()
DExceptionTest.java100 byte eventKind = event.getEventKind(); in testException001()
101 logWriter.println("=> EventKind=" + eventKind + "/" in testException001()
102 + JDWPConstants.EventKind.getName(eventKind)); in testException001()
107 if (eventKind == JDWPConstants.EventKind.VM_DEATH) { in testException001()
118 + eventKind); in testException001()
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.java144 byte eventKind = event.getEventKind(); in stepFunction()
145 logWriter.println("=> EventKind=" + eventKind + "/" in stepFunction()
146 + JDWPConstants.EventKind.getName(eventKind)); in stepFunction()
151 if (eventKind == JDWPConstants.EventKind.VM_DEATH) { in stepFunction()
162 + 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.java119 byte eventKind = event.getNextValueAsByte(); in testInvokeMethod001()
125 + eventKind + " requestID=" + newRequestID + " threadID=" in testInvokeMethod001()
274 byte eventKind = event.getNextValueAsByte(); in testInvokeMethod002()
280 + eventKind + " requestID=" + newRequestID + " threadID=" in testInvokeMethod002()
412 byte eventKind = event.getNextValueAsByte(); in testInvokeMethod003()
418 + eventKind + " requestID=" + newRequestID + " threadID=" in testInvokeMethod003()
DNewInstanceTest.java118 byte eventKind = event.getNextValueAsByte(); in testNewInstance001()
124 + eventKind + "; requestID=" + newRequestID + "; threadID=" in testNewInstance001()
309 byte eventKind = event.getNextValueAsByte(); in testNewInstance002()
315 + eventKind + "; requestID=" + newRequestID + "; threadID=" in testNewInstance002()

12