MotoSM6375Devs fork
Add a bool property `vendor.powerhal.config.debug`.
Power HAL would use `/data/vendor/etc/powerhint.json` when vendor.powerhal.config.debug = true.
Bug: 218872105
Bug: 206061061
Test: adb wait-for-device root; adb shell mkdir -p /data/vendor/etc/;
adb push powerhint_mod.json /data/vendor/etc/powerhint.json
Test: adb shell setprop vendor.powerhal.config.debug true && \
adb shell getprop vendor.powerhal.config.debug && \
adb shell stop vendor.power-hal-aidl && \
adb shell start vendor.power-hal-aidl && adb shell stop && adb shell start
Test: adb pull /data/local.prop ; vim local.prop
+ vendor.powerhal.config.debug=true
Test: adb wait-for-device root && adb shell perfetto -o \
/data/misc/perfetto-traces/trace_file.perfetto-trace -t 20s sched freq \
idle am wm gfx view power hal && \
adb pull /data/misc/perfetto-traces/trace_file.perfetto-trace trace_profile_debug.pftrace
Change-Id: Ibaf5df280b989a8268efce1e3ab9a3f1e5510800
|
||
|---|---|---|
| audio/sku_holi | ||
| bootctrl | ||
| configs | ||
| gps | ||
| gpt-utils | ||
| livedisplay | ||
| location | ||
| media | ||
| overlay-lineage | ||
| power-libperfmgr | ||
| recovery | ||
| resource-overlay | ||
| rootdir | ||
| sepolicy | ||
| wifi | ||
| Android.bp | ||
| Android.mk | ||
| BoardConfigCommon.mk | ||
| common.mk | ||
| compatibility_matrix.xml | ||
| config.fs | ||
| device_framework_matrix.xml | ||
| extract-files.sh | ||
| framework_manifest.xml | ||
| lineage.dependencies | ||
| manifest.xml | ||
| odm.prop | ||
| product.prop | ||
| proprietary-files.txt | ||
| setup-makefiles.sh | ||
| system.prop | ||
| update-sha1sums.py | ||
| vendor.prop | ||