Home
last modified time | relevance | path

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

12

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DCombinedEvents002Test.java146 for (byte eventKind : expectedEventKinds) { in prepareDebuggee()
147 String eventKindName = JDWPConstants.EventKind.getName(eventKind); in prepareDebuggee()
152 switch (eventKind) { in prepareDebuggee()
165 requestsMap.put(Byte.valueOf(eventKind), Integer.valueOf(requestId)); in prepareDebuggee()
166 logWriter.println("==> OK - request " + requestId + " for " + eventKind + in prepareDebuggee()
189 byte eventKind = parsedEvents[i].getEventKind(); in receiveEvents()
190 eventKind = parsedEvents[i].getEventKind(); in receiveEvents()
192 + eventKind in receiveEvents()
193 + "(" + JDWPConstants.EventKind.getName(eventKind) + ")"); in receiveEvents()
213 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 = new EventBuilder(eventKind, in requestEventForAllLocations()
130 private void clearAllEvents(byte eventKind) { in clearAllEvents() argument
133 clearEvent(eventKind, requestId.intValue()); in clearAllEvents()
DVMDeath002Test.java119 byte eventKind = event.getEventKind(); in testVMDeathRequest()
120 logWriter.println("===> EventKind=" + eventKind + "/" in testVMDeathRequest()
121 + JDWPConstants.EventKind.getName(eventKind)); in testVMDeathRequest()
126 if (eventKind == JDWPConstants.EventKind.VM_DEATH) { in testVMDeathRequest()
151 + eventKind); in testVMDeathRequest()
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()
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()
DBreakpointMultipleTest.java122 byte eventKind = parsedEvent.getEventKind(); in checkBreakpointEvent()
125 eventKind, in checkBreakpointEvent()
127 JDWPConstants.EventKind.getName(eventKind)); in checkBreakpointEvent()
DFieldWithLocationTest.java126 final byte eventKind = getFieldEventKind(modification); in runFieldLocationTest()
130 runEventWithLocationTest(eventKind); in runFieldLocationTest()
DThreadEndTest.java54 byte eventKind = JDWPConstants.EventKind.THREAD_END; in testThreadEndEvent001()
57 Event eventToSet = new Event(eventKind, suspendPolicy, mods); in testThreadEndEvent001()
DThreadStartTest.java56 byte eventKind = JDWPConstants.EventKind.THREAD_START; in testThreadStartEvent001()
59 Event eventToSet = new Event(eventKind, suspendPolicy, mods); in testThreadStartEvent001()
DCombinedEvents003Test.java280 byte eventKind = parsedEvents[i].getEventKind(); in receiveAndCheckEvents()
284 + ": Event kind = " + eventKind + "(" in receiveAndCheckEvents()
285 + JDWPConstants.EventKind.getName(eventKind) +"); eventThreadID = " in receiveAndCheckEvents()
288 switch ( eventKind ) { in receiveAndCheckEvents()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/
DJDWPEventModifierTestCase.java62 byte eventKind = JDWPConstants.EventKind.BREAKPOINT; in createBreakpointEventBuilder()
63 EventBuilder builder = new EventBuilder(eventKind, TEST_SUSPEND_POLICY); in createBreakpointEventBuilder()
80 byte eventKind = JDWPConstants.EventKind.EXCEPTION; in createExceptionEventBuilder()
81 EventBuilder builder = new EventBuilder(eventKind, TEST_SUSPEND_POLICY); in createExceptionEventBuilder()
185 byte eventKind; in createFieldEventBuilder()
187 eventKind = JDWPConstants.EventKind.FIELD_MODIFICATION; in createFieldEventBuilder()
189 eventKind = JDWPConstants.EventKind.FIELD_ACCESS; in createFieldEventBuilder()
191 EventBuilder builder = new EventBuilder(eventKind, TEST_SUSPEND_POLICY); in createFieldEventBuilder()
208 String eventName = JDWPConstants.EventKind.getName(event.eventKind); in requestEvent()
224 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/
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 …]
DEvent.java33 public byte eventKind; field in Event
44 eventKind = 0; in Event()
53 public Event(byte eventKind, byte suspendPolicy, EventMod[] mods) { in Event() argument
54 this.eventKind = eventKind; in Event()
DVmMirror.java161 byte eventKind = JDWPConstants.EventKind.BREAKPOINT; in setBreakpoint()
168 Event event = new Event(eventKind, suspendPolicy, mods); in setBreakpoint()
194 byte eventKind = JDWPConstants.EventKind.BREAKPOINT; in setCountableBreakpoint()
205 Event event = new Event(eventKind, suspendPolicy, mods); in setCountableBreakpoint()
1006 byte eventKind = JDWPConstants.EventKind.CLASS_PREPARE; in setClassPrepared()
1012 Event event = new Event(eventKind, suspendPolicy, mods); in setClassPrepared()
1027 byte eventKind = JDWPConstants.EventKind.CLASS_PREPARE; in setClassPrepared()
1033 Event event = new Event(eventKind, suspendPolicy, mods); in setClassPrepared()
1050 byte eventKind = JDWPConstants.EventKind.CLASS_PREPARE; in setClassPreparedForSourceNameMatch()
1055 Event event = new Event(eventKind, suspendPolicy, mods); in setClassPreparedForSourceNameMatch()
[all …]
DEventBuilder.java28 private final byte eventKind; field in EventBuilder
32 public EventBuilder(byte eventKind, byte suspendPolicy) { in EventBuilder() argument
33 this.eventKind = eventKind; in EventBuilder()
143 return new Event(eventKind, suspendPolicy, mods); in build()
DPacketDispatcher.java575 byte eventKind = parsedEvents[i].getEventKind(); in run()
576 if (eventKind == eventKindForTrace) { in run()
586 + eventKind in run()
589 .getName(eventKind) in run()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/MultiSession/
DFieldModificationTest.java97 byte eventKind = event.getEventKind(); in testFieldModification001()
98 logWriter.println("=> EventKind=" + eventKind + "/" in testFieldModification001()
99 + JDWPConstants.EventKind.getName(eventKind)); in testFieldModification001()
104 if (eventKind == JDWPConstants.EventKind.VM_DEATH) { in testFieldModification001()
117 + eventKind); in testFieldModification001()
DFieldAccessTest.java96 byte eventKind = event.getEventKind(); in testFieldAccess001()
97 logWriter.println("=> EventKind=" + eventKind + "/" in testFieldAccess001()
98 + JDWPConstants.EventKind.getName(eventKind)); in testFieldAccess001()
103 if (eventKind == JDWPConstants.EventKind.VM_DEATH) { in testFieldAccess001()
116 + eventKind); in testFieldAccess001()
DExceptionTest.java101 byte eventKind = event.getEventKind(); in testException001()
102 logWriter.println("=> EventKind=" + eventKind + "/" in testException001()
103 + JDWPConstants.EventKind.getName(eventKind)); in testException001()
108 if (eventKind == JDWPConstants.EventKind.VM_DEATH) { in testException001()
121 + eventKind); in testException001()
DClassPrepareTest.java100 byte eventKind = event.getEventKind(); in testClassPrepare001()
101 logWriter.println("=> EventKind=" + eventKind + "/" in testClassPrepare001()
102 + JDWPConstants.EventKind.getName(eventKind)); in testClassPrepare001()
107 if (eventKind == JDWPConstants.EventKind.VM_DEATH) { in testClassPrepare001()
120 + eventKind); in testClassPrepare001()
DVMDeathTest.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()
140 + eventKind); in testVMDeathRequest()
DSingleStepTest.java150 byte eventKind = event.getEventKind(); in stepFunction()
151 logWriter.println("=> EventKind=" + eventKind + "/" in stepFunction()
152 + JDWPConstants.EventKind.getName(eventKind)); in stepFunction()
157 if (eventKind == JDWPConstants.EventKind.VM_DEATH) { in stepFunction()
170 + 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.java138 byte eventKind = event.getNextValueAsByte(); in testInvokeMethod001()
144 + eventKind + " requestID=" + newRequestID + " threadID=" in testInvokeMethod001()
293 byte eventKind = event.getNextValueAsByte(); in testInvokeMethod002()
299 + eventKind + " requestID=" + newRequestID + " threadID=" in testInvokeMethod002()
430 byte eventKind = event.getNextValueAsByte(); in testInvokeMethod003()
436 + eventKind + " requestID=" + newRequestID + " threadID=" in testInvokeMethod003()
/external/opencv3/modules/highgui/src/
Dwindow_carbon.cpp958 UInt32 eventKind, eventClass; in windowEventHandler() local
973 eventKind = GetEventKind(theEvent); in windowEventHandler()
978 switch (eventKind){ in windowEventHandler()
995 if (eventKind == kEventMouseUp) in windowEventHandler()
997 if (eventKind == kEventMouseDown) in windowEventHandler()
1003 if (eventKind != kEventMouseMoved){ in windowEventHandler()
1052 switch (eventKind){ in windowEventHandler()
1078 UInt32 eventKind; in keyHandler() local
1082 eventKind = GetEventKind (theEvent); in keyHandler()

12