Commit graph

108 commits

Author SHA1 Message Date
Edwin Moquete
a86212ccb8
sdm660-common: Allow com.qualcomm.location to run in the background 2021-03-22 18:30:00 +06:00
Subhajeet Muhuri
276e5e9077
sdm660-common: Loosen up charging thermal throttling thresholds
Change-Id: I9edc3bda9b1892f77158d01e13d1fa114355088a
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@aosip.dev>
2021-03-17 12:23:04 +06:00
OdSazib
4580d94c55
sdm660-common: Roll back to wayne-thermal
* 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
2021-03-17 12:22:56 +06:00
Panchajanya1999
45193a430f
sdm660-common: wifi: Disable WLAN Firmware loggings
firmware loggings are not at all necessary for general development.

Change-Id: I111943a641670ea052f68148103e377771297d77
2021-03-17 01:28:56 +06:00
sbwml
2f202d0906
sdm660-common: component-override: Enable hfpclient support 2021-03-02 23:47:30 +06:00
Surabhi Vishnoi
e865b037e8
sdm660-common: Add wowlan_triggers to wpa_supplicant conf
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
2021-03-02 23:43:22 +06:00
Subhajeet Muhuri
9bcab6d776
sdm660-common: loosen up charging thermal throttling thresholds
* Taken from lavender

Change-Id: I9edc3bda9b1892f77158d01e13d1fa114355088a
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
2021-02-19 17:17:09 +06:00
Subhajeet Muhuri
86fd0cbdb2
sdm660-common: Commonize thermal-engine-config from device (2/1) 2021-02-19 17:17:09 +06:00
Dyneteve
c0ae317e6f
sdm660-common: Add 2 instance support for record_24
Change-Id: I365ccae65cdf74aaa176b19de23ecd4400efa16e
2021-02-10 09:05:28 +06:00
Michael Lenskiy
00956a4e88
sdm660-common: audio: Add fast input profile for the record concurrency
If two recording apps both select the primary input with
fast flag, second app will fail to start because the hal
doesn't support two inputs with the same use case if input
can't be reused since of the limit of primary input's max
open count.

Add the dedicated profile for “low-latency-record” to make
the first input can be reused if possible.

CRs-Fixed: 2550228
Change-Id: I233bd3eaf614b195df0a41402747f496d3a56b44
2021-02-09 20:53:35 +06:00
Michael Lenskiy
673245c359
sdm660-common: audio:Add hotword input for hotword mic concurrency 2021-02-09 20:53:35 +06:00
Chenyang Zhong
f77adb24dd
sdm660-common: import Hotword Enrollment blobs
Co-authored-by: IMMANUEL44 <immanuelr44@gmail.com>
2021-02-09 20:53:35 +06:00
SakilMondal
e5222049af
sdm660-common: Drop non-functional soundtrigger
* Fixes google assistant voice match in android 11
2021-02-09 20:53:21 +06:00
OdSazib
a72ff0a685
sdm660-common: configs: Retune media_codecs_performance
* From from LA.UM.9.2.r1-02000-SDMxx0.0
2021-02-05 23:18:27 +06:00
Michael Bestas
c16a25e536
sdm660-common: Remove unused entries from config.fs
Change-Id: Id4bc301454f9ac675a296a1c74581211789711fc
2021-01-27 13:13:51 +06:00
OdSazib
18c3503642
sdm660-common: Move telephony and fm packages to /system_ext
Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
2021-01-22 07:24:22 +06:00
Roshan Pius
568cd29a8b
sdm660-common: wifi: Increase max bss count
QCOM's driver can support a max of 512 scan results. Ensure that
wpa_supplicant is in sync with that number.

Bug: 74724482
Test: Device boots up and connects to wifi networks.
Change-Id: I62dbd2bd3789c454e9683320d3a58f67019ea7ee
2021-01-21 03:26:34 +06:00
Danny Trunk
2e38a35b69
sdm660-common: bluetooth: Use default value for HID profile
Do not explicitly set HID profile to false for SDM660 SoC based Xiaomi devices

Change-Id: I38dc9b68cad05624a6a22051af2079cfd4a9e698
2020-12-30 22:06:56 +06:00
Ryan Mitchell
1e203fcfbe
sdm660-common: Use component-override to configure Bluetooth
Runtime Resource Overlays (RROs) can no longer change the value of
resources in manifest when read during PackagerParser.

This change uses component-override to enable the service by default.

Remove usages of profile_supported_* from overlays as they no
longer configure the enable state of Bluetooth components.

Bug: 135048762
Test: adb shell pm query-services \
      com.android.bluetooth/.avrcpcontroller.AvrcpControllerService
      adb shell pm query-services \
      com.android.bluetooth/.hid.HidDeviceService
      adb shell pm query-services \
      com.android.bluetooth/.sap.SapService

Change-Id: I284d254a921b14d1533745611a083f4b5a27d9dc
2020-12-30 22:06:56 +06:00
OdSazib
256c2fbfed
Revert "sdm660-common: Switch to QTI bt stack and enable a2dp offload"
This reverts commit a85c69a8b5.
2020-12-30 22:04:27 +06:00
OdSazib
928c7ac4f5
sdm660-common: Remove qti IOP stack
* Useless in EAS

Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-22 20:57:04 +06:00
Felix
8fecc32ed8
sdm660-common: Add protobuf vendorcompat lib
Our blobs are compiled against libprotobuf-full-cpp.so, but
starting in R, Android is using a versioned naming approach,
e.g. libprotobuf-cpp-full-3.9.1.so.

See https://r.android.com/1109518

The entry in public.libraries.txt is needed to allow the
linker to find and use the lib outside the VNDK.

See https://source.android.com/devices/tech/config/namespaces_libraries

[wight554: added libprotobuf-cpp-lite as well]

Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
Change-Id: I28222c89e1e07017867088492a726ee9d45d8e6f
2020-12-13 18:37:00 +06:00
Jimmy Chen
a38fe7fd69
sdm660-common: wifi: move supplicant service init to wpa_supplicant
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
2020-12-13 18:15:48 +06:00
Wileen Chiu
fe22a9fdc9
sdm660-common: Add new config overlay for call composer
- add a new config and set as true for mcc/mnc
which support call composer calls
- allow implicit broadcast of new intent, which
contains call composer information

Change-Id: I5d042f88d57d54f3b7a944d9a2f49061cd0313d3
CRs-Fixed: 2672216
2020-10-26 04:25:14 +06:00
Pavan Kumar M
5a0956d86f
sdm660-common: config: Add permissions for RCS service
Add permissions to Rcs service to
access QMI IMSS service

Change-Id: I263a0b6413c1ae26ab57a96936bc983c68ef709e
2020-10-26 04:25:14 +06:00
OdSazib
967c2a5c9a
sdm660-common: Adding XiaomiParts into the whitelist
* Adding XiaomiParts into whitelist to avoid it being killed by
doze. Also granting necessary permission to function properly.
* Required for Headphone & Mic Gain as it currently get killed
2020-10-19 11:36:07 +06:00
OdSazib
471da74c21
sdm660-common: XiaomiParts: Remove dirac completely
* Fix XiaomiPart crash while using audio mod like v4a/dolby

Signed-off-by: odsazib <odsazib@gmail.com>
2020-10-19 11:36:06 +06:00
Max Weffers
f80d6e2c0a
sdm660-common: prop: Set Perf related Props from sdm660
*Improves battery life alot

This reverts commit 00fb44d6ef51591407bfd46960ea424245c5646f.

Change-Id: I6837d8c3441955fa7dcb9537d595ad27b6f628d7
2020-10-19 11:36:06 +06:00
LuK1337
5f8b253a9a
sdm660-common: Don't advertise vorbis offloading support
* Doesn't work at all.

Change-Id: I10cd34c6e52e9c72f3089d3c5f479d5ea5532d86
2020-10-19 11:36:06 +06:00
dianlujitao
a85c69a8b5
sdm660-common: Switch to QTI bt stack and enable a2dp offload
Change-Id: I8b3e7701a81ac92696d59c145e91351839048e39
2020-10-19 11:36:06 +06:00
Max Weffers
6b0f504b27
sdm660-common: wifi: remove duplicated configs
Change-Id: I7ec9e99100bbcb1f68fe47c56daff6778c5bd1d3
2020-10-19 11:36:06 +06:00
joaquins
9682158732
Adding com.skyhook.blp into the whitelist
Adding com.skyhook.blp into whitelist to avoid it being killed by
doze. Also adding INTERACT_ACROSS_USERS permission to be able to
run as single user. Update for Q.

Change-Id: I245965c87e7a5029eb8a308af24484d64a3fcb87
CRs-Fixed: 2674734
2020-10-19 11:36:06 +06:00
Max Weffers
22e0014387
sdm660-common: prop: Set Perf related Props
*based on sdm845 perf stack with iop

Change-Id: I43a5c721aa53568470e19caadcfed61bf3cbc00e
2020-08-12 02:11:34 +06:00
sbwml
1f053d51df
sdm660-common: Is dpmservice the product permission?
Change-Id: Iea0922157b456bff66edd269f6c53b15439e03cf
2020-08-12 02:11:33 +06:00
Anush02198
5a4028667e
sdm660: audio: Use QCOM implementation for audio effects
* AOSP effects doesn't give as thicc'n'sicc bass boost as

   the QC effects do

This reverts commit 3f1432c7df.

Change-Id: I511dee479ad10932e8f48dfae2232295e776e5b3
2020-08-12 02:11:32 +06:00
Alex Naidis
4048b0aff5
sdm660-common: lower background apps to 38
* Improves memory performance and decreases power consumption
  in our test cases.

Change-Id: Iee64596a61cf1dfb0698417b61b658f9cc7aaa52
2020-08-12 02:02:40 +06:00
Stylogey
ddee2bec54
sdm660-common: remove low power whitelist
Change-Id: I4d722478b0bd60573322112bc47c59630632029d
2020-08-12 02:02:40 +06:00
Stylogey
0bb6dd3fb4
sdm660-common: use perfconfigstore instead of properties
Change-Id: I71461329a7ddfc56a124c342e7ac8697e86d69bf
2020-08-12 02:02:40 +06:00
Bruno Martins
e41888742c
sdm660-common: Fix A2DP when offload is disabled
Ensure that A2DP still works in case one disables offload in the
Developer options for whatever reason.

Change-Id: I7e7336d03f1423938962c8859efcca0b2dad3a0f
2020-08-12 02:02:40 +06:00
Stylogey
1b0982f3d5
sdm660-common: add hostapd configuration files from caf
Change-Id: Ic01ae0d200895845af34310d864427e4f835beea
2020-08-12 02:02:39 +06:00
Stylogey
a56d4df857
sdm660-common: import irqbalance from caf
* I kept the mdss and the kgsl because Rashed changed them, and as far
as we all know, he is never wrong.

Change-Id: I85cd12f0df7fd50340d1b6e7bdc31b71c527ea71
2020-08-12 02:02:39 +06:00
Dušan Uverić
037ecc86ae
sdm660-common: jason: fix fp home button
Signed-off-by: Dušan Uverić <dusan.uveric9@gmail.com>
Change-Id: I818463f45b8eb92f477462351d2402a069071cfa
2020-08-12 02:02:39 +06:00
Max Weffers
ee3d97317f
sdm660: audio: remove unneeded a2dp offload xml
* its not used in our current a2dp configurations
* useless due the fact our normal audio policy xml not contain offload 
support

Change-Id: I13a405af01627aa98d0e45aa90cf22d5204f8812
2020-08-12 02:02:38 +06:00
quesoo
b998f579bc
sdm660-common: Let Home button work when fingerprint is touched for jason
Change-Id: I6465f2841ca49bb9e6b05f2c79bcbb1e6043fe61
Signed-off-by: Dusan Uveric <dusan.uveric9@gmail.com>
2020-08-12 02:02:38 +06:00
David Ng
34a9f96920
config.fs: Add sys_boot cap to peripheral manager
Enable sys_boot capability to allow system reboot
to peripheral manager.

Change-Id: I04b67543c4d2e541b9699b6faa3337b2638b3257
2020-02-27 17:01:41 +01:00
Surabhi Vishnoi
3c2400960f
falcon_64: Add wowlan_triggers to wpa_supplicant conf
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
2020-02-27 17:01:39 +01:00
Ananthula, Madhu
8ab1a2d503
SDM660: Finetune mediacodec performance values.
Finetune mediacodec performance values as per CTS results

CR: 2584357
Change-Id: I71c75cfbfeaeb370eee8f6173520abbdf61544db
2020-02-27 17:01:39 +01:00
Vulupala Shashank Reddy
7c2620f4ca
wifi: Update ini parameters for wifi
Update ini parameters related to wifi.

Change-Id: I238eb03d721ca81cfa9994566edce0a145e76521
CRs-Fixed: 2597219
2020-02-27 17:01:39 +01:00
Dyneteve
cce384b6dd
sdm660-common: Add 2 instance support for record_24
Change-Id: Ibcdb612763a9eda2579ef7e22d9d72b8426ea2ef
2020-02-27 17:01:36 +01:00
Rajshekar Eashwarappa
65d7f445ea
sdm660_64: finetune performance xml
Fine tuned the performance xml based on the
CTS results.

Change-Id: I9bd61490d28bebdc4bc696dcbf9d1674903ae983
2020-02-10 14:15:57 +01:00