Commit graph

575 commits

Author SHA1 Message Date
Sebastian Dang
b4836767ff
Move wfdhdcp Crypto & DRM HAL to 1.3
Change-Id: Ic1f18825f61aa1aecbb56941dd9cfe2447659a20
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 17:54:55 +02:00
LuK1337
90e6a5ba04
rro_overlays: Redo TetheringOverlay's blueprint
This now matches WifiOverlay.

Change-Id: I9e4e859b7aca75d41556ea5807e34a4eb4598266
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 17:54:55 +02:00
DennySPb
96610639f6
manifest: move livedisplay and powerstats hals to device manifest
Signed-off-by: DennySPb <dennyspb@gmail.com>
Change-Id: I6cc570579d5a46de3ead668b1c2b71be240f25a6
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
DennySPb
14f08dc1fe
Initial selinux policies
* convert existing one to vendor
2021-07-16 17:54:51 +02:00
DennySPb
f566b08f03
boardconfig: Specify vendor partiotion size and fs type
Signed-off-by: DennySPb <dennyspb@gmail.com>
Change-Id: I6751c3e33510a3140b4a74605e102f24613a6eaa
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 22:40:36 +02:00
Giammarco Senatore
2eebdec40f
Populate initial proprietary filelist for vendor R build 2021-07-12 22:40:31 +02:00
Bruno Martins
98624ba0ed
Add unpinning support to update-sha1sums.py script
Change-Id: I9035b449cea6d78927a459dc247075b3d4512e46
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:07 +02:00
LuK1337
574e664d3b
Handle moved blobs in update-sha1sums.py script
Change-Id: Iccab8c8620c7ff680768aac2d9cbf5b5067af8d7
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:07 +02:00
LuK1337
cf1040aebe
Add script to update sha1sums of kanged blobs
Change-Id: Id2e8cfb8d3b6f65f69c91a89bacd615fdcc45753
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:07 +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
Bruno Martins
842446a9bc
Create symlinks for WLAN
Change-Id: Ib2b3541cee80e178ceed0de6e71739ae885d0faf
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:05 +02:00
Bruno Martins
0ab08f9a11
Create RFS symlinks
Change-Id: Ica1d4a9893f526ab98c5ef07e18d51dbf74c8e93
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:05 +02:00
Giammarco Senatore
7e7b249a6f
kunlun2: Add BoardConfigVendor.mk include in BoardConfig 2021-07-12 02:24:05 +02:00
Bruno Martins
8bdfee8883
Blob out A2DP offload library
These targets are using prebuilt audio HAL and for some reason,
using the source-built lib breaks A2DP. Just use prebuilt one
and be happy with it.

Change-Id: I37a5601afdbfdcb81a1053b366fad79fadf4eaa7
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:05 +02:00
P.Adarsh Reddy
ce11e64add
Add build broken flags in BoardConfig.mk
BUILD_BROKEN_USES_BUILD_COPY_HEADERS

Change-Id: I7b115f5bb7990c438c595b4b1ff536598786d529
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:05 +02:00
Jimmy Chen
00a3574cef
Move supplicant service init to wpa_supplicant
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:04 +02:00
Giammarco Senatore
21992758a7
Initial device manifest and compatibility matrix
* stripped stock ZUI 11.5.160 manifest and compatibility matrix
* bumped some instances to match oss hals versions
2021-07-12 02:24:04 +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
Praveen Chavan
a2a4398766
mediacodec: Allow syscalls needed by OMX component
perf daemon needs uname, ueventd, timer_create,
timer_settime, rt_sigtimedwait syscalls. Add them
to media.codec's whitelist.

CRs-Fixed: 2062950
Change-Id: Ib07d73140470d9def0d9411469ee1525e13f4bc7
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:01 +02:00
Umesh Pandey
6e0fa8ba90
mediacodec: Allow syscall for VPP
Add inotify_intl, inotify_add_watch and inotify_rm_watch for VPP.

CRs-Fixed: 2058795
Change-Id: I294b03f4a46020a022cacf1267ebf68b0bdd6e19
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:01 +02:00
Amit Shekhar
211d717beb
Add system call to the SE whitelist
Add system call to the SE policy whitelist

Change-Id: I1793d20c49f838929aa0dc1720eb062535ae8f09
CRs-Fixed: 2050577
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:01 +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