Home
last modified time | relevance | path

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

/system/core/init/
Dsubcontext.cpp56 std::string shutdown_command; variable
162 if (!shutdown_command.empty()) { in MainLoop()
163 reply.set_trigger_shutdown(shutdown_command); in MainLoop()
164 shutdown_command.clear(); in MainLoop()
183 trigger_shutdown = [](const std::string& command) { shutdown_command = command; }; in SubcontextMain()
Dinit.cpp884 auto shutdown_command = shutdown_state.CheckShutdown(); in SecondStageMain() local
885 if (shutdown_command) { in SecondStageMain()
886 LOG(INFO) << "Got shutdown_command '" << *shutdown_command in SecondStageMain()
888 HandlePowerctlMessage(*shutdown_command); in SecondStageMain()