Searched refs:threadId (Results 1 - 25 of 45) sorted by last modified time

12

/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/
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 DCheckJni.cpp839 if (dvmThreadSelf()->threadId != threadEnv->envThreadId) {
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 DDdm.h52 void dvmDdmSendThreadNameChange(int threadId, StringObject* newName);
78 ArrayObject* dvmDdmGetStackTraceById(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...]
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 DJniInternal.h102 ((JNIEnvExt*)pEnv)->envThreadId = self->threadId;
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 DProfile.cpp291 fprintf(fp, "%d\t%s\n", thread->threadId, threadName.c_str());
753 // self->threadId, self->cpuClockBase);
778 *ptr++ = (u1) self->threadId;
779 *ptr++ = (u1) (self->threadId >> 8);
H A DSignalCatcher.cpp260 ALOGV("Signal catcher thread started (threadid=%d)", self->threadId);
296 dvmThreadSelf()->threadId, rcvd);
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 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
530 Thread* dvmGetThreadByThreadId(u4 threadId);
/dalvik/vm/alloc/
H A DAlloc.cpp263 self->threadId, obj);
288 self->threadId, obj);
H A DCardTable.cpp288 static void dumpReferencesRootVisitor(void *ptr, u4 threadId, argument
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 DVisit.h49 typedef void RootVisitor(void *addr, u4 threadId, RootType type, void *arg);
/dalvik/vm/compiler/codegen/arm/Thumb2/
H A DGen.cpp219 * r3 -> self->threadId
250 loadWordDisp(cUnit, r6SELF, offsetof(Thread, threadId), r3); // Get threadId
254 // Is lock unheld on lock or held by us (==threadId) on unlock?
306 loadWordDisp(cUnit, r6SELF, offsetof(Thread, threadId), r3); // Get threadId
307 // Is lock unheld on lock or held by us (==threadId) on unlock?
/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/interp/
H A DInterp.cpp556 thread->threadId);
1556 subMode,thread->interpBreak.ctl.subMode,thread->threadId);
1560 breakFlags,thread->interpBreak.ctl.breakFlags,thread->threadId);
1566 thread->threadId);
1573 thread->threadId);
1578 thread->threadId);
1609 ALOGE("ArmSafePointCallback failed, thread %d", thread->threadId);
H A DJit.cpp78 // self->threadId, (int)pc, (int)fp);
82 self->threadId, shadowSpace->selfVerificationState);
142 // self->threadId, (int)shadowSpace->startPC, (int)shadowSpace->fp,
147 self->threadId, shadowSpace->selfVerificationState);
273 // self->threadId, (int)pc, (int)shadowSpace->endPC, state,
278 self->threadId, state);
311 ALOGD("~~~ DbgIntp(%d): REGISTERS DIVERGENCE!", self->threadId);
345 self->threadId);
377 ALOGD("~~~ DbgIntp(%d): MEMORY DIVERGENCE!", self->threadId);
412 ALOGD("~~~ DbgIntp(%d): CONTROL DIVERGENCE!", self->threadId);
[all...]
H A DStack.cpp363 self->threadId, self->status,
378 LOGVV("thread=%d native code calling %s.%s %s", self->threadId,
1011 self->threadId);
1018 self->threadId,
1169 StringAppendF(&msg, " held by tid=%d (%s)", thread->threadId, threadName.c_str());
1331 thread, (thread != NULL) ? thread->threadId : 0);

Completed in 203 milliseconds

12