Searched defs:threadId (Results 1 - 18 of 18) sorted by relevance

/dalvik/vm/hprof/
H A DHprof.cpp177 static void hprofRootVisitor(void *addr, u4 threadId, RootType type, void *arg) argument
208 ctx->gcThreadSerialNumber = threadId;
/dalvik/vm/native/
H A Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cpp88 * public static StackTraceElement[] getStackTraceById(int threadId)
91 * NULL on failure, e.g. if the threadId couldn't be found.
97 u4 threadId = args[0]; local
100 trace = dvmDdmGetStackTraceById(threadId);
H A Djava_lang_VMThread.cpp171 int threadId = -1; local
177 threadId = thread->threadId;
180 dvmDdmSendThreadNameChange(threadId, nameStr);
182 //ALOGI("UPDATE: threadid=%d now '%s'", threadId, str);
H A Ddalvik_system_VMRuntime.cpp253 static void preloadDexCachesStringsVisitor(void* addr, u4 threadId, RootType type, void* arg) { argument
/dalvik/vm/alloc/
H A DVerify.cpp57 static void dumpReferencesRootVisitor(void *ptr, u4 threadId, argument
138 static void verifyRootReference(void *addr, u4 threadId, argument
H A DVisit.cpp55 u4 threadId, RootType type, void *arg)
61 (*visitor)(entry, threadId, type, arg);
69 u4 threadId, RootType type, void *arg)
75 (*visitor)(*it, threadId, type, arg);
87 u4 threadId = thread->threadId; local
111 (*visitor)(&fp[i], threadId, ROOT_JAVA_FRAME, arg);
145 (*visitor)(&fp[i], threadId, ROOT_JAVA_FRAME, arg);
164 u4 threadId; local
168 threadId
54 visitReferenceTable(RootVisitor *visitor, ReferenceTable *table, u4 threadId, RootType type, void *arg) argument
68 visitIndirectRefTable(RootVisitor *visitor, IndirectRefTable *table, u4 threadId, RootType type, void *arg) argument
[all...]
H A DCardTable.cpp284 static void dumpReferencesRootVisitor(void *ptr, u4 threadId, argument
/dalvik/vm/jdwp/
H A DJdwpEvent.h40 ObjectId threadId; member in struct:JdwpEventMod::__anon71
71 ObjectId threadId; member in struct:JdwpEventMod::__anon78
H A DJdwpEvent.cpp106 ObjectId threadId; /* ThreadOnly */ member in struct:ModBasket
208 dvmDbgConfigureStep(pMod->step.threadId, size, depth);
266 dvmDbgUnconfigureStep(pMod->step.threadId);
475 if (pMod->threadOnly.threadId != basket->threadId)
511 if (pMod->step.threadId != basket->threadId)
648 * Call this with a threadId of zero if you just want to wait for the
654 void dvmJdwpSetWaitForEventThread(JdwpState* state, ObjectId threadId) argument
667 state->eventThreadId, threadId);
747 ObjectId threadId = dvmDbgGetThreadSelfId(); local
919 dvmJdwpPostThreadChange(JdwpState* state, ObjectId threadId, bool start) argument
[all...]
H A DJdwpHandler.cpp104 ObjectId threadId, ObjectId objectId, RefTypeId classId, MethodId methodId,
111 ALOGV(" --> threadId=%llx objectId=%llx", threadId, objectId);
140 JdwpError err = dvmDbgInvokeMethod(threadId, objectId, classId, methodId,
756 ObjectId threadId = dvmReadObjectId(&buf); local
760 threadId, 0, classId, methodId, false);
774 ObjectId threadId = dvmReadObjectId(&buf); local
783 threadId, objectId, classId, methodId, true);
852 * This can get called on different things, e.g. threadId gets
934 ObjectId threadId local
102 finishInvoke(JdwpState* state, const u1* buf, int dataLen, ExpandBuf* pReply, ObjectId threadId, ObjectId objectId, RefTypeId classId, MethodId methodId, bool isConstructor) argument
1002 ObjectId threadId = dvmReadObjectId(&buf); local
1024 ObjectId threadId = dvmReadObjectId(&buf); local
1043 ObjectId threadId = dvmReadObjectId(&buf); local
1062 ObjectId threadId = dvmReadObjectId(&buf); local
1087 ObjectId threadId = dvmReadObjectId(&buf); local
1105 ObjectId threadId = dvmReadObjectId(&buf); local
1153 ObjectId threadId = dvmReadObjectId(&buf); local
1177 ObjectId threadId; local
1196 ObjectId threadId = dvmReadObjectId(&buf); local
[all...]
/dalvik/vm/
H A DDdm.cpp233 //ALOGW("notify %d", thread->threadId);
285 set4BE(&buf[0x00], thread->threadId);
298 set4BE(&buf[0x00], thread->threadId);
307 void dvmDdmSendThreadNameChange(int threadId, StringObject* newName) argument
325 set4BE(&buf[0x00], threadId);
344 * (4b) threadId
400 set4BE(buf+0, thread->threadId);
426 ArrayObject* dvmDdmGetStackTraceById(u4 threadId) argument
435 if (thread->threadId == threadId)
[all...]
H A DAllocTracker.cpp61 u2 threadId; /* simple thread ID; could be recycled */ member in struct:AllocRecord
230 pRec->threadId = self->threadId;
260 (2b) threadId
426 set2BE(&ptr[4], pRec->threadId);
642 pRec->threadId, pRec->size, pRec->clazz->descriptor);
H A DSync.cpp161 return owner ? owner->threadId : 0;
173 u4 threadId = lockOwner(obj); local
175 if (threadId == 0)
177 return dvmGetThreadByThreadId(threadId);
189 return thread->threadId == lockOwner(obj);
837 assert(LW_LOCK_OWNER(obj->lock) == self->threadId);
864 u4 thin, newThin, threadId; local
868 threadId = self->threadId;
877 if (LW_LOCK_OWNER(thin) == threadId) {
[all...]
H A DThread.cpp293 * We need to assign the threadId early so we can lock/notify
481 self->threadId, who, getSuspendCauseStr(why));
493 self->threadId, who, getSuspendCauseStr(why));
536 int threadId = 0; local
542 threadId = self->threadId;
556 threadId, target->threadId);
561 threadId, target->threadId, threadNam
[all...]
H A DThread.h114 u4 threadId; member in struct:Thread
535 Thread* dvmGetThreadByThreadId(u4 threadId);
H A DDebugger.cpp227 dvmThreadSelf()->threadId);
1713 bool dvmDbgGetThreadStatus(ObjectId threadId, u4* pThreadStatus, argument
1720 threadObj = objectIdToObject(threadId);
1762 u4 dvmDbgGetThreadSuspendCount(ObjectId threadId) argument
1768 threadObj = objectIdToObject(threadId);
1790 bool dvmDbgThreadExists(ObjectId threadId) argument
1796 threadObj = objectIdToObject(threadId);
1817 bool dvmDbgIsSuspended(ObjectId threadId) argument
1823 threadObj = objectIdToObject(threadId);
1863 char* dvmDbgGetThreadName(ObjectId threadId) argument
1894 dvmDbgGetThreadGroup(ObjectId threadId) argument
2048 dvmDbgGetThreadFrameCount(ObjectId threadId) argument
2069 dvmDbgGetThreadFrame(ObjectId threadId, int num, FrameId* pFrameId, JdwpLocation* pLoc) argument
2147 dvmDbgSuspendThread(ObjectId threadId) argument
2168 dvmDbgResumeThread(ObjectId threadId) argument
2236 dvmDbgGetThisObject(ObjectId threadId, FrameId frameId, ObjectId* pThisId) argument
2256 dvmDbgGetLocalValue(ObjectId threadId, FrameId frameId, int slot, u1 tag, u1* buf, int expectedLen) argument
2341 dvmDbgSetLocalValue(ObjectId threadId, FrameId frameId, int slot, u1 tag, u8 value, int width) argument
2560 dvmDbgConfigureStep(ObjectId threadId, JdwpStepSize size, JdwpStepDepth depth) argument
2602 dvmDbgUnconfigureStep(ObjectId threadId) argument
2616 dvmDbgInvokeMethod(ObjectId threadId, ObjectId objectId, RefTypeId classId, MethodId methodId, u4 numArgs, ObjectId* argArray, u4 options, u1* pResultTag, u8* pResultValue, ObjectId* pExceptObj) argument
[all...]
/dalvik/tools/dmtracedump/
H A DCreateTestTrace.c65 int threadId; member in struct:dataRecord
121 unsigned int time = 0, threadId; local
148 int threadId = strtoul(cp, &cp, 0); local
149 if (maxThreadId < threadId)
150 maxThreadId = threadId;
186 * default values for the time and threadId.
189 threadId = 1;
194 threadId = strtoul(cp, &cp, 0);
199 if (callStack[threadId].frames == NULL) {
202 callStack[threadId]
352 writeDataRecord(FILE *dataFp, int threadId, unsigned int methodVal, unsigned int elapsedTime) argument
[all...]
H A DTraceDump.c131 int threadId; member in struct:ThreadEntry
750 pKeys->threads[i].threadId = atoi(data);
900 return ((const ThreadEntry*) thread1)->threadId -
901 ((const ThreadEntry*) thread2)->threadId;
998 pKeys->threads[i].threadId, pKeys->threads[i].threadName);
1126 * Reads the next data record, and assigns the data values to threadId,
1127 * methodVal and elapsedTime. On end-of-file, the threadId, methodVal,
1132 int *threadId, unsigned int *methodVal, uint64_t *elapsedTime)
1147 *threadId = id;
1203 int threadId; local
1131 readDataRecord(FILE *dataFp, DataHeader* dataHeader, int *threadId, unsigned int *methodVal, uint64_t *elapsedTime) argument
2318 int threadId; local
2440 int threadId; local
[all...]

Completed in 6056 milliseconds