Commit graph

100 commits

Author SHA1 Message Date
Chenyang Zhong
47938ad4a3
build 64bit vendor variant of libavservices_minijail
F linker  : CANNOT LINK EXECUTABLE "/system/vendor/bin/ims_rtp_daemon": library "libavservices_minijail.so" not found: needed by main executable

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: DennySPb <dennyspb@gmail.com>
Change-Id: Ia5616b170701051850ac07d8546233b75c2c8a31
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 17:54:57 +02:00
Bruno Martins
c7331e76cf
Build vendor's variant of dummy HIDL
some blobs still depend on android.hidl.base@1.0.so.

Change-Id: Ide84a07ab01acad8cfb4a25149a1c81034f57b69
2021-07-16 17:54:56 +02:00
Subbaraman Narayanamurthy
2cf97f4493
Add QTI health implementation
Add QTI health implementation so that it waits for battery power
supply for a max timeout of 5 seconds. This is to ensure by the
time health HAL service starts, battery power supply device is
available. Without this, health HAL couldn't find battery power
supply sometimes because of the time taken for battery charger
driver to probe on platforms where it can happen only after the
remote subsytem is bought out of reset.

Change-Id: I96ee53ef15dd61c98d317e9ec221456ca564249f
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 17:54:56 +02:00
P.Adarsh Reddy
2e1d57ab1c
Uprev Health hal from 2.0 to 2.1.
Change-Id: Ib2d1e7742b49919045022d385460e0a3fedf3033
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 17:54:56 +02:00
Alastair Donaldson
08e036b61b
Add android.software.vulkan.deqp.level, version 2020-03-01
This change sets the new Vulkan dEQP level feature flag to the value
corresponding to the Vulkan dEQP tests for Android 11.

Change-Id: I7906428e2659bcfec25dbfac28641b0595a33419
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 17:54:56 +02:00
DennySPb
8b5420985d
Switch to blobbed DRM
Change-Id: I884e560b1055f02fb9b4c49640d892317f8d77f2
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 17:54:55 +02:00
DennySPb
452450156a
Build hwbinder and libhidltransport explictly
some vendor blobs depends on it

Signed-off-by: DennySPb <dennyspb@gmail.com>
Change-Id: Iac83b95405f0170f808c5b0f787c42d8e301a418
2021-07-16 17:54:54 +02:00
Weilun Du
4ca2a59aae
Add TetheringOverlay
BUG: 163800715
Signed-off-by: Weilun Du <wdu@google.com>
Change-Id: Ia0834f5215ff8c3b13effa591bd2f84d93419a06
2021-07-12 02:24:07 +02:00
Chenyang Zhong
b39d2c9bb4
build libavservices_minijail
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: DennySPb <dennyspb@gmail.com>
Change-Id: Ia90042cccf2e2ffd3de37ceee15412434f4fba42
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:07 +02:00
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