Home
last modified time | relevance | path

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

/system/core/init/
Dreboot.cpp672 std::set<std::string> stop_first; in DoReboot() local
692 stop_first.insert(s->name()); in DoReboot()
735 StopServicesAndLogViolations(stop_first, shutdown_timeout / 2, true /* SIGTERM */); in DoReboot()
738 StopServicesAndLogViolations(stop_first, 0ms, false /* SIGKILL */); in DoReboot()
847 std::set<std::string> stop_first; in DoUserspaceReboot() local
853 stop_first.insert(s->name()); in DoUserspaceReboot()
872 StopServicesAndLogViolations(stop_first, sigterm_timeout, true /* SIGTERM */); in DoUserspaceReboot()
873 if (int r = StopServicesAndLogViolations(stop_first, sigkill_timeout, false /* SIGKILL */); in DoUserspaceReboot()
878 if (s->IsRunning() && stop_first.count(s->name())) { in DoUserspaceReboot()