summaryrefslogtreecommitdiffstats
path: root/service.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'service.cpp')
-rw-r--r--service.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/service.cpp b/service.cpp
index f36141e..c8100b9 100644
--- a/service.cpp
+++ b/service.cpp
@@ -29,14 +29,14 @@
#define LOG_TAG "android.hardware.power@1.2-service-qti"
-#include <log/log.h>
-#include <hidl/HidlTransportSupport.h>
#include <hardware/power.h>
+#include <hidl/HidlTransportSupport.h>
+#include <log/log.h>
#include "Power.h"
+using android::OK;
using android::sp;
using android::status_t;
-using android::OK;
// libhwbinder:
using android::hardware::configureRpcThreadpool;
@@ -47,7 +47,6 @@ using android::hardware::power::V1_2::IPower;
using android::hardware::power::V1_2::implementation::Power;
int main() {
-
status_t status;
android::sp<IPower> service = nullptr;
@@ -70,7 +69,7 @@ int main() {
ALOGI("Power Service is ready");
joinRpcThreadpool();
- //Should not pass this line
+ // Should not pass this line
shutdown:
// In normal operation, we don't expect the thread pool to exit
@@ -78,4 +77,3 @@ shutdown:
ALOGE("Power Service is shutting down");
return 1;
}
-