Commit Graph

10 Commits

Author SHA1 Message Date
Vladimir Mikhailov
7c575afade power: Handle launch and interaction hints
Co-authored-by: dianlujitao <dianlujitao@lineageos.org>
Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Co-authored-by: Quallenauge <Hamsi2k@freenet.de>
Co-authored-by: tomascus <arbiter1000@gmail.com>
Co-authored-by: Wei Wang <wvw@google.com>
Change-Id: I472a177e0a13b0c4201cf0b1e5ddee18a785b683
2023-10-29 22:13:01 +00:00
Michael Bestas
2ab4d32f3d power: Clean up and fix set_interactive_override
* Remove debug logs and useless comments
* Consistent return values
* Check if set_interactive_override handled hints and print
  info message if it didn't

Change-Id: Iff9f7327ba71c282e34ff3143c45a3f40f72fc92
2023-10-29 22:13:01 +00:00
Michael Bestas
1c4f9ef732 power: Clean up and fix video encode/decode hint handling
* Unify code style for non legacy SoCs

Change-Id: Ieb84e6d6c8d762614e21267e81e6057aa64b36dd
2023-10-29 22:13:01 +00:00
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
dianlujitao
1c368078d1 power: Remove mutex to hints
* No longer needed.

Change-Id: I09fc90b4e5399b3f3b8a409edf3f57361da90100
2023-10-29 22:13:01 +00:00
Rashed Abdel-Tawab
cd6e36030a power: Remove unused arg from power_hint_override/set_interactive_override
Change-Id: If45b59915022b563d4c5c9bf454b02b431a97833
2023-10-29 22:13:01 +00:00
Michael Bestas
cbf3615141 power: Remove powerhintparser
* The usage of this code was removed in commit
  0c226b7921b421dd24363f15aefef1236aa25287
* powerhint.xml is now read by libqti-perfd

Change-Id: I498ad19d0bb43124e4518c5a4f20191a2c122997
2023-10-29 22:13:01 +00:00
Bharat Pawar
2cda3f7820 VNDK: Added required headers for 8998 target
Change-Id: I7e2143b4c29ba9f0e4fc8ddbe1d700a2b17d513a
2018-06-28 19:25:35 +05:30
David Ng
ee7c4c5831 Relocate power HAL from device/qcom/common
Split module from combined device/qcom/common project into its
own project.

Relocation of some files from device/qcom/common at
b5ce80cb1f60759a142a9338104d3adf3303ec0c.

Change-Id: I6c13729a822f6fb9b5574b759ae9ec12154be464
2018-05-24 00:32:16 -07:00