/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
D | CombinedEvents002Test.java | 147 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 …]
|
D | EventLocationEventTestCase.java | 44 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()
|
D | VMDeath002Test.java | 120 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()
|
D | CombinedEventsTestCase.java | 199 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()
|
D | CombinedExceptionEventsTest.java | 125 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()
|
D | BreakpointMultipleTest.java | 123 byte eventKind = parsedEvent.getEventKind(); in checkBreakpointEvent() 126 eventKind, in checkBreakpointEvent() 128 JDWPConstants.EventKind.getName(eventKind)); in checkBreakpointEvent()
|
D | FieldWithLocationTest.java | 121 final byte eventKind = getFieldEventKind(modification); in runFieldLocationTest() 125 runEventWithLocationTest(eventKind); in runFieldLocationTest()
|
D | CombinedEvents003Test.java | 279 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()
|
D | EventWithExceptionTest.java | 477 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()
|
D | ClassPrepare002Test.java | 61 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/ |
D | JDWPEventModifierTestCase.java | 62 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/ |
D | Event.java | 36 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()
|
D | ParsedEvent.java | 39 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 …]
|
D | VmMirror.java | 943 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 …]
|
D | EventBuilder.java | 28 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()
|
D | PacketDispatcher.java | 572 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/ |
D | FieldModificationTest.java | 94 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()
|
D | FieldAccessTest.java | 93 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()
|
D | ClassPrepareTest.java | 99 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()
|
D | ExceptionTest.java | 100 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()
|
D | VMDeathTest.java | 118 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()
|
D | SingleStepTest.java | 144 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/ |
D | DeoptimizationWithExceptionHandlingTest.java | 136 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/ |
D | InvokeMethodTest.java | 119 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()
|
D | NewInstanceTest.java | 118 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()
|