Commit Graph

12 Commits

Author SHA1 Message Date
Michael Bestas
0b6459f08e power: clang-format
* Using AOSP interface .clang-format
* Clean Android.mk while we are at it

Change-Id: I630f72e3dffb676ca1930e72945e897f62103ada
Signed-off-by: Arian <arian.kulmer@web.de>
2023-10-29 22:13:01 +00:00
LuK1337
de33daea0c power: Allow device specific hooks for setMode, isModeSupported
* Some devices may want to implement custom hooks

Change-Id: Icb2d66471ec649a69b1e69849fd86282775052cb
2023-10-26 16:39:26 +03:00
Steve Kondik
6b46a293df power: Add support for tap-to-wake feature control
Co-authored-by: Arian <arian.kulmer@web.de>
Co-authored-by: LuK1337 <priv.luk@gmail.com>
Change-Id: I545902b29f4828c127bc32def6e30b67ce4a3aa7
2023-10-26 16:38:59 +03:00
Michael Bestas
9df9caa266 power: Add -qti suffix to module name
* Prevent conflict with other HALs

Change-Id: Icf1216410db26c3bb811d7aedde03e6d2f87e3cc
Signed-off-by: Sebastiano Barezzi <barezzisebastiano@gmail.com>
2023-10-26 16:36:36 +03:00
zehugong
7bcadd18d4 power: Add support for ADPF implementation.
ADPF provided the API for power/performance tuning. Add API support in power HAL.

Change-Id: Ie00f97650b209a890da222e5911371a270efb131
2023-05-10 13:46:08 +08:00
Jun Wang
a76131a3c1 power: Add property check for EXPENSIVE_RENDERING
Detect the support status of EXPENSIVE_RENDERING mode based on the
vendor property, which can be configured per target.

Change-Id: I39ed53f5df506bb8b7a714138d35e5b29bcfa4a5
CRs-Fixed: 3364809
2022-12-15 17:18:48 +08:00
Jun Wang
92e50efac0 power: Add support for EXPENSIVE_RENDERING
When background_blur is enabled, the rendering can be expensive
and many janks will occur. So, need to support the mode in power
module and pass it to perf-hal to handle.

Change-Id: I5bab53e72134d76201d9fc28b9bdae4185790deb
CRs-Fixed: 3278491
2022-09-04 19:21:59 -07:00
Shashank Sivakumar
1d6f3540d7 power: update the AIDL client ver 3
The AIDL client is updated to use version 3.

Change-Id: I6b7e559809629cf59e1359787d5e99fb151ef960
2022-08-23 17:28:46 -07:00
Rajeswari N
3cefb3cd21 power: Add supported modes
Added supported modes in impl

Change-Id: I57a5df42e813f1b6af59f9edf37e47fdac400dee
2020-09-11 09:00:56 -07:00
Rajeswari N
7d5aeeba7c power: Added copyrights info in xml
Added copyrights and year in files

Change-Id: Id1669ebb81845130da57c5c016d7f8bae5b2108a
2020-07-21 10:14:00 -07:00
Rajeswari N
dbf22f7b1a power: conversion from hidl to aidl
Added aidl specific changes

Change-Id: Iaba27ba991db960b8e0721047910de4da1c20934
2020-07-05 22:16:44 +05:30
Ananth Raghavan Subramanian
d39ec577a6 power: Introducing PowerHAL binderized service
Moving from the default implementation to a binderized service with no
wrapping.
Now using 1.2 implementation of the IPower interface.

Change-Id: Ibefd916544f51545e6889684a051b2ecc5867fe2
2019-01-17 16:15:04 -08:00