Loading services/core/jni/com_android_server_power_PowerManagerService.cpp +3 −0 Original line number Original line Diff line number Diff line Loading @@ -32,6 +32,7 @@ #include <android_runtime/AndroidRuntime.h> #include <android_runtime/AndroidRuntime.h> #include <android_runtime/Log.h> #include <android_runtime/Log.h> #include <binder/IServiceManager.h> #include <binder/IServiceManager.h> #include <gui/SurfaceComposerClient.h> #include <hardware/power.h> #include <hardware/power.h> #include <hardware_legacy/power.h> #include <hardware_legacy/power.h> #include <hidl/ServiceManagement.h> #include <hidl/ServiceManagement.h> Loading Loading @@ -147,6 +148,8 @@ static void sendPowerHint(PowerHint hintId, uint32_t data) { processPowerHalReturn(ret, "powerHint"); processPowerHalReturn(ret, "powerHint"); } } } } SurfaceComposerClient::notifyPowerHint(static_cast<int32_t>(hintId)); } } void android_server_PowerManagerService_userActivity(nsecs_t eventTime, int32_t eventType) { void android_server_PowerManagerService_userActivity(nsecs_t eventTime, int32_t eventType) { Loading Loading
services/core/jni/com_android_server_power_PowerManagerService.cpp +3 −0 Original line number Original line Diff line number Diff line Loading @@ -32,6 +32,7 @@ #include <android_runtime/AndroidRuntime.h> #include <android_runtime/AndroidRuntime.h> #include <android_runtime/Log.h> #include <android_runtime/Log.h> #include <binder/IServiceManager.h> #include <binder/IServiceManager.h> #include <gui/SurfaceComposerClient.h> #include <hardware/power.h> #include <hardware/power.h> #include <hardware_legacy/power.h> #include <hardware_legacy/power.h> #include <hidl/ServiceManagement.h> #include <hidl/ServiceManagement.h> Loading Loading @@ -147,6 +148,8 @@ static void sendPowerHint(PowerHint hintId, uint32_t data) { processPowerHalReturn(ret, "powerHint"); processPowerHalReturn(ret, "powerHint"); } } } } SurfaceComposerClient::notifyPowerHint(static_cast<int32_t>(hintId)); } } void android_server_PowerManagerService_userActivity(nsecs_t eventTime, int32_t eventType) { void android_server_PowerManagerService_userActivity(nsecs_t eventTime, int32_t eventType) { Loading