Home | History | Annotate | Download | only in vm

Lines Matching full:objectid

75 ThreadId we pass to the debugger is the ObjectId for the java/lang/Thread
90 #define THREAD_GROUP_ALL ((ObjectId) 0x12345) // magic, internal-only value
187 static bool lookupId(ObjectId id)
203 * This is used for both ObjectId and RefTypeId. In theory we don't have
209 static ObjectId registerObject(const Object* obj, RegistryType type, bool reg)
211 ObjectId id;
219 id = (ObjectId)(u4)obj | ((u8) type) << 32;
248 * Note this actually takes both ObjectId and RefTypeId.
251 static bool objectIsRegistered(ObjectId id, RegistryType type)
287 * Convert to/from an ObjectId.
289 static ObjectId objectToObjectId(const Object* obj)
293 static ObjectId objectToObjectIdNoReg(const Object* obj)
297 static Object* objectIdToObject(ObjectId id)
306 * Normally this wouldn't happen -- the conversion to an ObjectId would
310 void dvmDbgRegisterObjectId(ObjectId id)
519 * Convert a RefTypeId to an ObjectId.
521 ObjectId dvmDbgGetClassObject(RefTypeId id)
606 void dvmDbgGetVisibleClassList(ObjectId classLoaderId, u4* pNumClasses,
703 void dvmDbgGetObjectType(ObjectId objectId, u1* pRefTypeTag,
706 Object* obj = objectIdToObject(objectId);
763 const char* dvmDbgGetObjectTypeName(ObjectId objectId)
765 if (objectId == 0)
768 Object* obj = objectIdToObject(objectId);
856 * "objectId" may be 0 (i.e. NULL reference).
858 u1 dvmDbgGetObjectTag(ObjectId objectId)
860 return tagFromObject(objectIdToObject(objectId));
887 return sizeof(ObjectId);
902 int dvmDbgGetArrayLength(ObjectId arrayId)
912 u1 dvmDbgGetArrayElementTag(ObjectId arrayId)
989 bool dvmDbgOutputArray(ObjectId arrayId, int firstIndex, int count,
1040 bool dvmDbgSetArrayElements(ObjectId arrayId, int firstIndex, int count,
1074 ObjectId id = dvmReadObjectId(&buf);
1087 ObjectId dvmDbgCreateString(const char* str)
1101 ObjectId dvmDbgCreateObject(RefTypeId classId)
1115 ObjectId dvmDbgCreateArrayObject(RefTypeId arrayTypeId, u4 length)
1440 u1 dvmDbgGetFieldBasicTag(ObjectId objId, FieldId fieldId)
1463 void dvmDbgGetFieldValue(ObjectId objectId, FieldId fieldId, ExpandBuf* pReply)
1465 Object* obj = objectIdToObject(objectId);
1512 void dvmDbgSetFieldValue(ObjectId objectId, FieldId fieldId, u8 value,
1515 Object* obj = objectIdToObject(objectId);
1540 assert(width == sizeof(ObjectId));
1652 assert(width == sizeof(ObjectId));
1676 char* dvmDbgStringToUtf8(ObjectId strId)
1713 bool dvmDbgGetThreadStatus(ObjectId threadId, u4* pThreadStatus,
1762 u4 dvmDbgGetThreadSuspendCount(ObjectId threadId)
1790 bool dvmDbgThreadExists(ObjectId threadId)
1817 bool dvmDbgIsSuspended(ObjectId threadId)
1841 * Return the ObjectId for the "system" thread group.
1843 ObjectId dvmDbgGetSystemThreadGroupId()
1850 * Return the ObjectId for the "main" thread group.
1852 ObjectId dvmDbgGetMainThreadGroupId()
1863 char* dvmDbgGetThreadName(ObjectId threadId)
1894 ObjectId dvmDbgGetThreadGroup(ObjectId threadId)
1912 char* dvmDbgGetThreadGroupName(ObjectId threadGroupId)
1930 ObjectId dvmDbgGetThreadGroupParent(ObjectId threadGroupId)
1953 void dvmDbgGetThreadGroupThreads(ObjectId threadGroupId,
1954 ObjectId** ppThreadIds, u4* pThreadCount)
1997 ObjectId* ptr;
1998 ptr = *ppThreadIds = (ObjectId*) malloc(sizeof(ObjectId) * count);
2037 void dvmDbgGetAllThreads(ObjectId** ppThreadIds, u4* pThreadCount)
2048 int dvmDbgGetThreadFrameCount(ObjectId threadId)
2069 bool dvmDbgGetThreadFrame(ObjectId threadId, int num, FrameId* pFrameId,
2122 ObjectId dvmDbgGetThreadSelfId()
2147 void dvmDbgSuspendThread(ObjectId threadId)
2168 void dvmDbgResumeThread(ObjectId threadId)
2236 bool dvmDbgGetThisObject(ObjectId threadId, FrameId frameId, ObjectId* pThisId)
2256 void dvmDbgGetLocalValue(ObjectId threadId, FrameId frameId, int slot,
2292 assert(expectedLen == sizeof(ObjectId));
2294 /* convert to "ObjectId" */
2307 assert(expectedLen == sizeof(ObjectId));
2309 /* convert to "ObjectId" */
2341 void dvmDbgSetLocalValue(ObjectId threadId, FrameId frameId, int slot, u1 tag,
2375 assert(width == sizeof(ObjectId));
2473 * "NoReg" objectID on the exception, which is not strictly correct --
2560 bool dvmDbgConfigureStep(ObjectId threadId, JdwpStepSize size,
2602 void dvmDbgUnconfigureStep(ObjectId threadId)
2616 JdwpError dvmDbgInvokeMethod(ObjectId threadId, ObjectId objectId,
2617 RefTypeId classId, MethodId methodId, u4 numArgs, ObjectId* argArray,
2618 u4 options, u1* pResultTag, u8* pResultValue, ObjectId* pExceptObj)
2662 targetThread->invokeReq.obj = objectIdToObject(objectId);
2825 * Register the object. We don't actually need an ObjectId yet,
2827 * object when we switch out of RUNNING. The ObjectId conversion