Lines Matching refs:targetThread
2629 Thread* targetThread = threadObjToThread(threadObj); in dvmDbgInvokeMethod() local
2630 if (targetThread == NULL) { in dvmDbgInvokeMethod()
2634 if (!targetThread->invokeReq.ready) { in dvmDbgInvokeMethod()
2653 if (targetThread->suspendCount > 1) { in dvmDbgInvokeMethod()
2656 dvmThreadSelf()->threadId, targetThread->threadId, in dvmDbgInvokeMethod()
2657 targetThread->suspendCount); in dvmDbgInvokeMethod()
2667 targetThread->invokeReq.obj = objectIdToObject(objectId); in dvmDbgInvokeMethod()
2668 targetThread->invokeReq.thread = threadObj; in dvmDbgInvokeMethod()
2669 targetThread->invokeReq.clazz = refTypeIdToClassObject(classId); in dvmDbgInvokeMethod()
2670 targetThread->invokeReq.method = methodIdToMethod(classId, methodId); in dvmDbgInvokeMethod()
2671 targetThread->invokeReq.numArgs = numArgs; in dvmDbgInvokeMethod()
2672 targetThread->invokeReq.argArray = argArray; in dvmDbgInvokeMethod()
2673 targetThread->invokeReq.options = options; in dvmDbgInvokeMethod()
2674 targetThread->invokeReq.invokeNeeded = true; in dvmDbgInvokeMethod()
2693 dvmLockMutex(&targetThread->invokeReq.lock); in dvmDbgInvokeMethod()
2700 dvmResumeThread(targetThread); in dvmDbgInvokeMethod()
2706 while (targetThread->invokeReq.invokeNeeded) { in dvmDbgInvokeMethod()
2707 pthread_cond_wait(&targetThread->invokeReq.cv, in dvmDbgInvokeMethod()
2708 &targetThread->invokeReq.lock); in dvmDbgInvokeMethod()
2710 dvmUnlockMutex(&targetThread->invokeReq.lock); in dvmDbgInvokeMethod()
2714 dvmWaitForSuspend(targetThread); in dvmDbgInvokeMethod()
2732 dvmResumeThread(targetThread); in dvmDbgInvokeMethod()
2738 *pResultTag = targetThread->invokeReq.resultTag; in dvmDbgInvokeMethod()
2739 if (isTagPrimitive(targetThread->invokeReq.resultTag)) in dvmDbgInvokeMethod()
2740 *pResultValue = targetThread->invokeReq.resultValue.j; in dvmDbgInvokeMethod()
2742 Object* tmpObj = (Object*)targetThread->invokeReq.resultValue.l; in dvmDbgInvokeMethod()
2745 *pExceptObj = targetThread->invokeReq.exceptObj; in dvmDbgInvokeMethod()
2746 return targetThread->invokeReq.err; in dvmDbgInvokeMethod()