Commit Graph

106 Commits

Author SHA1 Message Date
Padmanabhan Komanduru
9a14521098
davinci: display: add libdisplayconfig.qti to product packages
Change-Id: Ic8a69bc5368f9d41c5958181ecb091e6d0d4ad05
2020-12-30 02:02:58 +01:00
Tharaga Balachandran
6cb6f214bc
davinci: gralloc: Add support for IMapper/IAllocator 4.0
* Add QtiMapper and QtiAllocator 4.0
* Implement IMapper 4.0 APIs: get, set,
  getFromBufferDescriptorInfo, flushLockedBuffer,
  rereadLockedBuffer, listSupportedMetadataTypes,
  dumpBuffer, dumpBuffers, and getReservedRegion

CRs-Fixed: 2633272
Change-Id: Ica42e485e426b366ffb41f30f1ea2cf395901356
Signed-off-by: Baldev Sahu <bsahu@codeaurora.org>
2020-12-30 02:02:58 +01:00
Tharaga Balachandran
9260cc4789
davinci: gralloc: Upgrade mapper and allocators to v3.0
CRs-Fixed: 2445393
Change-Id: I8c44ab63ca81523bb6acb75e8ae878cc7466e139
2020-12-30 02:02:57 +01:00
Mahesh Sharma
ce6a334f1d
davinci: ANT: Support new ANT stack
Add appropriate package name on the basis of
transport used on target.

Change-Id: I02163a7a50afba8c6ee6a766327b78c5df081d4e
2020-12-30 02:02:57 +01:00
Murthy Nidadavolu
384e49e226
davinci: Remove DRM Widevine and Clearkey HALs
DRM Widevine and Clearkey HAL entries moved securemsm specific
makefiles complying FR53051.

Change-Id: I5330942888f9de224175fd31123ec76b99aaa2b1
2020-12-30 02:02:57 +01:00
Michael Bestas
06eeca1f48
Revert "davinci: textclassifier: Build smart selection models"
* Target no longer exists

This reverts commit 65d8db50aa.

Change-Id: I2079d7dbbeb59bbe9cd925a56f6bcc84c8a38d7f
2020-12-30 02:02:56 +01:00
TheScarastic
64813f7c8d
davinci: overlay: Adjust biometric dialog for 11
Change-Id: Id8ee895e7fe8bb643f73eaa45116ecd64d697c38
2020-12-30 02:02:56 +01:00
LuK1337
3b93597ae6
davinci: Build vendor libhidltransport/libhwbinder
* Needed for old blobs

Change-Id: I43fc0e46547dfc126a4b2ac9dcc82c7c4f2ee172
2020-12-30 02:02:56 +01:00
Arian
d52b6c8e3a
davinci: Build new aidl qti power HAL
Change-Id: I4bdea354e54d34d0dfe9b811e228fc6f8762d2ed
2020-12-30 02:02:56 +01:00
Roman Kiryanov
d31a2efe1f
davinci: Replace audio@2.0-service with audio.service
Legacy service name, use android.hardware.audio.service instead

Bug: 153579444
Test: presubmit
Signed-off-by: Roman Kiryanov <rkir@google.com>
Merged-In: I4c05accb86dd0c9cd1b3fef3d84e0d54b2afc6a1
Change-Id: I6b55b4b1db2577f4176c99dca7021cfe78e13307
2020-12-30 02:02:56 +01:00
LuK1337
ade3b573a1
davinci: Drop android.hardware.thermal HAL
android.hardware.thermal@1.0::IThermal/default is deprecated in compatibility matrix at FCM Version 4; it should not be served.

Change-Id: Icc3c672a0bf6b9e4ee76ccf91e6cdca5fb778fde
2020-12-30 02:02:38 +01:00
Alastair Donaldson
51e609a853
davinci: 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: I0715787b310f48c27747849ebd0724e0ca6fbbde
2020-12-30 02:02:27 +01:00
Ryan Mitchell
aedf08f9cf
davinci: Use component-override to configure Bluetooth
Runtime Resource Overlays (RROs) can no longer change the value of
resources in manifest when read during PackagerParser.

This change uses component-override to enable the service by default
on this device.

Remove usages of profile_supported_sap from overlays as they no
longer configure the enable state of .sap.SapService.

Bug: 135048762
Test: adb shell pm query-services \
      com.android.bluetooth/.sap.SapService

Change-Id: I284d254a921b14d1533745611a083f4b5a27d9dc
2020-12-30 02:02:16 +01:00
Anton Hansson
5a50ae0cb1
davinci: Enforce RRO for all resource overlays
Bug: 118823052
Test: make
Change-Id: I579d09480c7a482543ea616dd5c493d825bb98b1
2020-12-30 02:02:03 +01:00
Roshan Pius
47687901d6
davinci: Add WifiOverlay
[ArianK16a]: Adapt to previous configuration

Bug: 148617260
Test: Device boots up and connects to wifi networks.
Change-Id: Iec27a6d947a232a42451ef095dc73d1a52327db5
2020-12-30 02:01:58 +01:00
Mikhail Naganov
5fee72ad60
davinci: Switch to Audio HAL V6
Bug: 141989952
Test: atest VtsHalAudioV6_0TargetTest
      atest VtsHalAudioEffectV6_0TargetTest
            manual audio "smoke" test

Change-Id: Ieb1cc5c7fdcc5416a328a0a5c4a1996258b81ac8
2020-12-30 01:47:46 +01:00
Robert Shih
17ff725cfa
davinci: Enable v1.3 drm plugins
Bug: 139134043
Test: MediaDrmTest
Change-Id: I7453b035ca29c7ee889d03de0d55e6d947b3cb77
2020-12-30 01:47:46 +01:00
Arian
3613fe7f16
davinci: Drop unused gnsspps
Change-Id: I5811042197ffc19dd56c3609afafa6e10acf48c8
2020-12-30 01:47:16 +01:00
Arian
3476ddfcaf
davinci: Drop unused packages and proprietary files
Change-Id: Ia71338d2cb795977af9c6ff945e2715fb693ea1a
2020-12-30 01:47:09 +01:00
Arian
b97294d58f
davinci: Build the vendor.xiaomi.hardware.motor@1.0 interface
Change-Id: Ieda22802167fb20f54b301f3c686f158599f09eb
2020-11-28 18:12:03 +01:00
PIPIPIG233666
fdf5278aba
davinci: Add audio amplifier for TFA amp feedback
* Fixes broken stereo channel seperation.

* Logic and original code by Smosia, slightly rewritten and moved to audio amplifier HAL by Pig.

Co-authored-by: Smosia <stasenko_nv@nrcki.ru>
Signed-off-by: Arian <arian.kulmer@web.de>
Change-Id: I369555a9fcb06065177636b436d2e006c7a0b07d
2020-11-28 18:12:03 +01:00
Arian
eded8aab13
davinci: Copy all media configs from the media HAL
Change-Id: Id46c5ca254aef4c9823bc5a5be87681bf2844699
2020-11-28 18:12:02 +01:00
kazerine
ab51fafbdd
davinci: Get rid of megvii dependencies in camera.qcom.so
Change-Id: I97058c320d06819a468ebe38e2704360e9aa91db
Signed-off-by: Arian <arian.kulmer@web.de>
2020-11-28 18:12:01 +01:00
Bruno Martins
7e2d54a2a7
davinci: List additional native libraries to expose to apps
* Initially based on the list defined by Xiaomi, trimmed to include
   only the vendor libs that are also being shipped by us.

Change-Id: I552dc44a32221d2d3cec48e1c64ed72c470d412e
2020-11-28 18:12:01 +01:00
Andrew Hexen
cee65c43f9
davinci: Move NFC permissions to ODM
* Ensures that NFC is enabled only on global and chinese variants.

Change-Id: I25444aae6644ca391d79282c1c5d588617483ee6
2020-11-28 18:11:31 +01:00
Ethan Chen
1c5c53d034
davinci: Remove dead RCS packages
Change-Id: Ie2c03fa11cb08c7ab900d7b666981d592aba19c7
2020-11-23 20:44:38 +01:00
LuK1337
71a981f61c
davinci: Disable uplink features in librmnetctl and build it from source
Change-Id: I2e5f63f3cb688f3d141fa9123f3a6e91b6294157
2020-11-23 20:44:38 +01:00
Arian
27edb262ed
davinci: Drop audioconfigstore
Change-Id: Iadb796a9f6f5187994474ccba7acdc77f51b7e75
2020-11-23 20:44:38 +01:00
Arian
12f436ea0f
davinci: Drop graphite ipc
Change-Id: I544529d834616340d4da98f9af9456cd65b0cb91
2020-11-23 20:44:38 +01:00
Arian
d5591d6d37
davinci: Build audio HAL from source
* Disable ssrec and hdmipassthru since they depend on proprietary headers

Change-Id: I6abf4baf2e03aa9dc4ce52cbe758d976441cc7fc
2020-11-23 20:44:38 +01:00
Arian
dbb6f79eb3
davinci: audio: Merge static mixer_paths overlay into mixer_paths_idp
Change-Id: If09ffda8650e2e8a64c2bcba850038a690d4db63
2020-11-23 20:44:38 +01:00
Arian
f88933946c
davinci: Import GPS configs from MIUI V12.0.1.0.QFJMIXM
Change-Id: Id3ec33eeb511081ebf2eb07324b167b3e58c11a2
2020-11-23 20:44:38 +01:00
dianlujitao
bf60c73d8e
davinci: Build GNSS HAL
* Remove unnecessary dependencies on liblbs_core.so
 * Hardcode vendor loc HIDL version to 3.0 to enable vendor HIDL when
   building w/o BSP.

Change-Id: I01f661f1d1e038737801f5a9db88e3388d470f74
2020-11-23 20:44:38 +01:00
Patrick Tjin
d24f1a797c
davinci: Add nosdcard characteristic to device
Bug: 30895189
Change-Id: Ic2e040dc8d811ca84c910d42f6f7db35526802ff
2020-10-13 18:25:13 +02:00
Michael Bestas
9313cc0a61
davinci: Remove android.hidl.base@1.0 shims
* Patch the 2 remaining blobs that depend on it.
* They already need libhidltransport.so so there's
  no real need for the shims anymore.

Change-Id: I00f185fd4d1d8798893cf82abf9d64fcb68c3301
2020-10-13 18:25:13 +02:00
Joey
e551c833be
davinci: Build Trust HAL
Change-Id: I92706987f8d3094cdfb82e71e5331b7efe69e5df
Signed-off-by: Joey <joey@lineageos.org>
2020-10-13 18:25:13 +02:00
Bruno Martins
bcc47bc18f
davinci: Implement SunlightEnhancement LiveDisplay HAL
Change-Id: I17b0215ad78d86989c146291552c5e6e7b6a689d
2020-10-13 18:24:30 +02:00
Arian
5de047f6e9
davinci: Build livedisplay
Change-Id: I6ca5443d061fe4139b0bab07a5ee1ba2a77e8de9
2020-10-10 21:43:31 +02:00
Arian
aa57d3d050
davinci: Add init.recovery.qcom.rc
Change-Id: Ib6904420afbb15f81b6a238225f75165d1f09257
2020-08-06 21:28:09 +02:00
Arian
5533cb3b62
davinci: rootdir: Import uevent
Change-Id: I7156ee9e8f6035135114c5d69fea54a4b0d2579b
2020-08-06 21:28:09 +02:00
Arian
2aa75ea3a3
davinci: rootdir: Import scripts
Change-Id: I6dbee7c54c43a3e2186d21e7df6a028762aeb49a
2020-08-06 21:28:09 +02:00
Arian
a23c2562ab
davinci: fm: Build FM2
Change-Id: Ifb8b0868f196f7cf84cd2dc251de03efb4656ac8
2020-08-06 21:28:08 +02:00
Fabian Leutenegger
85f1a5efdf
davinci: ant: Build ANT+ HAL
Change-Id: I0235a7f3dff531f000e897efa2e63621f969a23e
2020-08-06 21:28:08 +02:00
Arian
eebc547142
davinci: network: Copy hardware permissions from frameworks/native
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I5453e9019b8e142231675cb996a9d7fea36d2cbf
2020-08-06 21:28:08 +02:00
shoudil
29d90f8b4f
davinci: vndk: Build framework detect modules
Add JNI and libqti_vndfwk_detect module name to product_packages
to specify module to be installed to device. Here explicitly
specify the vendor variant in PRODUCT_PACKAGES.

CRs-Fixed: 2372775

Change-Id: Ic64f5ac0cfbbe9e105a6b48b5bc7687c8d23d7e8
2020-08-06 21:28:08 +02:00
Arian
f4e715dc98
davinci: vibrator: Build HAL
Change-Id: I3c3200a3ad5b9410ee861a981352b4d7eddf5e53
2020-08-06 21:28:08 +02:00
Arian
07850efdd7
davinci: usb: Copy hardware permissions from frameworks/native
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I892323509d859b7e6642ccb7befee07961bc2cd5
2020-08-06 21:28:08 +02:00
Arian
254d3d5732
davinci: usb: Build service
Change-Id: Ic3d4b060c59de915dea823a084bbb0c1bf8e59f9
2020-08-06 21:28:08 +02:00
Artem Borisov
4309433e5e
davinci: wfd: Add QCOM's implementation
Change-Id: I7fa7fff123130c2762b97528a8bfe973f55a727f
2020-08-06 21:28:08 +02:00
Arian
ef1a06ec19
davinci: wfd: Add QTI privapp permissions
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I888a2334e7795e327177a6036f549eaffb27cf8b
2020-08-06 21:28:08 +02:00