Home
last modified time | relevance | path

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

1234

/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/llvm-project/clang/unittests/DirectoryWatcher/
DDirectoryWatcherTest.cpp35 typedef DirectoryWatcher::Event::EventKind EventKind; typedef
86 std::string eventKindToString(const EventKind K) { in eventKindToString()
88 case EventKind::Removed: in eventKindToString()
90 case EventKind::Modified: in eventKindToString()
92 case EventKind::WatchedDirRemoved: in eventKindToString()
94 case EventKind::WatcherGotInvalidated: in eventKindToString()
268 {{EventKind::Modified, "a"}, in TEST()
269 {EventKind::Modified, "b"}, in TEST()
270 {EventKind::Modified, "c"}}, in TEST()
275 {{EventKind::Modified, "a"}, in TEST()
[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 …]
DClassPrepareTest.java68 …assertEquals("Invalid event kind,", JDWPConstants.EventKind.CLASS_PREPARE, parsedEvents[0].getEven… in testClassPrepareEvent()
69 , JDWPConstants.EventKind.getName(JDWPConstants.EventKind.CLASS_PREPARE) in testClassPrepareEvent()
70 , JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testClassPrepareEvent()
106 …assertEquals("Invalid event kind,", JDWPConstants.EventKind.CLASS_PREPARE, parsedEvents[0].getEven… in testClassPrepareEventWithoutSourceDebugExtension()
107 , JDWPConstants.EventKind.getName(JDWPConstants.EventKind.CLASS_PREPARE) in testClassPrepareEventWithoutSourceDebugExtension()
108 , JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testClassPrepareEventWithoutSourceDebugExtension()
174 …assertEquals("Invalid event kind,", JDWPConstants.EventKind.CLASS_PREPARE, parsedEvents[0].getEven… in testClassPrepareEventWithSourceDebugExtension()
175 , JDWPConstants.EventKind.getName(JDWPConstants.EventKind.CLASS_PREPARE) in testClassPrepareEventWithSourceDebugExtension()
176 , JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testClassPrepareEventWithSourceDebugExtension()
DCombinedEventsTest.java74 JDWPConstants.EventKind.METHOD_ENTRY, in testCombinedEvents_01()
75 JDWPConstants.EventKind.SINGLE_STEP, in testCombinedEvents_01()
76 JDWPConstants.EventKind.BREAKPOINT, in testCombinedEvents_01()
131 .setNextValueAsByte(JDWPConstants.EventKind.SINGLE_STEP); in testCombinedEvents_01()
164 JDWPConstants.EventKind.METHOD_ENTRY, methodEntryRequestID); in testCombinedEvents_01()
170 JDWPConstants.EventKind.SINGLE_STEP, stepRequestID); in testCombinedEvents_01()
201 JDWPConstants.EventKind.SINGLE_STEP, in testCombinedEvents_02()
202 JDWPConstants.EventKind.BREAKPOINT, in testCombinedEvents_02()
203 JDWPConstants.EventKind.METHOD_EXIT, in testCombinedEvents_02()
266 .setNextValueAsByte(JDWPConstants.EventKind.SINGLE_STEP); in testCombinedEvents_02()
[all …]
DCombinedEvents003Test.java65 byte[] EXPECTED_EVENTS_ARRAY = { JDWPConstants.EventKind.METHOD_ENTRY, in testCombinedEvents003_01()
66 JDWPConstants.EventKind.BREAKPOINT, in testCombinedEvents003_01()
67 JDWPConstants.EventKind.SINGLE_STEP, in testCombinedEvents003_01()
68 JDWPConstants.EventKind.METHOD_EXIT}; in testCombinedEvents003_01()
132 .setNextValueAsByte(JDWPConstants.EventKind.SINGLE_STEP); in testCombinedEvents003_01()
163 JDWPConstants.EventKind.METHOD_ENTRY, methodEntryRequestID); in testCombinedEvents003_01()
169 JDWPConstants.EventKind.SINGLE_STEP, stepRequestID); in testCombinedEvents003_01()
199 + JDWPConstants.EventKind.getName(parsedEvents[i] in receiveAndCheckEvents()
203 if ( parsedEvents[i].getEventKind() == JDWPConstants.EventKind.VM_DEATH ) { in receiveAndCheckEvents()
256 + JDWPConstants.EventKind in receiveAndCheckEvents()
[all …]
DCombinedEvents002Test.java72 JDWPConstants.EventKind.METHOD_ENTRY, in testCombinedEvents002_01()
73 JDWPConstants.EventKind.METHOD_EXIT in testCombinedEvents002_01()
86 JDWPConstants.EventKind.METHOD_ENTRY, in testCombinedEvents002_02()
87 JDWPConstants.EventKind.METHOD_EXIT_WITH_RETURN_VALUE in testCombinedEvents002_02()
148 String eventKindName = JDWPConstants.EventKind.getName(eventKind); in prepareDebuggee()
154 case JDWPConstants.EventKind.METHOD_ENTRY: in prepareDebuggee()
157 case JDWPConstants.EventKind.METHOD_EXIT: in prepareDebuggee()
160 case JDWPConstants.EventKind.METHOD_EXIT_WITH_RETURN_VALUE: in prepareDebuggee()
197 + "(" + JDWPConstants.EventKind.getName(eventKind) + ")"); in receiveEvents()
220 + "(" + JDWPConstants.EventKind.getName(eventKind) + ")"); in receiveEvents()
[all …]
DMethodExitWithReturnValueTest.java69 JDWPConstants.EventKind.METHOD_EXIT, in testMethodExitWithReturnValueException()
71 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.METHOD_EXIT), in testMethodExitWithReturnValueException()
72 JDWPConstants.EventKind.getName(event.getEventKind())); in testMethodExitWithReturnValueException()
184 JDWPConstants.EventKind.METHOD_EXIT_WITH_RETURN_VALUE, in runMethodExitWithReturn()
186 JDWPConstants.EventKind in runMethodExitWithReturn()
187 .getName(JDWPConstants.EventKind.METHOD_EXIT_WITH_RETURN_VALUE), in runMethodExitWithReturn()
188 JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in runMethodExitWithReturn()
189 …logWriter.println("==> CHECK: received event's type is " + JDWPConstants.EventKind.METHOD_EXIT_WIT… in runMethodExitWithReturn()
DMonitorContendedEnterTest.java65 …assertEquals("Invalid event kind,", JDWPConstants.EventKind.MONITOR_CONTENDED_ENTER, event.getEven… in verifyEvent()
66 , JDWPConstants.EventKind.getName(JDWPConstants.EventKind.MONITOR_CONTENDED_ENTER) in verifyEvent()
67 , JDWPConstants.EventKind.getName(event.getEventKind())); in verifyEvent()
68 …riter.println("==> CHECK: Event Kind: " + JDWPConstants.EventKind.getName(JDWPConstants.EventKind.… in verifyEvent()
DSingleStepTest.java129 .setNextValueAsByte(JDWPConstants.EventKind.SINGLE_STEP); in stepFunction()
163 + JDWPConstants.EventKind.getName(parsedEvents[i].getEventKind()) + ")"); in stepFunction()
170 assertEquals("Invalid event kind,", JDWPConstants.EventKind.SINGLE_STEP, in stepFunction()
172 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.SINGLE_STEP), in stepFunction()
173 JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in stepFunction()
182 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()
DThreadEndTest.java73 + " (" + JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind()) + ")"); in testThreadEndEvent001()
75 JDWPConstants.EventKind.THREAD_END, in testThreadEndEvent001()
77 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.THREAD_END), in testThreadEndEvent001()
78 JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testThreadEndEvent001()
DFieldWithLocationTest.java94 if (fieldEventKind == JDWPConstants.EventKind.FIELD_ACCESS) { in checkEvent()
96 } else if (fieldEventKind == JDWPConstants.EventKind.FIELD_MODIFICATION) { in checkEvent()
100 "Unexpected event " + JDWPConstants.EventKind.getName(fieldEventKind)); in checkEvent()
116 return modification ? JDWPConstants.EventKind.FIELD_MODIFICATION : in getFieldEventKind()
117 JDWPConstants.EventKind.FIELD_ACCESS; in getFieldEventKind()
DMonitorWaitedTest.java121 …assertEquals("Invalid event kind,", JDWPConstants.EventKind.MONITOR_WAITED, parsedEvents[0].getEve… in verifyEvent()
122 , JDWPConstants.EventKind.getName(JDWPConstants.EventKind.MONITOR_WAITED) in verifyEvent()
123 , JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in verifyEvent()
124 …riter.println("==> CHECK: Event Kind: " + JDWPConstants.EventKind.getName(JDWPConstants.EventKind.… in verifyEvent()
DSingleStepWithLocationTest.java104 JDWPConstants.EventKind.SINGLE_STEP); in testSingleStepToLocation()
138 + JDWPConstants.EventKind.getName(parsedEvents[i].getEventKind()) + ")"); in testSingleStepToLocation()
145 assertEquals("Invalid event kind,", JDWPConstants.EventKind.SINGLE_STEP, in testSingleStepToLocation()
147 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.SINGLE_STEP), in testSingleStepToLocation()
148 JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testSingleStepToLocation()
153 … debuggeeWrapper.vmMirror.clearEvent(JDWPConstants.EventKind.SINGLE_STEP, (int) requestID); in testSingleStepToLocation()
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()
DThreadStartTest.java79 + " (" + JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind()) + ")"); in testThreadStartEvent001()
81 JDWPConstants.EventKind.THREAD_START, in testThreadStartEvent001()
83 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.THREAD_START), in testThreadStartEvent001()
84 JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testThreadStartEvent001()
DMonitorWaitTest.java121 …assertEquals("Invalid event kind,", JDWPConstants.EventKind.MONITOR_WAIT, parsedEvents[0].getEvent… in verifyEvent()
122 , JDWPConstants.EventKind.getName(JDWPConstants.EventKind.MONITOR_WAIT) in verifyEvent()
123 , JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in verifyEvent()
124 …riter.println("==> CHECK: Event Kind: " + JDWPConstants.EventKind.getName(JDWPConstants.EventKind.… in verifyEvent()
DSingleStepThroughReflectionTest.java89 .setNextValueAsByte(JDWPConstants.EventKind.SINGLE_STEP); in testSingleStepIntoThroughReflection()
154 + JDWPConstants.EventKind.getName(parsedEvents[i].getEventKind()) + ")"); in waitForSingleStepEvent()
164 assertEquals("Invalid event kind,", JDWPConstants.EventKind.SINGLE_STEP, in waitForSingleStepEvent()
166 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.SINGLE_STEP), in waitForSingleStepEvent()
167 JDWPConstants.EventKind.getName(parsedEvent.getEventKind())); in waitForSingleStepEvent()
175 debuggeeWrapper.vmMirror.clearEvent(JDWPConstants.EventKind.SINGLE_STEP, in clearSingleStep()
DMonitorContendedEnteredTest.java102 …assertEquals("Invalid event kind,", JDWPConstants.EventKind.MONITOR_CONTENDED_ENTERED, event.getEv… in verifyEvent()
103 , JDWPConstants.EventKind.getName(JDWPConstants.EventKind.MONITOR_CONTENDED_ENTERED) in verifyEvent()
104 , JDWPConstants.EventKind.getName(event.getEventKind())); in verifyEvent()
105 …riter.println("==> CHECK: Event Kind: " + JDWPConstants.EventKind.getName(JDWPConstants.EventKind.… in verifyEvent()
DBreakpointTest.java70 JDWPConstants.EventKind.BREAKPOINT, in testSetBreakpointEvent()
72 JDWPConstants.EventKind.getName(JDWPConstants.EventKind.BREAKPOINT), in testSetBreakpointEvent()
73 JDWPConstants.EventKind.getName(parsedEvents[0].getEventKind())); in testSetBreakpointEvent()
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DEventRequestManagerImpl.java334 return JDWP.EventKind.BREAKPOINT; in eventCmd()
349 return JDWP.EventKind.CLASS_PREPARE; in eventCmd()
380 return JDWP.EventKind.CLASS_UNLOAD; in eventCmd()
425 return JDWP.EventKind.EXCEPTION; in eventCmd()
440 return JDWP.EventKind.METHOD_ENTRY; in eventCmd()
463 methodExitEventCmd = JDWP.EventKind.METHOD_EXIT_WITH_RETURN_VALUE; in MethodExitRequestImpl()
465 methodExitEventCmd = JDWP.EventKind.METHOD_EXIT; in MethodExitRequestImpl()
487 return JDWP.EventKind.MONITOR_CONTENDED_ENTER; in eventCmd()
502 return JDWP.EventKind.MONITOR_CONTENDED_ENTERED; in eventCmd()
517 return JDWP.EventKind.MONITOR_WAIT; in eventCmd()
[all …]
DEventSetImpl.java476 super((byte)JDWP.EventKind.VM_DISCONNECTED); in VMDisconnectEventImpl()
582 case JDWP.EventKind.VM_DISCONNECTED: in EventSetImpl()
700 case JDWP.EventKind.THREAD_START: in createEvent()
704 case JDWP.EventKind.THREAD_END: in createEvent()
708 case JDWP.EventKind.EXCEPTION: in createEvent()
712 case JDWP.EventKind.BREAKPOINT: in createEvent()
716 case JDWP.EventKind.METHOD_ENTRY: in createEvent()
720 case JDWP.EventKind.METHOD_EXIT: in createEvent()
724 case JDWP.EventKind.METHOD_EXIT_WITH_RETURN_VALUE: in createEvent()
728 case JDWP.EventKind.FIELD_ACCESS: in createEvent()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/
DJDWPEventModifierTestCase.java62 byte eventKind = JDWPConstants.EventKind.BREAKPOINT; in createBreakpointEventBuilder()
78 byte eventKind = JDWPConstants.EventKind.EXCEPTION; in createExceptionEventBuilder()
96 return Event.builder(JDWPConstants.EventKind.METHOD_ENTRY, TEST_SUSPEND_POLICY) in createMethodEntryEventBuilder()
109 return Event.builder(JDWPConstants.EventKind.METHOD_EXIT, TEST_SUSPEND_POLICY) in createMethodExitEventBuilder()
123 .builder(JDWPConstants.EventKind.METHOD_EXIT_WITH_RETURN_VALUE, TEST_SUSPEND_POLICY) in createMethodExitWithReturnValueEventBuilder()
133 return Event.builder(JDWPConstants.EventKind.THREAD_START, TEST_SUSPEND_POLICY); in createThreadStartBuilder()
142 return Event.builder(JDWPConstants.EventKind.THREAD_END, TEST_SUSPEND_POLICY); in createThreadEndBuilder()
179 eventKind = JDWPConstants.EventKind.FIELD_MODIFICATION; in createFieldEventBuilder()
181 eventKind = JDWPConstants.EventKind.FIELD_ACCESS; in createFieldEventBuilder()
198 String eventName = JDWPConstants.EventKind.getName(event.eventKind); in requestEvent()
[all …]
/external/llvm-project/clang/lib/DirectoryWatcher/mac/
DDirectoryWatcher-mac.cpp65 DirectoryWatcher::Event::EventKind::WatcherGotInvalidated, ""), in ~DirectoryWatcherMac()
119 DirectoryWatcher::Event::EventKind::WatcherGotInvalidated, ""}); in eventStreamCallback()
127 DirectoryWatcher::Event::EventKind::WatchedDirRemoved, ""}); in eventStreamCallback()
129 DirectoryWatcher::Event::EventKind::WatcherGotInvalidated, ""}); in eventStreamCallback()
135 Events.emplace_back(DirectoryWatcher::Event::EventKind::Removed, in eventStreamCallback()
140 Events.emplace_back(DirectoryWatcher::Event::EventKind::Removed, in eventStreamCallback()
143 Events.emplace_back(DirectoryWatcher::Event::EventKind::Modified, in eventStreamCallback()
151 DirectoryWatcher::Event::EventKind::WatcherGotInvalidated, ""}); in eventStreamCallback()

1234