Home
last modified time | relevance | path

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

/system/core/init/
Dreboot.cpp639 std::set<std::string> stop_first; in DoReboot() local
657 stop_first.insert(s->name()); in DoReboot()
701 StopServicesAndLogViolations(stop_first, shutdown_timeout / 2, true /* SIGTERM */); in DoReboot()
704 StopServicesAndLogViolations(stop_first, 0ms, false /* SIGKILL */); in DoReboot()
803 std::set<std::string> stop_first; in DoUserspaceReboot() local
809 stop_first.insert(s->name()); in DoUserspaceReboot()
828 StopServicesAndLogViolations(stop_first, sigterm_timeout, true /* SIGTERM */); in DoUserspaceReboot()
829 if (int r = StopServicesAndLogViolations(stop_first, sigkill_timeout, false /* SIGKILL */); in DoUserspaceReboot()
834 if (s->IsRunning() && stop_first.count(s->name())) { in DoUserspaceReboot()