Home
last modified time | relevance | path

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

/aosp14/system/core/init/
H A Dsubcontext.cpp58 std::string shutdown_command; variable
164 if (!shutdown_command.empty()) { in MainLoop()
165 reply.set_trigger_shutdown(shutdown_command); in MainLoop()
166 shutdown_command.clear(); in MainLoop()
185 trigger_shutdown = [](const std::string& command) { shutdown_command = command; }; in SubcontextMain()
H A Dinit.cpp1097 auto shutdown_command = shutdown_state.CheckShutdown(); in SecondStageMain() local
1098 if (shutdown_command) { in SecondStageMain()
1099 LOG(INFO) << "Got shutdown_command '" << *shutdown_command in SecondStageMain()
1101 HandlePowerctlMessage(*shutdown_command); in SecondStageMain()