* when tested with [1], even after exiting the app, spm was
still active in powerhal thereby keeping max freqs limited
and blocking boosts
* enable/disable it properly and end all other hints before
enabling, to fix this issue
* while we're at it, don't handle max freq for anything other
than spm in powerhint
[1] https://android.googlesource.com/platform/cts/+/refs/heads/master/hostsidetests/sustainedperf
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
HWC and cit sensor logspam is so intense it bumps up logd's idle CPU
usage up to over 3%. With this change, logs are much cleaner and logd
idle CPU usage is reduced to under 1%, while still allowing error logs
to pass through.
- Do this only in user/debug builds (except eng).
- Add wifi and cnss too while we're at it, they can get noisy at times.
Similar to what we did for the camera app, unpin the launcher app from
memory as well. While the default launcher (Launcher3) isn't
particularly big, it doesn't make much sense to pin because the launcher
does not typically load new resources much. Most of its resources should
already be loaded in memory after it starts, so pinning the APK is
redundant.
Change-Id: Ia03de9c546a042637647f45d7b2b4072c1555fb5
We droping old deprecated vp9 media codec. This update fixing the following
errors/bugs that causing problems/flickering while playing video on Instagram
and some audio issues on other apps.
Tested with: Instagram, Facebook, WhatsApp, Viber, Duo and YouTube.
01-04 19:50:55.803 1403 6251 E OMXNodeInstance: setParameter(0xd9cc0014:qcom.decoder.vp9, OMX.google.android.index.allocateNativeHandle(0x7f00005d): Output:1 en=0) ERROR: UnsupportedSetting(0x80001019)
01-04 19:50:55.803 1403 6251 E OMX-VDEC-1080P: Extension: OMX.google.android.index.storeANWBufferInMetadata not implemented
01-04 19:50:55.804 1403 6251 E OMX-VDEC-1080P: get_parameter: unknown param 6f600011
01-04 19:50:55.804 1403 6251 E OMXNodeInstance: getParameter(0xd9cc0014:qcom.decoder.vp9, ??(0x6f600011)) ERROR: UnsupportedIndex(0x8000101a)
01-04 19:50:55.805 1403 6251 E OMX-VDEC-1080P: Extension: OMX.google.android.index.storeANWBufferInMetadata not implemented
01-04 19:50:55.805 1403 6251 E OMX-VDEC-1080P: Extension: OMX.google.android.index.configureVideoTunnelMode not implemented
01-04 19:50:55.805 1403 6251 E OMX-VDEC-1080P: Extension: OMX.google.android.index.useAndroidNativeBuffer is supported
01-04 19:50:55.805 1403 6251 E OMX-VDEC-1080P: Extension: OMX.google.android.index.describeHDR10PlusInfo not implemented
01-04 19:50:55.806 1403 1403 E OMX-VDEC-1080P: get_parameter: unknown param 6f600007
01-04 19:50:55.806 1403 1403 E OMXNodeInstance: getParameter(0xd9cc0014:qcom.decoder.vp9, ParamVideoAndroidVp8Encoder(0x6f600007)) ERROR: UnsupportedIndex(0x8000101a)
01-04 19:50:55.807 1403 6251 E OMX-VDEC-1080P: Does not handle dataspace request
01-04 19:50:55.807 1403 6251 E OMXNodeInstance: getConfig(0xd9cc0014:qcom.decoder.vp9, ??(0x7f000062)) ERROR: UnsupportedSetting(0x80001019)
01-04 19:50:55.835 1403 6251 E OMX-VDEC-1080P: Extension: OMX.google.android.index.AndroidNativeBufferConsumerUsage not implemented
Change-Id: If9ee79886b8d2a1dcc68d84102f69b96b578f68e
/system is mounted read-only. It's impossible for init to modify
the permissions on /system/bin/ip.
Change-Id: Ie5cb20bc45f9769969b71ffd747b1ed34fc27187
Set IPA low/med/high bandwidth mbps threshold to higher number
in ini cfg for sdm845 target to achieve higher throughput.
Change-Id: I44386e1ef67d014a4bc79345b455422c75c4b03f
CRs-Fixed: 2516770
The INI "gIPAForceVotingEnable" is to Enable/Disable Force Bandwidth Voting during
IPA suspend.
Change-Id: I613e1fa2f26da2da4235040e6094c64d89a5b402
CRs-Fixed: 2535818
* Revert wifi: Remove all short descriptions
* Revert wifi: Remove ini params with default value
* wifi: Add secondary interface using gEnableConcurrentSTA=wlan1
* wifi: Increase max bss count
One must explicitly include what it need.
time.h for struct tm.
sys/time.h for gettimeofday, etc.
Bug: 37629934
Test: build
Merged-In: Iacd5317d958f61df062fca40fbf2e8992c7fbb44
Change-Id: I19e1043f23dbe85836b73714a4f1440159ebe419
* Since we have libperfmgr to boost devfreq, there is no need to use it.
* Followed wahoo's set
Change-Id: Ic9a63aac98f315c83335d36f6fdfc1bffc6bf7da
Signed-off-by: Ratoriku <a1063021545@gmail.com>
It's wrong because we have devices with different screen densities,
and does not work:
W libc : Unable to set property "ro.sf.lcd_density" to "480": error code: 0xb
Signed-off-by: Marco Zanin <mrczn.bb@gmail.com>
* Google has moved system/core/base to a separate repository.
* Ref:
28d0f1a3af.
Signed-off-by: TH779 <i@779.moe>
Change-Id: I0a42abb1e47401312def3242c1cc2c3f0af9ccdf
Currently, all sessions get boosted any time DISPLAY_UPDATE_IMMINENT is
sent from SurfaceFlinger which can lead to large, unnecessary boosts.
This patch aims to change that by removing the wakeup behavior, relying
instead on sessions to boost themselves with new load change hints.
* Remove wakeup() from PowerHintSession
* Remove wakeSessions from PowerSessionManager
* Remove related timers and message handlers
* Remove DISPLAY_UPDATE_IMMINENT behavior entirely
Test: manual
Bug: b/260136431
Change-Id: I4610edfefe8fcbef7d4cdbf5768830a9392a54f7