Lines Matching defs:WatchDog
389 // The primary goal of the watchdog is to prevent stuck build servers
392 class WatchDog {
393 // WatchDog defines its own CHECK_PTHREAD_CALL to avoid using LOG which uses locks
408 explicit WatchDog(bool is_watch_dog_enabled) {
421 ~WatchDog() {
439 WatchDog* self = reinterpret_cast<WatchDog*>(arg);
481 // watchdog (PackageManagerService.WATCHDOG_TIMEOUT, 10 minutes), so that dex2oat will abort
482 // itself before that watchdog would take down the system server.
884 // Done with usage checks, enable watchdog if requested
886 watchdog_.reset(new WatchDog(true));
2486 std::unique_ptr<WatchDog> watchdog_;