Home
last modified time | relevance | path

Searched refs:threadId (Results 1 – 25 of 40) sorted by relevance

12

/dalvik/tools/dmtracedump/
DCreateTestTrace.c64 int threadId; member
121 unsigned int time = 0, threadId; in parseInputFile() local
147 int threadId = strtoul(cp, &cp, 0); in parseInputFile() local
148 if (maxThreadId < threadId) in parseInputFile()
149 maxThreadId = threadId; in parseInputFile()
180 threadId = 1; in parseInputFile()
185 threadId = strtoul(cp, &cp, 0); in parseInputFile()
190 if (callStack[threadId].frames == NULL) { in parseInputFile()
193 callStack[threadId].frames = stk; in parseInputFile()
195 nextFrame = callStack[threadId].nextFrame; in parseInputFile()
[all …]
DTraceDump.c128 int threadId; member
747 pKeys->threads[i].threadId = atoi(data); in parseThreads()
897 return ((const ThreadEntry*) thread1)->threadId - in compareThreads()
898 ((const ThreadEntry*) thread2)->threadId; in compareThreads()
995 pKeys->threads[i].threadId, pKeys->threads[i].threadName); in parseKeys()
1114 int readDataRecord(FILE *dataFp, int *threadId, unsigned int *methodVal, in readDataRecord() argument
1131 *threadId = id; in readDataRecord()
1181 int threadId; in dumpTrace() local
1192 if (readDataRecord(dataFp, &threadId, &methodVal, &elapsedTime)) in dumpTrace()
1202 traceData.depth[threadId]++; in dumpTrace()
[all …]
/dalvik/vm/
DDebugger.h223 char* dvmDbgGetThreadName(ObjectId threadId);
224 ObjectId dvmDbgGetThreadGroup(ObjectId threadId);
230 bool dvmDbgGetThreadStatus(ObjectId threadId, u4* threadStatus,
232 u4 dvmDbgGetThreadSuspendCount(ObjectId threadId);
233 bool dvmDbgThreadExists(ObjectId threadId);
234 bool dvmDbgIsSuspended(ObjectId threadId);
239 int dvmDbgGetThreadFrameCount(ObjectId threadId);
240 bool dvmDbgGetThreadFrame(ObjectId threadId, int num, FrameId* pFrameId,
246 void dvmDbgSuspendThread(ObjectId threadId);
247 void dvmDbgResumeThread(ObjectId threadId);
[all …]
DThread.c536 dvmThreadSelf()->threadId, who, getSuspendCauseStr(why)); in lockThreadSuspend()
548 dvmThreadSelf()->threadId, who, getSuspendCauseStr(why)); in lockThreadSuspend()
607 self->threadId, target->threadId); in dvmSlayDaemons()
613 self->threadId, target->threadId); in dvmSlayDaemons()
640 assert(self->threadId == kMainThreadId); in dvmPrepMainForJni()
673 assert(thread->threadId == kMainThreadId); in dvmPrepMainThread()
878 thread->threadId, thread->interpStackStart - thread->interpStackSize); in prepareThread()
914 LOG_THREAD("threadid=%d: removing from list\n", thread->threadId); in unlinkThread()
936 LOGVV("threadid=%d: freeing\n", thread->threadId); in freeThread()
1038 thread->threadId = ((num + 1) << 1) | 1; in assignThreadId()
[all …]
DSync.c289 return thread->threadId == (lock.thin & 0xffff); in dvmHoldsLock()
531 self->threadId, mon->notifying, mon->interrupting, in waitMonitor()
580 LOGVV("threadid=%d: waiting on %p\n", self->threadId, mon); in waitMonitor()
593 LOGVV("threadid=%d wakeup: timeout\n", self->threadId); in waitMonitor()
615 LOGD("threadid=%d wakeup: interrupted\n", self->threadId); in waitMonitor()
618 LOGD("threadid=%d wakeup: not interruptible\n", self->threadId); in waitMonitor()
627 LOGVV("threadid=%d wakeup: notified\n", self->threadId); in waitMonitor()
635 LOGVV("threadid=%d wakeup: going back to sleep\n", self->threadId); in waitMonitor()
692 LOGVV("threadid=%d: signaling on %p\n", self->threadId, mon); in notifyMonitor()
698 LOGVV("threadid=%d: nobody to signal on %p\n", self->threadId, mon); in notifyMonitor()
[all …]
DDdm.h52 void dvmDdmSendThreadNameChange(int threadId, StringObject* newName);
78 ArrayObject* dvmDdmGetStackTraceById(u4 threadId);
DDdm.c314 set4BE(&buf[0x00], thread->threadId); in dvmDdmSendThreadNotification()
326 set4BE(&buf[0x00], thread->threadId); in dvmDdmSendThreadNotification()
335 void dvmDdmSendThreadNameChange(int threadId, StringObject* newName) in dvmDdmSendThreadNameChange() argument
352 set4BE(&buf[0x00], threadId); in dvmDdmSendThreadNameChange()
512 set4BE(buf+0, thread->threadId); in dvmDdmGenerateThreadStats()
538 ArrayObject* dvmDdmGetStackTraceById(u4 threadId) in dvmDdmGetStackTraceById() argument
547 if (thread->threadId == threadId) in dvmDdmGetStackTraceById()
551 LOGI("dvmDdmGetStackTraceById: threadid=%d not found\n", threadId); in dvmDdmGetStackTraceById()
DDebugger.c221 dvmThreadSelf()->threadId); in registerObject()
1707 bool dvmDbgGetThreadStatus(ObjectId threadId, u4* pThreadStatus, in dvmDbgGetThreadStatus() argument
1714 threadObj = objectIdToObject(threadId); in dvmDbgGetThreadStatus()
1755 u4 dvmDbgGetThreadSuspendCount(ObjectId threadId) in dvmDbgGetThreadSuspendCount() argument
1761 threadObj = objectIdToObject(threadId); in dvmDbgGetThreadSuspendCount()
1783 bool dvmDbgThreadExists(ObjectId threadId) in dvmDbgThreadExists() argument
1789 threadObj = objectIdToObject(threadId); in dvmDbgThreadExists()
1810 bool dvmDbgIsSuspended(ObjectId threadId) in dvmDbgIsSuspended() argument
1816 threadObj = objectIdToObject(threadId); in dvmDbgIsSuspended()
1841 void dvmDbgWaitForSuspend(ObjectId threadId)
[all …]
DAllocTracker.c52 u2 threadId; /* simple thread ID; could be recycled */ member
203 pRec->threadId = self->threadId; in dvmDoTrackAllocation()
400 set2BE(&ptr[4], pRec->threadId); in generateBaseOutput()
614 pRec->threadId, pRec->size, pRec->clazz->descriptor); in dvmDumpTrackedAllocations()
DSignalCatcher.c189 LOGV("Signal catcher thread started (threadid=%d)\n", self->threadId); in signalCatcherThreadStart()
225 dvmThreadSelf()->threadId, rcvd); in signalCatcherThreadStart()
DJniInternal.h112 ((JNIEnvExt*)pEnv)->envThreadId = self->threadId; in dvmSetJniEnvThreadId()
/dalvik/vm/jdwp/
DJdwpHandler.c116 ObjectId threadId, ObjectId objectId, RefTypeId classId, MethodId methodId) in finishInvoke() argument
126 LOGV(" --> threadId=%llx objectId=%llx\n", threadId, objectId); in finishInvoke()
159 err = dvmDbgInvokeMethod(threadId, objectId, classId, methodId, in finishInvoke()
829 ObjectId threadId; in handleCT_InvokeMethod() local
833 threadId = dvmReadObjectId(&buf); in handleCT_InvokeMethod()
837 threadId, 0, classId, methodId); in handleCT_InvokeMethod()
1004 ObjectId threadId; in handleOR_InvokeMethod() local
1009 threadId = dvmReadObjectId(&buf); in handleOR_InvokeMethod()
1014 threadId, objectId, classId, methodId); in handleOR_InvokeMethod()
1081 ObjectId threadId; in handleTR_Name() local
[all …]
DJdwpEvent.c106 ObjectId threadId; /* ThreadOnly */ member
194 dvmDbgConfigureStep(pMod->step.threadId, pMod->step.size, in dvmJdwpRegisterEvent()
253 dvmDbgUnconfigureStep(pMod->step.threadId); in unregisterEvent()
474 if (pMod->threadOnly.threadId != basket->threadId) in modsMatch()
509 if (pMod->step.threadId != basket->threadId) in modsMatch()
655 void dvmJdwpSetWaitForEventThread(JdwpState* state, ObjectId threadId) in dvmJdwpSetWaitForEventThread() argument
668 state->eventThreadId, threadId); in dvmJdwpSetWaitForEventThread()
673 if (waited || threadId != 0) in dvmJdwpSetWaitForEventThread()
674 LOGV("event token grabbed (0x%llx)\n", threadId); in dvmJdwpSetWaitForEventThread()
675 if (threadId != 0) in dvmJdwpSetWaitForEventThread()
[all …]
DJdwpEvent.h40 ObjectId threadId; member
71 ObjectId threadId; member
DJdwp.h161 void dvmJdwpSetWaitForEventThread(JdwpState* state, ObjectId threadId);
219 bool dvmJdwpPostThreadChange(JdwpState* state, ObjectId threadId, bool start);
/dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/
DThreadLocalTest.java74 int threadId = itl.get().intValue(); in run() local
75 for (int j = 0; j < threadId; j++) { in run()
76 x[threadId]++; in run()
/dalvik/vm/native/
Djava_lang_VMThread.c170 int threadId = -1; in Dalvik_java_lang_VMThread_nameChanged() local
176 threadId = thread->threadId; in Dalvik_java_lang_VMThread_nameChanged()
179 dvmDdmSendThreadNameChange(threadId, nameStr); in Dalvik_java_lang_VMThread_nameChanged()
Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.c97 u4 threadId = args[0]; in Dalvik_org_apache_harmony_dalvik_ddmc_DdmVmInternal_getStackTraceById() local
100 trace = dvmDdmGetStackTraceById(threadId); in Dalvik_org_apache_harmony_dalvik_ddmc_DdmVmInternal_getStackTraceById()
/dalvik/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
DDdmVmInternal.java66 native public static StackTraceElement[] getStackTraceById(int threadId); in getStackTraceById() argument
/dalvik/vm/alloc/
DAlloc.c228 self->threadId, obj); in dvmAddTrackedAlloc()
256 self->threadId, obj); in dvmReleaseTrackedAlloc()
/dalvik/vm/mterp/cstubs/
Dentry.c35 threadSelf->threadId, changeInterp); in DEFINE_GOTO_TABLE()
Dstubdefs.c115 glue->self->threadId, (_entryPoint), (_pcadj)); \
/dalvik/vm/mterp/portable/
Dstubdefs.c81 self->threadId, \
Dentry.c46 self->threadId, (interpState->nextMode == INTERP_STD) ? "STD" : "DBG",
/dalvik/vm/mterp/
DMterp.c90 dvmThreadSelf()->threadId, in dvmMterpStd()

12