SamarV-121
623f59e656
sdm710-common: power-libperfmgr: Enable dt2w
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2022-11-12 15:09:34 +01:00
giasen
c69c3e3d54
fixup: sdm710-common: update power sepolicy from xiaomi-sdm845
...
- remove unwanted rc file
2022-11-12 15:09:34 +01:00
Jesse Chan
dd42b3033c
sdm710-common: libperfmgr: remove Google-specific VR and camera hints
...
Change-Id: Iac0e65a16f660583d3400a35622113d35d8d1d27
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-11-12 15:09:34 +01:00
Chenyang Zhong
2018306009
sdm710-common: power: rename pixel to lenovo-sdm710
...
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-11-12 15:09:34 +01:00
Chenyang Zhong
39646561d1
sdm710-common: power: re-import power HAL
...
from android-13.0.0_r3
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-11-12 15:09:34 +01:00
Giammarco Senatore
38b77bd32e
kunlun2: Drop vendor_overlay and its hax
2021-07-11 17:06:19 +02:00
Volodymyr Zhdanov
4db1147a64
kunlun2: power-libperfmgr: move dt2w mode on top of setMode switch
...
* fixed dt2w after reboot
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 19:36:00 +01:00
Volodymyr Zhdanov
7fd6e62ecd
kunlun2: power-libperfmgr: enable DOUBLE_TAP_TO_WAKE mode explicitly
...
* libperfmgr expects mode to be declared in powerhint but dt2w is handled in powerhal
* so let's just force enable it like google did with LOW_POWER
* also use break instead of fallthrough because there's no need to play with hints
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 19:34:49 +01:00
SamarV-121
0b9dcc21d6
kunlun2: power-libperfmgr: Enable dt2w
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 18:09:57 +01:00
Kyle Lin
0d01eb2df5
kunlun2: libperfmgr.rc: let power hal start early
...
Bug: 162791243
Bug: 72471476
Test: build and using emul temp/running burn8 to verify it
Change-Id: I5ca475be8b73b940e4858634595a7918ae92f6ef
(cherry picked from commit 35e110fe669a7d2996ce503d7e31204554f972e3)
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 17:52:21 +01:00
Jesse Chan
bae3d485a5
kunlun2: power-libperfmgr: Initialize powerHAL when boot is completed
...
Change-Id: I801b3aba05ef0be14c7af1969ddf9318c05ef64c
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 17:52:21 +01:00
Jesse Chan
a485a2c7c8
kunlun2: power-libperfmgr: Remove Google-specific display LPM control
...
Change-Id: If58f38b99bf6fbd73f6b6ab2144293c63e18b600
Signed-off-by: Jesse Chan <jc@lineageos.org>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-01 17:52:21 +01:00
SamarV-121
30666f3913
kunlun2: Import Pixel power AIDL HAL
...
Nuke Powerstats
2021-01-01 17:52:11 +01:00