Commit graph

91 commits

Author SHA1 Message Date
Chenyang Zhong
62e25b98b3
bump vendor.display.config to 2.0
...in conjuction with the display hal changes ported from
"LA.UM.9.8.r1-02900-SDM710.0"

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: DennySPb <dennyspb@gmail.com>
Change-Id: Ia7f9985e94c0ce8f538bb83334382fd5fe589dee
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:06 +02:00
PIPIPIG233666
1463d360eb
Import QCOM bluetooth soong namespace
Signed-off-by: DennySPb <dennyspb@gmail.com>
Change-Id: Ic6d2c2902a36cb806fad79ba789059f490d8f21b
2021-07-12 02:24:06 +02:00
ix5
ee2cde27c0
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]

GiaSen: some alphabetical order

Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
Change-Id: I28222c89e1e07017867088492a726ee9d45d8e6f
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:06 +02:00
Mikhail Naganov
abd2fe48e7
Switch to Audio HAL V6
Bug: 141989952
Test: atest VtsHalAudioV6_0TargetTest
      atest VtsHalAudioEffectV6_0TargetTest
            manual audio "smoke" test

Change-Id: Ieb1cc5c7fdcc5416a328a0a5c4a1996258b81ac8
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:06 +02:00
Robert Shih
5d4d174b9d
Enable v1.3 drm plugins
Bug: 139134043
Test: MediaDrmTest
Change-Id: I7453b035ca29c7ee889d03de0d55e6d947b3cb77
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:06 +02:00
DennySPb
4d39fa4fd6
Build additional QTI bluetooth vendor packages
Signed-off-by: DennySPb <dennyspb@gmail.com>
Change-Id: If258640340a1d33c86fbb9f42eb095c8c4102d9a
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:04 +02:00
shoudil
52e2a13a1f
Add framework detect modules to PRODUCT_PACKAGES
Add JNI and libqti_vndfwk_detect module name to product_packages
to specify module to be installed to device. Here explicitly
specify both the core and vendor variant in PRODUCT_PACKAGES.

CRs-Fixed: 2372775

Change-Id: Ic64f5ac0cfbbe9e105a6b48b5bc7687c8d23d7e8
2021-07-12 02:24:04 +02:00
1nfrag
8f59ddc383
Build AOSP BT 2.0 audio hal
Change-Id: I3c7120f5f29605a939d0ca78054894e2cafcca65
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:04 +02:00
Rahul Krishna
fa342adb5f
Build vendor.qti.hardware.bluetooth_audio@2.0
Change-Id: I53f8c916452d30a0de6645f1ddf02aa6de358b78
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:04 +02:00
Sujin Panicker
4dbb3ddc0b
Declare low-latency and pro audio capability
Declare low-latency and pro audio capability in device
make files to indicate low-latency and pro audio support
exists

Change-Id: I0b10d74db354889069ecadfdf4f03857a0d6506b
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:03 +02:00
Henrique Pereira
a3585d9058
Build libldacBT_dec
* For some reason while on bluetooth calls, A2DP/BT 2.0 HIDL wants that lib

Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Signed-off-by: DennySPb <dennyspb@gmail.com>
Change-Id: I3352b9be43fa2873d5417a391803e00527dc9f7f
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:03 +02:00
DennySPb
e26e386664
Ship default audiopolicy configs
Signed-off-by: DennySPb <dennyspb@gmail.com>
Change-Id: I9f28e7495cb67a469459ceef48d733f4bfe51d47
2021-07-12 02:24:03 +02:00
Henrique Pereira
dbd1ca678b
Enable Codec2
* General media configs update

Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Signed-off-by: DennySPb <dennyspb@gmail.com>
Change-Id: Ic5b60179b6b4d37ff865c44e914154ec15075f78
2021-07-12 02:24:03 +02:00
Prakash Pabba
4b4db43e5e
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
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:03 +02:00
Purushottam Kushwaha
bb023753b7
Disable wifi Aware (NAN) feature for unsupported target.
NAN is not fully supported for following targets and thus this
feature should be disabled:
-sdm845
-sdm710

Change-Id: I314d809585ac279887e2ecf208e9894a4b194c39
CRs-Fixed: 2485492
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:02 +02:00
Bruno Martins
f3d643a9e2
Set up WiFi and build the HAL from sources
Change-Id: I7b92eaea2cf2f059c8214916ea186dc6c1e03917
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:02 +02:00
Sandeep Singh
ad0d143e81
wifi: Add target specific wifi configuration files
This commit imports initial skunk wifi configuration files.

use ours WCNSS config

Change-Id: I5aa01eb778bf24cf50421c093c9ebca4dd541ae0
Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:02 +02:00
Santhosh Behara
56e27ebd8c
media: Add and publish Codec2 HAL service
*Add 2 codec2 relates libs to PRODUCT_PACKAGES in order to copy
them to /vendor/lib/
*Add seccomp policies for codec2 services

Change-Id: I83af4f6b80886ca18aa059285e0b94403c027e29
2021-07-12 02:24:02 +02:00
Bruno Martins
f89f020e0f
Drop mediaextractor seccomp policy
These syscalls are now allowed by default.

Change-Id: I405f609d030331e19031612cbd912a54a3c72339
Signed-off-by: Henrique Pereira <hlcpereira@outlook.com.br>
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:02 +02:00
Amit Shekhar
75a7af3a6c
mediacodec: Allow select and eventfd syscalls
Add pselect6 and eventfd2 syscalls
Includes following:
mediacodec: allow sendto and recvfrom syscalls
mediacodec: allow lseek syscall
mediaextractor: allow pread64 and readlinkat syscalls
mediacodec: allow getdents64, sysinfo and getcwd

Vendor extended policy files are separated from the aosp
and will now reside in /vendor

Change-Id: If59d04b36d744efb74209ae36e76dd16cb18f606
CRs-Fixed: 2027600
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:01 +02:00
mike-dooley
8539d92482
kunlun2: Enabling sound trigger V2_2
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
2021-07-12 02:24:01 +02:00
android-usb
dd2d18fff1
Adding Audio HAL V5: Direction API
Bug: 119137468
Test: With testbed app
Change-Id: I4251b3853d00308dbd988625f8e7466a66b823fa
2021-07-12 02:24:01 +02:00
Padmanabhan Komanduru
ece9a72804
Switch to composer 2.3
Change-Id: I9c70051647f81c4adf2431562c2d6b9854a71879
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:00 +02:00
1nfrag
6419e12cb1
Build OSS display HAL
Change-Id: I3801a603e08547a919e2e7cd90edabfb116dfac8
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:00 +02:00
Jeff Tinker
f5edd16152
Enable clearkey drm plugin v1.2
test: android.media.cts.MediaDrmClearkeyTest#testOfflineKeyManagement

bug: 117570956
bug: 110838441
bug: 116252891
Change-Id: Ie9373543ef416e718a70e75d95bf5b15a2852705
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:00 +02:00
Chris Fries
a44f233713
Set VENDOR_SECURITY_PATCH to platform
Set the VENDOR_SECURITY_PATCH level to match the platform
security patch level.  These are functionally the same.

Bug: 125914443
Change-Id: Ib77ab115d6faabd21958c34e2dae49ec96421fdd
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:00 +02:00
Garret Kelly
a210f8a6a4
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: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:00 +02:00
bgcngm
2e803d06de
Compile IPACM from source
Change-Id: I65fba34550e4b2016524656a2d0b869e32256753
2021-07-12 02:23:59 +02:00
bgcngm
6cf2b4f8cd
Compile OMX from source
Change-Id: I0e55d49e96423a9473059cf9000b0114b903d277
2021-07-12 02:23:59 +02:00
bgcngm
fabcf684e4
Build from source some vendor packages
Change-Id: I944f210685d980c0603fd2c9bcd9defbfb0209c2
2021-07-12 02:23:59 +02:00
bgcngm
1f9b91cca3
Compile open source sound FX modules
Change-Id: Iec50a263c8015dba798c574b4969d3d37b0004bc
2021-07-12 02:23:59 +02:00
bgcngm
5ecfc24cdd
Set up Bluetooth
Change-Id: I2057e44919354d4cdf172dfbc85da432b32419f0
2021-07-12 02:23:59 +02:00
bgcngm
5625a48a0a
Add whitelist to support exposing vendor libs
From ZUI 11.5.160
2021-07-12 02:23:59 +02:00
bgcngm
92508335e2
Include common feature permissions 2021-07-12 02:23:58 +02:00
bgcngm
537450d204
Build default HIDL HALs 2021-07-12 02:23:58 +02:00
Giammarco Senatore
74e502a935
Import stock audio/media configs
and move some configs from system to vendor
From ZUI 11.5.160
2021-07-12 02:23:58 +02:00
Giammarco Senatore
1d0e49aa55
Import stock vendor and odm properties
from ZUI 11.5.160
2021-07-12 02:23:58 +02:00
Giammarco Senatore
08e188d663
kunlun2: Import stock init scripts 2021-07-12 02:23:52 +02:00
Giammarco Senatore
38b77bd32e
kunlun2: Drop vendor_overlay and its hax 2021-07-11 17:06:19 +02:00
GiaSen
b3e0af8270 kunlun2: Cleanup
- Remove unused build broken configs
- Remove RevengeOS early hack to bypass long baseband name
- Remove blur expensive prop, new power aidl doesn't support
- Live wallpapers are built by default
2021-01-02 16:43:53 +01:00
GiaSen
98dce4d4d5 kunlun2: Nuke LenovoParts 2021-01-01 17:53:10 +01:00
SamarV-121
4416341c21 kunlun2: Hack to override empty power hidl 2021-01-01 17:52:21 +01:00
SamarV-121
30666f3913 kunlun2: Import Pixel power AIDL HAL
Nuke Powerstats
2021-01-01 17:52:11 +01:00
GiaSen
f5f839f3b3 kunlun2: Nuke manifest.xml
Was not needed at all
2021-01-01 15:46:25 +01:00
GiaSen
2f07f5abc0 kunlun2: Go enforcing
Bind mount etc files because vendor_overlay/29/etc makes device to reboot to recovery

from pstore
vdc: Command: cryptfs enablefilecrypto Failed: Status(-8, EX_SERVICE_SPECIFIC): '0: '
2021-01-01 13:33:47 +01:00
Kuber Sharma
b86cae0eba kunlun2: Copy updated handheld_core_hardware.xml to enable software controls feature
* AOSP has included device software controls feature permission
inside handheld_core_hardware.xml from android-11.0 but since
we use prebuilt OEM vendor which is from android-10.0 it
does not have this feature permission included in that.

a9708b1763%5E%21/#F1

Signed-off-by: Ayush Dubey <ayushdubey70@gmail.com>
Signed-off-by: aashil123 <singhalaashil@gmail.com>
Signed-off-by: victor10520 <merser2005@gmail.com>
2021-01-01 12:42:13 +01:00
GiaSen
3b00c1e366 kunlun2: Don't build Snap 2021-01-01 12:42:13 +01:00
Ethan Chen
347bedf5e6 sdm710-common: Add AOSP RCS packages
Change-Id: Ic16d3b92820d246db73ad70ccaa0f4bc7f50e515
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-12-03 22:49:30 +01:00
GiaSen
e3eca1b8ce kunlun2: Don't dexpreopt apps 2020-11-28 21:47:35 +01:00
Aayush Gupta
0584a27c21 sdm710-common: Remove qcom.fmradio from PRODUCT_BOOT_JARS
- It's loaded as app library, hence not needed to be a boot jar

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I1b1357be08b511f5af7663dee256849e2f2b1b63
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-11-28 21:42:59 +01:00