Commit graph

946 commits

Author SHA1 Message Date
Erfan Abdi
23f5d64fd4
sdm660: prop: set iwlan operation mode to legacy 2019-09-27 17:13:45 +02:00
Vandana Jain
9e29bf75ec
sdm660: whitelist the SD camera app
Change-Id: Iad4ff00e91104f37a4aceaa11f891f97965cc723
2019-09-27 17:13:45 +02:00
Yuanyuan Liu
3d53f85218
sdm660: Add wpa_cli
Add wpa_cli to PRODUCT_PACKAGES. This binary is needed for WLAN.

CRs-Fixed: 2414661
Change-Id: I0f34a6e8175d80b1b4050ee4df64c0a7334ad110
2019-09-27 17:13:45 +02:00
Subash Chander
6088e51d0b
sdm660: Replace libqdmetadata.system with libqdmetadata
With VNDK enablement, libqdmetadata is copying to both
system and vendor partitions.

CRs-Fixed: 2396145

Change-Id: I135257092bf31ca0dcf10555f99a96711439bea7
2019-09-27 17:13:45 +02:00
Roopesh Rajashekharaiah Nataraja
fcd0af7b28
sdm660: Add libion to PRODUCT_PACKAGES
libion needs to be explicitly added to PRODUCT_PACKAGES
since vendor code which is not shipped as source has a
dependency on this lib.

Change-Id: I75bcef582930b1eb49d72d505401a75f7c596254
2019-09-27 17:13:45 +02:00
Abhishek Srivastava
6415b88634
sdm660: wifi: Add move wifi data service
Add move_wifi_data service from /data/misc/wifi to
/data/vendor/wifi for OTA update.

Change-Id: I134fb663d1f358028eebb80106634d6eb0b87bc0
CRs-Fixed: 2270608
2019-09-27 17:13:45 +02:00
Balakrishna Godavarthi
075777c9ad
sdm660: Add file permissions for BT LAZY HAL
This patch enables file permissions for bt lazy shared object.

Change-Id: I8e523466624a143f62448ba0689ab0d0af45a0eb
2019-09-27 17:13:45 +02:00
NAGASHREE S
ea63200f0e
sdm660: HFP: To enable the inband ringtone property
The change enables the inband ringtone
property.

CRs-Fixed: 2403633
Change-Id: Ib3e5cf66cad1afc40357f169ebfaeb762fdbf41e
2019-09-27 17:13:45 +02:00
Max Weffers
7960a89e27
sdm660: overlay: Squash Caf Carrier Config Changes from Q Tag 2019-09-27 17:13:45 +02:00
Karthik Gopalan
d442943c2c
common: Add Speed-Profiled contents of vendor jars.
This Change adds speed-profiled contents of vendor jars
which are listed as part of PRODUCT_BOOT_JARS. These will be
included while generating speed-profiled boot-image.

CRs-Fixed: 2255003

Change-Id: I55fe56aa52511f55688e3d8245ac74481ff062b3
2019-09-27 17:13:45 +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
jinwu
462f4565fa
sdm660: Fix CTS issue of MODIFY_AUDIO_ROUTING
Add MODIFY_AUDIO_ROUTING to whitelisted permissions for gallery

Change-Id: Ic5224170cc6df76e9eac8b682c8fb112df2910c8
2019-09-27 17:13:45 +02:00
xiaoxu
09e36f7d23
sdm660: Messaging: Add call_priviledge permission to priwhitelist.
To support emergency call in Messaging, add this permission

Change-Id: I3c74ba1915a49cfba1853a2e03861ed268f8af2c
2019-09-27 17:13:45 +02:00
Prakash Pabba
113099a36d
sdm660: Enable ipsec_tunnel feature
Fixed : CTS issue due to ipsec_tunnel feature.

CTS issues are showing failure on devices with first_api_level set to
29 . With this api level certain test cases which weren't executing
till now begin executing. Ex: android.net.cts.IpSecManagerTunnelTest.

These tests mandatorily requrire ipsec_tunnel feature to be enabled.

Change-Id: If52b652ac3cc6488fefcf851527f224efa03e7eb
2019-09-27 17:13:45 +02:00
Sandeep Gutta
74698e4302
sdm660: Set property procedure_bytes to SKIP
Set "persist.vendor.radio.procedure_bytes" property value
to SKIP for testIccTransmitApduLogicalChannel to pass

Change-Id: I117dd9ec6976d35e23ce10158e1ef4706e17104f
CRs-Fixed: 2491738
2019-09-27 17:13:45 +02:00
Mohammad Asaad Akram
e2589cc9c9
sdm660: Add Permission for Wi-Fi passpoint support
Wifi Passpoint is common permission for all the targets. So, adding
it in common makefile.

Change-Id: I30df2278e693fa168de735d20d253da4e7b97200
CRs-Fixed: 2477232
2019-09-27 17:13:45 +02:00
Eric Chang
184f378941
sdm660: Allow qcrild to access new QMI service
Change-Id: I0e8e832bceecfc0b276e16e3c4a844378ab2dcb8
2019-09-27 17:13:45 +02:00
Vasantha Balla
bde1fa824d
sdm660: media: Finetune mediacodec performance values.
Add entries for c2 codecs and finetune performance
values as per Q results

Change-Id: Ibeac95e6198c9d9000051d7409ea593c1cddd43e
2019-09-27 17:13:45 +02:00
Sanjay Singh
935126c164
sdm660: media: Added performance point tag for sdm660
Q version expects publishing of performance points.

Change-Id: I32f3b720bf63ab034fcbc2bd8b91f5a54de3bbd3
2019-09-27 17:13:45 +02:00
Sujin Panicker
552a2e6e47
sdm660: media: update opus omx codec ranking
Update opus omx codec ranking to give c2 implementation
higher priority.

Change-Id: I5fb0c91fe0f8c691868c92eb50536495b31132e2
2019-09-27 17:13:45 +02:00
Max Weffers
6133ed7040
sdm660-common: Update init.rc and init.sh from LA.UM.8.2.r1-04000 2019-09-27 17:13:45 +02:00
Max Weffers
24d720206a
sdm660-common: Update ueventd from LA.UM.8.2.r1-04000-sdm660.0 2019-09-27 17:13:45 +02:00
Pawin Vongmasa
15e0315162
sdm660-common: Enable Codec2
Drop framework_manifest.xml part as the hal is already parsed.
Don't bring in the c2 xml files as CAF squashed the c2
support in the already existing media codecs.

Change-Id: Ibe051f4b19c2dbb0a208e751a3b7a332a329b447
Signed-off-by: celtare21 <celtare21@gmail.com>
2019-09-27 17:13:44 +02:00
Max Weffers
6bb02d88cb
[TEMP]sdm660-common: disable FM 2019-09-27 17:13:44 +02:00
jhenrique09
f5d124acf2
sdm660-common: doze: Follow Android 10 changes on switchbar
Change-Id: Ifad28dc874233eb41d89580895b769ecbc3ea670
2019-09-27 17:13:44 +02:00
jhenrique09
e6c893e2f9
sdm660-common: Correct define libinit variable
Fixes:

Change-Id: Ia1a58bea3df625fd76c060370dc7f9fa2a597765
15:55:35 error: system/core/init/Android.bp:95:1: "libinit" depends on undefined module "//device/xiaomi/sdm660-common/init/libinit_sdm660"
2019-09-27 17:13:44 +02:00
Bruno Martins
9576d1a262
sdm660-common: Doze: Migrate to androidx
Change-Id: Ifaa67283a3437549a2304088a0ce377b399da19f
2019-09-27 17:13:44 +02:00
Bruno Martins
bfcc56f8f8
sdm660-common: XiaomiParts: Migrate to androidx
*Cleanup some unneded files
2019-09-27 17:13:44 +02:00
Arian
b80ecdd83e
sdm660: Don't use custom audio policy for now 2019-09-27 17:13:44 +02:00
Davide Garberi
90ab2176ea
sdm660-common: Nuke libMiWatermark and replace it with a shim
* This lib is creating troubles on android 10 requiring old libs in vendor
* Other than that, it's the only culprit for vndk runtime being kept disabled
* Nuke this lib via a empty shim providing the symbols to the camera hal
2019-09-27 17:13:44 +02:00
Max Weffers
c288e2ee18
sdm660-common: include gapps if the path exsists 2019-09-27 17:13:44 +02:00
Bruno Martins
20bea42abf
sdm660-common: Remove obsolete RIL variant board flag
There's no CAF variant anymore.

Change-Id: Ief74f8b2aa861b0d16ffab9b52304006008d2444
2019-09-27 17:13:44 +02:00
Łukasz Patron
f940b8f2e2
sdm660-common: bluetooth: Push and pop PROPERTY_VALUE_MAX in buildcfg header
This deals with the PROPERTY_VALUE_MAX redefinition compilation issue.

Change-Id: I34bb283512ca1a75c680af140846f16cccf0c645
2019-09-27 17:13:44 +02:00
Vinay Verma
4140eb5ed8
sdm660-common: Correct gid for /vendor/firmware_mnt due firmware class path change
In ueventd support has been added to read firmware path from
vendor.It wil parse /vendor/firmware_mnt/image information
and add in look up path/search path for loading firmware.
Change uid of /venodr/firmware_mnt back to system as kernel
firmware loading is removed. Previouly to support kernel firmware
loading root permissions were required.

Change-Id: I560ed75ee07626094acbc879b615190cf3a9faa3
2019-09-27 17:13:44 +02:00
mike dooley
4c4eb539fb
sdm660-common: Enabling sound trigger V2_2 for sdm660 targets
V2_2 has the same functionality as V2_1 except it adds one new
api, getModelState.
Note: V2_1 will be removed in a subsequent cl.
Test: built android and tested using SoundTriggerTestApp
Bug: 70206501
Change-Id: Id2647687732e79df252588d69f95d2a407e0092c
2019-09-27 17:13:44 +02:00
Aryan Gupta
64d07e8da3
sdm660-common: convert libinit Android.mk to blueprint 2019-09-27 17:13:44 +02:00
Brandon Solis
91ef1c9511
sdm660-common: Update user for ims daemons
Change user for imsdatadaemon, imsrcsd,
ims_rtp_daemon
from AID_SYSTEM to AID_RADIO

Change-Id: I8ee1c4ff182af0d9b4ebf028e3096cfa88118287
2019-09-27 17:13:44 +02:00
Eric Chang
490ec94237
sdm660-common: Update rtp daemon user group
- Rtp Daemon user group updated from system to radio
- Updated diag permissions

Change-Id: Ie78a80e59782c935f5a7f0c37302dcc26fb9d98c
2019-09-27 17:13:44 +02:00
Brandon Solis
89a5d368d5
sdm660-common: Update user group for daemons
ImsDataDaemon, ImsQmiDaemon and ImsRcsService user groups updated from system to radio

Change-Id: I5368db8e29b41f583e7b258a6b56318725279412
2019-09-27 17:13:44 +02:00
Vinay Verma
434262fa97
sdm660-common: Change ownership of /vendor/firmware_mnt/image
Reset ownership of /vendor/firmware_mnt/image to system system
as /vendor/firmware_mnt is mounted with same owner and group.

Change-Id: Ibebf44e80f4695c85be9f870fd345ed5e0937f3d
2019-09-27 17:13:44 +02:00
Qimeng Pan
c6c623f7ed
sdm660-common: Remove old CarrierSwitch solution init.rc code for 660
CarrierSwitch use a new solution from P or later. the new solution
switch carrier by a standalone apk instead of modifing the init.rc
code in old solution.
So, Remove init.rc changes for old carrier switch solution.

Change-Id: I2da9861d71bc73df1b19066d2fad0dd3f4dedb3e
CRs-Fixed: 2377064
2019-09-27 17:13:44 +02:00
Karthik Gopalan
eacefb5592
sdm660-common: Add Speed-Profiled contents of vendor jars.
This Change adds speed-profiled contents of vendor jars
which are listed as part of PRODUCT_BOOT_JARS. These will be
included while generating speed-profiled boot-image.

CRs-Fixed: 2255003

Change-Id: I55fe56aa52511f55688e3d8245ac74481ff062b3
2019-09-27 17:13:44 +02:00
Bruno Martins
80aa3de90e
sdm660-common: Create root folders outside of vendor init script
* The core SELinux policies for vendor_init are being restricted as to
   comply with Treble. Simply adding a local rule to allow creating
   folders under rootfs would be enough, but at the same time defining
   the extra root folders and making use of AID/fs configuration file
   to set perms is more neat and clean.
 * Furthermore, with System As Root / is a read-only filesystem
   so we can't create our mountpoints from init script anymore

Change-Id: Idabd7ae72e4c4fd9daac5ba3be3e6236f79f251b
2019-09-27 17:13:44 +02:00
Michael Bestas
9c25ae1771
sdm660-common: manifest: Revert back to DRM 1.0
* fixes broken drm on Q
2019-09-27 17:13:44 +02:00
Volodymyr Zhdanov
d18ad84793
sdm660-common: Add packages for Android 10 IMS
Change-Id: Ib387f4abcfc1895a420e05c4c87e7d00e65f02ba
2019-09-27 17:13:44 +02:00
Volodymyr Zhdanov
1295b0aa34
sdm660-common: wifi: update configs from MIUI 9.6.27
Change-Id: I954b3171c18777828226b6a360f932ddbe6912c3
2019-09-27 17:13:44 +02:00
LuK1337
be49c5683a
sdm660-common: Copy Android P VNDK blobs
Change-Id: I4f2f48ca4810247b2b951de27b82da0769f7d1b1
2019-09-27 17:13:44 +02:00
Max Weffers
017ca61bf3
sdm660: add missing libgui symbol for camera hal 2019-09-27 17:13:44 +02:00
nebrassy
32f1b62062
sdm660-common: drop composer and health from compatibility matrix
these are the wrong instances anyway

Change-Id: I3488f1c12dc392195e72c15ae5f8aed478aa7e34
2019-09-27 17:13:44 +02:00