Searched refs:threadId (Results 1 - 25 of 45) sorted by relevance

12

/dalvik/vm/
H A DDdm.h52 void dvmDdmSendThreadNameChange(int threadId, StringObject* newName);
78 ArrayObject* dvmDdmGetStackTraceById(u4 threadId);
H A DDebugger.h226 char* dvmDbgGetThreadName(ObjectId threadId);
227 ObjectId dvmDbgGetThreadGroup(ObjectId threadId);
233 bool dvmDbgGetThreadStatus(ObjectId threadId, u4* threadStatus,
235 u4 dvmDbgGetThreadSuspendCount(ObjectId threadId);
236 bool dvmDbgThreadExists(ObjectId threadId);
237 bool dvmDbgIsSuspended(ObjectId threadId);
238 //void dvmDbgWaitForSuspend(ObjectId threadId);
242 int dvmDbgGetThreadFrameCount(ObjectId threadId);
243 bool dvmDbgGetThreadFrame(ObjectId threadId, int num, FrameId* pFrameId,
249 void dvmDbgSuspendThread(ObjectId 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 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 DSync.cpp165 return owner ? owner->threadId : 0;
177 u4 threadId = lockOwner(obj); local
179 if (threadId == 0)
181 return dvmGetThreadByThreadId(threadId);
193 return thread->threadId == lockOwner(obj);
841 assert(LW_LOCK_OWNER(obj->lock) == self->threadId);
868 u4 thin, newThin, threadId; local
872 threadId = self->threadId;
881 if (LW_LOCK_OWNER(thin) == threadId) {
[all...]
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...]
H A DSignalCatcher.cpp260 ALOGV("Signal catcher thread started (threadid=%d)", self->threadId);
296 dvmThreadSelf()->threadId, rcvd);
H A DJniInternal.h102 ((JNIEnvExt*)pEnv)->envThreadId = self->threadId;
H A DAllocTracker.cpp55 u2 threadId; /* simple thread ID; could be recycled */ member in struct:AllocRecord
209 pRec->threadId = self->threadId;
239 (2b) threadId
405 set2BE(&ptr[4], pRec->threadId);
621 pRec->threadId, pRec->size, pRec->clazz->descriptor);
H A DNative.cpp267 if (pEntry->onLoadThreadId == self->threadId) {
273 self->threadId, pEntry->pathName);
283 self->threadId, pEntry->pathName);
400 pNewEntry->onLoadThreadId = self->threadId;
H A DThread.h114 u4 threadId; member in struct:Thread
530 Thread* dvmGetThreadByThreadId(u4 threadId);
/dalvik/vm/alloc/
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 DVisit.h49 typedef void RootVisitor(void *addr, u4 threadId, RootType type, void *arg);
H A DVerify.cpp57 static void dumpReferencesRootVisitor(void *ptr, u4 threadId, argument
138 static void verifyRootReference(void *addr, u4 threadId, argument
/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...]
/dalvik/vm/jdwp/
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,
755 ObjectId threadId = dvmReadObjectId(&buf); local
759 threadId, 0, classId, methodId, false);
773 ObjectId threadId = dvmReadObjectId(&buf); local
782 threadId, objectId, classId, methodId, true);
851 * This can get called on different things, e.g. threadId gets
933 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
1001 ObjectId threadId = dvmReadObjectId(&buf); local
1023 ObjectId threadId = dvmReadObjectId(&buf); local
1042 ObjectId threadId = dvmReadObjectId(&buf); local
1061 ObjectId threadId = dvmReadObjectId(&buf); local
1086 ObjectId threadId = dvmReadObjectId(&buf); local
1104 ObjectId threadId = dvmReadObjectId(&buf); local
1152 ObjectId threadId = dvmReadObjectId(&buf); local
1176 ObjectId threadId; local
1195 ObjectId threadId = dvmReadObjectId(&buf); local
[all...]
H A DJdwpEvent.h40 ObjectId threadId; member in struct:JdwpEventMod::__anon71
71 ObjectId threadId; member in struct:JdwpEventMod::__anon78
H A DJdwp.h159 void dvmJdwpSetWaitForEventThread(JdwpState* state, ObjectId threadId);
217 bool dvmJdwpPostThreadChange(JdwpState* state, ObjectId threadId, bool start);
/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);
/dalvik/vm/mterp/
H A DMterp.cpp87 dvmThreadSelf()->threadId,
/dalvik/vm/mterp/cstubs/
H A Dentry.cpp28 LOGVV("mterp threadid=%d returning", dvmThreadSelf()->threadId);
/dalvik/vm/mterp/portable/
H A Dentry.cpp38 self->threadId, curMethod->clazz->descriptor, curMethod->name,

Completed in 1429 milliseconds

12