* ipacm pid file is stored at /data/vendor/ipa/ipacm.pid, and the
service fails to start if the directory is not accessible.
* QCOM uses ipacm-diag.rc to create the directory. Replicate the
behavior since we don't necessarily ship that one.
* Move to late_start since post-fs is earlier than post-fs-data.
Change-Id: I5663e32d202cd8b52de8e8257332be1029c0fe3d
Signed-off-by: OdSazib <odsazib@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* As per the init.qcom.rc service defination has vendor prefix
* This Fixes:
I init : Command 'start rmt_storage' action=boot (/vendor/etc/init/hw/init.target.rc:161) took 0ms and failed: service rmt_storage not found
Change-Id: I271adb887b9420d631e67eb4e7f436f0cd931f32
Signed-off-by: pix106 <sbordenave@gmail.com>
Google's prebuilt cgroups.json and task_profiles.json for products
launched with previous API levels only covers
ro.product.first_api_level >= 28. [1]
Xiaomi sdm660 devices were launched with Nougat/Nougat MR1/Oreo (API levels 24-26), so schedtune and
task groups are completely broken. Since the system also checks
/vendor/etc for vendor profiles, make a copy of cgroups_28.json
and task_profiles_28.json and ship them to /vendor/etc. Profiles
for previous API levels are all the same anyway.
Test: boot and check /dev/stune/
[1] system/core/libprocessgroup/profiles/
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: Jarl-Penguin <jarlpenguin@outlook.com>
Signed-off-by: SakilMondal <mondalsakil@gmail.com>
Change-Id: I8e54ae2d79034f54447616d79294573bf74ed6e1
Signed-off-by: pix106 <sbordenave@gmail.com>
- Android 12 now writes XML files in binary format by default. This can cause incompatibility with TWRP which can hang when attempting to read XML files e.g. /data/system/storage.xml
- This commit sets the persist.sys.binary_xml property to false so that XML files are written in text format.
Change-Id: If6430597d8459e62dd78aa458c58237c71618970
Signed-off-by: pix106 <sbordenave@gmail.com>
* Due to commit I9b346b4053ec12c8a78a143a4dc0e708c44888a2
"Support EGL_KHR_partial_update without EGL_EXT_buffer_age"
in libhwui, EGL_EXT_buffer_age extension was forcibly enabled
if EGL_KHR_partial_update was available, even if the EGL driver
was not providing EGL_EXT_buffer_age support
* On older Adreno drivers, renderthread sources could use bufferAge
specific swap behaviours and would result in partially missing
display redraws upon animations and rotated screens,
for instance flashing action bars, blinking loading bars
and half black displays in landscape rotations
Change-Id: I16fe13f0726792522e382716f8f24eccf2a27701
Signed-off-by: Adrian DC <radian.dc@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
Enable backpressure for client composition to avoid jank due to
HWC queue stuffing.
Test: 1. Open Camera
2. Swipe horizontally to go back to previous app.
Bug: 138083790
Change-Id: I3d26aa470c1660b23bd97133f39858f92638aca8
[clarencelol: As we disable debug.sf.disable_backpressure, we need debug.sf.enable_gl_backpressure to improve our hwc]
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: OdSazib <odsazib@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
Add flag AUDIO_OUTPUT_FLAG_GAPLESS_OFFLOAD to explicitely indicate support
for gapless transitions for offload output profiles in audio policy
configuration file.
Bug: 158191844
Test: atest AudioTrackOffloadTest
Change-Id: Iafee0cbc0a67fa12d2f0751b58ef7fa301ba45e4
Signed-off-by: pix106 <sbordenave@gmail.com>
Add AUDIO_OUTPUT_FLAG_GAPLESS_OFFLOAD to compress offload case.
Bug: 188113788
Test: Play compress offload music and check app type from logcat
Change-Id: If31a50ffafb43cb350c84fcc60774af116f30ff8
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
Updated audio policy manager configuration files to comply
with the changes in the XML schema.
Bug: 142480271
Test: atest VtsHalAudioV7_0TargetTest
Test: atest VtsHalAudioEffectV7_0TargetTest
[Ratoriku: Adapt to xiaomi sdm660]
Change-Id: I55d3728c809d27e58d5d496a1c7d637050dde53a
Signed-off-by: raiyanbinmohsin <raiyanbinmohsinshishir@gmail.com>
Signed-off-by: Martin Štrobl <recordyletsplays@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
Add diag hal interface for system client communication with vendor diag
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>