diff options
author | 2025-03-07 14:52:30 -0800 | |
---|---|---|
committer | 2025-03-10 11:47:49 -0700 | |
commit | 038a8961e7142617e4819d288f0ac9e69843c8fe (patch) | |
tree | fd2bc03ad3d21a7d222199c9b558953f101f8c2a /include/powermanager/PowerHalController.h | |
parent | 233e3382258741d7383325e28f422e33ae112710 (diff) |
Refactor PowerHalController and add a binding for composition data
This patch refactors some of the calls to use the "hal::" syntax used
elsewhere for ADPF, and adds (currently unused) wrappers for
sending composition data.
Bug: 360908317
Flag: EXEMPT refactor
Test: atest libpowermanager_test
Change-Id: Ib9b2fec37b8e1431ba2c4ba0658db658f28429fa
Diffstat (limited to 'include/powermanager/PowerHalController.h')
-rw-r--r-- | include/powermanager/PowerHalController.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/powermanager/PowerHalController.h b/include/powermanager/PowerHalController.h index f4f4d5e05c..e22481fceb 100644 --- a/include/powermanager/PowerHalController.h +++ b/include/powermanager/PowerHalController.h @@ -73,6 +73,9 @@ public: int tgid, int uid) override; virtual HalResult<void> closeSessionChannel(int tgid, int uid) override; virtual HalResult<aidl::android::hardware::power::SupportInfo> getSupportInfo() override; + virtual HalResult<void> sendCompositionData( + const std::vector<hal::CompositionData>& data) override; + virtual HalResult<void> sendCompositionUpdate(const hal::CompositionUpdate& update) override; private: std::mutex mConnectedHalMutex; |