Commit Graph

8 Commits

Author SHA1 Message Date
Ethan Chen
48bfafcf39 power: Use log/log.h instead of utils/Log.h
Change-Id: I827c7f5ab27548eec8d6e4ee27a72fa883025002
2023-10-29 22:13:01 +00:00
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
Paul Keith
0c54d07956 power: Fix a few compiler warnings
* And unify styling a little bit

Change-Id: I7f9bb43a534e352fdd7693ff975749864f8addb3
2023-10-29 22:13:01 +00:00
Steve Kondik
e2732b782f power: Allow device specific hooks for set_interactive
* Some devices may want to implement custom hooks

Change-Id: I9be8023c8134b3c262f27b43a28bec0e14c0fd7f
2023-10-26 16:39:26 +03: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
Divya Verma
fe6e6b5169 [Power] : Changes to resolve compiler warnings
Resolving compiler warnings

Change-Id: If4bde7e7b17d7ec3bd2fd57945662163e4171d82
2021-11-01 00:04:55 -07:00
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