Home | History | Annotate | Download | only in vm

Lines Matching refs:why

415 static const char* getSuspendCauseStr(SuspendCause why)
417 switch (why) {
443 static void lockThreadSuspend(const char* who, SuspendCause why)
477 self->threadId, who, getSuspendCauseStr(why));
489 self->threadId, who, getSuspendCauseStr(why));
2520 * create objects and even execute arbitrary code. The "why" argument
2521 * allows the caller to say why the suspension is taking place.
2535 void dvmSuspendAllThreads(SuspendCause why)
2540 assert(why != 0);
2549 lockThreadSuspend("susp-all", why);
2572 if ((why == SUSPEND_FOR_DEBUG || why == SUSPEND_FOR_DEBUG_EVENT) &&
2577 (why == SUSPEND_FOR_DEBUG ||
2578 why == SUSPEND_FOR_DEBUG_EVENT)
2602 if ((why == SUSPEND_FOR_DEBUG || why == SUSPEND_FOR_DEBUG_EVENT) &&
2623 * The "why" must match with the previous suspend.
2625 void dvmResumeAllThreads(SuspendCause why)
2631 lockThreadSuspend("res-all", why); /* one suspend/resume at a time */
2646 if ((why == SUSPEND_FOR_DEBUG || why == SUSPEND_FOR_DEBUG_EVENT) &&
2654 (why == SUSPEND_FOR_DEBUG ||
2655 why == SUSPEND_FOR_DEBUG_EVENT)