/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
D | VmMirror.java | 332 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 …]
|
D | PacketDispatcher.java | 226 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/Events/ |
D | EventWithExceptionTest.java | 421 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 …]
|
D | SingleStepWithPendingExceptionTest.java | 123 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()
|
D | BreakpointOnCatchTest.java | 100 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()
|
D | ExceptionUncaughtTest.java | 191 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.setException(EXCEPTION_SIGNATURE, in requestAndReceiveExceptionEvent() local 193 int requestID = replyPacket.getNextValueAsInt(); in requestAndReceiveExceptionEvent() 194 assertAllDataRead(replyPacket); in requestAndReceiveExceptionEvent()
|
D | EventLocationEventTestCase.java | 97 ReplyPacket replyPacket = getLineTable(typeId, methodId); in requestEventForAllLocations() local 98 long startIndex = replyPacket.getNextValueAsLong(); in requestEventForAllLocations() 99 long endIndex = replyPacket.getNextValueAsLong(); in requestEventForAllLocations()
|
D | CombinedExceptionEventsTest.java | 177 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.setException( in requestException() local 179 int requestID = replyPacket.getNextValueAsInt(); in requestException() 180 assertAllDataRead(replyPacket); in requestException()
|
D | ExceptionCaughtTest.java | 279 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.setException(exceptionSignature, in requestAndReceiveExceptionEvent() local 281 int requestID = replyPacket.getNextValueAsInt(); in requestAndReceiveExceptionEvent() 282 assertAllDataRead(replyPacket); in requestAndReceiveExceptionEvent()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Deoptimization/ |
D | DeoptimizationWithExceptionHandlingTest.java | 121 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/ |
D | InvokeMethodWithSuspensionTest.java | 41 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()
|
D | InvokeMethodAfterMultipleThreadSuspensionTest.java | 43 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/ |
D | GetValuesTest.java | 70 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()
|
D | SetValuesTest.java | 72 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.performCommand(packet); in testSetValues002_InvalidObjectError() local 73 checkReplyPacket(replyPacket, "StackFrame.SetValues", in testSetValues002_InvalidObjectError() 92 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.performCommand(packet); in testSetValues003_ThreadNotSuspendedError() local 93 checkReplyPacket(replyPacket, "StackFrame.SetValues", in testSetValues003_ThreadNotSuspendedError() 117 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.performCommand(packet); in testSetValues004_InvalidFrameIDError() local 118 checkReplyPacket(replyPacket, "StackFrame.SetValues", in testSetValues004_InvalidFrameIDError() 163 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.performCommand(packet); in testSetValues005_InvalidSlotError() local 164 checkReplyPacket(replyPacket, "StackFrame.SetValues", in testSetValues005_InvalidSlotError()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/ |
D | JDWPTestCase.java | 560 ReplyPacket replyPacket = debuggeeWrapper.vmMirror.performCommand(commandPacket); in checkThreadState() local 561 debuggeeWrapper.vmMirror.checkReply(replyPacket); in checkThreadState() 563 int threadStatus = replyPacket.getNextValueAsInt(); in checkThreadState() 564 int suspendStatus = replyPacket.getNextValueAsInt(); in checkThreadState() 565 assertAllDataRead(replyPacket); in checkThreadState()
|