diff options
| author | 2023-06-28 19:13:42 +0000 | |
|---|---|---|
| committer | 2023-08-08 23:03:12 +0000 | |
| commit | 423c1b36d76021f9ce992b7103fbd22835f65cd6 (patch) | |
| tree | b07abc2e18495b81bb543f4a388485b167ff9175 /libs/input/PointerController.cpp | |
| parent | 4660c49ca5ad61fadff78d53cda60b697af94b7d (diff) | |
Add plumbing for ADPF Power Efficiency hint
These patches introduce a new power efficiency mode for hint sessions
to the public API, and internally expose a new setMode API for hint
sessions that resembles the setMode API for iPower, to control
different session operating modes.
This set of patches:
- Updates the PowerHAL AIDL to version 5, and updates relevant bp files
- Exposes new setPreferPowerEfficiency(bool enabled) method from the
SDK and NDK
- Exposes new setMode(int mode, bool enabled) method from PowerHAL AIDL
and HintManagerService
- Adds support for new setMode call in PowerHAL
Bug: b/288117936
Test: atest cts/tests/tests/os/src/android/os/cts/PerformanceHintManagerTest.java
Test: atest HintManagerServiceTest
Change-Id: Ia1349e1bd8c4c85276788892b69897b5ef267c03
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions