Commit graph

95 commits

Author SHA1 Message Date
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
dianlujitao
8cb6811164
sdm660-common: Checkout GPS config from LA.UM.8.2.r1-05100-sdm660.0
Change-Id: I27fa3dbb4b1d301a6cd60a6a0b224e35c18c4b46
2020-02-03 16:28:25 +01:00
Bruno Martins
ca70a16e0f
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: I89fd37962b2d063d6e30f84234568d552131fd97
2020-02-03 16:27:21 +01:00
Max Weffers
889f10a8d9
sdm660: priv: Add bind wallpaper permission to snapcam
Change-Id: I6bddf2c4af12ce289396c5eb057a1d3b52e60e00
2020-02-03 16:27:13 +01:00
Max Weffers
b01f670bb7
sdm660: Gps: Checkout Gps Configs from Mi A2 Android 10 release
jasmine-user-10-QKQ1.190910.002-V11.0.4.0.QDIMIXM-release-keys

Change-Id: Id8b7ba36921ac8a656554fef8f10783c63402e8b
2020-01-13 14:34:41 +01:00
Max Weffers
b6b9f2a12e
sdm660: Checkout public.libraries from Mi A2 Android 10 release
jasmine-user-10-QKQ1.190910.002-V11.0.4.0.QDIMIXM-release-keys

Change-Id: I19586e7e2fe2276ff32f9ecd6471c9eed6dc3fa1
2020-01-13 14:34:41 +01:00
Max Weffers
233e65dbd9
sdm660: wifi: Checkout Wifi Configs from Mi A2 Android 10 release
jasmine-user-10-QKQ1.190910.002-V11.0.4.0.QDIMIXM-release-keys

Change-Id: I50abfd8d3edbd73cc3ccd2c2e9b890b56f135c93
2020-01-13 14:34:41 +01:00
Max Weffers
0a1934ac84
sdm660: keylayout: Checkout Keylayout from Mi A2 Android 10 release
jasmine-user-10-QKQ1.190910.002-V11.0.4.0.QDIMIXM-release-keys

Change-Id: Ib6c3da158f75eb9c46f647a8a03bf9fefad946d0
2020-01-13 14:34:41 +01:00
Max Weffers
191cc97433
sdm660: media: Merge Media Changes from Mi A2 Android 10 release
jasmine-user-10-QKQ1.190910.002-V11.0.4.0.QDIMIXM-release-keys

Change-Id: I2f944c04f2aaeda22c84d8db683dc68debadb10c
2020-01-13 14:34:28 +01:00
Max Weffers
b042f43f00
sdm660: audio: Merge Audio Changes from Mi A2 Android 10 release
jasmine-user-10-QKQ1.190910.002-V11.0.4.0.QDIMIXM-release-keys

Change-Id: I4fb1053841d86af4417716677306ca1a9e97ce44
2020-01-11 17:50:03 +01:00
Vasantha Balla
2f4a719ef1
sdm660-common: media: Enter c2 encoders performance values
update xml file with c2 encoders fps results.

Change-Id: I33d6f090fa3ca33500aeee116cc623ee9090a13a
2020-01-02 12:00:21 +01:00
Max Weffers
ab308a6727
sdm660: Treewide: Cleanup and Reorder
* Remove Double Definition
* Reordeder Alphabetic
* Move Audio and Media Files to Configs
* Move Wifi Configuration to Configs
* Cleanup Overlay and Reorder
* Move Privapp Permission to new Folder
* Reorder Properties and rename mk
* Move Xiaomi Doze to new Folder
2019-12-30 23:00:29 +01:00
sxia
5b48b605b2
Common: add email for it's targerSDK 28
add email module into the whitelist for
the targetSDK 28 upgrade

CRs-Fixed: 2552349

Change-Id: I89b405919bdbfa486b91067cbe460559e31edc7c
2019-12-16 18:20:09 +01:00
Rajshekar Eashwarappa
652dd59a4e
sdm660: finetune performance xml
Fine tuned the performance xml based on the
CTS results.

Change-Id: I9bd61490d28bebdc4bc696dcbf9d1674903ae983
2019-12-16 18:15:11 +01:00