Lines Matching refs:Daemon
18 Daemon::Daemon() : exit_code_{EX_OK}, exiting_(false) { in Daemon() function in brillo::Daemon
22 Daemon::~Daemon() { in ~Daemon()
25 int Daemon::Run() { in Run()
31 base::BindOnce(&Daemon::OnEventLoopStartedTask, base::Unretained(this))); in Run()
46 void Daemon::Quit() { QuitWithExitCode(EX_OK); } in Quit()
48 void Daemon::QuitWithExitCode(int exit_code) { in QuitWithExitCode()
53 void Daemon::RegisterHandler( in RegisterHandler()
59 void Daemon::UnregisterHandler(int signal) { in UnregisterHandler()
63 int Daemon::OnInit() { in OnInit()
67 signal, base::Bind(&Daemon::Shutdown, base::Unretained(this))); in OnInit()
70 SIGHUP, base::Bind(&Daemon::Restart, base::Unretained(this))); in OnInit()
74 int Daemon::OnEventLoopStarted() { in OnEventLoopStarted()
79 void Daemon::OnShutdown(int* /* exit_code */) { in OnShutdown()
83 bool Daemon::OnRestart() { in OnRestart()
88 bool Daemon::Shutdown(const signalfd_siginfo& /* info */) { in Shutdown()
100 bool Daemon::Restart(const signalfd_siginfo& /* info */) { in Restart()
112 void Daemon::OnEventLoopStartedTask() { in OnEventLoopStartedTask()