Lines Matching refs:pReply
56 void dvmJdwpAddLocation(ExpandBuf* pReply, const JdwpLocation* pLoc)
58 expandBufAdd1(pReply, pLoc->typeTag);
59 expandBufAddObjectId(pReply, pLoc->classId);
60 expandBufAddMethodId(pReply, pLoc->methodId);
61 expandBufAdd8BE(pReply, pLoc->idx);
85 static void jdwpWriteValue(ExpandBuf* pReply, int width, u8 value)
88 case 1: expandBufAdd1(pReply, value); break;
89 case 2: expandBufAdd2BE(pReply, value); break;
90 case 4: expandBufAdd4BE(pReply, value); break;
91 case 8: expandBufAdd8BE(pReply, value); break;
103 const u1* buf, int dataLen, ExpandBuf* pReply,
148 expandBufAdd1(pReply, JT_OBJECT);
149 expandBufAddObjectId(pReply, objectId);
153 expandBufAdd1(pReply, resultTag);
155 jdwpWriteValue(pReply, width, resultValue);
157 expandBufAdd1(pReply, JT_OBJECT);
158 expandBufAddObjectId(pReply, exceptObjId);
185 int dataLen, ExpandBuf* pReply)
192 expandBufAddUtf8String(pReply, (const u1*) tmpBuf);
194 expandBufAdd4BE(pReply, 1); // major
195 expandBufAdd4BE(pReply, 5); // minor
197 expandBufAddUtf8String(pReply, (const u1*) "1.5.0"); /* e.g. 1.5.0_04 */
199 expandBufAddUtf8String(pReply, (const u1*) "DalvikVM");
210 const u1* buf, int dataLen, ExpandBuf* pReply)
233 expandBufAdd4BE(pReply, numClasses);
242 expandBufAdd1(pReply, typeTag);
243 expandBufAddRefTypeId(pReply, refTypeId);
244 expandBufAdd4BE(pReply, status);
259 const u1* buf, int dataLen, ExpandBuf* pReply)
265 expandBufAdd4BE(pReply, threadCount);
269 expandBufAddObjectId(pReply, *walker++);
281 const u1* buf, int dataLen, ExpandBuf* pReply)
290 expandBufAdd4BE(pReply, groups);
292 //expandBufAdd8BE(pReply, threadGroupId);
294 expandBufAddObjectId(pReply, threadGroupId);
305 const u1* buf, int dataLen, ExpandBuf* pReply)
307 expandBufAdd4BE(pReply, sizeof(FieldId));
308 expandBufAdd4BE(pReply, sizeof(MethodId));
309 expandBufAdd4BE(pReply, sizeof(ObjectId));
310 expandBufAdd4BE(pReply, sizeof(RefTypeId));
311 expandBufAdd4BE(pReply, sizeof(FrameId));
322 const u1* buf, int dataLen, ExpandBuf* pReply)
334 const u1* buf, int dataLen, ExpandBuf* pReply)
344 const u1* buf, int dataLen, ExpandBuf* pReply)
354 const u1* buf, int dataLen, ExpandBuf* pReply)
371 const u1* buf, int dataLen, ExpandBuf* pReply)
383 expandBufAddObjectId(pReply, stringId);
391 const u1* buf, int dataLen, ExpandBuf* pReply)
393 expandBufAdd1(pReply, false); /* canWatchFieldModification */
394 expandBufAdd1(pReply, false); /* canWatchFieldAccess */
395 expandBufAdd1(pReply, false); /* canGetBytecodes */
396 expandBufAdd1(pReply, true); /* canGetSyntheticAttribute */
397 expandBufAdd1(pReply, false); /* canGetOwnedMonitorInfo */
398 expandBufAdd1(pReply, false); /* canGetCurrentContendedMonitor */
399 expandBufAdd1(pReply, false); /* canGetMonitorInfo */
407 const u1* buf, int dataLen, ExpandBuf* pReply)
418 expandBufAddUtf8String(pReply, (const u1*) baseDir);
419 expandBufAdd4BE(pReply, classPaths);
421 expandBufAddUtf8String(pReply, (const u1*) ".");
424 expandBufAdd4BE(pReply, bootClassPaths);
438 const u1* buf, int dataLen, ExpandBuf* pReply)
447 const u1* buf, int dataLen, ExpandBuf* pReply)
449 expandBufAdd1(pReply, false); /* canWatchFieldModification */
450 expandBufAdd1(pReply, false); /* canWatchFieldAccess */
451 expandBufAdd1(pReply, false); /* canGetBytecodes */
452 expandBufAdd1(pReply, true); /* canGetSyntheticAttribute */
453 expandBufAdd1(pReply, false); /* canGetOwnedMonitorInfo */
454 expandBufAdd1(pReply, false); /* canGetCurrentContendedMonitor */
455 expandBufAdd1(pReply, false); /* canGetMonitorInfo */
456 expandBufAdd1(pReply, false); /* canRedefineClasses */
457 expandBufAdd1(pReply, false); /* canAddMethod */
458 expandBufAdd1(pReply, false); /* canUnrestrictedlyRedefineClasses */
459 expandBufAdd1(pReply, false); /* canPopFrames */
460 expandBufAdd1(pReply, false); /* canUseInstanceFilters */
461 expandBufAdd1(pReply, false); /* canGetSourceDebugExtension */
462 expandBufAdd1(pReply, false); /* canRequestVMDeathEvent */
463 expandBufAdd1(pReply, false); /* canSetDefaultStratum */
464 expandBufAdd1(pReply, false); /* 1.6: canGetInstanceInfo */
465 expandBufAdd1(pReply, false); /* 1.6: canRequestMonitorEvents */
466 expandBufAdd1(pReply, false); /* 1.6: canGetMonitorFrameInfo */
467 expandBufAdd1(pReply, false); /* 1.6: canUseSourceNameFilters */
468 expandBufAdd1(pReply, false); /* 1.6: canGetConstantPool */
469 expandBufAdd1(pReply, false); /* 1.6: canForceEarlyReturn */
473 expandBufAdd1(pReply, false); /* reservedN */
481 const u1* buf, int dataLen, ExpandBuf* pReply)
488 expandBufAdd4BE(pReply, numClasses);
498 expandBufAdd1(pReply, refTypeTag);
499 expandBufAddRefTypeId(pReply, classRefBuf[i]);
500 expandBufAddUtf8String(pReply, (const u1*) signature);
501 expandBufAddUtf8String(pReply, genericSignature);
502 expandBufAdd4BE(pReply, status);
515 const u1* buf, int dataLen, ExpandBuf* pReply)
521 expandBufAddUtf8String(pReply, (const u1*) signature);
530 const u1* buf, int dataLen, ExpandBuf* pReply)
535 expandBufAdd4BE(pReply, modBits);
544 const u1* buf, int dataLen, ExpandBuf* pReply)
551 expandBufAdd4BE(pReply, numFields);
554 dvmDbgGetStaticFieldValue(refTypeId, fieldId, pReply);
564 const u1* buf, int dataLen, ExpandBuf* pReply)
570 expandBufAddUtf8String(pReply, (const u1*) fileName);
581 const u1* buf, int dataLen, ExpandBuf* pReply)
589 expandBufAdd4BE(pReply, status);
597 const u1* buf, int dataLen, ExpandBuf* pReply)
604 dvmDbgOutputAllInterfaces(refTypeId, pReply);
613 const u1* buf, int dataLen, ExpandBuf* pReply)
620 expandBufAddObjectId(pReply, classObjId);
631 const u1* buf, int dataLen, ExpandBuf* pReply)
641 const u1* buf, int dataLen, ExpandBuf* pReply)
650 expandBufAddUtf8String(pReply, (const u1*) signature);
653 expandBufAddUtf8String(pReply, (const u1*) "Lunknown;");
655 expandBufAddUtf8String(pReply, genericSignature);
665 const u1* buf, int dataLen, ExpandBuf* pReply)
669 expandBufAddObjectId(pReply, dvmDbgGetClassLoader(refTypeId));
679 const u1* buf, int dataLen, ExpandBuf* pReply)
685 dvmDbgOutputAllFields(refTypeId, true, pReply);
695 const u1* buf, int dataLen, ExpandBuf* pReply)
702 dvmDbgOutputAllMethods(refTypeId, true, pReply);
711 const u1* buf, int dataLen, ExpandBuf* pReply)
717 expandBufAddRefTypeId(pReply, superClassId);
726 const u1* buf, int dataLen, ExpandBuf* pReply)
753 const u1* buf, int dataLen, ExpandBuf* pReply)
759 return finishInvoke(state, buf, dataLen, pReply,
771 const u1* buf, int dataLen, ExpandBuf* pReply)
782 return finishInvoke(state, buf, dataLen, pReply,
790 const u1* buf, int dataLen, ExpandBuf* pReply)
801 expandBufAdd1(pReply, JT_ARRAY);
802 expandBufAddObjectId(pReply, objectId);
810 const u1* buf, int dataLen, ExpandBuf* pReply)
819 dvmDbgOutputLineTable(refTypeId, methodId, pReply);
828 const u1* buf, int dataLen, ExpandBuf* pReply)
844 dvmDbgOutputVariableTable(classId, methodId, true, pReply);
856 const u1* buf, int dataLen, ExpandBuf* pReply)
865 expandBufAdd1(pReply, refTypeTag);
866 expandBufAddRefTypeId(pReply, typeId);
875 const u1* buf, int dataLen, ExpandBuf* pReply)
882 expandBufAdd4BE(pReply, numFields);
886 dvmDbgGetFieldValue(objectId, fieldId, pReply);
896 const u1* buf, int dataLen, ExpandBuf* pReply)
931 const u1* buf, int dataLen, ExpandBuf* pReply)
938 return finishInvoke(state, buf, dataLen, pReply,
946 const u1* buf, int dataLen, ExpandBuf* pReply)
956 const u1* buf, int dataLen, ExpandBuf* pReply)
966 const u1* buf, int dataLen, ExpandBuf* pReply)
974 expandBufAdd1(pReply, 0);
983 const u1* buf, int dataLen, ExpandBuf* pReply)
990 expandBufAddUtf8String(pReply, (u1*) str);
1000 const u1* buf, int dataLen, ExpandBuf* pReply)
1009 expandBufAddUtf8String(pReply, (u1*) name);
1022 const u1* buf, int dataLen, ExpandBuf* pReply)
1041 const u1* buf, int dataLen, ExpandBuf* pReply)
1060 const u1* buf, int dataLen, ExpandBuf* pReply)
1075 expandBufAdd4BE(pReply, threadStatus);
1076 expandBufAdd4BE(pReply, suspendStatus);
1085 const u1* buf, int dataLen, ExpandBuf* pReply)
1091 expandBufAddObjectId(pReply, threadGroupId);
1103 const u1* buf, int dataLen, ExpandBuf* pReply)
1130 expandBufAdd4BE(pReply, frames);
1137 expandBufAdd8BE(pReply, frameId);
1138 dvmJdwpAddLocation(pReply, &loc);
1151 const u1* buf, int dataLen, ExpandBuf* pReply)
1166 expandBufAdd4BE(pReply, (u4)frameCount);
1175 const u1* buf, int dataLen, ExpandBuf* pReply)
1194 const u1* buf, int dataLen, ExpandBuf* pReply)
1199 expandBufAdd4BE(pReply, suspendCount);
1210 const u1* buf, int dataLen, ExpandBuf* pReply)
1217 expandBufAddUtf8String(pReply, (u1*) name);
1219 expandBufAddUtf8String(pReply, (u1*) "BAD-GROUP-ID");
1233 const u1* buf, int dataLen, ExpandBuf* pReply)
1238 expandBufAddObjectId(pReply, parentGroup);
1248 const u1* buf, int dataLen, ExpandBuf* pReply)
1257 expandBufAdd4BE(pReply, threadCount);
1260 expandBufAddObjectId(pReply, pThreadIds[i]);
1269 expandBufAdd4BE(pReply, 1);
1270 expandBufAddObjectId(pReply, dvmDbgGetMainThreadGroupId());
1272 expandBufAdd4BE(pReply, 0);
1282 const u1* buf, int dataLen, ExpandBuf* pReply)
1291 expandBufAdd4BE(pReply, arrayLength);
1300 const u1* buf, int dataLen, ExpandBuf* pReply)
1310 expandBufAdd1(pReply, tag);
1311 expandBufAdd4BE(pReply, length);
1313 if (!dvmDbgOutputArray(arrayId, firstIndex, length, pReply))
1323 const u1* buf, int dataLen, ExpandBuf* pReply)
1343 const u1* buf, int dataLen, ExpandBuf* pReply)
1354 expandBufAdd4BE(pReply, numClasses);
1360 expandBufAdd1(pReply, refTypeTag);
1361 expandBufAddRefTypeId(pReply, classRefBuf[i]);
1373 const u1* buf, int dataLen, ExpandBuf* pReply)
1539 expandBufAdd4BE(pReply, requestId);
1560 const u1* buf, int dataLen, ExpandBuf* pReply)
1577 const u1* buf, int dataLen, ExpandBuf* pReply)
1586 expandBufAdd4BE(pReply, slots); /* "int values" */
1594 u1* ptr = expandBufAddSpace(pReply, width+1);
1605 const u1* buf, int dataLen, ExpandBuf* pReply)
1631 const u1* buf, int dataLen, ExpandBuf* pReply)
1645 expandBufAdd1(pReply, objectTag);
1646 expandBufAddObjectId(pReply, objectId);
1659 const u1* buf, int dataLen, ExpandBuf* pReply)
1668 expandBufAdd1(pReply, TT_INTERFACE);
1670 expandBufAdd1(pReply, TT_CLASS);
1671 expandBufAddRefTypeId(pReply, classObjectId);
1680 const u1* buf, int dataLen, ExpandBuf* pReply)
1705 memcpy(expandBufAddSpace(pReply, replyLen), replyBuf, replyLen);
1878 const u1* buf, int dataLen, ExpandBuf* pReply)
1917 expandBufAddSpace(pReply, kJDWPHeaderLen);
1926 result = (*gHandlerMap[i].func)(state, buf, dataLen, pReply);
1944 u1* replyBuf = expandBufGetBuffer(pReply);
1949 set4BE(replyBuf + 0, expandBufGetLength(pReply));
1953 respLen = expandBufGetLength(pReply) - kJDWPHeaderLen;
1959 dvmPrintHexDumpDbg(expandBufGetBuffer(pReply) + kJDWPHeaderLen,