Commit graph

118 commits

Author SHA1 Message Date
Giammarco Senatore
f6f497c743
sdm710-common: Initial commonized tree
* minor cleanup in overlay and init rc
* drop dolby
2021-07-25 21:56:17 +02:00
Bruno Martins
470c614f62
sdm710-common: Add PocketMode app 2021-07-25 02:07:25 +02:00
Giammarco Senatore
ecf3a4d1fa
kunlun2: Do not copy Gcam anymore 2021-07-21 15:18:17 +02:00
Giammarco Senatore
1f26a4e822
kunlun2: Partially revert "Drop android.hardware.thermal HAL"
We still need thermal engine

This partially reverts commit 11d6885d93.
2021-07-20 01:26:53 +02:00
Giammarco Senatore
6bfcf3971c
kunlun2: copy calib xml to vendor 2021-07-17 21:07:42 +02:00
Han Wang
66bdd28b09
Revert "kunlun2: Add AOSP RCS packages"
* This is built by default in 11.

Change-Id: Ib7c0d62988849902b6907509a6a6016a909d8f66
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-17 18:53:11 +02:00
Ethan Chen
4efd4900c5
kunlun2: Enable Pixel atrace HAL
Change-Id: I34691e5e909b6ca76dc97fd5c45328e3f80b67e1
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-17 18:48:16 +02:00
Alessandro Astone
974954b682
Import codec2 seccomp policy
Change-Id: I9efcb2f71a3917c4e317fdde754fc10905b91cc9
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 18:44:06 +02:00
Giammarco Senatore
8542e2767b
kunlun2: Use prebuilt audio HAL
Import some more needed configs as well (from stock)
and cleanup unused ones
2021-07-16 17:55:02 +02:00
Giammarco Senatore
8300ea271d
kunlun2: Import msm irqbalance 2021-07-16 17:55:01 +02:00
Giammarco Senatore
835641f2cf
kunlun2: drop livedisplay
This is eleven branch, not plus
* Yeah I am debugging on Plus idk why
2021-07-16 17:55:01 +02:00
Giammarco Senatore
11d6885d93
Drop android.hardware.thermal HAL 2021-07-16 17:55:01 +02:00
Dillon Brosche
c695b9e482
Update qti privapp permissions 2021-07-16 17:55:00 +02:00
Giammarco Senatore
d30642f65a
kunlun2: Add missing camera and FM blobs
- Camera blobs
- FM blobs
- Build vendor livedisplay too
2021-07-16 17:55:00 +02:00
Giammarco Senatore
d08ec39995
kunlun2: build gpu 710 libs
remove duplication
2021-07-16 17:54:59 +02:00
DennySPb
350cd4e75d
Build some dependencies for QSEECOM and Display
* libtinyxml for mm-pp-dps
 * libchrome for ese_client
 * vendor.display.config@1.0 for qseecom

Change-Id: I68dcee5ef53bfc8448a019ff94514255114fd779
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 17:54:59 +02:00
Lucchetto
779979796b
kunlun2: create dummy libqti-perfd-client
* proprietary perfd blobs can finally be nuked without breaking goodix
* we could even map the functions to use libperfmgr powerhints in the future

Signed-off-by: Lucchetto <lucchetto.tie@live.com>
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-07-16 17:54:59 +02:00
Ethan Halsall
92c43038ca
Update vulkan permissions
Signed-off-by: Ethan Halsall <ethan.halsall@gmail.com>
Change-Id: I724392adc765508d1a6e462297bf581087b1f708
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-16 17:54:58 +02:00
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