Lines Matching refs:Daemon
17 Daemon::Daemon() : exit_code_{EX_OK} { in Daemon() function in brillo::Daemon
21 Daemon::~Daemon() { in ~Daemon()
24 int Daemon::Run() { in Run()
43 void Daemon::Quit() { QuitWithExitCode(EX_OK); } in Quit()
45 void Daemon::QuitWithExitCode(int exit_code) { in QuitWithExitCode()
50 void Daemon::RegisterHandler( in RegisterHandler()
56 void Daemon::UnregisterHandler(int signal) { in UnregisterHandler()
60 int Daemon::OnInit() { in OnInit()
64 signal, base::Bind(&Daemon::Shutdown, base::Unretained(this))); in OnInit()
67 SIGHUP, base::Bind(&Daemon::Restart, base::Unretained(this))); in OnInit()
71 void Daemon::OnShutdown(int* /* exit_code */) { in OnShutdown()
75 bool Daemon::OnRestart() { in OnRestart()
80 bool Daemon::Shutdown(const signalfd_siginfo& /* info */) { in Shutdown()
85 bool Daemon::Restart(const signalfd_siginfo& /* info */) { in Restart()