• Home
  • Raw
  • Download

Lines Matching refs:thread

231         Thread* thread;  in dvmDdmSetThreadNotification()  local
232 for (thread = gDvm.threadList; thread != NULL; thread = thread->next) { in dvmDdmSetThreadNotification()
234 dvmDdmSendThreadNotification(thread, true); in dvmDdmSetThreadNotification()
247 void dvmDdmSendThreadNotification(Thread* thread, bool started) in dvmDdmSendThreadNotification() argument
254 Object* threadObj = thread->threadObj; in dvmDdmSendThreadNotification()
285 set4BE(&buf[0x00], thread->threadId); in dvmDdmSendThreadNotification()
298 set4BE(&buf[0x00], thread->threadId); in dvmDdmSendThreadNotification()
366 Thread* thread; in dvmDdmGenerateThreadStats() local
368 for (thread = gDvm.threadList; thread != NULL; thread = thread->next) in dvmDdmGenerateThreadStats()
385 for (thread = gDvm.threadList; thread != NULL; thread = thread->next) { in dvmDdmGenerateThreadStats()
389 if (!dvmGetThreadStats(&procStatData, thread->systemTid)) { in dvmDdmGenerateThreadStats()
394 Object* threadObj = thread->threadObj; in dvmDdmGenerateThreadStats()
400 set4BE(buf+0, thread->threadId); in dvmDdmGenerateThreadStats()
401 set1(buf+4, thread->status); in dvmDdmGenerateThreadStats()
402 set4BE(buf+5, thread->systemTid); in dvmDdmGenerateThreadStats()
429 Thread* thread; in dvmDdmGetStackTraceById() local
434 for (thread = gDvm.threadList; thread != NULL; thread = thread->next) { in dvmDdmGetStackTraceById()
435 if (thread->threadId == threadId) in dvmDdmGetStackTraceById()
438 if (thread == NULL) { in dvmDdmGetStackTraceById()
450 if (thread != self) in dvmDdmGetStackTraceById()
451 dvmSuspendThread(thread); in dvmDdmGetStackTraceById()
452 traceBuf = dvmFillInStackTraceRaw(thread, &stackDepth); in dvmDdmGetStackTraceById()
453 if (thread != self) in dvmDdmGetStackTraceById()
454 dvmResumeThread(thread); in dvmDdmGetStackTraceById()