Home
last modified time | relevance | path

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

/system/core/init/
Dreboot.h29 int StopServicesAndLogViolations(const std::set<std::string>& services,
Dreboot_test.cpp146 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()
Dreboot.cpp575 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()
Dservice_test.cpp278 EXPECT_EQ(0, StopServicesAndLogViolations({service->name()}, 10s, /*terminate=*/true)); in TEST_P()
Dinit.cpp437 int still_running = StopServicesAndLogViolations(service_names, kServiceStopTimeout, in StopServicesFromApex()
441 still_running = StopServicesAndLogViolations(service_names, 0ms, false /*SIGKILL*/); in StopServicesFromApex()