Test: play media, use all 25 vol steps and observe varying attenuation
Bug: 32195657
Change-Id: I7ac87df0b2b15de3a7bb87e739bd88ef7b185236
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
* This breaks in-game voice chat and audio in some messaging apps
causing it to plays with a higher pitch and speed, making it sound
like chipmunks.
Change-Id: I0baf0d01481b755372c3420bb58b73d2f38eb2d9
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
W/libperfmgr(798): Failed to write to node: /dev/stune/camera-daemon/schedtune.boost with value: 0, fd: -1
W/libperfmgr(798): Failed to write to node: /dev/stune/camera-daemon/schedtune.prefer_high_cap with value: 0, fd: -1
W/libperfmgr(798): Failed to write to node: /proc/sys/kernel/sched_energy_aware with value: 1, fd: -1
W/libperfmgr(798): Failed to write to node: /dev/stune/camera-daemon/schedtune.boost with value: 0, fd: -1
W/libperfmgr(798): Failed to write to node: /dev/stune/camera-daemon/schedtune.prefer_high_cap with value: 0, fd: -1
W/libperfmgr(798): Failed to write to node: /sys/class/devfreq/soc:qcom,cpu6-cpu-l3-lat/min_freq with value: 1516200000, fd: 10
W/libperfmgr(798): Failed to write to node: /proc/sys/kernel/sched_energy_aware with value: 0, fd: -1
Change-Id: I55c65018f1635353ebd6082e1a45c363424f881c
Signed-off-by: romgharti <romgharti@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
Thermal HAL 2.0 has support for a lot of additional
features including temperature protection and others.
Also, Thermal HAL 1.0 is not supported in FCM level 4.
Change-Id: I1f4fd1957a776934cf5a85e214caf01bd73de47c
(cherry picked from commit dd83877166d7e43c6d2e3eb1a0c2fccbeec28f48)
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
Fix warnings like:
W ExtconUEventObserver: Unable to read /sys/devices/platform/vendor/vendor:extcon_usb1/extcon/extcon3/cable.1/name. This probably means the selinux policies need to be changed.
W ExtconUEventObserver: Unable to read /sys/devices/platform/vendor/vendor:extcon_usb1/extcon/extcon3/cable.0/name. This probably means the selinux policies need to be changed.
Change-Id: I1859028d973246064f18efe47e95a7ff8eec657b
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
* Vendor partition is RO and prop cannot be changed there to
disable wide color gamut.
Change-Id: Ie5d90bc608f428c2be11d5159aaec98a6cdfbd03
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
If the device only have 60 and 120 Hz in the config group, 60 Hz won't be
used when watching a 24 fps video and instead 120 Hz will be used because
it is perfectly divisible by 24.
This is a publicly documented AOSP behavior [1], but it simply does not
make any practical sense and trades off significant amount of power for a
very-hard-to-notice jitter-free experience.
Set debug.sf.frame_rate_multiple_threshold to 60 by default to limit this
behavior to 60 or lower fps.
[1] https://source.android.com/devices/graphics/multiple-refresh-rate
Change-Id: I66353abc46ad16e63b2c9188794469ad71f2192e
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
- Fixes scroll lag in many apps, such as Twitter:
W RenderThread: type=1400 audit(0.0:12371): avc: denied { open } for path=/dev/ashmem dev=tmpfs ino=10848 scontext=u:r:untrusted_app:s0:c123,c256,c512,c768 tcontext=u:object_r:ashmem_device:s0 tclass=chr_file permissive=0 app=com.twitter.android
- Apps are no longer allowed open access to /dev/ashmem, unless they
target API level < Q.
(8b12ff5f21)
Change-Id: I6d1763f439f1a0998a425d5203242b39b3631510
Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
* This way zram size can be optimized.
Change-Id: Ida4fca8aab88ab5af3dcba166e98cf722bab6614
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
* Disabled on many devices with reports to lagginess in long term and random reboot in some instances.
Change-Id: I73985159766da08cd35b0288db29cfafc7db62b0
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
Set debug.sf.latch_unsignaled=1 is used to allow surfaceflinger to
latch unsignal buffers that can give more time for buffer to render.
But if the buffer takes longer time to finish, it will block whole
display pipeline result to jank.
Bug: 157964883
Test: scrolling, launch
Change-Id: I56c3e05921de5fc9569bf3f93fde03022a64b6a4
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
* Actually we don't use s2idle because of its buggy behavior.
Signed-off-by: Shashank Patil <9945shashank@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
* Set little/big CPU Min frequencies to 576 MHz & 652 MHz
Signed-off-by: Shashank Patil <9945shashank@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>