Commit Graph

93 Commits

Author SHA1 Message Date
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
Arian
52f6776fe8
davinci: sensors: Copy hardware permissions from frameworks/native
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: Ie319f5940fd3917a4b0537da341e7a1280d26312
2020-08-06 21:28:08 +02:00
Arian
a92a283578
davinci: sensors: Build HAL
Change-Id: If0cd2457072b615e5298bfe421a120298a01959f
2020-08-06 21:28:08 +02:00
Arian
2a7263c2bb
davinci: health: Build HAL
Change-Id: I93c025a9d60e46a3239052ba2eab96d8e470a765
2020-08-06 21:28:08 +02:00
Bruno Martins
65d8db50aa
davinci: textclassifier: Build smart selection models
Change-Id: I4de9326fe60a395454834906552518afbc376f49
2020-08-06 21:28:08 +02:00
Arian
a18b9e2016
davinci: thermal: Build HAL
Change-Id: I066f6f1bbf45652bc62e76bfd489fc2b6694e421
2020-08-06 21:28:08 +02:00
Arian
9defaf4564
davinci: handheld: Copy hardware permissions from frameworks/native
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I7aa974b74b89d2ce712777358e8cb6064470d14a
2020-08-06 21:28:08 +02:00
Arian
644b687a03
davinci: gps: Copy hardware permissions from frameworks/native
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: Ie7b5fb38125b75df174690c69c80a492e6756521
2020-08-06 21:28:08 +02:00
Arian
b4714f28be
davinci: gps: Import blobs
Change-Id: I38bb6ff4582359755ed2f80c70d0a7a092a094d1
2020-08-06 21:28:08 +02:00
Arian
9624b8de8a
davinci: wifi: Copy hardware permissions from frameworks/native
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: Ib92ef4c156c4a0e222c7f286db95671baccebcf1
2020-08-06 21:28:08 +02:00
Arian
a245ea9ab6
davinci: wifi: Import configs
Change-Id: I9d915f0fc0c72688d988cd9cd0c5c1926810b307
2020-08-06 21:28:08 +02:00
Arian
019accd173
davinci: wifi: Build IPACM from source
Change-Id: Ibc59af6f552cc637d9b2aaa7b5cc758e55a4175a
2020-08-06 21:28:08 +02:00
Demon000
f9f0ca83ac
davinci: wifi: Build HAL
Change-Id: I1a59fe37aff8eb6ad413dff77adfa94bf03b5867
2020-08-06 21:28:08 +02:00
Arian
63f98f11b6
davinci: drm: Build HAL
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch>
Change-Id: I3b0d2752a5955b326f5ae6e64f29c2888bf101c5
2020-08-06 21:28:07 +02:00