Searched refs:StopServicesAndLogViolations (Results 1 – 5 of 5) 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 | 575 int StopServicesAndLogViolations(const std::set<std::string>& services, in StopServicesAndLogViolations() function 735 StopServicesAndLogViolations(stop_first, shutdown_timeout / 2, true /* SIGTERM */); in DoReboot() 738 StopServicesAndLogViolations(stop_first, 0ms, false /* SIGKILL */); in DoReboot() 872 StopServicesAndLogViolations(stop_first, sigterm_timeout, true /* SIGTERM */); in DoUserspaceReboot() 873 if (int r = StopServicesAndLogViolations(stop_first, sigkill_timeout, false /* SIGKILL */); in DoUserspaceReboot() 894 if (int r = StopServicesAndLogViolations(debugging_services, sigkill_timeout, in DoUserspaceReboot()
|
D | service_test.cpp | 278 EXPECT_EQ(0, StopServicesAndLogViolations({service->name()}, 10s, /*terminate=*/true)); in TEST_P()
|
D | init.cpp | 437 int still_running = StopServicesAndLogViolations(service_names, kServiceStopTimeout, in StopServicesFromApex() 441 still_running = StopServicesAndLogViolations(service_names, 0ms, false /*SIGKILL*/); in StopServicesFromApex()
|