/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
D | CombinedEvents002Test.java | 32 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 96 List<ParsedEvent> receivedEvents = receiveEvents(); in runTest() 181 private List<ParsedEvent> receiveEvents() { in receiveEvents() 182 List<ParsedEvent> receivedEvents = new ArrayList<ParsedEvent>(); in receiveEvents() 186 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in receiveEvents() 210 parsedEvents = ParsedEvent.parseEventPacket(event); in receiveEvents() 234 private void checkEvents(List<ParsedEvent> receivedEvents, in checkEvents() 241 ParsedEvent parsedEvent = receivedEvents.get(i); in checkEvents() 270 private boolean checkMethodEntryEvent(ParsedEvent parsedEvent) { in checkMethodEntryEvent() 271 ParsedEvent.Event_METHOD_ENTRY methodEntryEvent = in checkMethodEntryEvent() [all …]
|
D | EventWithExceptionTest.java | 25 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 83 ParsedEvent exceptionEvent = waitForEvent(JDWPConstants.EventKind.EXCEPTION, in testBreakpoint_BeforeException() 88 ((ParsedEvent.Event_EXCEPTION) exceptionEvent).getCatchLocation(); in testBreakpoint_BeforeException() 106 ParsedEvent breakpointEvent = waitForEvent(JDWPConstants.EventKind.BREAKPOINT, in testBreakpoint_BeforeException() 110 Location eventLocation = ((ParsedEvent.EventThreadLocation) breakpointEvent).getLocation(); in testBreakpoint_BeforeException() 142 ParsedEvent exceptionEvent = waitForEvent(JDWPConstants.EventKind.EXCEPTION, in testBreakpoint_UponException() 147 ((ParsedEvent.Event_EXCEPTION) exceptionEvent).getCatchLocation(); in testBreakpoint_UponException() 166 ParsedEvent breakpointEvent = waitForEvent(JDWPConstants.EventKind.BREAKPOINT, in testBreakpoint_UponException() 170 Location eventLocation = ((ParsedEvent.EventThreadLocation) breakpointEvent).getLocation(); in testBreakpoint_UponException() 232 ParsedEvent exceptionEvent = waitForEvent(JDWPConstants.EventKind.EXCEPTION, in runSingleStepTest() [all …]
|
D | ClassPrepareTest.java | 31 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 65 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in testClassPrepareEvent() 72 , ((ParsedEvent.Event_CLASS_PREPARE)parsedEvents[0]).getSignature()); in testClassPrepareEvent() 103 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(receiveEvent); in testClassPrepareEventWithoutSourceDebugExtension() 109 …assertEquals("Invalid signature of prepared class,", expectedClassSignature, ((ParsedEvent.Event_C… in testClassPrepareEventWithoutSourceDebugExtension() 171 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(receiveEvent); in testClassPrepareEventWithSourceDebugExtension() 177 …assertEquals("Invalid signature of prepared class,", expectedClassSignature, ((ParsedEvent.Event_C… in testClassPrepareEventWithSourceDebugExtension()
|
D | CombinedEventsTestCase.java | 34 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 198 protected boolean checkEventLocation(ParsedEvent parsedEvent, Location expectedLocation) { in checkEventLocation() 204 eventLocation = ((ParsedEvent.Event_METHOD_ENTRY)parsedEvent).getLocation(); in checkEventLocation() 205 eventThreadID = ((ParsedEvent.EventThread)parsedEvent).getThreadID(); in checkEventLocation() 208 eventLocation = ((ParsedEvent.Event_SINGLE_STEP)parsedEvent).getLocation(); in checkEventLocation() 209 eventThreadID = ((ParsedEvent.EventThread)parsedEvent).getThreadID(); in checkEventLocation() 212 eventLocation = ((ParsedEvent.Event_BREAKPOINT)parsedEvent).getLocation(); in checkEventLocation() 213 eventThreadID = ((ParsedEvent.EventThread)parsedEvent).getThreadID(); in checkEventLocation() 216 eventLocation = ((ParsedEvent.Event_METHOD_EXIT)parsedEvent).getLocation(); in checkEventLocation() 217 eventThreadID = ((ParsedEvent.EventThread)parsedEvent).getThreadID(); in checkEventLocation() [all …]
|
D | BreakpointOnCatchTest.java | 24 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 25 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.EventThread; 26 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.Event_EXCEPTION; 63 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in testBreakpointOnCatch() 84 parsedEvents = ParsedEvent.parseEventPacket(event); in testBreakpointOnCatch()
|
D | MethodExitWithReturnValueTest.java | 24 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 27 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.EventThread; 28 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.Event_METHOD_EXIT; 29 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.Event_METHOD_EXIT_WITH_RETURN_VALUE; 64 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(receiveEvent); in testMethodExitWithReturnValueException() 176 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(receiveEvent); in runMethodExitWithReturn()
|
D | SingleStepWithPendingExceptionTest.java | 24 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 69 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(eventPacket); in testSingleStepWithPendingException() 75 ((ParsedEvent.Event_EXCEPTION)parsedEvents[0]).getCatchLocation(); in testSingleStepWithPendingException() 101 parsedEvents = ParsedEvent.parseEventPacket(eventPacket); in testSingleStepWithPendingException() 108 ((ParsedEvent.Event_SINGLE_STEP)parsedEvents[0]).getLocation(); in testSingleStepWithPendingException()
|
D | ExceptionBaseTest.java | 26 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 38 protected ParsedEvent.Event_EXCEPTION receiveAndCheckExceptionEvent(int requestID) { in receiveAndCheckExceptionEvent() 42 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in receiveAndCheckExceptionEvent() 55 ParsedEvent.Event_EXCEPTION exceptionEvent = (ParsedEvent.Event_EXCEPTION) parsedEvents[0]; in receiveAndCheckExceptionEvent()
|
D | FieldModificationTest.java | 30 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 33 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.EventThread; 64 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in testFieldModifyEvent() 78 … TaggedObject modifiedField =((ParsedEvent.Event_FIELD_MODIFICATION)parsedEvents[0]).getObject(); in testFieldModifyEvent()
|
D | FieldAccessTest.java | 30 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 33 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.EventThread; 64 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in testFieldAccessEvent() 78 TaggedObject accessedField =((ParsedEvent.Event_FIELD_ACCESS)parsedEvents[0]).getObject(); in testFieldAccessEvent()
|
D | MonitorWaitTest.java | 24 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 25 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.Event_MONITOR_WAIT; 116 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(receiveEvent); in verifyEvent() 117 Event_MONITOR_WAIT event = (ParsedEvent.Event_MONITOR_WAIT)parsedEvents[0]; in verifyEvent() 142 , ((ParsedEvent.Event_MONITOR_WAIT)parsedEvents[0]).getTimeout()); in verifyEvent()
|
D | SingleStepThroughReflectionTest.java | 28 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 29 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.EventThreadLocation; 111 ParsedEvent parsedEvent = waitForSingleStepEvent(stepRequestID); in testSingleStepIntoThroughReflection() 142 private ParsedEvent waitForSingleStepEvent(int requestID) { in waitForSingleStepEvent() 145 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in waitForSingleStepEvent() 162 ParsedEvent parsedEvent = parsedEvents[0]; in waitForSingleStepEvent()
|
D | MonitorContendedEnteredTest.java | 24 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 25 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.Event_MONITOR_CONTENDED_ENTERED; 61 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(receiveEvent); in verifyEvent() 62 …Event_MONITOR_CONTENDED_ENTERED event = (ParsedEvent.Event_MONITOR_CONTENDED_ENTERED)parsedEvents[… in verifyEvent()
|
D | MonitorContendedEnterTest.java | 24 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 25 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.Event_MONITOR_CONTENDED_ENTER; 61 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(receiveEvent); in verifyEvent() 62 … Event_MONITOR_CONTENDED_ENTER event = (ParsedEvent.Event_MONITOR_CONTENDED_ENTER)parsedEvents[0]; in verifyEvent()
|
D | CombinedExceptionEventsTest.java | 23 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 117 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in runCombinedExceptionEventsTest() 124 ParsedEvent parsedEvent = parsedEvents[i]; in runCombinedExceptionEventsTest() 136 ParsedEvent.Event_EXCEPTION exceptionEvent = (ParsedEvent.Event_EXCEPTION) parsedEvent; in runCombinedExceptionEventsTest()
|
D | CombinedEvents003Test.java | 33 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 188 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in receiveAndCheckEvents() 280 long eventThreadID = ((ParsedEvent.EventThread)parsedEvents[i]).getThreadID(); in receiveAndCheckEvents() 289 … eventLocation = ((ParsedEvent.Event_METHOD_ENTRY)parsedEvents[i]).getLocation(); in receiveAndCheckEvents() 292 … eventLocation = ((ParsedEvent.Event_SINGLE_STEP)parsedEvents[i]).getLocation(); in receiveAndCheckEvents() 295 … eventLocation = ((ParsedEvent.Event_BREAKPOINT)parsedEvents[i]).getLocation(); in receiveAndCheckEvents() 298 … eventLocation = ((ParsedEvent.Event_METHOD_EXIT)parsedEvents[i]).getLocation(); in receiveAndCheckEvents() 358 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in checkVMDeathEvent()
|
D | ExceptionWithLocationTest.java | 24 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 73 protected void checkEvent(ParsedEvent event) { in checkEvent() 74 ParsedEvent.Event_EXCEPTION eventException = in checkEvent() 75 (ParsedEvent.Event_EXCEPTION) event; in checkEvent()
|
D | BreakpointTest.java | 30 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 31 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.EventThread; 66 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in testSetBreakpointEvent()
|
D | MethodExitTest.java | 30 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 32 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.EventThread; 66 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in testMethodExit()
|
D | MethodEntryTest.java | 30 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 32 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.EventThread; 66 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in testMethodEntry()
|
D | MonitorWaitedTest.java | 24 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 25 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.Event_MONITOR_WAITED; 116 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(receiveEvent); in verifyEvent() 117 Event_MONITOR_WAITED event = (ParsedEvent.Event_MONITOR_WAITED)parsedEvents[0]; in verifyEvent()
|
D | ClassPrepare002Test.java | 27 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 29 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent.Event_CLASS_PREPARE; 94 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(eventPacket); in testClassPrepareCausedByDebugger() 100 ParsedEvent parsedEvent = parsedEvents[0]; in testClassPrepareCausedByDebugger()
|
D | EventLocationEventTestCase.java | 26 import org.apache.harmony.jpda.tests.framework.jdwp.ParsedEvent; 42 protected abstract void checkEvent(ParsedEvent event); in checkEvent() 55 ParsedEvent[] parsedEvents = ParsedEvent.parseEventPacket(event); in runEventWithLocationTest() 60 ParsedEvent parsedEvent = parsedEvents[0]; in runEventWithLocationTest()
|
/external/perf_data_converter/src/quipper/ |
D | perf_parser.h | 40 struct ParsedEvent { struct 41 ParsedEvent() : command_(NULL) {} in ParsedEvent() function 104 bool operator==(const ParsedEvent& other) const { argument 178 const std::vector<ParsedEvent>& parsed_events() const { in parsed_events() 205 bool MapSampleEvent(ParsedEvent* parsed_event); 211 ParsedEvent* parsed_event); 218 ParsedEvent* parsed_event); 226 ParsedEvent::DSOAndOffset* dso_and_offset); 253 std::vector<ParsedEvent> parsed_events_;
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
D | ParsedEvent.java | 33 public class ParsedEvent { class 44 protected ParsedEvent(byte suspendPolicy, Packet packet, byte eventKind) { in ParsedEvent() method in ParsedEvent 78 public static class EventThread extends ParsedEvent { 474 public static final class Event_CLASS_UNLOAD extends ParsedEvent { 622 public static final class Event_VM_DEATH extends ParsedEvent { 640 public static ParsedEvent[] parseEventPacket(Packet packet) { in parseEventPacket() 650 ParsedEvent[] events = new ParsedEvent[eventCount]; in parseEventPacket()
|