diff options
author | Philip Cuadra <philipcuadra@google.com> | 2017-07-11 14:50:25 -0700 |
---|---|---|
committer | Rashed Abdel-Tawab <rashed@linux.com> | 2017-12-29 23:49:55 +0200 |
commit | c1f872c20b60de3e68987e1fe7e01088287ab75e (patch) | |
tree | e0565cacb04d8f0168778e5a44babbf429175925 /Power.cpp | |
parent | 00b218507cd75ae86a1ab8d11054a87d8a8f44a3 (diff) | |
download | android_hardware_qcom_power-c1f872c20b60de3e68987e1fe7e01088287ab75e.tar.gz android_hardware_qcom_power-c1f872c20b60de3e68987e1fe7e01088287ab75e.tar.bz2 android_hardware_qcom_power-c1f872c20b60de3e68987e1fe7e01088287ab75e.zip |
power: Add powerHintAsync functionality
Add an async version of powerHint called powerHintAsync.
Bug: 62377008
Test: Take systrace, confirm powerHint is an async HIDL transaction
Change-Id: I481d74e02c51756306400cc19000db644fce6559
Diffstat (limited to 'Power.cpp')
-rw-r--r-- | Power.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -165,6 +165,11 @@ done: return Void(); } +Return<void> Power::powerHintAsync(PowerHint hint, int32_t data) { + // just call the normal power hint in this oneway function + return powerHint(hint, data); +} + } // namespace implementation } // namespace V1_1 } // namespace power |