Home
last modified time | relevance | path

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

12

/external/libmojo/mojo/public/js/
Drouter.js51 var requestID = this.nextRequestID_++;
52 if (requestID == 0)
53 requestID = this.nextRequestID_++;
55 message.setRequestID(requestID);
61 this.completers_.set(requestID, completer);
108 var requestID = reader.requestID;
109 var completer = this.completers_.get(requestID);
110 this.completers_.delete(requestID);
/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.java64 int requestID = debuggeeWrapper.vmMirror.setBreakpointAtMethodBegin( in testSingleStepToLocation() local
66 logWriter.println("=> breakpointID = " + requestID); in testSingleStepToLocation()
74 .waitForBreakpoint(requestID); in testSingleStepToLocation()
79 debuggeeWrapper.vmMirror.clearBreakpoint((int)requestID); in testSingleStepToLocation()
119 requestID = setRequestReply.getNextValueAsInt(); in testSingleStepToLocation()
121 logWriter.println("=> RequestID = " + requestID); in testSingleStepToLocation()
146 assertEquals("Received wrong event request ID,", requestID, parsedEvents[0].getRequestID()); in testSingleStepToLocation()
155 … debuggeeWrapper.vmMirror.clearEvent(JDWPConstants.EventKind.SINGLE_STEP, (int) requestID); in testSingleStepToLocation()
DSingleStepTest.java114 int requestID = debuggeeWrapper.vmMirror.setBreakpointAtMethodBegin( in stepFunction() local
116 logWriter.println("=> breakpointID = " + requestID); in stepFunction()
123 .waitForBreakpoint(requestID); in stepFunction()
147 requestID = setRequestReply.getNextValueAsInt(); in stepFunction()
149 logWriter.println("=> RequestID = " + requestID); in stepFunction()
174 assertEquals("Received wrong event request ID,", requestID, parsedEvents[0].getRequestID()); in stepFunction()
187 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.java80 int requestID = reply.getNextValueAsInt(); in testClassUnloadEvent() local
81 logWriter.println("=> Created requestID for ClassUnload event: " + requestID); in testClassUnloadEvent()
99 … reply = debuggeeWrapper.vmMirror.clearEvent(JDWPConstants.EventKind.CLASS_UNLOAD, requestID); in testClassUnloadEvent()
119 assertEquals("Invalid event request,", requestID in testClassUnloadEvent()
DVMDeath002Test.java44 int requestID = 0; field in VMDeath002Test
92 requestID = setRequestReply.getNextValueAsInt(); in testVMDeathRequest()
93 logWriter.println("==> RequestID = " + requestID); in testVMDeathRequest()
128 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.java74 int requestID = reply.getNextValueAsInt(); in setEventRequest() local
75 logWriter.println(" EventRequest.Set: requestID=" + requestID); in setEventRequest()
77 return requestID; in setEventRequest()
80 protected long waitEvent(int requestID) { in waitEvent() argument
98 if (newRequestID == requestID) { in waitEvent()
107 protected void clearEvent(int requestID) { in clearEvent() argument
112 packet.setNextValueAsInt(requestID); in clearEvent()
187 int requestID = setEventRequest(); in testInvokeMethod001() local
192 long targetThreadID = waitEvent(requestID); in testInvokeMethod001()
195 clearEvent(requestID); in testInvokeMethod001()
[all …]
DInvokeMethodDefault002Test.java68 int requestID = reply.getNextValueAsInt(); in testInvokeMethod() local
69 logWriter.println(" EventRequest.Set: requestID=" + requestID); in testInvokeMethod()
88 if (newRequestID == requestID) { in testInvokeMethod()
96 debuggeeWrapper.vmMirror.clearEvent(JDWPConstants.EventKind.METHOD_ENTRY, requestID); in testInvokeMethod()
DInvokeMethodDefaultTest.java67 int requestID = reply.getNextValueAsInt(); in testInvokeMethod() local
68 logWriter.println(" EventRequest.Set: requestID=" + requestID); in testInvokeMethod()
88 if (newRequestID == requestID) { in testInvokeMethod()
96 debuggeeWrapper.vmMirror.clearEvent(JDWPConstants.EventKind.METHOD_ENTRY, requestID); in testInvokeMethod()
DInvokeMethod003Test.java71 int requestID = reply.getNextValueAsInt(); in testInvokeMethod_toString() local
72 logWriter.println(" EventRequest.Set: requestID=" + requestID); in testInvokeMethod_toString()
91 if (newRequestID == requestID) { in testInvokeMethod_toString()
103 packet.setNextValueAsInt(requestID); in testInvokeMethod_toString()
DInvokeMethod002Test.java69 int requestID = reply.getNextValueAsInt(); in testInvokeMethod_null_argument() local
70 logWriter.println(" EventRequest.Set: requestID=" + requestID); in testInvokeMethod_null_argument()
89 if (newRequestID == requestID) { in testInvokeMethod_null_argument()
101 packet.setNextValueAsInt(requestID); in testInvokeMethod_null_argument()
/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.java65 int requestID = 0; in testDebugger() local
67 requestID = debuggeeWrapper.vmMirror.setBreakpointAtMethodBegin( in testDebugger()
75 logWriter.println("**> RequestID = " + requestID); in testDebugger()
83 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.java225 int requestID = requestEvent(event); in testEventWithCountModifier() local
227 waitForEvent(event.eventKind, requestID); in testEventWithCountModifier()
234 clearAndResume(event.eventKind, requestID); in testEventWithCountModifier()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
DInvokeMethodTest.java127 int requestID = reply.getNextValueAsInt(); in testInvokeMethod001() local
128 logWriter.println(" EventRequest.Set: requestID=" + requestID); in testInvokeMethod001()
147 if (newRequestID == requestID) { in testInvokeMethod001()
159 packet.setNextValueAsInt(requestID); in testInvokeMethod001()
279 int requestID = reply.getNextValueAsInt(); in testInvokeMethod002() local
280 logWriter.println(" EventRequest.Set: requestID=" + requestID); in testInvokeMethod002()
302 if (newRequestID == requestID) { in testInvokeMethod002()
314 packet.setNextValueAsInt(requestID); in testInvokeMethod002()
416 int requestID = reply.getNextValueAsInt(); in testInvokeMethod003() local
417 logWriter.println(" EventRequest.Set: requestID=" + requestID); in testInvokeMethod003()
[all …]
DInvokeMethod003Test.java69 int requestID = reply.getNextValueAsInt(); in testInvokeMethod_null_argument() local
70 logWriter.println(" EventRequest.Set: requestID=" + requestID); in testInvokeMethod_null_argument()
89 if (newRequestID == requestID) { in testInvokeMethod_null_argument()
101 packet.setNextValueAsInt(requestID); in testInvokeMethod_null_argument()
DNewInstanceTest.java124 int requestID = reply.getNextValueAsInt(); in testNewInstance001() local
125 logWriter.println(" EventRequest.Set: requestID=" + requestID); in testNewInstance001()
146 if (newRequestID == requestID) { in testNewInstance001()
158 packet.setNextValueAsInt(requestID); in testNewInstance001()
335 int requestID = reply.getNextValueAsInt(); in testNewInstance002() local
336 logWriter.println(" EventRequest.Set: requestID=" + requestID); in testNewInstance002()
357 if (newRequestID == requestID) { in testNewInstance002()
369 packet.setNextValueAsInt(requestID); in testNewInstance002()
DNewInstance002Test.java70 int requestID = reply.getNextValueAsInt(); in testNewInstance_null_argument() local
71 logWriter.println(" EventRequest.Set: requestID=" + requestID); in testNewInstance_null_argument()
90 if (newRequestID == requestID) { in testNewInstance_null_argument()
102 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.java44 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.java86 int requestID = debuggeeWrapper.vmMirror.setBreakpointAtMethodBegin( in testPopSeveralFrames() local
95 .waitForBreakpoint(requestID); in testPopSeveralFrames()
170 .waitForBreakpoint(requestID); in testPopSeveralFrames()
209 int requestID = debuggeeWrapper.vmMirror.setBreakpointAtMethodBegin( in testPopSeveralTimes() local
217 .waitForBreakpoint(requestID); in testPopSeveralTimes()
264 .waitForBreakpoint(requestID); in testPopSeveralTimes()
303 int requestID = debuggeeWrapper.vmMirror.setBreakpointAtMethodBegin( in testPopFramesWithInvokeMethods() local
312 .waitForBreakpoint(requestID); in testPopFramesWithInvokeMethods()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/InterfaceType/
DInvokeMethodTest.java64 int requestID = reply.getNextValueAsInt(); in testInvokeMethodStatic() local
65 logWriter.println(" EventRequest.Set: requestID=" + requestID); in testInvokeMethodStatic()
84 if (newRequestID == requestID) { in testInvokeMethodStatic()
92 debuggeeWrapper.vmMirror.clearEvent(JDWPConstants.EventKind.METHOD_ENTRY, requestID); in testInvokeMethodStatic()

12