Lines Matching refs:reason
516 message += reason; \
525 const char* reason = "dex2oat watch dog thread startup"; in WatchDog() local
526 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_init, (&mutex_, nullptr), reason); in WatchDog()
529 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_condattr_init, (&condattr), reason); in WatchDog()
530 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_condattr_setclock, (&condattr, CLOCK_MONOTONIC), reason); in WatchDog()
531 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_cond_init, (&cond_, &condattr), reason); in WatchDog()
532 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_condattr_destroy, (&condattr), reason); in WatchDog()
534 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_attr_init, (&attr_), reason); in WatchDog()
535 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_create, (&pthread_, &attr_, &CallBack, this), reason); in WatchDog()
536 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_attr_destroy, (&attr_), reason); in WatchDog()
539 const char* reason = "dex2oat watch dog thread shutdown"; in ~WatchDog() local
540 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_lock, (&mutex_), reason); in ~WatchDog()
542 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_cond_signal, (&cond_), reason); in ~WatchDog()
543 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_unlock, (&mutex_), reason); in ~WatchDog()
545 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_join, (pthread_, nullptr), reason); in ~WatchDog()
547 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_cond_destroy, (&cond_), reason); in ~WatchDog()
548 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_destroy, (&mutex_), reason); in ~WatchDog()
552 const char* reason = "dex2oat watch dog set runtime"; in SetRuntime() local
553 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_lock, (&runtime_mutex_), reason); in SetRuntime()
555 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_unlock, (&runtime_mutex_), reason); in SetRuntime()
611 const char* reason = "dex2oat watch dog thread waiting"; in Wait() local
612 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_lock, (&mutex_), reason); in Wait()
625 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_unlock, (&mutex_), reason); in Wait()
629 const char* reason = "dex2oat watch dog get runtime"; in GetRuntime() local
630 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_lock, (&runtime_mutex_), reason); in GetRuntime()
632 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_unlock, (&runtime_mutex_), reason); in GetRuntime()