Lines Matching refs:why
419 static const char* getSuspendCauseStr(SuspendCause why)
421 switch (why) {
447 static void lockThreadSuspend(const char* who, SuspendCause why)
481 self->threadId, who, getSuspendCauseStr(why));
493 self->threadId, who, getSuspendCauseStr(why));
2528 * create objects and even execute arbitrary code. The "why" argument
2529 * allows the caller to say why the suspension is taking place.
2543 void dvmSuspendAllThreads(SuspendCause why)
2548 assert(why != 0);
2557 lockThreadSuspend("susp-all", why);
2580 if ((why == SUSPEND_FOR_DEBUG || why == SUSPEND_FOR_DEBUG_EVENT) &&
2585 (why == SUSPEND_FOR_DEBUG ||
2586 why == SUSPEND_FOR_DEBUG_EVENT)
2610 if ((why == SUSPEND_FOR_DEBUG || why == SUSPEND_FOR_DEBUG_EVENT) &&
2631 * The "why" must match with the previous suspend.
2633 void dvmResumeAllThreads(SuspendCause why)
2638 lockThreadSuspend("res-all", why); /* one suspend/resume at a time */
2653 if ((why == SUSPEND_FOR_DEBUG || why == SUSPEND_FOR_DEBUG_EVENT) &&
2661 (why == SUSPEND_FOR_DEBUG ||
2662 why == SUSPEND_FOR_DEBUG_EVENT)