Commit graph

87 commits

Author SHA1 Message Date
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
Gareth Kitchen
26e9816c98
sdm660-common: gps: Localise NTP to improve GPS TTFF
Testing response times to time.android.com from around the globe reveals
in ms:-

Europe			 <30
Middle East		 <68
North America		<150
Johannesburg		 183
Buenos Aires		 220
Tokyo			 226
Sydney			 276
Hong Kong		 285
Brisbane		 295
Mumbai			 349
Beijing			4691
Shanghai		4906
Russia			 n/a

Whilst time.android.com is NOT used for GPS NTP, North American time servers
are, by specifying north-america.pool.ntp.org as default in the framework,
to align with pixel devices.  I am assuming similar response times to these
servers from around the world.

Great for North America and it appears Europe but it does not address the
global issue. Also, the pool.ntp.org project forbids both hardware and
software vendors from using these default zone names.
http://www.pool.ntp.org/en/vendors.html

It makes sense, therefore, to leverage the ntp.org's existing 'android' vendor
name to make the default ntp server for GPS purposes:
1.android.pool.ntp.org this will return a random but accurate NTP server in
close geopraphic proximity to the device.

Testing on my own build in the UK seems to improve hot and cold TTFF
considerably.

Change-Id: I144af45757efa35b32daf034eece6e046d2bde79
2019-12-02 17:22:37 +01:00
Sravan voleti
0e48d9c869
sdm660: Remove whitelist for BAApp.
Remove BAApp related privileged permissions

CRs-Fixed: 2523339
Change-Id: I79798e7704774769dd40f16c7902e791cf9c868d
2019-11-01 11:56:02 +01:00
Dusan Uveric
bc36bfe914
sdm660-common: update wifi irqbalance blacklist
taken from celtare21

Signed-off-by: Dusan Uveric <dusan.uveric9@gmail.com>
2019-10-22 17:12:47 +02:00
Michael Bestas
3c1fe1160f
sdm660-common: Split privapp permissions for ims/qcrilmsgtunnel move
Change-Id: I5e86a415c7faac34e7d398559d09bf350b305cc3
2019-10-15 15:23:26 +02:00
Vasantha Balla
fa6eb0ea74
sdm660: update measured fps values as per latest results
Finetune and update latest fps values in xml.

Change-Id: I145463731ee4900762dca8d42d45c9e02917f724
2019-10-04 18:53:18 +02:00
Aryan Gupta
17bbd4862a
sdm660-common: clean dual permission for ims 2019-10-01 13:14:20 +02:00
Sravan Voleti
2982dceb6e
sdm660: BTTestApp : Remove HID test app
HID test app not required, same code moved to
default Bt test app, so remove from system image.

CRs-Fixed: 2425083
Change-Id: Ie35b99f7b5bbcd29716d093ce48a9027cec7c9ba
2019-09-27 17:13:45 +02:00
sxia
0a10a53f84
sdm660: add exchange for it's SDK target version 28
add into whitelist for exchange SDK target version
to 28

Change-Id: I2b8c550dc79c9a91a2645c7d85aed945b77d5684
CRs-Fixed: 2399298
2019-09-27 17:13:45 +02:00