summaryrefslogtreecommitdiff
path: root/init/reboot.h
diff options
context:
space:
mode:
Diffstat (limited to 'init/reboot.h')
-rw-r--r--init/reboot.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/init/reboot.h b/init/reboot.h
index 551a114f6..81c3edc12 100644
--- a/init/reboot.h
+++ b/init/reboot.h
@@ -17,17 +17,11 @@
#ifndef _INIT_REBOOT_H
#define _INIT_REBOOT_H
-#include <chrono>
-#include <set>
#include <string>
namespace android {
namespace init {
-// Like StopServices, but also logs all the services that failed to stop after the provided timeout.
-// Returns number of violators.
-int StopServicesAndLogViolations(const std::set<std::string>& services,
- std::chrono::milliseconds timeout, bool terminate);
// Parses and handles a setprop sys.powerctl message.
void HandlePowerctlMessage(const std::string& command);