HomeSort by relevance Sort by last modified time
    Searched defs:classID (Results 1 - 25 of 66) sorted by null

1 2 3

  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
Location.java 35 public long classID;
44 classID = 0;
52 public Location(byte tag, long classID, long methodID, long index) {
54 this.classID = classID;
64 return "Location: tag="+tag+", classID="+classID+", methodID="+methodID+", index="+index;
75 return classID == loc.classID && methodID == loc.methodID
Field.java 37 private long classID;
52 classID = -1;
63 * @param classID
72 public Field(long id, long classID, String name, String signature,
75 this.classID = classID;
157 return classID;
294 return this.id == field.id && this.classID == field.classID
308 String str = "Field: id=" + id + ", classID=" + classID + ", name='
    [all...]
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
BreakpointTest.java 55 long classID = getClassIDBySignature(getDebuggeeClassSignature());
56 int requestID = debuggeeWrapper.vmMirror.setBreakpointAtMethodBegin(classID,
Breakpoint002Test.java 160 long classID = debuggeeWrapper.vmMirror.getClassID(getDebuggeeClassSignature());
161 assertTrue("Failed to find debuggee class", classID != -1);
164 int breakpointReqID = debuggeeWrapper.vmMirror.setBreakpointAtMethodBegin(classID, methodName);
BreakpointMultipleTest.java 51 long classID = getClassIDBySignature(getDebuggeeClassSignature());
52 int breakpoint1 = setBreakpoint(classID);
53 int breakpoint2 = setBreakpoint(classID);
60 int breakpoint3 = setBreakpoint(classID);
81 long classID = getClassIDBySignature(getDebuggeeClassSignature());
82 int breakpoint1 = setBreakpoint(classID);
83 int breakpoint2 = setBreakpoint(classID);
113 private int setBreakpoint(long classID) {
115 return mirror.setBreakpointAtMethodBegin(classID, "breakpointTest");
BreakpointOnCatchTest.java 51 long classID = getClassIDBySignature(getDebuggeeClassSignature());
52 long methodID = getMethodID(classID, BreakpointOnCatchDebuggee.BREAKPOINT_METHOD_NAME);
69 assertEquals("Invalid class ID:", classID, catchLocation.classID);
Breakpoint003Test.java 60 long classID = debuggeeWrapper.vmMirror.getClassID(className);
61 assertTrue("Failed to find " + className + " class", classID != -1);
63 classID, methodName);
93 String receivedMethodName = getMethodName(location.classID, location.methodID);
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Method/
BytecodesTest.java 51 long classID = getClassIDBySignature("L"+getDebuggeeClassName().replace('.', '/')+";");
53 MethodInfo[] methodsInfo = jdwpGetMethodsInfo(classID);
63 packet.setNextValueAsClassID(classID);
IsObsoleteTest.java 49 long classID = getClassIDBySignature("L"+getDebuggeeClassName().replace('.', '/')+";");
51 MethodInfo[] methodsInfo = jdwpGetMethodsInfo(classID);
61 packet.setNextValueAsClassID(classID);
LineTableTest.java 47 long classID = getClassIDBySignature("L"+getDebuggeeClassName().replace('.', '/')+";");
49 MethodInfo[] methodsInfo = jdwpGetMethodsInfo(classID);
56 ReplyPacket reply = getLineTable(classID, methodsInfo[i].getMethodID());
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayReference/
LengthTest.java 53 // obtain classID
54 long classID = getClassIDBySignature("Lorg/apache/harmony/jpda/tests/jdwp/ArrayReference/ArrayReferenceDebuggee;");
60 packet.setNextValueAsReferenceTypeID(classID);
73 checkArrayLength(classID, fieldID, JDWPConstants.Error.NONE, 10);
76 checkArrayLength(classID, fieldID, JDWPConstants.Error.NONE, 8);
79 checkArrayLength(classID, fieldID, JDWPConstants.Error.INVALID_ARRAY, 0);
87 private void checkArrayLength(long classID, long fieldID, int error, int length) {
88 //System.err.println("classID="+classID);
93 packet.setNextValueAsReferenceTypeID(classID);
    [all...]
GetValuesTest.java 55 // obtain classID
56 long classID = getClassIDBySignature(debuggeeSig);
62 packet.setNextValueAsReferenceTypeID(classID);
76 checkArrayValues(classID, fieldID, JDWPConstants.Error.NONE, 1,
82 checkArrayValues(classID, fieldID, JDWPConstants.Error.NONE, 1,
88 checkArrayValues(classID, fieldID, JDWPConstants.Error.NONE, 1,
94 checkArrayValues(classID, fieldID, JDWPConstants.Error.NONE, 1,
100 checkArrayValues(classID, fieldID, JDWPConstants.Error.NONE, 1,
106 checkArrayValues(classID, fieldID, JDWPConstants.Error.NONE, 1,
113 checkArrayValues(classID, fieldID, JDWPConstants.Error.NONE, 10
    [all...]
SetValuesTest.java 53 // obtain classID
54 long classID = getClassIDBySignature("Lorg/apache/harmony/jpda/tests/jdwp/ArrayReference/ArrayReferenceDebuggee;");
60 packet.setNextValueAsReferenceTypeID(classID);
77 checkArrayValues(valuesRegion, classID, fieldID);
84 checkArrayValues(valuesRegion, classID, fieldID);
91 checkArrayValues(valuesRegion, classID, fieldID);
98 private void checkArrayValues(ArrayRegion valuesRegion, long classID,
103 packet.setNextValueAsReferenceTypeID(classID);
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
SetValuesTest.java 52 long classID = getClassIDBySignature(getDebuggeeSignature());
54 FieldInfo[] fields = jdwpGetFieldIDs(classID);
59 testField(classID, field);
63 private void testField(long classID, FieldInfo fieldInfo) {
70 testField(classID, fieldInfo, Value.createByte(Byte.MIN_VALUE));
71 testField(classID, fieldInfo, Value.createByte(Byte.MAX_VALUE));
72 testField(classID, fieldInfo, Value.createByte((byte)0));
75 testField(classID, fieldInfo, Value.createChar(Character.MAX_VALUE));
76 testField(classID, fieldInfo, Value.createChar(Character.MIN_VALUE));
79 testField(classID, fieldInfo, Value.createFloat(Float.MIN_VALUE))
    [all...]
SuperClassTest.java 41 private ReplyPacket jdwpGetSuperClassReply(long classID, int errorExpected) {
45 packet.setNextValueAsClassID(classID);
85 long classID = getClassIDBySignature("Ljava/lang/String;");
87 ReplyPacket reply = jdwpGetSuperClassReply(classID, JDWPConstants.Error.NONE);
95 long classID = getClassIDBySignature("[Ljava/lang/String;");
97 ReplyPacket reply = jdwpGetSuperClassReply(classID, JDWPConstants.Error.NONE);
105 long classID = getClassIDBySignature("[I");
107 ReplyPacket reply = jdwpGetSuperClassReply(classID, JDWPConstants.Error.NONE);
114 long classID = getClassIDBySignature(getDebuggeeSignature());
116 ReplyPacket reply = jdwpGetSuperClassReply(classID, JDWPConstants.Error.NONE)
    [all...]
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/MultiSession/
BreakpointTest.java 62 long classID = debuggeeWrapper.vmMirror.getClassID(DEBUGGEE_SIGNATURE);
66 classID, METHOD_NAME);
ClassObjectIDTest.java 49 * <BR>It runs multiSessionDebuggee, gets classID and classObjectID, re-connects
58 long classID = debuggeeWrapper.vmMirror.getClassID(DEBUGGEE_SIGNATURE);
59 long classObjectID = debuggeeWrapper.vmMirror.getClassObjectId(classID);
71 logWriter.println("=> Trying to get classID using old classObjectID");
MethodEntryExitTest.java 65 long classID = debuggeeWrapper.vmMirror.getClassID(DEBUGGEE_SIGNATURE);
70 classID, METHOD_NAME);
RefTypeIDTest.java 49 * <BR>It runs multiSessionDebuggee, gets classID, re-connects
50 * and tries to set request for BREAKPOINT event using classID, received before
58 long classID = debuggeeWrapper.vmMirror.getClassID(DEBUGGEE_SIGNATURE);
71 logWriter.println("=> Trying to set a breakpoint using old classID");
75 .setBreakpointAtMethodBegin(classID, METHOD_NAME);
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/
ThisObjectTest.java 111 String methodName = debuggeeWrapper.vmMirror.getMethodName(frameIDs[i].location.classID, frameIDs[i].location.methodID);
114 String methodSig = debuggeeWrapper.vmMirror.getMethodSignature(frameIDs[i].location.classID, frameIDs[i].location.methodID);
117 String classSig = debuggeeWrapper.vmMirror.getClassSignature(frameIDs[i].location.classID);
137 long classID = getObjectReferenceType(thisObject.objectID);
138 logWriter.println("==> class=" + debuggeeWrapper.vmMirror.getClassSignature(classID));
GetValues002Test.java 180 long classID = getClassIDBySignature(getDebuggeeClassSignature());
181 Value thisValue = getStaticFieldValue(classID, "THIS_OBJECT");
198 long classID = getClassIDBySignature(getDebuggeeClassSignature());
199 Value oldValue = getStaticFieldValue(classID, "OBJECT_PARAM_VALUE");
216 long classID = getClassIDBySignature(getDebuggeeClassSignature());
217 Value oldValue = getStaticFieldValue(classID, "ARRAY_PARAM_VALUE");
234 long classID = getClassIDBySignature(getDebuggeeClassSignature());
235 Value oldValue = getStaticFieldValue(classID, "ARRAY_PARAM_VALUE");
251 long classID = getClassIDBySignature(getDebuggeeClassSignature());
252 Value oldValue = getStaticFieldValue(classID, "CLASS_PARAM_VALUE")
    [all...]
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
StopTest.java 67 long classID =
71 debuggeeWrapper.vmMirror.getFieldID(classID, StopDebuggee.FIELD_NAME);
78 packet.setNextValueAsReferenceTypeID(classID);
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
DisposeDuringInvokeTest.java 59 long classID = getClassIDBySignature(getDebuggeeClassSignature());
60 long invokedMethodId = getMethodID(classID,
62 int breakpointID = debuggeeWrapper.vmMirror.setBreakpointAtMethodBegin(classID,
65 long thisObjectId = getReceiverObjectId(classID);
79 command.setNextValueAsClassID(classID);
110 * @param classID
114 private long getReceiverObjectId(long classID) {
115 long thisObjectFieldID = checkField(classID, DisposeDuringInvokeDebuggee.THIS_FIELD_NAME);
117 debuggeeWrapper.vmMirror.getReferenceTypeValue(classID, thisObjectFieldID);
Resume002Test.java 78 long classID = getClassIDBySignature(getDebuggeeClassSignature());
79 long methodID = getMethodID(classID, BREAKPOINT_METHOD_NAME);
80 Location location = new Location(JDWPConstants.TypeTag.CLASS, classID, methodID, 0);
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/
JDWPInvokeMethodSuspendedTwiceTestCase.java 60 long classID = getClassIDBySignature(getDebuggeeClassSignature());
61 long invokeMethodID = getMethodID(classID, invokedMethodName);
65 int breakpointEventThread = debuggeeWrapper.vmMirror.setBreakpointAtMethodBegin(classID,
90 CommandPacket invokeMethodCommand = buildInvokeCommand(eventThreadOne, classID,
124 CommandPacket anotherInvokeMethodCommand = buildInvokeCommand(eventThreadOne, classID,
164 * @param classID
172 protected abstract CommandPacket buildInvokeCommand(long threadId, long classID,

Completed in 647 milliseconds

1 2 3