Commit Graph

39 Commits

Author SHA1 Message Date
Arian
449aca62a9
davinci: audio: Fix handset echo reference paths
* Xiaomi is using the earpiece echo reference paths in their HAL,
  while CAF uses handset paths.

* Rename the earpiece mixer paths to handset mixer paths in order
  to apply the correct echo reference for the CAF hal.

Change-Id: Id917fb33f49009e8145c58638e9fa6d05670473e
2020-11-28 18:12:02 +01:00
Arian
4fa86d3578
davinci: audio: Add echo-reference headset paths
* xiaomi uses the echo-reference headphones path also for headsets

Change-Id: Ica5e5c8c1ca1378a807614609a466e6d1129f2ce
2020-11-28 18:12:02 +01:00
Arian
374b2dc57a
davinci: audio: Adjust echo reference speaker path names for caf audio HAL
* Xiaomi's audio HAL uses the "echo-reference-voip speaker" path during voip
  calls in speaker mode, while the CAF hal uses the "echo-reference-voip" path.

* That led to an echo in voip speaker calls since xiaomi appends speaker
  to the path name and hence the echo reference wasn't set up properly, because
  xiaomi did not apply their echo-reference edits to the default path.

* To fix this we can apply xiaomi's "echo-reference speaker" and
  "echo-reference-voip speaker" as "echo-reference" and "echo-reference-voip".

* Remove the "echo-reference speaker" and "echo-reference-voip speaker" paths
  because they are the same as "echo-reference" and "echo-reference-voip" and
  even if the HAL will support speaker paths one day, it would not be needed for
  us since we don't need to differ between speaker and no suffix.

Change-Id: I9c2d42db6870c7f3579f5d96756a8bd4063022c8
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
Erfan Abdi
6e3b2395f6
davinci: Disable NFC for indian devices
* Setup davinci sku when device is global or chinese.
* Move the nfc manifest entry to davinci hardware sku
  variant.

Change-Id: I76ac75cd80f85efa6dfa68753602d934a11000a3
Signed-off-by: Arian <arian.kulmer@web.de>
2020-11-28 18:10:27 +01:00
Arian
991edc2c96
davinci: Update from global stable V12.0.3.0.QFJMIXM
Change-Id: I5af4d9bb9f386707df37a6856805625c75cff7c0
2020-11-23 20:44:38 +01:00
Arian
fea051b9c7
davinci: audio: Drop audiosphere
Change-Id: I3263caea70c4b954e434bcf3498a4fdd7700fbdf
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
dbb6f79eb3
davinci: audio: Merge static mixer_paths overlay into mixer_paths_idp
Change-Id: If09ffda8650e2e8a64c2bcba850038a690d4db63
2020-11-23 20:44:38 +01:00
Bruno Martins
e0dab7b3ec
davinci: audio: Nuke dirac and misoundfx effect
Change-Id: I5672e554a2b2b21fbadfe915b9a89cd2365f3864
Signed-off-by: Arian <arian.kulmer@web.de>
2020-11-23 20:44:38 +01:00
Angga Satya Putra
c77b652733
davinci: audio: Remove shoebox and hw_acc from audio effects
* libshoebox.so does not exist anymore
* HW_ACCELERATED has been disabled by default as stated in the HAL

E EffectsFactoryConfigLoader: Could not find library in effect directories: libshoebox.so
E EffectsFactoryConfigLoader: Error querying effect 7d1580bd-297f-4683-9239-e475b6d1d69f on lib offload_bundle
E EffectsFactoryConfigLoader: Could not find library shoebox to load effect shoebox
E EffectsFactoryConfigLoader: 3 errors during loading of configuration: /vendor/etc/audio_effects.xml

Change-Id: I2407c03728930995213f16ec0551e4194fbb7476
Signed-off-by: Arian <arian.kulmer@web.de>
2020-11-23 20:44:38 +01:00
Michael Bestas
2f4f2b5147
davinci: gps: Lower gps debug level
* Kill logcat spam

Change-Id: I20d1f698d3c2d1b56e79f6eb6c5c17069e43c60f
2020-11-23 20:44:38 +01:00
dianlujitao
094fe89a3f
davinci: gps: Fix non-ASCII character in gps.conf
Change-Id: Iea9c44c0fbad574cbc077feea3d9f1de83d7d99a
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
PIPIPIG233666
86032a20b5
davinci: fod: Add support for Xiaomi's touchfeature
Change-Id: I15a4a3d777d784abe04e88372647fc9abff78626
Signed-off-by: Arian <arian.kulmer@web.de>
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
Bruno Martins
be67c50cca
davinci: Fix typo from CodeAurora in the QTI whitelist
* Let com.qualcomm.qcrilmsgtunnel break free

Change-Id: I6243a6d21da7709bf6612270d7638f1231b9f601
2020-08-06 21:28:09 +02:00
Arian
031e9dfb0a
davinci: Cleanup qti_whitelist
Change-Id: I05033a1146aeae410985fa22e0039f80fe5cee53
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
Demon000
2287d53598
davinci: wifi: Enable 2.4GHz channel bonding
Change-Id: I6f006b6407af78b19092b2fc05733e7ec097c5f1
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
Demon000
469b83455f
davinci: nfc: Correct autonomous mode property name
Change-Id: Id37d456aac9c56286c147c48aa6fd03c83162776
2020-08-06 21:28:07 +02:00
Demon000
53b52c918d
davinci: nfc: Remove duplicate props
Change-Id: Id22566d388ac790311aaa649243354f4d9eb55e4
2020-08-06 21:28:07 +02:00
Arian
8c75fd775c
davinci: nfc: Import configs
Change-Id: I965f7ec1069e0d9de161fbd9d909cf3d5ee2e6e9
2020-08-06 21:28:07 +02:00
LuK1337
51b336e50c
davinci: media: Remove unsupported profiles
Change-Id: Iec2bbd4d3701cf10ab09ab18f15a1c31190a9a73
2020-08-06 21:28:07 +02:00
Arian
2665ed65cb
davinci: Copy common media configs from the media HAL
Change-Id: Idc629ea4d357d5dda2d99ccbea01d32a7f9e0cc3
2020-08-06 21:28:07 +02:00
Arian
aebb9e2226
davinci: media: Import configs
Change-Id: I0b7f476fb0ce49bb8bd958378e0e546c7c09edc8
2020-08-06 21:28:07 +02:00
notsyncing
bf7bc6bfcf
davinci: audio: Use USB audio policy configuration from AOSP
* This can greatly improve audio quality when an external
   USB DAC is connected.

Change-Id: I4eeaadc9e3dd26fb54dbfa5a1acf3599b3e6b16b
2020-08-06 21:28:07 +02:00
dianlujitao
da08da6e09
davinci: audio: Enable AOSP bluetooth audio HAL v2
Change-Id: I4d12752ae5fb2829d6612647c8740c84967f5434
2020-08-06 21:28:07 +02:00
Arian
763858361c
davinci: audio: Add libmisound
Change-Id: I42cf4678006710b441be031756cba301c79accfa
2020-08-06 21:28:07 +02:00
Arian
ea456f56d5
davinci: audio: Import configs
Change-Id: I401921a868d481002a5fff3b18161d5bcff81682
2020-08-06 21:28:07 +02:00
Arian
5e19c3c612
davinci: telephony: Import privapp-permissions
Change-Id: I8425916a404407e3839a61a5b6d96b520c1bca22
2020-08-05 14:03:32 +02:00
Arian
ec881cc2d2
davinci: Import qti_whitelist
Change-Id: Ia533db372b67bc81d76c47b56a6d8262e2a6946b
2020-05-08 16:05:44 +02:00
Arian
bd3efd90b0
davinci: Import manifest and compatibility matrix
Change-Id: I3466b07141b6517a4d83f99fe700a214bc09a93c
2020-05-08 16:05:44 +02:00
Arian
5c43c5af76
davinci: Import config.fs from LA.UM.8.9.r1-08500-SM6xx.0
Change-Id: I0d21c88601ba9d108f3247cb7cc7e7abb5ebd876
2020-05-08 16:05:44 +02:00
Arian
dd6327af64
davinci: Import sec_config and mediacodec policy
Change-Id: I368ee7faa290342e24f831339b5f34bbe8b845b0
2020-05-08 16:05:44 +02:00