Age | Commit message (Collapse) | Author |
|
clean up ADPF trace points and use vendor.powerhal.adpf.uclamp.boost_cap
instead of vendor.powerhal.adpf.uclamp.cap_ratio.
Bug: 191551452
Test: build
Change-Id: I457710b1bd9a7adbb55749d7bb915c736dde2751
|
|
Also change default window setting to 0
Bug: 191409203
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ieadf50a64e795d9942373c411189adf9daaee779
|
|
Cache active state and reduce log spam
Add value tracing into libperfmgr
Use adaptive stale timeout based on rate limit
Bug: 191331719
Bug: 191296994
Bug: 177493042
Test: boot
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I1c1484c9277209bf68bd287ceae83e2b37684c62
|
|
Fixes: ag/14313466
Bug: 177493042
Bug: 191163855
Test: Build
Change-Id: I94812997a8214b77a2e1d0bcf90ef62205c5adf6
Signed-off-by: Wei Wang <wvw@google.com>
|
|
The patch includes:
1. Move from folder adpf to aidl.
2. Add PowerSessionManager class to maintain hint status.
And PowerHintMointor looper thread for monitoring or updating
PowerHintSession status.
3. Use PID algorithm to replace the step-wise alogrithm for cpu resource
control.
Test: build, boot to home, trace analysis
Bug: 177493042
Change-Id: Ib7d3f414225b18954350341ca22b7be87a6202e7
|
|
Test: boot
Bug: 170650323
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I9ae71827b6039c4363ca038062599eb75234b75a
|
|
Bug: 177492680
Test: build
Change-Id: If72b81539f082756643e06467b12933a22a65276
|
|
Add bunch of TODO for team as well.
Test: build
Bug: 177492680
Bug: 185368789
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ic1d5ecea10a60b23343866cd62519fda37bd6ec5
|
|
Adapted from PoC from ag/13100800
Added more ATRACE for further tuning and debug
Test: APPPID=$(adb shell pidof com.prefabulated.touchlatency); watch -n
1 adb shell grep uclamp /proc/${APPPID}/sched
Test: atest VtsHalPowerTargetTest
Bug: 177492680
Change-Id: I6bfd61b21dc1cde04f6ba9ae8d3533cd263ad814
Signed-off-by: Wei Wang <wvw@google.com>
|
|
Bug: 180923613
Test: build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I250e60b672ae8f6c69c16009f3274ef1a6bfff09
|
|
0c82fe16a1f5f956cc4906e55230fa8921644a52 to sc-dev
Change-Id: Ia4cbb3e2b746c9c19a3084085c4f2c4fbc8297ca
|
|
Added SPDX-license-identifier-Apache-2.0 to:
atrace/Android.bp
bootctrl/Android.bp
dynamic_partitions/Android.bp
fastboot/Android.bp
health/Android.bp
kernel_headers/Android.bp
misc_writer/Android.bp
mm/Android.bp
perfstatsd/Android.bp
pixelstats/Android.bp
power-libperfmgr/Android.bp
power-libperfmgr/libperfmgr/Android.bp
powerstats/Android.bp
powerstats/aidl/Android.bp
pwrstats_util/Android.bp
radio/Android.bp
radio/gril_carrier_nv_headers/Android.bp
recovery/Android.bp
usb/Android.bp
vibrator/Android.bp
vibrator/common/Android.bp
vibrator/common/bench/Android.bp
vibrator/cs40l25/Android.bp
vibrator/cs40l25/bench/Android.bp
vibrator/cs40l25/diag/Android.bp
vibrator/cs40l25/tests/Android.bp
vibrator/drv2624/Android.bp
vibrator/drv2624/bench/Android.bp
vibrator/drv2624/tests/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to:
Android.bp
thermal/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I58efe8db7cc3f22a585c6e3a80bef41c48b49c8d
Merged-in: I58efe8db7cc3f22a585c6e3a80bef41c48b49c8d
|
|
Original change: https://android-review.googlesource.com/c/platform/hardware/google/pixel/+/1612362
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id8a917b53d0e5c06bcf283efe8b7689dc90fbe21
|
|
Original change: https://android-review.googlesource.com/c/platform/hardware/google/pixel/+/1612362
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ibdb3f15455a39d16036ecaaab1e07efc3456282f
|
|
Original change: https://android-review.googlesource.com/c/platform/hardware/google/pixel/+/1607556
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I856ef661a5c2b494c80911f1b364e9d62c34abb9
|
|
Original change: https://android-review.googlesource.com/c/platform/hardware/google/pixel/+/1607556
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ib8f572d0fc8ac016d2fe21bd6b2e3f01592f1f3b
|
|
Change-Id: I543566a916eade86a8dff540b516df3677dcfc76
|
|
Reader / StyledWriter are deprecated upstream
Bug: 170642246
Change-Id: Idda98ab653ea64a6e305382ff519c7005ac8f80b
|
|
Provide flexibility to make power hint cross referenced.
With proper configuration, we can mask some power hint if another
power hint is on.
e.g. we can stop launch hint under thermal conditions or battery saver
mode etc.
or we can end the current active hint earlier if another hint comes,
e.g. display idle.
below configuration is added into unit tests
{
"PowerHint": "MASK_LAUNCH_MODE",
"Type": "MaskHint",
"Value": "LAUNCH"
},
{
"PowerHint": "END_LAUNCH_MODE",
"Type": "EndHint",
"Value": "LAUNCH"
},
{
"PowerHint": "DO_LAUNCH_MODE",
"Type": "DoHint",
"Value": "LAUNCH"
}
Bug: 180923613
Test: /data/nativetest64/libperfmgr_test/libperfmgr_test
Change-Id: I6e3fac0d8768b271955b1a474b02b934666c154a
|
|
Original change: https://android-review.googlesource.com/c/platform/hardware/google/pixel/+/1560470
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I13e578f794388e800d8578f702835c80848bc764
|
|
Bug: 150578172
Test: m
Change-Id: I77f3363e26b19aceb72b8db9d7c93d6b22b08ca1
Merged-In: I4a9bf218b92252403e9ebbe8f89b10ee1899283f
|
|
Bug: 150578172
Test: m
Change-Id: I4a9bf218b92252403e9ebbe8f89b10ee1899283f
|
|
Test: build
Bug: 173222103
Bug: 174725590
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I14e7e0aa349e446f6889cbfc9a914f5314438e6b
(cherry picked from commit cbfc4ab32a43ec59a70c0f7bd9bded591d0d3047)
|
|
Test: build
Bug: 173222103
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I14e7e0aa349e446f6889cbfc9a914f5314438e6b
|
|
Test: Build
Bug: 169065024
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I3cef3aff4bb2394571a3de13e535283722c308ed
|
|
To workaround b/141025174, adding support for devices without display
idle signals. Also added a property to override idle display function.
Besides the idle signal support, this CL also makes touch boost duration
tunable through several new vendor properties. It also named display
idle monitor thread and cleans out the obsolete HIDL Power HAL
implementation.
Bug: 168080943
Bug: 169065024
Bug: 171494137
Test: Boot and trace
Change-Id: I76067d10958654d539624ec4cac8f346103e67bc
|
|
Collect the counts & duration for each powerhint sent and add the
collected stats to DumpToFd.
Bug: 156780872
Test: adb shell dumpsys android.hardware.power.IPower/default
Change-Id: Ied07762aa88d715830d657a2c6a42bf49d89fadd
|
|
Bug: 162791243
Bug: 72471476
Test: build and using emul temp/running burn8 to verify it
Change-Id: I5ca475be8b73b940e4858634595a7918ae92f6ef
|
|
Because perfmgr is a vendor process, it cannot adjust system priority
directly.
Bug: 162791243
Test: build and using emul temp/running burn8 to verify it
Change-Id: I55e49cb7d0b2d4c0e42dff8398b5d42c6546cafa
|
|
If current foss state same as desired state, doesn't set it again.
Bug: 148656663
Test: stress on/off battery saver and check foss state
Test: enable battery saver, stress on/off screen
Change-Id: I6298361fd6a5d6a86c94eabb71ab254507136fd3
|
|
Bug: 147833210
Test: build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I88cbf2bf6977e4bd65fbdccd3a1252ea467ec196
|
|
|
|
Bug: 152811907
Test: Build
Change-Id: I6848e929d8a26b540fcee9145376b896c3cd9799
|
|
Use aidl for android.hardware.power-service.pixel-libperfmgr, and
use hidl for android.hardware.power@1.3-service.pixel-libperfmgr.
Bug: 151873153
Test: selinux_policy build pass
Change-Id: I0cefab08a334fd26de6c75665df66931e39c32cd
|
|
Bug: 111098032
Test: build
Change-Id: Ib809ce7378a986ca3cac331296f5a5fe4cfde6e6
|
|
Bug: 137581945
Test: Build
Change-Id: Ib30703876fb4cfe7c3b70cb0cefe9b55fb751178
|
|
Bug: 137581945
Test: Build
Change-Id: Idc03c7b9819f4aaed65233795107cd8c5c20aacb
|
|
Bug: 147840817
Test: boot
Change-Id: Ic1d6e04109683b999bb99484930e95dc9813fc59
|
|
Bug: 151896829
Test: boot flame
Change-Id: Ie951008cabe2a5680fbc546a21bdc9a428864ef9
|
|
Bug: 147840817
Test: boot and check power hint
Change-Id: I276e0008f18b0067a10a3c2cf239e3bf4c6f609b
|
|
Bug: 111098032
Test: build
Change-Id: I8765d04f850336fe62159f51b3802df8f3eaf5bf
|
|
Bug: 147840817
Test: boot and check power hint
Change-Id: I9c0c98e76ef4b5f4756f63ed5122efc366737869
|
|
Bug: 147840817
Test: boot and check power hint
Change-Id: I2a78f0428acd1110f2004db94f3feb6eaf2090b7
|
|
Bug: 147840817
Test: boot
Change-Id: Ieb394e0433c4775e84e11e881898933ef93fd08d
(cherry picked from commit 2bcf2514fd608493f4d7c6306bb933f7fec6ee24)
|
|
Since these were combined into libhidlbase.
Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: Ife609bf7eddeae2fba81625d92de7d8ecddf60e6
|
|
Test: Pixel test suite
Bug: 136608042
Change-Id: I8b3b1149dc12ce84b03622a0ec3db601f89ffb75
|
|
NodeLooperThread is running as -20, and this CL brings the binder thread
running as the same priority.
Bug: 134843942
Test: Build and jank test no regression on hwui test
Change-Id: I16dfc185e16ffe5c937eabd6f17e371bc9511622
|
|
Extend CAMERA_STREMING hint to add CAMERA_STREAMING_SECURE mode
for secure use case.
Bug: 131263055
Test: Boot and test on both typical & secure streaming modes
Change-Id: Ifde1414e3535c8744990fe5b3b3e944ecff88ae7
|
|
This leads to additional latency in processing hints. Also some tests
have small cores shut off.
Now for testing need to skipping powerhint:
setprop vendor.powerhal.init 0
setprop ctl.restart vendor.power-hal-1-3
Test: Build
Bug: 129495482
Fixes: 133425880
Change-Id: I8ede2f2ee70a3df4f1b353ee9c07ab10752973e2
|
|
We can remove this additional boost as b/65034076 resolved.
Test: Build
Bug: 129495482
Change-Id: Ice34de0b3900b190c937b321f59c4ce4c97d9a64
|