Home | History | Annotate | Download | only in jdwp

Lines Matching refs:pReply

73 void dvmJdwpAddLocation(ExpandBuf* pReply, const JdwpLocation* pLoc)
75 expandBufAdd1(pReply, pLoc->typeTag);
76 expandBufAddObjectId(pReply, pLoc->classId);
77 expandBufAddMethodId(pReply, pLoc->methodId);
78 expandBufAdd8BE(pReply, pLoc->idx);
102 static void jdwpWriteValue(ExpandBuf* pReply, int width, u8 value)
105 case 1: expandBufAdd1(pReply, value); break;
106 case 2: expandBufAdd2BE(pReply, value); break;
107 case 4: expandBufAdd4BE(pReply, value); break;
108 case 8: expandBufAdd8BE(pReply, value); break;
120 const u1* buf, int dataLen, ExpandBuf* pReply,
175 expandBufAdd1(pReply, JT_OBJECT);
176 expandBufAddObjectId(pReply, objectId);
180 expandBufAdd1(pReply, resultTag);
182 jdwpWriteValue(pReply, width, resultValue);
184 expandBufAdd1(pReply, JT_OBJECT);
185 expandBufAddObjectId(pReply, exceptObjId);
212 int dataLen, ExpandBuf* pReply)
219 expandBufAddUtf8String(pReply, (const u1*) tmpBuf);
221 expandBufAdd4BE(pReply, 1); // major
222 expandBufAdd4BE(pReply, 5); // minor
224 expandBufAddUtf8String(pReply, (const u1*) "1.5.0"); /* e.g. 1.5.0_04 */
226 expandBufAddUtf8String(pReply, (const u1*) "DalvikVM");
237 const u1* buf, int dataLen, ExpandBuf* pReply)
262 expandBufAdd4BE(pReply, numClasses);
271 expandBufAdd1(pReply, typeTag);
272 expandBufAddRefTypeId(pReply, refTypeId);
273 expandBufAdd4BE(pReply, status);
288 const u1* buf, int dataLen, ExpandBuf* pReply)
297 expandBufAdd4BE(pReply, threadCount);
301 expandBufAddObjectId(pReply, *walker++);
313 const u1* buf, int dataLen, ExpandBuf* pReply)
325 expandBufAdd4BE(pReply, groups);
327 //expandBufAdd8BE(pReply, threadGroupId);
329 expandBufAddObjectId(pReply, threadGroupId);
340 const u1* buf, int dataLen, ExpandBuf* pReply)
342 expandBufAdd4BE(pReply, sizeof(FieldId));
343 expandBufAdd4BE(pReply, sizeof(MethodId));
344 expandBufAdd4BE(pReply, sizeof(ObjectId));
345 expandBufAdd4BE(pReply, sizeof(RefTypeId));
346 expandBufAdd4BE(pReply, sizeof(FrameId));
357 const u1* buf, int dataLen, ExpandBuf* pReply)
369 const u1* buf, int dataLen, ExpandBuf* pReply)
379 const u1* buf, int dataLen, ExpandBuf* pReply)
389 const u1* buf, int dataLen, ExpandBuf* pReply)
408 const u1* buf, int dataLen, ExpandBuf* pReply)
422 expandBufAddObjectId(pReply, stringId);
430 const u1* buf, int dataLen, ExpandBuf* pReply)
432 expandBufAdd1(pReply, false); /* canWatchFieldModification */
433 expandBufAdd1(pReply, false); /* canWatchFieldAccess */
434 expandBufAdd1(pReply, false); /* canGetBytecodes */
435 expandBufAdd1(pReply, false); /* canGetSyntheticAttribute */
436 expandBufAdd1(pReply, false); /* canGetOwnedMonitorInfo */
437 expandBufAdd1(pReply, false); /* canGetCurrentContendedMonitor */
438 expandBufAdd1(pReply, false); /* canGetMonitorInfo */
446 const u1* buf, int dataLen, ExpandBuf* pReply)
460 expandBufAddUtf8String(pReply, (const u1*) baseDir);
461 expandBufAdd4BE(pReply, classPaths);
463 expandBufAddUtf8String(pReply, (const u1*) ".");
466 expandBufAdd4BE(pReply, bootClassPaths);
480 const u1* buf, int dataLen, ExpandBuf* pReply)
489 const u1* buf, int dataLen, ExpandBuf* pReply)
493 expandBufAdd1(pReply, false); /* canWatchFieldModification */
494 expandBufAdd1(pReply, false); /* canWatchFieldAccess */
495 expandBufAdd1(pReply, false); /* canGetBytecodes */
496 expandBufAdd1(pReply, false); /* canGetSyntheticAttribute */
497 expandBufAdd1(pReply, false); /* canGetOwnedMonitorInfo */
498 expandBufAdd1(pReply, false); /* canGetCurrentContendedMonitor */
499 expandBufAdd1(pReply, false); /* canGetMonitorInfo */
500 expandBufAdd1(pReply, false); /* canRedefineClasses */
501 expandBufAdd1(pReply, false); /* canAddMethod */
502 expandBufAdd1(pReply, false); /* canUnrestrictedlyRedefineClasses */
503 expandBufAdd1(pReply, false); /* canPopFrames */
504 expandBufAdd1(pReply, false); /* canUseInstanceFilters */
505 expandBufAdd1(pReply, false); /* canGetSourceDebugExtension */
506 expandBufAdd1(pReply, false); /* canRequestVMDeathEvent */
507 expandBufAdd1(pReply, false); /* canSetDefaultStratum */
508 expandBufAdd1(pReply, false); /* 1.6: canGetInstanceInfo */
509 expandBufAdd1(pReply, false); /* 1.6: canRequestMonitorEvents */
510 expandBufAdd1(pReply, false); /* 1.6: canGetMonitorFrameInfo */
511 expandBufAdd1(pReply, false); /* 1.6: canUseSourceNameFilters */
512 expandBufAdd1(pReply, false); /* 1.6: canGetConstantPool */
513 expandBufAdd1(pReply, false); /* 1.6: canForceEarlyReturn */
517 expandBufAdd1(pReply, false); /* reservedN */
525 const u1* buf, int dataLen, ExpandBuf* pReply)
533 expandBufAdd4BE(pReply, numClasses);
543 expandBufAdd1(pReply, refTypeTag);
544 expandBufAddRefTypeId(pReply, classRefBuf[i]);
545 expandBufAddUtf8String(pReply, (const u1*) signature);
546 expandBufAddUtf8String(pReply, genericSignature);
547 expandBufAdd4BE(pReply, status);
562 pReply)
571 expandBufAddUtf8String(pReply, (const u1*) signature);
581 const u1* buf, int dataLen, ExpandBuf* pReply)
589 expandBufAdd4BE(pReply, modBits);
598 const u1* buf, int dataLen, ExpandBuf* pReply)
607 expandBufAdd4BE(pReply, numFields);
618 expandBufAdd1(pReply, fieldTag);
619 ptr = expandBufAddSpace(pReply, width);
630 const u1* buf, int dataLen, ExpandBuf* pReply)
639 expandBufAddUtf8String(pReply, (const u1*) fileName);
650 const u1* buf, int dataLen, ExpandBuf* pReply)
660 expandBufAdd4BE(pReply, status);
668 const u1* buf, int dataLen, ExpandBuf* pReply)
677 dvmDbgOutputAllInterfaces(refTypeId, pReply);
686 const u1* buf, int dataLen, ExpandBuf* pReply)
696 expandBufAddObjectId(pReply, classObjId);
707 const u1* buf, int dataLen, ExpandBuf* pReply)
717 const u1* buf, int dataLen, ExpandBuf* pReply)
728 expandBufAddUtf8String(pReply, (const u1*) signature);
730 expandBufAddUtf8String(pReply, (const u1*) "Lunknown;"); /* native? */
731 expandBufAddUtf8String(pReply, genericSignature);
742 const u1* buf, int dataLen, ExpandBuf* pReply)
748 expandBufAddObjectId(pReply, dvmDbgGetClassLoader(refTypeId));
758 const u1* buf, int dataLen, ExpandBuf* pReply)
770 dvmDbgOutputAllFields(refTypeId, true, pReply);
780 const u1* buf, int dataLen, ExpandBuf* pReply)
793 dvmDbgOutputAllMethods(refTypeId, true, pReply);
802 const u1* buf, int dataLen, ExpandBuf* pReply)
811 expandBufAddRefTypeId(pReply, superClassId);
820 const u1* buf, int dataLen, ExpandBuf* pReply)
856 const u1* buf, int dataLen, ExpandBuf* pReply)
866 return finishInvoke(state, buf, dataLen, pReply,
878 const u1* buf, int dataLen, ExpandBuf* pReply)
894 return finishInvoke(state, buf, dataLen, pReply,
902 const u1* buf, int dataLen, ExpandBuf* pReply)
917 expandBufAdd1(pReply, JT_ARRAY);
918 expandBufAddObjectId(pReply, objectId);
926 const u1* buf, int dataLen, ExpandBuf* pReply)
938 dvmDbgOutputLineTable(refTypeId, methodId, pReply);
947 const u1* buf, int dataLen, ExpandBuf* pReply)
966 dvmDbgOutputVariableTable(classId, methodId, true, pReply);
978 const u1* buf, int dataLen, ExpandBuf* pReply)
989 expandBufAdd1(pReply, refTypeTag);
990 expandBufAddRefTypeId(pReply, typeId);
999 const u1* buf, int dataLen, ExpandBuf* pReply)
1010 expandBufAdd4BE(pReply, numFields);
1026 expandBufAdd1(pReply, fieldTag);
1027 ptr = expandBufAddSpace(pReply, width);
1038 const u1* buf, int dataLen, ExpandBuf* pReply)
1082 const u1* buf, int dataLen, ExpandBuf* pReply)
1094 return finishInvoke(state, buf, dataLen, pReply,
1102 const u1* buf, int dataLen, ExpandBuf* pReply)
1112 const u1* buf, int dataLen, ExpandBuf* pReply)
1122 const u1* buf, int dataLen, ExpandBuf* pReply)
1131 expandBufAdd1(pReply, 0);
1140 const u1* buf, int dataLen, ExpandBuf* pReply)
1150 expandBufAddUtf8String(pReply, (u1*) str);
1160 const u1* buf, int dataLen, ExpandBuf* pReply)
1172 expandBufAddUtf8String(pReply, (u1*) name);
1185 const u1* buf, int dataLen, ExpandBuf* pReply)
1206 const u1* buf, int dataLen, ExpandBuf* pReply)
1227 const u1* buf, int dataLen, ExpandBuf* pReply)
1243 expandBufAdd4BE(pReply, threadStatus);
1244 expandBufAdd4BE(pReply, suspendStatus);
1253 const u1* buf, int dataLen, ExpandBuf* pReply)
1262 expandBufAddObjectId(pReply, threadGroupId);
1274 const u1* buf, int dataLen, ExpandBuf* pReply)
1305 expandBufAdd4BE(pReply, frames);
1312 expandBufAdd8BE(pReply, frameId);
1313 dvmJdwpAddLocation(pReply, &loc);
1326 const u1* buf, int dataLen, ExpandBuf* pReply)
1344 expandBufAdd4BE(pReply, (u4)frameCount);
1353 const u1* buf, int dataLen, ExpandBuf* pReply)
1372 const u1* buf, int dataLen, ExpandBuf* pReply)
1380 expandBufAdd4BE(pReply, suspendCount);
1391 const u1* buf, int dataLen, ExpandBuf* pReply)
1401 expandBufAddUtf8String(pReply, (u1*) name);
1403 expandBufAddUtf8String(pReply, (u1*) "BAD-GROUP-ID");
1417 const u1* buf, int dataLen, ExpandBuf* pReply)
1425 expandBufAddObjectId(pReply, parentGroup);
1435 const u1* buf, int dataLen, ExpandBuf* pReply)
1448 expandBufAdd4BE(pReply, threadCount);
1452 expandBufAddObjectId(pReply, pThreadIds[i]);
1461 expandBufAdd4BE(pReply, 1);
1462 expandBufAddObjectId(pReply, dvmDbgGetMainThreadGroupId());
1464 expandBufAdd4BE(pReply, 0);
1474 const u1* buf, int dataLen, ExpandBuf* pReply)
1486 expandBufAdd4BE(pReply, arrayLength);
1495 const u1* buf, int dataLen, ExpandBuf* pReply)
1510 expandBufAdd1(pReply, tag);
1511 expandBufAdd4BE(pReply, length);
1513 if (!dvmDbgOutputArray(arrayId, firstIndex, length, pReply))
1523 const u1* buf, int dataLen, ExpandBuf* pReply)
1547 const u1* buf, int dataLen, ExpandBuf* pReply)
1558 expandBufAdd4BE(pReply, numClasses);
1564 expandBufAdd1(pReply, refTypeTag);
1565 expandBufAddRefTypeId(pReply, classRefBuf[i]);
1577 const u1* buf, int dataLen, ExpandBuf* pReply)
1753 expandBufAdd4BE(pReply, requestId);
1774 const u1* buf, int dataLen, ExpandBuf* pReply)
1793 const u1* buf, int dataLen, ExpandBuf* pReply)
1807 expandBufAdd4BE(pReply, slots); /* "int values" */
1820 ptr = expandBufAddSpace(pReply, width+1);
1831 const u1* buf, int dataLen, ExpandBuf* pReply)
1867 const u1* buf, int dataLen, ExpandBuf* pReply)
1892 expandBufAdd1(pReply, objectTag);
1893 expandBufAddObjectId(pReply, objectId);
1906 const u1* buf, int dataLen, ExpandBuf* pReply)
1917 expandBufAdd1(pReply, TT_INTERFACE);
1919 expandBufAdd1(pReply, TT_CLASS);
1920 expandBufAddRefTypeId(pReply, classObjectId);
1929 const u1* buf, int dataLen, ExpandBuf* pReply)
1955 memcpy(expandBufAddSpace(pReply, replyLen), replyBuf, replyLen);
2128 const u1* buf, int dataLen, ExpandBuf* pReply)
2167 expandBufAddSpace(pReply, kJDWPHeaderLen);
2176 result = (*gHandlerMap[i].func)(state, buf, dataLen, pReply);
2194 u1* replyBuf = expandBufGetBuffer(pReply);
2199 set4BE(replyBuf + 0, expandBufGetLength(pReply));
2203 respLen = expandBufGetLength(pReply) - kJDWPHeaderLen;
2209 dvmPrintHexDumpDbg(expandBufGetBuffer(pReply) + kJDWPHeaderLen,