Searched refs:StopServicesAndLogViolations (Results 1 – 3 of 3) sorted by relevance
/system/core/init/ |
D | reboot.h | 29 int StopServicesAndLogViolations(const std::set<std::string>& services,
|
D | reboot_test.cpp | 146 EXPECT_EQ(0, StopServicesAndLogViolations({"A", "B", oneshot_service_name}, 10s, in TEST_F() 186 EXPECT_EQ(0, StopServicesAndLogViolations({"A", "B", oneshot_service_name}, 10s, in TEST_F()
|
D | reboot.cpp | 548 int StopServicesAndLogViolations(const std::set<std::string>& services, in StopServicesAndLogViolations() function 701 StopServicesAndLogViolations(stop_first, shutdown_timeout / 2, true /* SIGTERM */); in DoReboot() 704 StopServicesAndLogViolations(stop_first, 0ms, false /* SIGKILL */); in DoReboot() 828 StopServicesAndLogViolations(stop_first, sigterm_timeout, true /* SIGTERM */); in DoUserspaceReboot() 829 if (int r = StopServicesAndLogViolations(stop_first, sigkill_timeout, false /* SIGKILL */); in DoUserspaceReboot() 850 if (int r = StopServicesAndLogViolations(debugging_services, sigkill_timeout, in DoUserspaceReboot()
|