Commit Graph

144 Commits

Author SHA1 Message Date
Jasmine Cha
d59b987ce9 sm6375-common: audio: correct routing order for voip output
Routing primary output before voip_rx output will cause unexpected
RX/TX path suddenly and unmuted voice stream during when system
plays touch sound and switches path between handset and handsfree.

Bug: 154290829
Test: manual test in VoIP

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ia60802ec887f0dfeaa0f93d151ba2f2c50e0d41d
2022-09-04 13:00:10 +00:00
LuK1337
98341de832 sm6375-common: audio: Disable ULL mode
- Ultra low latency playback is currently broken. Crackling audio
  can be well noticed while playing WhatsApp audio messages or even
  during some games.

- This patch routes all audio that normally used audio-ull-playback
  paths to low-latency-playback paths instead, thus meaning we're
  switching from ULL to LL mode.

Change-Id: I8adf8a67a6151843cff5860f430d87727ad8f4c2
2022-09-04 13:00:10 +00:00
Adithya R
e257e9c5cf sm6375-common: audio: Nuke haptics output from audio policy
- doesnt work and kills alarm audio when vibration is enabled

Change-Id: If8b4de516f60b0a4187b976c8d86b93e58119455
2022-09-04 13:00:09 +00:00
kleidione Freitas
e5900f74b3 sm6375-common: props: Set drm.service.enabled
Signed-off-by: kleidione <kleidione@gmail.com>
Change-Id: Ib9248d9e7101998975567e23dd6092dbef6b7410
2022-09-04 13:00:08 +00:00
kubersharma001
5641983d94 sm6375-common: Set netflix custom property
Change-Id: Ifabc0afcbd93994b3b1f754928a37570e032cc39
2022-09-04 13:00:07 +00:00
Ramii Ahmed
f30b185105 sm6375-common: clean-up & rearrange proprietary-files
Change-Id: Ie5d2024ae626dde7036b8b542697e1d328d14d67
2022-09-04 13:00:07 +00:00
Ramii Ahmed
f2beb6ab85 sm6375-common: FCM: add missing bluetooth audio entry
Change-Id: Id3f85c4cb895851d01fd48a6796a0e761fc505e8
2022-09-04 13:00:06 +00:00
Edwin Moquete
6a4288e605 sm6375-common: Set TARGET_TAP_TO_WAKE_NODE
Change-Id: I971349c0aaf6b11231ce79cd3260dd758bd88a2b
2022-09-04 13:00:05 +00:00
Sebastiano Barezzi
0d540c5c7b sm6375-common: Uprev bluetooth audio HIDL impl to 2.1
* We get free LC3 support, isn't it poggers?

Change-Id: I0f1713ee542102374183ef8088bcad62d3859c2f
2022-09-04 13:00:04 +00:00
Albert Wang
b054d177f6 sm6375-common: Update USB HAL to V1.3 implementation
Supports to enable/disable USB data signaling

Bug: 161414036
Test: Pass USB V1.3 HIDL tests
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: Iffe00f8753206fb66cd3ab96cae5aa5ad9c410cd
2022-09-04 13:00:04 +00:00
althafvly
5e2cb360a2 sm6375-common: Inherit launch_with_vendor_ramdisk for vAB
- veux has vendor_boot partition

Change-Id: I5c344890bc12ee769e2f27369a4151b469271a51
2022-09-04 13:00:03 +00:00
althafvly
d85cfe648d sm6375-common: Inherit vAB makefile from new dir
Change-Id: I10d914c833f460b7b1fab6d357e4b1e255098bac
2022-09-04 13:00:02 +00:00
Michael Wright
255e39c4fa sm6375-common: overlay: Enable haptic text cursor
Support has landed in WebView, so time to turn it on in framework!

Change-Id: I064cf3512928637895932b3405adaec74b1ceed2
2022-09-04 13:00:01 +00:00
Timi Rautamäki
364f7b2fa5 sm6375-common: Drop Snap
It's not included in 19.1

Change-Id: Ie3f908234cf7a3d94d33ad0e9d170d3738bb9752
2022-09-04 13:00:01 +00:00
Kevin Jeon
d8b5ea274a sm6375-common: Update SurfaceFlinger pin
This change replaces the '/system/lib64/libsurfaceflinger.so' pin, as
the file was removed in ag/12524602. The updated pin relies on
go/aog/1552085, as system_service needs read access to SurfaceFlinger.

Bug: 176197656
Test: adb shell dumpsys pinner (coral)
      - shows that /system/bin/surfaceflinger is successfully pinned
      adb logcat | grep PinnerService (coral)
      - no longer shows a file-not-found error in PinnerService
Change-Id: Iae2a96c5fe4b1f5698d21de9970140321d11c460
2022-09-04 13:00:00 +00:00
Nicolas Geoffray
2463dcffcc sm6375-common: Remove odex/oat files from pinner list
Change-Id: Ie42190ebb02dd898f2f4f6ae126db2b0375f5ebd
2022-09-04 12:59:59 +00:00
Wilson Sung
a5717904a5 sm6375-common: Set SOC properties for SM6375
Bug: 158284209
Bug: 180589452
Change-Id: I31ec2aff20a4efb3c502ee5c8c6463e31c892bd5
Signed-off-by: Wilson Sung <wilsonsung@google.com>
2022-09-04 12:59:58 +00:00
Sebastiano Barezzi
529c3ed7ef sm6375-common: Uprev clearkey DRM HIDL to 1.4
Change-Id: Id0895fee70495913f57bc8408ea433660467a7c7
2022-09-04 12:59:58 +00:00
Sebastiano Barezzi
0b51b43e82 sm6375-common: Build vendor interfaces libraries
Change-Id: I0c8760ff6923c2d2a43ec058554d724ca6600f3c
2022-09-04 12:59:57 +00:00
Sebastiano Barezzi
fe96c0f0c1 sm6375-common: BOARD_PLAT_* -> SYSTEM_EXT_*
Change-Id: I8a711202483ae2f0a7892cea577dec24ab71d201
2022-09-04 12:59:56 +00:00
Jeongik Cha
4125da4765 sm6375-common: Specify version for aidl_interface explicitly
Bug: 150578172
Test: m
Change-Id: I4a9bf218b92252403e9ebbe8f89b10ee1899283f
Signed-off-by: Sebastiano Barezzi <barezzisebastiano@gmail.com>
2022-09-04 12:59:55 +00:00
Georg Veichtlbauer
b08ee0f4ca sm6375-common: Remove CLANG compile flag
Defaults to true now project-wide.

Change-Id: I1e0ff5adadc889d81c90c816457a72d2621e4b5a
2022-09-04 12:59:55 +00:00
Nolen Johnson
62862416a5 sm6375-common: bluetooth: Disable clean turn on
* This isn't needed anymore.

Change-Id: Ib77e5212099d82bbc07aea6044eb35109faff5cb
2022-09-04 12:59:54 +00:00
Demon000
304f45617c sm6375-common: enable ODM value additions
Change-Id: I597f2ed5f7c7b19c0fbff96b7e610125413fd3c6
2022-09-04 12:59:53 +00:00
Albert I
4cd824325b sm6375-common: Set Bluetooth MAC address using persist property
The idea is to allow us to not depend on stock QTI Bluetooth HAL, as MAC
addresses fetched from NVRAM by nv_mac script will be saved as hex-encoded
files. We can decode back saved files to then the Bluetooth one be set using
persist property so it can be read by Bluetooth HAL.

This is loosely based on similar techniques used on Mi 9 and ZenFone Max Pro M2.

Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: I74d07c3c3125a04962c37fe8bfcc8385d1fd3398
2022-09-04 12:59:52 +00:00
Ramii Ahmed
2cd7756d93 sm6375-common: import bdroid_buildcfg header from CAF
* from LA.UM.9.16.r1-10100-MANNAR.0

Change-Id: I02fb46d7c57ee75abb6bc0ba5321e81682418985
2022-09-04 12:59:51 +00:00
dianlujitao
38bb6f24b4 sm6375-common: audio: Enable AOSP bluetooth audio HAL v2
Change-Id: I4d12752ae5fb2829d6612647c8740c84967f5434
2022-09-04 12:59:51 +00:00
Ramii Ahmed
7c305cbdcb sm6375-common: import audio policy configuartion
* From veux_global-user 11 RKQ1.211001.001 V13.0.10.0.RKCMIXM release-keys

Change-Id: Id667a47b433a5491271575c2cbfce06dc6950fe7
2022-09-04 12:59:50 +00:00
Sebastiano Barezzi
a1f94a733b sm6375-common: Build default Trust HIDL
Change-Id: Icfecbd97df7adccc51406ae667fbc3cb10865a5a
2022-09-04 12:59:49 +00:00
Sebastiano Barezzi
a8c5f83656 sm6375-common: Build LiveDisplay HIDL
Change-Id: I6b767fe2269b679438c8fc0c49ceef9110a96a23
2022-09-04 12:59:49 +00:00
Bruno Martins
1740250039 sm6375-common: Make IFAAManager compile again
Change-Id: Iae2d1004bd1b3c939b552f09ea994ae87d71d73e
2022-09-04 12:59:48 +00:00
dianlujitao
4460e37e0a sm6375-common: Add ifaa apis to unrestricted greylist
Change-Id: If33a18edaf6083281265ce94fd143d72b4bb4fb8
2022-09-04 12:59:47 +00:00
Volodymyr Zhdanov
9aec82a371 sm6375-common: org.ifaa.android.manager: switch to blueprint
* otherwise rip boot jars

Change-Id: Iea769fb4d3e07202b5477d2a86e40dd04170a053
2022-09-04 12:59:46 +00:00
notsyncing
c7d980c87b sm6375-common: Add IIFAAService for Alipay fingerprint payment
* The org.ifaa.android.manager.IIFAAService has been moved
    from the SoterService.apk to MIUI framework, at least
    since MIUI 9.4.26. Adding this interface will fix the
    SoterService crashing when launching Alipay.

Change-Id: Ic97467eb0a8fe92b49e0edbedd56f1866c5fa01e
2022-09-04 12:59:46 +00:00
dianlujitao
98d44d5d8b sm6375-common: Support Alipay and WeChat fingerprint payment
* IFAA manager is based on OnePlusOSS, but adapted for Xiaomi's mlipay
   interface.

Change-Id: Ied17d6456561bb399e4dd4a868d57a48d2d51db2
2022-09-04 12:59:45 +00:00
Erfan Abdi
ac20091f7d sm6375-common: sepolicy: Add mlipay rules
Change-Id: I1023e481d49ed5ec0ae15a513c65133987d6f556
2022-09-04 12:59:44 +00:00
luk1337
0311ca16ef sm6375-common: Don't override fingerprint in recovery
- Incremental ota checks for build fingerprint

Signed-off-by: althafvly <althafvly@gmail.com>
Change-Id: Ice245ffcedac03dceb2e77b69a35e3f2ab659d06
2022-09-04 12:59:43 +00:00
Ramii Ahmed
744fe6e329 sm6375-common: Override HAL service and enable with nfc SKU
Change-Id: I3c33c50b65410a09a0e5529f3c9a94fbf36d8a31
2022-09-04 12:59:43 +00:00
Sebastiano Barezzi
6a821ad6b4 sm6375-common: Override HAL service and enable with nfc SKU
Change-Id: I3c33c50b65410a09a0e5529f3c9a94fbf36d8a31
2022-09-04 12:59:42 +00:00
Sebastiano Barezzi
ebb0a73926 sm6375-common: Move NFC manifest entries to nfc SKU
Change-Id: I2d83a4551551f370c1ecffb73502c5bcec0bd5a9
2022-09-04 12:59:41 +00:00
Ramii Ahmed
4abebb1669 sm6375-common: initial SEPolicy
Co-authored-by: Cosmin Tanislav <demonsingur@gmail.com>
Co-authored-by: Arian <arian.kulmer@web.de>
Co-authored-by: ItsVixano <giovanniricca@protonmail.com>
Change-Id: I2ab2e0b5981ec8044c22caa3ff41ba094ccadf38
2022-09-04 12:59:40 +00:00
Sebastiano Barezzi
7d6a66cd8a sm6375-common: Add a script to reorder blobs list
Change-Id: I76e85e07f5a562b7e2a3683da264ccebff5c3613
2022-09-04 12:59:40 +00:00
Sebastiano Barezzi
58c1b2b484 sm6375-common: Build android.hidl.base@1.0
Change-Id: I5457ebbadd95e4c43af4f4dd2e1a1413a241d865
2022-09-04 12:59:39 +00:00
Chirayu Desai
e8ffa63dda sm6375-common: rro_overlays: Move CarrierConfig to RRO
Change-Id: Ia57acd244608848f70fdcc30d5694c919db60671
2022-09-04 12:59:38 +00:00
Ramii Ahmed
c8c02f0964 sm6375-common: build WFD packages
Change-Id: Id4e359e75ed70d0688bb234ce1b2bd39466d6a21
2022-09-04 12:59:37 +00:00
Arian
178997bfe1 sm6375-common: Add telephony system-ext privapp permissions
Change-Id: Iaaab0ff52cd22b3095b56501189d55a68cfdc32b
2022-09-04 12:59:37 +00:00
Pranav Vashi
274f86a7f4 sm6375-common: Enable vibration multiple intensities
* Activates some options on Settings>accessibility>vibration

Change-Id: I461f926060807c0d0cabaccf5fe0ea54b92b3347
2022-09-04 12:59:36 +00:00
Dan Pasanen
fa8dafb9e2 sm6375-common: vibration: Enable config_vibrateOnIconAnimation
* Need those sexy vibes.

Change-Id: If5671135879f6f4069d0ed881b41b0a243890349
2022-09-04 12:59:35 +00:00
Ramii Ahmed
e0f56c8def sm6375-common: Import CarrierConfig from CAF
Change-Id: I8f7b71efa6efcc6a5829010a4dda00d43b190ca5
2022-09-04 12:59:34 +00:00
Ramii Ahmed
35b079eaec sm6375-common: Initial AOSP overlays
Change-Id: I89dfab269ca6284f51fa170470228b699eb5e759
2022-09-04 12:59:34 +00:00