Home
last modified time | relevance | path

Searched refs:shutdown_command (Results 1 – 2 of 2) sorted by relevance

/system/core/init/
Dsubcontext.cpp57 std::string shutdown_command; variable
163 if (!shutdown_command.empty()) { in MainLoop()
164 reply.set_trigger_shutdown(shutdown_command); in MainLoop()
165 shutdown_command.clear(); in MainLoop()
184 trigger_shutdown = [](const std::string& command) { shutdown_command = command; }; in SubcontextMain()
Dinit.cpp907 auto shutdown_command = shutdown_state.CheckShutdown(); in SecondStageMain() local
908 if (shutdown_command) { in SecondStageMain()
909 LOG(INFO) << "Got shutdown_command '" << *shutdown_command in SecondStageMain()
911 HandlePowerctlMessage(*shutdown_command); in SecondStageMain()