Home
last modified time | relevance | path

Searched refs:replyPacket (Results 1 – 16 of 16) sorted by relevance

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DEventWithExceptionTest.java421 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.setStep(eventThreadId, in setSingleStep() local
423 checkReplyPacket(replyPacket, "Failed to set SINGLE_STEP " + in setSingleStep()
425 return readRequestId(replyPacket); in setSingleStep()
441 ReplyPacket replyPacket = null; in setFieldWatchpoint() local
443 replyPacket = debuggeeWrapper.vmMirror.setFieldAccess(classSignature, classTypeTag, in setFieldWatchpoint()
446 replyPacket = debuggeeWrapper.vmMirror.setFieldModification(classSignature, in setFieldWatchpoint()
451 checkReplyPacket(replyPacket, "Failed to set " + eventKindName); in setFieldWatchpoint()
452 return readRequestId(replyPacket); in setFieldWatchpoint()
458 ReplyPacket replyPacket = null; in setMethodExit() local
460 replyPacket = debuggeeWrapper.vmMirror.setMethodExit(getDebuggeeClassName()); in setMethodExit()
[all …]
DSingleStepWithPendingExceptionTest.java123 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.setException( in setCatchException() local
126 checkReplyPacket(replyPacket, "Failed to set EXCEPTION event request"); in setCatchException()
127 return replyPacket.getNextValueAsInt(); in setCatchException()
131 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.setStep(new String[0], threadId, in setSingleStepOut() local
133 checkReplyPacket(replyPacket, "Failed to set SINGLE_STEP OUT event request"); in setSingleStepOut()
134 return replyPacket.getNextValueAsInt(); in setSingleStepOut()
DBreakpointOnCatchTest.java100 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.setException(exceptionSig, true, false); in requestExceptionCaughtEvent() local
101 return replyPacket.getNextValueAsInt(); in requestExceptionCaughtEvent()
107 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.setBreakpoint(location); in requestBreakpointEvent() local
108 return replyPacket.getNextValueAsInt(); in requestBreakpointEvent()
DExceptionUncaughtTest.java191 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.setException(EXCEPTION_SIGNATURE, in requestAndReceiveExceptionEvent() local
193 int requestID = replyPacket.getNextValueAsInt(); in requestAndReceiveExceptionEvent()
194 assertAllDataRead(replyPacket); in requestAndReceiveExceptionEvent()
DEventLocationEventTestCase.java98 ReplyPacket replyPacket = getLineTable(typeId, methodId); in requestEventForAllLocations() local
99 long startIndex = replyPacket.getNextValueAsLong(); in requestEventForAllLocations()
100 long endIndex = replyPacket.getNextValueAsLong(); in requestEventForAllLocations()
DCombinedExceptionEventsTest.java177 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.setException( in requestException() local
179 int requestID = replyPacket.getNextValueAsInt(); in requestException()
180 assertAllDataRead(replyPacket); in requestException()
DExceptionCaughtTest.java279 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.setException(exceptionSignature, in requestAndReceiveExceptionEvent() local
281 int requestID = replyPacket.getNextValueAsInt(); in requestAndReceiveExceptionEvent()
282 assertAllDataRead(replyPacket); in requestAndReceiveExceptionEvent()
/external/r8/src/test/java/com/android/tools/r8/debug/
DDebugTestBase.java584 ReplyPacket replyPacket = getMirror().performCommand(sourceFileCommand);
585 if (replyPacket.getErrorCode() != 0) {
588 return replyPacket.getNextValueAsString();
614 ReplyPacket replyPacket = getMirror().performCommand(commandPacket);
615 int valuesCount = replyPacket.getNextValueAsInt();
617 return replyPacket.getNextValueAsValue();
641 ReplyPacket replyPacket = getMirror().performCommand(commandPacket);
642 int valuesCount = replyPacket.getNextValueAsInt();
644 Value localValue = replyPacket.getNextValueAsValue();
821 ReplyPacket replyPacket = getMirror().getThreadFrames(threadId, 0, frameCount);
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DVmMirror.java332 ReplyPacket replyPacket = checkReply(performCommand(commandPacket)); in capabilities() local
337 targetVMCapabilities.canWatchFieldModification = replyPacket in capabilities()
339 targetVMCapabilities.canWatchFieldAccess = replyPacket in capabilities()
341 targetVMCapabilities.canGetBytecodes = replyPacket in capabilities()
343 targetVMCapabilities.canGetSyntheticAttribute = replyPacket in capabilities()
345 targetVMCapabilities.canGetOwnedMonitorInfo = replyPacket in capabilities()
347 targetVMCapabilities.canGetCurrentContendedMonitor = replyPacket in capabilities()
349 targetVMCapabilities.canGetMonitorInfo = replyPacket in capabilities()
351 targetVMCapabilities.canRedefineClasses = replyPacket in capabilities()
353 targetVMCapabilities.canAddMethod = replyPacket.getNextValueAsBoolean(); in capabilities()
[all …]
DPacketDispatcher.java226 public void notifyThread(ReplyPacket replyPacket) throws IOException, in notifyThread() argument
232 Integer Id = new Integer(replyPacket.getId()); in notifyThread()
247 replies.put(new Integer(replyPacket.getId()), in notifyThread()
248 replyPacket); in notifyThread()
527 ReplyPacket replyPacket = new ReplyPacket(packet); in run() local
530 int packetLength = replyPacket.getLength(); in run()
539 int replyID = replyPacket.getId(); in run()
551 commandsSynchronyzer.notifyThread(replyPacket); in run()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Deoptimization/
DDeoptimizationWithExceptionHandlingTest.java121 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.setMethodEntry(getDebuggeeClassName()); in installMethodEntry() local
122 replyPacket.getNextValueAsInt(); // unused 'requestID' in installMethodEntry()
123 assertAllDataRead(replyPacket); in installMethodEntry()
128 ReplyPacket replyPacket = in requestExceptionEvent() local
130 int requestID = replyPacket.getNextValueAsInt(); in requestExceptionEvent()
131 assertAllDataRead(replyPacket); in requestExceptionEvent()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/
DInvokeMethodWithSuspensionTest.java41 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.getThreadFrames(threadId, 0, 1); in buildInvokeCommand() local
42 int framesCount = replyPacket.getNextValueAsInt(); in buildInvokeCommand()
44 long topFrameId = replyPacket.getNextValueAsFrameID(); in buildInvokeCommand()
45 replyPacket.getNextValueAsLocation(); // consume 'location' in buildInvokeCommand()
46 assertAllDataRead(replyPacket); in buildInvokeCommand()
DInvokeMethodAfterMultipleThreadSuspensionTest.java43 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.getThreadFrames(threadId, 0, 1); in buildInvokeCommand() local
44 int framesCount = replyPacket.getNextValueAsInt(); in buildInvokeCommand()
46 long topFrameId = replyPacket.getNextValueAsFrameID(); in buildInvokeCommand()
47 replyPacket.getNextValueAsLocation(); // consume 'location' in buildInvokeCommand()
48 assertAllDataRead(replyPacket); in buildInvokeCommand()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/
DGetValuesTest.java70 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.performCommand(packet); in testGetValues002_InvalidObjectError() local
71 checkReplyPacket(replyPacket, "StackFrame.GetValues", in testGetValues002_InvalidObjectError()
90 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.performCommand(packet); in testGetValues003_ThreadNotSuspendedError() local
91 checkReplyPacket(replyPacket, "StackFrame.GetValues", in testGetValues003_ThreadNotSuspendedError()
115 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.performCommand(packet); in testGetValues004_InvalidFrameIDError() local
116 checkReplyPacket(replyPacket, "StackFrame.GetValues", in testGetValues004_InvalidFrameIDError()
158 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.performCommand(packet); in testGetValues005_InvalidSlotError() local
159 checkReplyPacket(replyPacket, "StackFrame.GetValues", in testGetValues005_InvalidSlotError()
DSetValuesTest.java71 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.performCommand(packet); in testSetValues002_InvalidObjectError() local
72 checkReplyPacket(replyPacket, "StackFrame.SetValues", in testSetValues002_InvalidObjectError()
91 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.performCommand(packet); in testSetValues003_ThreadNotSuspendedError() local
92 checkReplyPacket(replyPacket, "StackFrame.SetValues", in testSetValues003_ThreadNotSuspendedError()
116 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.performCommand(packet); in testSetValues004_InvalidFrameIDError() local
117 checkReplyPacket(replyPacket, "StackFrame.SetValues", in testSetValues004_InvalidFrameIDError()
162 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.performCommand(packet); in testSetValues005_InvalidSlotError() local
163 checkReplyPacket(replyPacket, "StackFrame.SetValues", in testSetValues005_InvalidSlotError()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/
DJDWPTestCase.java615 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.performCommand(commandPacket); in checkThreadState() local
616 debuggeeWrapper.vmMirror.checkReply(replyPacket); in checkThreadState()
618 int threadStatus = replyPacket.getNextValueAsInt(); in checkThreadState()
619 int suspendStatus = replyPacket.getNextValueAsInt(); in checkThreadState()
620 assertAllDataRead(replyPacket); in checkThreadState()