• Home
  • Raw
  • Download

Lines Matching refs:pReply

56 void dvmJdwpAddLocation(ExpandBuf* pReply, const JdwpLocation* pLoc)  in dvmJdwpAddLocation()  argument
58 expandBufAdd1(pReply, pLoc->typeTag); in dvmJdwpAddLocation()
59 expandBufAddObjectId(pReply, pLoc->classId); in dvmJdwpAddLocation()
60 expandBufAddMethodId(pReply, pLoc->methodId); in dvmJdwpAddLocation()
61 expandBufAdd8BE(pReply, pLoc->idx); in dvmJdwpAddLocation()
85 static void jdwpWriteValue(ExpandBuf* pReply, int width, u8 value) in jdwpWriteValue() argument
88 case 1: expandBufAdd1(pReply, value); break; in jdwpWriteValue()
89 case 2: expandBufAdd2BE(pReply, value); break; in jdwpWriteValue()
90 case 4: expandBufAdd4BE(pReply, value); break; in jdwpWriteValue()
91 case 8: expandBufAdd8BE(pReply, value); break; in jdwpWriteValue()
103 const u1* buf, int dataLen, ExpandBuf* pReply, in finishInvoke() argument
148 expandBufAdd1(pReply, JT_OBJECT); in finishInvoke()
149 expandBufAddObjectId(pReply, objectId); in finishInvoke()
153 expandBufAdd1(pReply, resultTag); in finishInvoke()
155 jdwpWriteValue(pReply, width, resultValue); in finishInvoke()
157 expandBufAdd1(pReply, JT_OBJECT); in finishInvoke()
158 expandBufAddObjectId(pReply, exceptObjId); in finishInvoke()
185 int dataLen, ExpandBuf* pReply) in handleVM_Version() argument
192 expandBufAddUtf8String(pReply, (const u1*) tmpBuf); in handleVM_Version()
194 expandBufAdd4BE(pReply, 1); // major in handleVM_Version()
195 expandBufAdd4BE(pReply, 5); // minor in handleVM_Version()
197 expandBufAddUtf8String(pReply, (const u1*) "1.5.0"); /* e.g. 1.5.0_04 */ in handleVM_Version()
199 expandBufAddUtf8String(pReply, (const u1*) "DalvikVM"); in handleVM_Version()
210 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_ClassesBySignature() argument
233 expandBufAdd4BE(pReply, numClasses); in handleVM_ClassesBySignature()
242 expandBufAdd1(pReply, typeTag); in handleVM_ClassesBySignature()
243 expandBufAddRefTypeId(pReply, refTypeId); in handleVM_ClassesBySignature()
244 expandBufAdd4BE(pReply, status); in handleVM_ClassesBySignature()
259 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_AllThreads() argument
265 expandBufAdd4BE(pReply, threadCount); in handleVM_AllThreads()
269 expandBufAddObjectId(pReply, *walker++); in handleVM_AllThreads()
281 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_TopLevelThreadGroups() argument
290 expandBufAdd4BE(pReply, groups); in handleVM_TopLevelThreadGroups()
294 expandBufAddObjectId(pReply, threadGroupId); in handleVM_TopLevelThreadGroups()
305 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_IDSizes() argument
307 expandBufAdd4BE(pReply, sizeof(FieldId)); in handleVM_IDSizes()
308 expandBufAdd4BE(pReply, sizeof(MethodId)); in handleVM_IDSizes()
309 expandBufAdd4BE(pReply, sizeof(ObjectId)); in handleVM_IDSizes()
310 expandBufAdd4BE(pReply, sizeof(RefTypeId)); in handleVM_IDSizes()
311 expandBufAdd4BE(pReply, sizeof(FrameId)); in handleVM_IDSizes()
322 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_Dispose() argument
334 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_Suspend() argument
344 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_Resume() argument
354 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_Exit() argument
371 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_CreateString() argument
382 expandBufAddObjectId(pReply, stringId); in handleVM_CreateString()
390 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_Capabilities() argument
392 expandBufAdd1(pReply, false); /* canWatchFieldModification */ in handleVM_Capabilities()
393 expandBufAdd1(pReply, false); /* canWatchFieldAccess */ in handleVM_Capabilities()
394 expandBufAdd1(pReply, false); /* canGetBytecodes */ in handleVM_Capabilities()
395 expandBufAdd1(pReply, true); /* canGetSyntheticAttribute */ in handleVM_Capabilities()
396 expandBufAdd1(pReply, false); /* canGetOwnedMonitorInfo */ in handleVM_Capabilities()
397 expandBufAdd1(pReply, false); /* canGetCurrentContendedMonitor */ in handleVM_Capabilities()
398 expandBufAdd1(pReply, false); /* canGetMonitorInfo */ in handleVM_Capabilities()
406 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_ClassPaths() argument
417 expandBufAddUtf8String(pReply, (const u1*) baseDir); in handleVM_ClassPaths()
418 expandBufAdd4BE(pReply, classPaths); in handleVM_ClassPaths()
420 expandBufAddUtf8String(pReply, (const u1*) "."); in handleVM_ClassPaths()
423 expandBufAdd4BE(pReply, bootClassPaths); in handleVM_ClassPaths()
437 const u1* buf, int dataLen, ExpandBuf* pReply) in HandleVM_DisposeObjects() argument
446 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_CapabilitiesNew() argument
448 expandBufAdd1(pReply, false); /* canWatchFieldModification */ in handleVM_CapabilitiesNew()
449 expandBufAdd1(pReply, false); /* canWatchFieldAccess */ in handleVM_CapabilitiesNew()
450 expandBufAdd1(pReply, false); /* canGetBytecodes */ in handleVM_CapabilitiesNew()
451 expandBufAdd1(pReply, true); /* canGetSyntheticAttribute */ in handleVM_CapabilitiesNew()
452 expandBufAdd1(pReply, false); /* canGetOwnedMonitorInfo */ in handleVM_CapabilitiesNew()
453 expandBufAdd1(pReply, false); /* canGetCurrentContendedMonitor */ in handleVM_CapabilitiesNew()
454 expandBufAdd1(pReply, false); /* canGetMonitorInfo */ in handleVM_CapabilitiesNew()
455 expandBufAdd1(pReply, false); /* canRedefineClasses */ in handleVM_CapabilitiesNew()
456 expandBufAdd1(pReply, false); /* canAddMethod */ in handleVM_CapabilitiesNew()
457 expandBufAdd1(pReply, false); /* canUnrestrictedlyRedefineClasses */ in handleVM_CapabilitiesNew()
458 expandBufAdd1(pReply, false); /* canPopFrames */ in handleVM_CapabilitiesNew()
459 expandBufAdd1(pReply, false); /* canUseInstanceFilters */ in handleVM_CapabilitiesNew()
460 expandBufAdd1(pReply, false); /* canGetSourceDebugExtension */ in handleVM_CapabilitiesNew()
461 expandBufAdd1(pReply, false); /* canRequestVMDeathEvent */ in handleVM_CapabilitiesNew()
462 expandBufAdd1(pReply, false); /* canSetDefaultStratum */ in handleVM_CapabilitiesNew()
463 expandBufAdd1(pReply, false); /* 1.6: canGetInstanceInfo */ in handleVM_CapabilitiesNew()
464 expandBufAdd1(pReply, false); /* 1.6: canRequestMonitorEvents */ in handleVM_CapabilitiesNew()
465 expandBufAdd1(pReply, false); /* 1.6: canGetMonitorFrameInfo */ in handleVM_CapabilitiesNew()
466 expandBufAdd1(pReply, false); /* 1.6: canUseSourceNameFilters */ in handleVM_CapabilitiesNew()
467 expandBufAdd1(pReply, false); /* 1.6: canGetConstantPool */ in handleVM_CapabilitiesNew()
468 expandBufAdd1(pReply, false); /* 1.6: canForceEarlyReturn */ in handleVM_CapabilitiesNew()
472 expandBufAdd1(pReply, false); /* reservedN */ in handleVM_CapabilitiesNew()
480 const u1* buf, int dataLen, ExpandBuf* pReply) in handleVM_AllClassesWithGeneric() argument
487 expandBufAdd4BE(pReply, numClasses); in handleVM_AllClassesWithGeneric()
497 expandBufAdd1(pReply, refTypeTag); in handleVM_AllClassesWithGeneric()
498 expandBufAddRefTypeId(pReply, classRefBuf[i]); in handleVM_AllClassesWithGeneric()
499 expandBufAddUtf8String(pReply, (const u1*) signature); in handleVM_AllClassesWithGeneric()
500 expandBufAddUtf8String(pReply, genericSignature); in handleVM_AllClassesWithGeneric()
501 expandBufAdd4BE(pReply, status); in handleVM_AllClassesWithGeneric()
514 const u1* buf, int dataLen, ExpandBuf* pReply) in handleRT_Signature() argument
520 expandBufAddUtf8String(pReply, (const u1*) signature); in handleRT_Signature()
529 const u1* buf, int dataLen, ExpandBuf* pReply) in handleRT_Modifiers() argument
534 expandBufAdd4BE(pReply, modBits); in handleRT_Modifiers()
543 const u1* buf, int dataLen, ExpandBuf* pReply) in handleRT_GetValues() argument
550 expandBufAdd4BE(pReply, numFields); in handleRT_GetValues()
553 dvmDbgGetStaticFieldValue(refTypeId, fieldId, pReply); in handleRT_GetValues()
563 const u1* buf, int dataLen, ExpandBuf* pReply) in handleRT_SourceFile() argument
569 expandBufAddUtf8String(pReply, (const u1*) fileName); in handleRT_SourceFile()
580 const u1* buf, int dataLen, ExpandBuf* pReply) in handleRT_Status() argument
588 expandBufAdd4BE(pReply, status); in handleRT_Status()
596 const u1* buf, int dataLen, ExpandBuf* pReply) in handleRT_Interfaces() argument
603 dvmDbgOutputAllInterfaces(refTypeId, pReply); in handleRT_Interfaces()
612 const u1* buf, int dataLen, ExpandBuf* pReply) in handleRT_ClassObject() argument
619 expandBufAddObjectId(pReply, classObjId); in handleRT_ClassObject()
630 const u1* buf, int dataLen, ExpandBuf* pReply) in handleRT_SourceDebugExtension() argument
640 const u1* buf, int dataLen, ExpandBuf* pReply) in handleRT_SignatureWithGeneric() argument
649 expandBufAddUtf8String(pReply, (const u1*) signature); in handleRT_SignatureWithGeneric()
652 expandBufAddUtf8String(pReply, (const u1*) "Lunknown;"); in handleRT_SignatureWithGeneric()
654 expandBufAddUtf8String(pReply, genericSignature); in handleRT_SignatureWithGeneric()
664 const u1* buf, int dataLen, ExpandBuf* pReply) in handleRT_ClassLoader() argument
668 expandBufAddObjectId(pReply, dvmDbgGetClassLoader(refTypeId)); in handleRT_ClassLoader()
678 const u1* buf, int dataLen, ExpandBuf* pReply) in handleRT_FieldsWithGeneric() argument
684 dvmDbgOutputAllFields(refTypeId, true, pReply); in handleRT_FieldsWithGeneric()
694 const u1* buf, int dataLen, ExpandBuf* pReply) in handleRT_MethodsWithGeneric() argument
701 dvmDbgOutputAllMethods(refTypeId, true, pReply); in handleRT_MethodsWithGeneric()
710 const u1* buf, int dataLen, ExpandBuf* pReply) in handleCT_Superclass() argument
716 expandBufAddRefTypeId(pReply, superClassId); in handleCT_Superclass()
725 const u1* buf, int dataLen, ExpandBuf* pReply) in handleCT_SetValues() argument
752 const u1* buf, int dataLen, ExpandBuf* pReply) in handleCT_InvokeMethod() argument
758 return finishInvoke(state, buf, dataLen, pReply, in handleCT_InvokeMethod()
770 const u1* buf, int dataLen, ExpandBuf* pReply) in handleCT_NewInstance() argument
781 return finishInvoke(state, buf, dataLen, pReply, in handleCT_NewInstance()
789 const u1* buf, int dataLen, ExpandBuf* pReply) in handleAT_newInstance() argument
800 expandBufAdd1(pReply, JT_ARRAY); in handleAT_newInstance()
801 expandBufAddObjectId(pReply, objectId); in handleAT_newInstance()
809 const u1* buf, int dataLen, ExpandBuf* pReply) in handleM_LineTable() argument
818 dvmDbgOutputLineTable(refTypeId, methodId, pReply); in handleM_LineTable()
827 const u1* buf, int dataLen, ExpandBuf* pReply) in handleM_VariableTableWithGeneric() argument
843 dvmDbgOutputVariableTable(classId, methodId, true, pReply); in handleM_VariableTableWithGeneric()
855 const u1* buf, int dataLen, ExpandBuf* pReply) in handleOR_ReferenceType() argument
864 expandBufAdd1(pReply, refTypeTag); in handleOR_ReferenceType()
865 expandBufAddRefTypeId(pReply, typeId); in handleOR_ReferenceType()
874 const u1* buf, int dataLen, ExpandBuf* pReply) in handleOR_GetValues() argument
881 expandBufAdd4BE(pReply, numFields); in handleOR_GetValues()
885 dvmDbgGetFieldValue(objectId, fieldId, pReply); in handleOR_GetValues()
895 const u1* buf, int dataLen, ExpandBuf* pReply) in handleOR_SetValues() argument
930 const u1* buf, int dataLen, ExpandBuf* pReply) in handleOR_InvokeMethod() argument
937 return finishInvoke(state, buf, dataLen, pReply, in handleOR_InvokeMethod()
945 const u1* buf, int dataLen, ExpandBuf* pReply) in handleOR_DisableCollection() argument
955 const u1* buf, int dataLen, ExpandBuf* pReply) in handleOR_EnableCollection() argument
965 const u1* buf, int dataLen, ExpandBuf* pReply) in handleOR_IsCollected() argument
973 expandBufAdd1(pReply, 0); in handleOR_IsCollected()
982 const u1* buf, int dataLen, ExpandBuf* pReply) in handleSR_Value() argument
989 expandBufAddUtf8String(pReply, (u1*) str); in handleSR_Value()
999 const u1* buf, int dataLen, ExpandBuf* pReply) in handleTR_Name() argument
1008 expandBufAddUtf8String(pReply, (u1*) name); in handleTR_Name()
1021 const u1* buf, int dataLen, ExpandBuf* pReply) in handleTR_Suspend() argument
1040 const u1* buf, int dataLen, ExpandBuf* pReply) in handleTR_Resume() argument
1059 const u1* buf, int dataLen, ExpandBuf* pReply) in handleTR_Status() argument
1073 expandBufAdd4BE(pReply, threadStatus); in handleTR_Status()
1074 expandBufAdd4BE(pReply, suspendStatus); in handleTR_Status()
1083 const u1* buf, int dataLen, ExpandBuf* pReply) in handleTR_ThreadGroup() argument
1089 expandBufAddObjectId(pReply, threadGroupId); in handleTR_ThreadGroup()
1101 const u1* buf, int dataLen, ExpandBuf* pReply) in handleTR_Frames() argument
1128 expandBufAdd4BE(pReply, frames); in handleTR_Frames()
1135 expandBufAdd8BE(pReply, frameId); in handleTR_Frames()
1136 dvmJdwpAddLocation(pReply, &loc); in handleTR_Frames()
1149 const u1* buf, int dataLen, ExpandBuf* pReply) in handleTR_FrameCount() argument
1164 expandBufAdd4BE(pReply, (u4)frameCount); in handleTR_FrameCount()
1173 const u1* buf, int dataLen, ExpandBuf* pReply) in handleTR_CurrentContendedMonitor() argument
1192 const u1* buf, int dataLen, ExpandBuf* pReply) in handleTR_SuspendCount() argument
1197 expandBufAdd4BE(pReply, suspendCount); in handleTR_SuspendCount()
1208 const u1* buf, int dataLen, ExpandBuf* pReply) in handleTGR_Name() argument
1215 expandBufAddUtf8String(pReply, (u1*) name); in handleTGR_Name()
1217 expandBufAddUtf8String(pReply, (u1*) "BAD-GROUP-ID"); in handleTGR_Name()
1231 const u1* buf, int dataLen, ExpandBuf* pReply) in handleTGR_Parent() argument
1236 expandBufAddObjectId(pReply, parentGroup); in handleTGR_Parent()
1246 const u1* buf, int dataLen, ExpandBuf* pReply) in handleTGR_Children() argument
1255 expandBufAdd4BE(pReply, threadCount); in handleTGR_Children()
1258 expandBufAddObjectId(pReply, pThreadIds[i]); in handleTGR_Children()
1267 expandBufAdd4BE(pReply, 1); in handleTGR_Children()
1268 expandBufAddObjectId(pReply, dvmDbgGetMainThreadGroupId()); in handleTGR_Children()
1270 expandBufAdd4BE(pReply, 0); in handleTGR_Children()
1280 const u1* buf, int dataLen, ExpandBuf* pReply) in handleAR_Length() argument
1289 expandBufAdd4BE(pReply, arrayLength); in handleAR_Length()
1298 const u1* buf, int dataLen, ExpandBuf* pReply) in handleAR_GetValues() argument
1308 expandBufAdd1(pReply, tag); in handleAR_GetValues()
1309 expandBufAdd4BE(pReply, length); in handleAR_GetValues()
1311 if (!dvmDbgOutputArray(arrayId, firstIndex, length, pReply)) in handleAR_GetValues()
1321 const u1* buf, int dataLen, ExpandBuf* pReply) in handleAR_SetValues() argument
1341 const u1* buf, int dataLen, ExpandBuf* pReply) in handleCLR_VisibleClasses() argument
1352 expandBufAdd4BE(pReply, numClasses); in handleCLR_VisibleClasses()
1358 expandBufAdd1(pReply, refTypeTag); in handleCLR_VisibleClasses()
1359 expandBufAddRefTypeId(pReply, classRefBuf[i]); in handleCLR_VisibleClasses()
1371 const u1* buf, int dataLen, ExpandBuf* pReply) in handleER_Set() argument
1537 expandBufAdd4BE(pReply, requestId); in handleER_Set()
1558 const u1* buf, int dataLen, ExpandBuf* pReply) in handleER_Clear() argument
1575 const u1* buf, int dataLen, ExpandBuf* pReply) in handleSF_GetValues() argument
1584 expandBufAdd4BE(pReply, slots); /* "int values" */ in handleSF_GetValues()
1592 u1* ptr = expandBufAddSpace(pReply, width+1); in handleSF_GetValues()
1603 const u1* buf, int dataLen, ExpandBuf* pReply) in handleSF_SetValues() argument
1629 const u1* buf, int dataLen, ExpandBuf* pReply) in handleSF_ThisObject() argument
1643 expandBufAdd1(pReply, objectTag); in handleSF_ThisObject()
1644 expandBufAddObjectId(pReply, objectId); in handleSF_ThisObject()
1657 const u1* buf, int dataLen, ExpandBuf* pReply) in handleCOR_ReflectedType() argument
1666 expandBufAdd1(pReply, TT_INTERFACE); in handleCOR_ReflectedType()
1668 expandBufAdd1(pReply, TT_CLASS); in handleCOR_ReflectedType()
1669 expandBufAddRefTypeId(pReply, classObjectId); in handleCOR_ReflectedType()
1678 const u1* buf, int dataLen, ExpandBuf* pReply) in handleDDM_Chunk() argument
1704 memcpy(expandBufAddSpace(pReply, replyLen), replyBuf, replyLen); in handleDDM_Chunk()
1877 const u1* buf, int dataLen, ExpandBuf* pReply) in dvmJdwpProcessRequest() argument
1916 expandBufAddSpace(pReply, kJDWPHeaderLen); in dvmJdwpProcessRequest()
1925 result = (*gHandlerMap[i].func)(state, buf, dataLen, pReply); in dvmJdwpProcessRequest()
1943 u1* replyBuf = expandBufGetBuffer(pReply); in dvmJdwpProcessRequest()
1948 set4BE(replyBuf + 0, expandBufGetLength(pReply)); in dvmJdwpProcessRequest()
1952 respLen = expandBufGetLength(pReply) - kJDWPHeaderLen; in dvmJdwpProcessRequest()
1958 dvmPrintHexDumpDbg(expandBufGetBuffer(pReply) + kJDWPHeaderLen, in dvmJdwpProcessRequest()