Home
last modified time | relevance | path

Searched refs:requestID (Results 1 – 25 of 41) sorted by relevance

12

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Deoptimization/
DDeoptimizationWithExceptionHandlingTest.java107 int requestID = debuggeeWrapper.vmMirror.setBreakpointAtMethodBegin(debuggeeClassID, in stopOnBreakpoint() local
114 debuggeeWrapper.vmMirror.waitForBreakpoint(requestID); in stopOnBreakpoint()
117 debuggeeWrapper.vmMirror.clearBreakpoint(requestID); in stopOnBreakpoint()
130 int requestID = replyPacket.getNextValueAsInt(); in requestExceptionEvent() local
132 return requestID; in requestExceptionEvent()
135 private void waitForExceptionEvent(int requestID) { in waitForExceptionEvent() argument
142 assertEquals("Not the excepted event", requestID, parsedEvents[0].getRequestID()); in waitForExceptionEvent()
145 debuggeeWrapper.vmMirror.clearEvent(eventKind, requestID); in waitForExceptionEvent()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DSingleStepWithLocationTest.java63 int requestID = debuggeeWrapper.vmMirror.setBreakpointAtMethodBegin( in testSingleStepToLocation() local
65 logWriter.println("=> breakpointID = " + requestID); in testSingleStepToLocation()
73 .waitForBreakpoint(requestID); in testSingleStepToLocation()
78 debuggeeWrapper.vmMirror.clearBreakpoint((int)requestID); in testSingleStepToLocation()
118 requestID = setRequestReply.getNextValueAsInt(); in testSingleStepToLocation()
120 logWriter.println("=> RequestID = " + requestID); in testSingleStepToLocation()
145 assertEquals("Received wrong event request ID,", requestID, parsedEvents[0].getRequestID()); in testSingleStepToLocation()
154 … debuggeeWrapper.vmMirror.clearEvent(JDWPConstants.EventKind.SINGLE_STEP, (int) requestID); in testSingleStepToLocation()
DSingleStepTest.java113 int requestID = debuggeeWrapper.vmMirror.setBreakpointAtMethodBegin( in stepFunction() local
115 logWriter.println("=> breakpointID = " + requestID); in stepFunction()
122 .waitForBreakpoint(requestID); in stepFunction()
146 requestID = setRequestReply.getNextValueAsInt(); in stepFunction()
148 logWriter.println("=> RequestID = " + requestID); in stepFunction()
173 assertEquals("Received wrong event request ID,", requestID, parsedEvents[0].getRequestID()); in stepFunction()
186 debuggeeWrapper.vmMirror.clearEvent(JDWPConstants.EventKind.SINGLE_STEP, requestID); in stepFunction()
DCombinedExceptionEventsTest.java126 int requestID = parsedEvent.getRequestID(); in runCombinedExceptionEventsTest() local
129 + ", requestID=" + requestID); in runCombinedExceptionEventsTest()
159 receivedRequests[i] = requestID; in runCombinedExceptionEventsTest()
179 int requestID = replyPacket.getNextValueAsInt(); in requestException() local
181 printTestLog("Created request " + requestID); in requestException()
182 return requestID; in requestException()
DClassUnloadTest.java79 int requestID = reply.getNextValueAsInt(); in testClassUnloadEvent() local
80 logWriter.println("=> Created requestID for ClassUnload event: " + requestID); in testClassUnloadEvent()
98 … reply = debuggeeWrapper.vmMirror.clearEvent(JDWPConstants.EventKind.CLASS_UNLOAD, requestID); in testClassUnloadEvent()
118 assertEquals("Invalid event request,", requestID in testClassUnloadEvent()
DVMDeath002Test.java44 int requestID = 0; field in VMDeath002Test
91 requestID = setRequestReply.getNextValueAsInt(); in testVMDeathRequest()
92 logWriter.println("==> RequestID = " + requestID); in testVMDeathRequest()
127 if (eventRequestID == requestID) { in testVMDeathRequest()
DExceptionBaseTest.java38 protected ParsedEvent.Event_EXCEPTION receiveAndCheckExceptionEvent(int requestID) { in receiveAndCheckExceptionEvent() argument
53 assertEquals("Invalid event request ID", requestID, parsedEvents[0].getRequestID()); in receiveAndCheckExceptionEvent()
62 debuggeeWrapper.vmMirror.clearEvent(JDWPConstants.EventKind.EXCEPTION, requestID); in receiveAndCheckExceptionEvent()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/
DInvokeMethodTest.java73 int requestID = reply.getNextValueAsInt(); in setEventRequest() local
74 logWriter.println(" EventRequest.Set: requestID=" + requestID); in setEventRequest()
76 return requestID; in setEventRequest()
79 protected long waitEvent(int requestID) { in waitEvent() argument
97 if (newRequestID == requestID) { in waitEvent()
106 protected void clearEvent(int requestID) { in clearEvent() argument
111 packet.setNextValueAsInt(requestID); in clearEvent()
186 int requestID = setEventRequest(); in testInvokeMethod001() local
191 long targetThreadID = waitEvent(requestID); in testInvokeMethod001()
194 clearEvent(requestID); in testInvokeMethod001()
[all …]
DInvokeMethodDefaultTest.java66 int requestID = reply.getNextValueAsInt(); in testInvokeMethod() local
67 logWriter.println(" EventRequest.Set: requestID=" + requestID); in testInvokeMethod()
87 if (newRequestID == requestID) { in testInvokeMethod()
95 debuggeeWrapper.vmMirror.clearEvent(JDWPConstants.EventKind.METHOD_ENTRY, requestID); in testInvokeMethod()
DInvokeMethod002Test.java68 int requestID = reply.getNextValueAsInt(); in testInvokeMethod_null_argument() local
69 logWriter.println(" EventRequest.Set: requestID=" + requestID); in testInvokeMethod_null_argument()
88 if (newRequestID == requestID) { in testInvokeMethod_null_argument()
100 packet.setNextValueAsInt(requestID); in testInvokeMethod_null_argument()
DInvokeMethodDefault002Test.java67 int requestID = reply.getNextValueAsInt(); in testInvokeMethod() local
68 logWriter.println(" EventRequest.Set: requestID=" + requestID); in testInvokeMethod()
87 if (newRequestID == requestID) { in testInvokeMethod()
95 debuggeeWrapper.vmMirror.clearEvent(JDWPConstants.EventKind.METHOD_ENTRY, requestID); in testInvokeMethod()
DInvokeMethod003Test.java70 int requestID = reply.getNextValueAsInt(); in testInvokeMethod_toString() local
71 logWriter.println(" EventRequest.Set: requestID=" + requestID); in testInvokeMethod_toString()
90 if (newRequestID == requestID) { in testInvokeMethod_toString()
102 packet.setNextValueAsInt(requestID); in testInvokeMethod_toString()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
DResume002Test.java58 int requestID = installBreakpoint(); in testResume_PartialSuspension() local
64 waitBreakpointHits(requestID); in testResume_PartialSuspension()
84 int requestID = breakpointReply.getNextValueAsInt(); in installBreakpoint() local
85 return requestID; in installBreakpoint()
88 private void waitBreakpointHits(int requestID) { in waitBreakpointHits() argument
91 long eventThreadID = debuggeeWrapper.vmMirror.waitForBreakpoint(requestID); in waitBreakpointHits()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/DebuggerOnDemand/
DOnthrowLaunchDebugger002.java64 int requestID = 0; in testDebugger() local
66 requestID = debuggeeWrapper.vmMirror.setBreakpointAtMethodBegin( in testDebugger()
74 logWriter.println("**> RequestID = " + requestID); in testDebugger()
82 breakpointThreadID = debuggeeWrapper.vmMirror.waitForBreakpoint(requestID); in testDebugger()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/
DJDWPEventModifierTestCase.java212 int requestID = reply.getNextValueAsInt(); in requestEvent() local
214 return requestID; in requestEvent()
224 protected EventThread waitForEvent(byte eventKind, int requestID) { in waitForEvent() argument
230 "Waiting for " + eventName + " with requestID " + requestID + " ..."); in waitForEvent()
238 assertEquals(requestID, event.getRequestID()); in waitForEvent()
249 protected void clearAndResume(byte eventKind, int requestID) { in clearAndResume() argument
250 clearEvent(eventKind, requestID, true); in clearAndResume()
DCountModifierTest.java226 int requestID = requestEvent(event); in testEventWithCountModifier() local
228 waitForEvent(event.eventKind, requestID); in testEventWithCountModifier()
235 clearAndResume(event.eventKind, requestID); in testEventWithCountModifier()
DThreadOnlyModifierTest.java253 int requestID = requestEvent(event); in testEventWithThreadOnlyModifier() local
255 EventThread eventThread = waitForEvent(event.eventKind, requestID); in testEventWithThreadOnlyModifier()
258 clearAndResume(event.eventKind, requestID); in testEventWithThreadOnlyModifier()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
DInvokeMethodTest.java126 int requestID = reply.getNextValueAsInt(); in testInvokeMethod001() local
127 logWriter.println(" EventRequest.Set: requestID=" + requestID); in testInvokeMethod001()
146 if (newRequestID == requestID) { in testInvokeMethod001()
158 packet.setNextValueAsInt(requestID); in testInvokeMethod001()
278 int requestID = reply.getNextValueAsInt(); in testInvokeMethod002() local
279 logWriter.println(" EventRequest.Set: requestID=" + requestID); in testInvokeMethod002()
301 if (newRequestID == requestID) { in testInvokeMethod002()
313 packet.setNextValueAsInt(requestID); in testInvokeMethod002()
415 int requestID = reply.getNextValueAsInt(); in testInvokeMethod003() local
416 logWriter.println(" EventRequest.Set: requestID=" + requestID); in testInvokeMethod003()
[all …]
DInvokeMethod003Test.java68 int requestID = reply.getNextValueAsInt(); in testInvokeMethod_null_argument() local
69 logWriter.println(" EventRequest.Set: requestID=" + requestID); in testInvokeMethod_null_argument()
88 if (newRequestID == requestID) { in testInvokeMethod_null_argument()
100 packet.setNextValueAsInt(requestID); in testInvokeMethod_null_argument()
DNewInstanceTest.java123 int requestID = reply.getNextValueAsInt(); in testNewInstance001() local
124 logWriter.println(" EventRequest.Set: requestID=" + requestID); in testNewInstance001()
145 if (newRequestID == requestID) { in testNewInstance001()
157 packet.setNextValueAsInt(requestID); in testNewInstance001()
334 int requestID = reply.getNextValueAsInt(); in testNewInstance002() local
335 logWriter.println(" EventRequest.Set: requestID=" + requestID); in testNewInstance002()
356 if (newRequestID == requestID) { in testNewInstance002()
368 packet.setNextValueAsInt(requestID); in testNewInstance002()
DNewInstance002Test.java69 int requestID = reply.getNextValueAsInt(); in testNewInstance_null_argument() local
70 logWriter.println(" EventRequest.Set: requestID=" + requestID); in testNewInstance_null_argument()
89 if (newRequestID == requestID) { in testNewInstance_null_argument()
101 packet.setNextValueAsInt(requestID); in testNewInstance_null_argument()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/MultiSession/
DSingleStepTest.java79 int requestID = debuggeeWrapper.vmMirror.setBreakpointAtMethodBegin( in stepFunction() local
81 logWriter.println("=> breakpointID = " + requestID); in stepFunction()
88 .waitForBreakpoint(requestID); in stepFunction()
112 requestID = setRequestReply.getNextValueAsInt(); in stepFunction()
113 logWriter.println("=> RequestID = " + requestID); in stepFunction()
DVMDeathTest.java45 int requestID = 0; field in VMDeathTest
83 requestID = setRequestReply.getNextValueAsInt(); in testVMDeathRequest()
84 logWriter.println("=> RequestID = " + requestID); in testVMDeathRequest()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/
DPopFrames002Test.java85 int requestID = debuggeeWrapper.vmMirror.setBreakpointAtMethodBegin( in testPopSeveralFrames() local
94 .waitForBreakpoint(requestID); in testPopSeveralFrames()
169 .waitForBreakpoint(requestID); in testPopSeveralFrames()
208 int requestID = debuggeeWrapper.vmMirror.setBreakpointAtMethodBegin( in testPopSeveralTimes() local
216 .waitForBreakpoint(requestID); in testPopSeveralTimes()
263 .waitForBreakpoint(requestID); in testPopSeveralTimes()
302 int requestID = debuggeeWrapper.vmMirror.setBreakpointAtMethodBegin( in testPopFramesWithInvokeMethods() local
311 .waitForBreakpoint(requestID); in testPopFramesWithInvokeMethods()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/InterfaceType/
DInvokeMethodTest.java67 int requestID = reply.getNextValueAsInt(); in testInvokeMethodStatic() local
68 logWriter.println(" EventRequest.Set: requestID=" + requestID); in testInvokeMethodStatic()
87 if (newRequestID == requestID) { in testInvokeMethodStatic()
95 debuggeeWrapper.vmMirror.clearEvent(JDWPConstants.EventKind.METHOD_ENTRY, requestID); in testInvokeMethodStatic()

12