summaryrefslogtreecommitdiff
path: root/power-libperfmgr/hidl
AgeCommit message (Collapse)Author
2021-04-13power: add PowerHintSession for ADPF implementationJimmy Shiu
Adapted from PoC from ag/13100800 Added more ATRACE for further tuning and debug Test: APPPID=$(adb shell pidof com.prefabulated.touchlatency); watch -n 1 adb shell grep uclamp /proc/${APPPID}/sched Test: atest VtsHalPowerTargetTest Bug: 177492680 Change-Id: I6bfd61b21dc1cde04f6ba9ae8d3533cd263ad814 Signed-off-by: Wei Wang <wvw@google.com>
2020-10-22Power: add support for devices without display idle signalsWei Wang
To workaround b/141025174, adding support for devices without display idle signals. Also added a property to override idle display function. Besides the idle signal support, this CL also makes touch boost duration tunable through several new vendor properties. It also named display idle monitor thread and cleans out the obsolete HIDL Power HAL implementation. Bug: 168080943 Bug: 169065024 Bug: 171494137 Test: Boot and trace Change-Id: I76067d10958654d539624ec4cac8f346103e67bc
2020-06-30display: cache display lpm state to avoid set it againandroid11-devMidas Chien
If current foss state same as desired state, doesn't set it again. Bug: 148656663 Test: stress on/off battery saver and check foss state Test: enable battery saver, stress on/off screen Change-Id: I6298361fd6a5d6a86c94eabb71ab254507136fd3
2020-03-27Add device.mk for power HAL common sepolicyRick Yiu
Use aidl for android.hardware.power-service.pixel-libperfmgr, and use hidl for android.hardware.power@1.3-service.pixel-libperfmgr. Bug: 151873153 Test: selinux_policy build pass Change-Id: I0cefab08a334fd26de6c75665df66931e39c32cd
2020-02-22Split PowerHAL into HIDL impl and libraryWei Wang
Bug: 147840817 Test: boot Change-Id: Ieb394e0433c4775e84e11e881898933ef93fd08d (cherry picked from commit 2bcf2514fd608493f4d7c6306bb933f7fec6ee24)