Lines Matching refs: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
186 static bool lookupId(ObjectId id)
201 * This is used for both ObjectId and RefTypeId. In theory we don't have
207 static ObjectId registerObject(const Object* obj, RegistryType type, bool reg)
209 ObjectId id;
217 id = (ObjectId)(u4)obj | ((u8) type) << 32;
272 * Note this actually takes both ObjectId and RefTypeId.
274 static bool objectIsRegistered(ObjectId id, RegistryType type)
307 * Convert to/from an ObjectId.
309 static ObjectId objectToObjectId(const Object* obj)
313 static ObjectId objectToObjectIdNoReg(const Object* obj)
317 static Object* objectIdToObject(ObjectId id)
326 * Normally this wouldn't happen -- the conversion to an ObjectId would
330 void dvmDbgRegisterObjectId(ObjectId id)
539 * Convert a RefTypeId to an ObjectId.
541 ObjectId dvmDbgGetClassObject(RefTypeId id)
625 void dvmDbgGetVisibleClassList(ObjectId classLoaderId, u4* pNumClasses,
726 void dvmDbgGetObjectType(ObjectId objectId, u1* pRefTypeTag,
729 Object* obj = objectIdToObject(objectId);
790 char* dvmDbgGetObjectTypeName(ObjectId objectId)
792 Object* obj = objectIdToObject(objectId);
882 int dvmDbgGetObjectTag(ObjectId objectId, const char* type)
887 if (tag == JT_OBJECT && objectId != 0)
888 tag = resultTagFromObject(objectIdToObject(objectId));
917 return sizeof(ObjectId);
963 int dvmDbgGetArrayLength(ObjectId arrayId)
973 int dvmDbgGetArrayElementTag(ObjectId arrayId)
1045 bool dvmDbgOutputArray(ObjectId arrayId, int firstIndex, int count,
1096 bool dvmDbgSetArrayElements(ObjectId arrayId, int firstIndex, int count,
1130 ObjectId id = dvmReadObjectId(&buf);
1143 ObjectId dvmDbgCreateString(const char* str)
1157 ObjectId dvmDbgCreateObject(RefTypeId classId)
1476 int dvmDbgGetFieldTag(ObjectId objId, FieldId fieldId)
1497 void dvmDbgGetFieldValue(ObjectId objectId, FieldId fieldId, u1* buf,
1500 Object* obj = objectIdToObject(objectId);
1532 assert(expectedLen == sizeof(ObjectId));
1552 void dvmDbgSetFieldValue(ObjectId objectId, FieldId fieldId, u8 value,
1555 Object* obj = objectIdToObject(objectId);
1580 assert(width == sizeof(ObjectId));
1633 assert(expectedLen == sizeof(ObjectId));
1692 assert(width == sizeof(ObjectId));
1716 char* dvmDbgStringToUtf8(ObjectId strId)
1753 bool dvmDbgGetThreadStatus(ObjectId threadId, u4* pThreadStatus,
1801 u4 dvmDbgGetThreadSuspendCount(ObjectId threadId)
1829 bool dvmDbgThreadExists(ObjectId threadId)
1856 bool dvmDbgIsSuspended(ObjectId threadId)
1887 void dvmDbgWaitForSuspend(ObjectId threadId)
1906 * Return the ObjectId for the "system" thread group.
1908 ObjectId dvmDbgGetSystemThreadGroupId(void)
1915 * Return the ObjectId for the "system" thread group.
1917 ObjectId dvmDbgGetMainThreadGroupId(void)
1928 char* dvmDbgGetThreadName(ObjectId threadId)
1959 ObjectId dvmDbgGetThreadGroup(ObjectId threadId)
1977 char* dvmDbgGetThreadGroupName(ObjectId threadGroupId)
2003 ObjectId dvmDbgGetThreadGroupParent(ObjectId threadGroupId)
2034 void dvmDbgGetThreadGroupThreads(ObjectId threadGroupId,
2035 ObjectId** ppThreadIds, u4* pThreadCount)
2081 ObjectId* ptr;
2082 ptr = *ppThreadIds = (ObjectId*) malloc(sizeof(ObjectId) * count);
2120 void dvmDbgGetAllThreads(ObjectId** ppThreadIds, u4* pThreadCount)
2131 int dvmDbgGetThreadFrameCount(ObjectId threadId)
2162 bool dvmDbgGetThreadFrame(ObjectId threadId, int num, FrameId* pFrameId,
2215 ObjectId dvmDbgGetThreadSelfId(void)
2240 void dvmDbgSuspendThread(ObjectId threadId)
2261 void dvmDbgResumeThread(ObjectId threadId)
2329 bool dvmDbgGetThisObject(ObjectId threadId, FrameId frameId, ObjectId* pThisId)
2346 void dvmDbgGetLocalValue(ObjectId threadId, FrameId frameId, int slot,
2384 /* convert to "ObjectId" */
2399 /* convert to "ObjectId" */
2437 void dvmDbgSetLocalValue(ObjectId threadId, FrameId frameId, int slot, u1 tag,
2471 assert(width == sizeof(ObjectId));
2568 * "NoReg" objectID on the exception, which is not strictly correct --
2656 bool dvmDbgConfigureStep(ObjectId threadId, enum JdwpStepSize size,
2698 void dvmDbgUnconfigureStep(ObjectId threadId)
2712 JdwpError dvmDbgInvokeMethod(ObjectId threadId, ObjectId objectId,
2713 RefTypeId classId, MethodId methodId, u4 numArgs, ObjectId* argArray,
2714 u4 options, u1* pResultTag, u8* pResultValue, ObjectId* pExceptObj)
2763 targetThread->invokeReq.obj = objectIdToObject(objectId);