Commit graph

938 commits

Author SHA1 Message Date
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
Erfan Abdi
36941cae85
sdm660-common: Setup device soong namespace
Change-Id: I2e9c0ab68a0fe86ba18e3955e2823b87d88e835a
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-09-27 17:13:44 +02:00
Garret Kelly
f831e05b9f
sdm660-common: Set BOOT_SECURITY_PATCH during build
This property is now used during boot to provide the TEE-backed
keymaster with the correct boot SPL.  Set it to the platform SPL until
it diverges as part of an update.

Bug: 119549677
Test: verified boot.img has property using avbtool
Change-Id: I6d96404918cf18d0fee79c701394b39baf349c53
Signed-off-by: Henrique Pereira <hlcpereira@outlook.com.br>
2019-09-27 17:13:43 +02:00
Jyotiraditya
5c8398be2c
sdm660: Don't build Xiaomi(Doze & Parts) for now
Signed-off-by: Jyotiraditya <dreadnaught02@outlook.com>
2019-09-16 10:39:53 +02:00
Volodymyr Zhdanov
7bdbd9ff91
sdm660-common: org.ifaa.android.manager: switch to blueprint
Change-Id: Ia7b977cd407e94f5f195234ecaddc6703e253675
2019-09-16 10:39:53 +02:00
Erfan Abdi
af6aca3fc6
sdm660-common: fingeprint: Add uhid group for fingerprint service
Change-Id: I318d4650a6618c10674a34691bc1b8e43af462b8
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
[adapted for oss hal]
Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
2019-09-16 10:39:53 +02:00
Arian
4171cb8ef0
sdm660-common: Use aosp wlan hal for now 2019-09-16 10:39:53 +02:00
Arian
607486efe3
sdm660-common: Uprev clearkey to 1.2 2019-09-16 10:39:53 +02:00
Mingshu pang
cc66284cdc
sdm660-common: Remove Dolby formats by default.
The AC3, EAC3 formats are supported only when
license and respective decoders are present.
Having these entries in policy configuration
by default will unnecessarily trigger
open_output_stream and then fail when
decoders are not present. This results in
glitches at the begining of playback of video
clips with AC3 or EAC3 audio contents.

Removed these entries to make the video playbck
smooth with out any glitches.

CRs-Fixed: 2428579
Change-Id: I41b7ef9d8e2c5f77c261067337f602d705e11c35
2019-09-16 10:39:53 +02:00