* Build libgui_vendor from source
* Using CAF's way of media_{codecs, profiles}
* Uprev media.c2
* Cleanup dead and unused target
Signed-off-by: pix106 <sbordenave@gmail.com>
Ini config values TxPower2g and TxPower5g are not
getting used anymore.
Remove TxPower2g and TxPower5g from WCNSS_qcom_cfg.ini
for all the targets.
Change-Id: Id85bec3e4ae3bb8012e13844bb0afa682a593fee
CRs-Fixed: 2607679
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* cgroups and task_profiles exists in system/etc/task_profiles, but it does not has API26 ones so we add it
* Schedtune sometimes fail maybe because of this but still unsure
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
Currently, time_daemon is not able to send message to modem
time-services over QMI due to permission denials. The patch
takes care of the issue by adding net_raw permissions for
time_daemon service ID.
Change-Id: Ibbd55349a7abc536486dea7b29e293f9f533dd85
Signed-off-by: Akash Srivastava <akashniki@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
Android 12 allows the brightness ramp rate to be changed separately
for fast/slow and increase/decrease in float. Once loaded,
DisplayDeviceConfig has higher priority than the integer config
values in frameworks. The format definition is in [1].
The value can be found in boot logs by grepping DisplayDeviceInfo.
On android 11, boot log reports the 19xxxxx value of the second
variant. On android 12, boot log reports the 46xxxxx value of the
first variant.
The xml file can be put in either product or vendor.
[1] frameworks/base/services/core/xsd/display-device-config/display-device-config.xsd
[clarencelol: Adjust accordingly based on brightness minimum and nits in overlay]
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* Retune some fps values based on CAF
* Removed some unused decoder
* From LA.UM.8.2.r1-07400-sdm660.0
* Build some media extensions
* Added some media codecs from google
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* clean some duplicates,deprecated and not uses anymore
* build vendor.qti.hardware.btconfigstore@1.0 from source
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
-> Introducing new attribute to know if second stage detection
supported on given target
-> By default it is supported on all targets
-> Define only on those targets with value false where no support
Signed-off-by: pix106 <sbordenave@gmail.com>
Remove surround sound recording support from audio policy config xml
as its resulting in CTS failure due to mismatch in channel index support
for record usecase.
Change-Id: Idf50b3f2e71c4209720e79c0248ce74bc1a0edf2
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* Schedtune paths are depreceated from Android S and updated to utilclamp
as our kernel doesnt support utilclamp, these configs are modified to fix lags and stutters
since power hal and perf stack are still dependent on schedtune
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
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>
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>
* Nullified remaining QTI Bluetooth remnants
* Remove some props
* Using usb audio hal from source
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
PresenceAppSub2 is no longer used, so remove it from whitelist
Change-Id: Ib865ae3d86a8f7018a5f8ff2aa78226f00f9640b
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* Turns out component-overrides doesn't handle the case where
a feature is enabled in config.xml but disabled in overrides.
Explicitly disabling HidDeviceService causes bluetooth to
time out while turning on and stuck in a crash loop.
Change-Id: Idcb678d03c5dc872942fd0fda9aabcbb5f5c9a55
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
- TDLS off-channel feature is needed only for certification.
- Disable the feature in production builds.
Test: Basic wifi sanity test.
Change-Id: I4bef76edb8663835953e45274805c5e15dfea808
* softap now expects hostapd configs in /data/vendor/wifi/hostapd
during hotspot turn on, qsap_sdk copies these configs to
/data/vendor/wifi/hostapd/
Change-Id: I632a29483cb7b2f5e8d768680afb911fa5f4f357
Signed-off-by: Adarsh-MR <adarshmr1998@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
- Improve code with reference and split gain category
This reverts commits
- 471da74
- de7135d
- f6c011d
All credit goes to Stylog, this is just revert commits with few improvement
Co-authored-by: clarencelol <clarencekuiek@icloud.com>
* jasmine thermal leads to:
- 50% reduction in Geekbench scores for multi-core
- Problem with rapid charging for higher ambient temperature
These wayne-configs fix the above issues
Add 'wowlan_triggers=magic_pkt' to wpa_supplicant_overlay.conf. With
this, wpa_supplicant will tell the linux kernel that the wifi driver
is wowlan capable, and will wakeup the host when a magic packet is
received. Most importantly, the kernel will no longer disconnect wifi
connections before suspending wifi.
CRs-Fixed: 2615975
Change-Id: I3226943940046ad98e4ab410897d4fdcb457ee5a