Commit Graph

162 Commits

Author SHA1 Message Date
Sebastiano Barezzi
545fe5c78e sm8250-common: Drop power AIDL extension
Change-Id: Ied144ee0f7840ab43499d43f3d0c64dfd414d99f
2021-06-03 00:27:20 +02:00
Sebastiano Barezzi
3289131e2b
sm8250-common: sepolicy: Refactor file_contexts and genfs_contexts
Change-Id: Ia55dc04019bbf58a433ae534677896b7563765ab
2021-06-03 00:13:12 +02:00
Sebastiano Barezzi
5d6a65af44
sm8250-common: Redo wakeup sources labels
Change-Id: Ia07572ce7a6435fb5e135839aa5cf3d514de90aa
2021-06-02 23:46:57 +02:00
Sebastiano Barezzi
27f98a746a
sm8250-common: Remove useless sysfs labels
Change-Id: Ic96f11d1a3cea01dd1ae8f952b654ae1ca5ca545
2021-06-02 23:46:57 +02:00
Sebastiano Barezzi
d202c38b35
sm8250-common: Label bq2597x-standalone device
Change-Id: I35cacbcbd9312c87292c3e39cf8f4ac342210238
2021-06-02 23:46:57 +02:00
Sebastiano Barezzi
e46be13972
sm8250-common: Build default Trust HIDL
Change-Id: Icfecbd97df7adccc51406ae667fbc3cb10865a5a
2021-05-20 11:45:15 +02:00
Sebastiano Barezzi
21bc0bdf77
sm8250-common: biometrics: Hardcode fingerprint HAL classes list
* We have just 3 variants for all 7 devices, why do we even bother

Change-Id: I7488aaccd35bc2de4d214b3c71cce14177ab76c7
2021-05-20 11:45:15 +02:00
Sebastiano Barezzi
1c8f0be186
sm8250-common: biometrics: Simplify HAL classes array size calculation
Change-Id: Iea06ba23f39490316c0bd4bf768e68459d6f9625
2021-05-20 11:45:15 +02:00
Sebastiano Barezzi
e17a33df36
sm8250-common: Allow Goodix FOD HAL to access perf HAL
* For somehow reason Xiaomi decided to implement perf locks in the HAL, not in fingerprint HIDL, so I'm forced to allow it

Change-Id: I4472f9768858916231f19c765d8aa74d8c3b401a
2021-05-05 17:36:54 +02:00
Sebastiano Barezzi
1b3fbae7b0
sm8250-common: biometrics: Implement boosting on authentication
Change-Id: Ia9cde9f540a614ad700fb497288a2a986e924dbd
2021-05-05 17:36:54 +02:00
Sebastiano Barezzi
a856c06112
sm8250-common: Import audio_policy_volumes.xml from stock
* And apply latest changes from AOSP

Change-Id: I1988f841d3df1126b234cad5456661e919b58705
2021-04-29 19:38:49 +02:00
Sebastiano Barezzi
c3addbabc9
sm8250-common: Add alioth and thyme to the list of supported devices
Change-Id: Iaeae1b8ccd0264ac3a6fef0bc6e4ff7ed30fd7e7
2021-04-29 18:48:14 +02:00
Sebastiano Barezzi
63500bb501
sm8250-common: Import excluded-input-devices.xml
* From lmi-user 11 RKQ1.200826.002 V12.2.6.0.RJKMIXM release-keys

Change-Id: I9ec50ed82b07ec5936e54d8cd021985b0c1b9486
2021-04-25 03:19:54 +02:00
Quallenauge
2dd47ea9c3
sm8250-common: Exclude CarrierConfig overlays from RRO
They doesn't work right, because xml attributes where
stripped down, and leading zeros are removed.

E.g. instead of
 <carrier_config mcc="262" mnc="06">
the values are modified and get
 <carrier_config mcc="262" mnc="6">

This prevents matching of defined carrier definitions.

Change-Id: I11efe716f9d2ea44bef80c15004d7a8cb71b58b9
2021-04-25 03:03:42 +02:00
Sebastiano Barezzi
d2472c31c5
sm8250-common: biometrics: Move fingerprintextension manifest entry
Change-Id: I0040c903c9560f1ad5179b010ac2cacb7e112c0a
2021-04-25 02:54:51 +02:00
Sebastiano Barezzi
8949260eaf
sm8250-common: Enable FOD Soong configs with opt-in
Change-Id: Ie7a731e45a93cd92003d0d0c026047ff6c2c63c3
2021-04-25 02:49:49 +02:00
Sebastiano Barezzi
65dd214490
sm8250-common: Require opt-in for FOD
Change-Id: I71523b61b47cb2d454d38ba5ba8aeb08e7b93d11
2021-04-25 02:49:48 +02:00
LuK1337
cd09fddfab
sm8250-common: Enable TARGET_QTI_USB_SUPPORTS_AUDIO_ACCESSORY
We can handle analog audio just fine, no need to
inform the user that their device is not supported.

Change-Id: I7dda01e7bd2560e8c782245dea3f3b7519c3b0b6
2021-04-25 00:55:02 +02:00
Sebastiano Barezzi
a520e21b9e
sm8250-common: Build fingerprint HIDL
Change-Id: I2e18fc9891610e6285f29d5d43d6728f6057e65c
2021-04-25 00:26:38 +02:00
Sebastiano Barezzi
dd7ebf7f90
sm8250-common: biometrics: Add fingerprint devices permissions
Change-Id: I1c748b4f4e269bff76aa17af8d407ecb8739ab50
2021-04-25 00:26:38 +02:00
Sebastiano Barezzi
f9e1ba11b8
sm8250-common: biometrics: Wire up Xiaomi FingerprintExtension
Co-authored-by: C457 <android.c357@gmail.com>
Change-Id: Ic94f7b3fd28f7db81695e47f54ce6fa89248bde9
2021-04-25 00:26:38 +02:00
Sebastiano Barezzi
5ac57d355f
sm8250-common: biometrics: Implement custom HAL loading list
Change-Id: Id545287bed468f39738dbaa4c069660047055585
2021-04-24 08:54:27 +02:00
Sebastiano Barezzi
54d643ec3d
sm8250-common: biometrics: Rebrand to Xiaomi SM8250
Change-Id: If1106b9567ec5e138e1404dc49f99d63f7fb6c84
2021-04-22 15:52:30 +02:00
Sebastiano Barezzi
4dc003b74a
sm8250-common: Import AOSP fingerprint HIDL service
Change-Id: I849c9f988aad708ece5746f0b91878d962de351c
2021-04-22 15:17:29 +02:00
Panchajanya1999
b02b30b969
sm8250-common: wifi: Disable WLAN Firmware loggings
Change-Id: I111943a641670ea052f68148103e377771297d77
2021-04-22 15:17:29 +02:00
LuK1337
739dd66e05
sm8250-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: I1f029d7df9a306f411598b0cffc536409cb2ae95
2021-04-22 15:17:29 +02:00
RealSchnedi
4fb85b40f3
sm8250-common: Import some audio props from Coral
* This fixes in-call loudspeaker volume control

Change-Id: I7a97dfd76b930b6c70161aecbf1ac6203f31ecf4
2021-04-22 15:17:29 +02:00
jjpprrrr
355cd33f1e
sm8250-common: props: Enable Seamless Transfer
It allows users to switch between audio output devices by tapping the music
note icon on the notification of a music app

Change-Id: I7c5479976206b3142c27c88b8545d60d1a47da7d
2021-04-22 15:17:29 +02:00
luk1337
56cc5ac2f5
sm8250-common: fod: Update LOG_TAG
Change-Id: I0ce3291f6af18da5fa684304fdff362a93669c7f
2021-04-22 15:17:29 +02:00
Sebastiano Barezzi
b342c72524
sm8250-common: Unset BUILD_BROKEN_DUP_RULES
* Nothing in common tree is duplicated, we can now remove it

Change-Id: I26a7e4b8a6b07b4cf78ee35cfa816ab5d24f0e20
2021-04-22 15:17:29 +02:00
Sebastiano Barezzi
2138cd4d13
sm8250-common: Build touchfeature HIDL lib from source
Change-Id: Ib92a8af07422873dd9667ebfdbb25a4417b1abde
2021-04-22 15:17:29 +02:00
dianlujitao
748d1110ea
sm8250-common: Switch to source built vendor.qti.hardware.perf
* https://review.lineageos.org/c/LineageOS/android_vendor_qcom_opensource_interfaces/+/303909.

Change-Id: I1dc96e4a51c4c81dd847c59a58ec670d89054f64
2021-04-22 15:17:28 +02:00
Sebastiano Barezzi
7b386e476d
sm8250-common: Update rootdir from CAF
* From LA.UM.9.12.r1-11000-SMxx50.0
* Remove Xiaomi's crap while at it

Change-Id: I05b9ca07f4ec9be475388a225b909c675a2b9959
2021-04-22 15:17:28 +02:00
Sebastiano Barezzi
ea0975ee4a
sm8250-common: Use QTI USB init configs from USB HAL repo
Change-Id: I966d251a2756c9d9e91f621cbc5872448d022de4
2021-04-22 00:48:55 +02:00
Sebastiano Barezzi
82d6a9c205
sm8250-common: Remove unneeded rootdir files
Change-Id: I6d65371667b7b375f9e536bcae2cf62973f60bca
2021-04-22 00:48:54 +02:00
Sebastiano Barezzi
252cb57bb8
sm8250-common: Move SSC sensor script to proprietary-files.txt
Change-Id: Iaf0a7c653b0e8655eddaca9aa869731744006c3f
2021-04-22 00:48:54 +02:00
Sebastiano Barezzi
58ec93f5a8
sm8250-common: Move seccomp policy to proprietary-files.txt
Change-Id: Ic5130a08e873558f694a41414abbd769c1a55ccf
2021-04-22 00:48:54 +02:00
Sebastiano Barezzi
84ab096e95
sm8250-common: Move GPS configs to proprietary-files.txt
Change-Id: Ia5ae3e3d3ccd70366608d365ea167fbe11b3ea04
2021-04-22 00:48:54 +02:00
Danny Baumann
d6767ff446 sm8250-common: Enable call recording
Change-Id: I1b4478b330b13cf5d0fe1ed0d40f43e4b3825f33
2021-04-14 10:10:47 +02:00
Sebastiano Barezzi
bd6d215f11
sm8250-common: Update blobs from lmi V12.2.6.0.RJKMIXM
* From lmi-user 11 RKQ1.200826.002 V12.2.6.0.RJKMIXM release-keys

Change-Id: I5bf78d123397e39c80a56810a83374affe289cc4
2021-04-12 22:55:01 +02:00
Sebastiano Barezzi
263f491c12
fixup! sm8250-common: Update blobs from lmi V12.2.5.0.RJKMIXM
Change-Id: I0f37339ecad5873649509f8d720d107b924aaa4d
2021-04-12 19:36:50 +02:00
Wang Han
6ce1dded34
sm8250-common: Add missing config_intrusiveNotificationLed overlay
Change-Id: I3138140812d85074eca058bcc2c1c69160daaa7c
2021-04-11 22:12:13 +02:00
Sebastiano Barezzi
e034bbae4c
sm8250-common: Update audio props from lmi stock
* From lmi-user 11 RKQ1.200826.002 V12.2.5.0.RJKMIXM release-keys

Change-Id: I4500e4b44c5e36c5ac2aa5c37c96e9ff3b54d047
2021-04-11 20:10:45 +02:00
Sebastiano Barezzi
2887577f80
sm8250-common: Drop displayfeature
Co-authored-by: Ramii Ahmed <ramy@ahmedramy.com>

Change-Id: I78719e1f66aa0bc6df366424e3aeb92433d3d899
2021-04-10 23:45:19 +02:00
Jaideep Sharma
f0064f055d
sm8250-common: provide support for callscreening for kona/lito.
add support for callscreening support in audio_policy_configuration
- add mixer paths related to proxy ports needed in call_screening

Change-Id: Ib0c220fa44c23454e71e772bfa406bd82c06b90d
2021-04-01 01:39:47 +02:00
Lakshman Chaluvaraju
d282ea9cbe
sm8250-common: Enable Mono channel support for voip over audio path
Add changes to support mono channel configuration
for voip over audio path.

Change-Id: Ib454d24a4017d3f91d429d47c52d4f86e5a18e97
2021-04-01 01:39:47 +02:00
Sebastiano Barezzi
88cf7693b2
sm8250-common: audio: Also add Line Out routings
* From instantnoodle

Change-Id: I7ec1a41d422ad1902d1e9c680869d3b53116fabd
2021-04-01 01:39:47 +02:00
Jasmine Cha
092a27da8e
sm8250-common: audio: Add hotword input for hotword mic concurrency
Bug: 126595113
Bug: 129733664
Bug: 133123985
Bug: 130316160

Test:
 (ST: sound trigger, VO: VoIP, PH: phone call,
  NR: media recording, PL: playback music)
 ST->VO (MO/MT),  ST->PH (MO/MT)
 ST->NR->PH (MO/MT), ST->NR->VO (MO/MT)
 ST->PL->PH (MO/MT), ST->PL->VO (MO/MT)
 ST->NR->PL->PH (MO/MT),  ST->NR->PL->VO (MO/MT)

Change-Id: I11513994c7a34364de38e00fc8ff999efe3dbb6c
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2021-04-01 01:39:47 +02:00
Sebastiano Barezzi
08732c250c
sm8250-common: Decommonize display calibration data
Change-Id: Id5848074a0e378b6d84a7a6260dff65b43bd2f92
2021-04-01 01:39:47 +02:00
Sebastiano Barezzi
1d10eddb92
sm8250-common: Label /dev/ir_spi
Change-Id: I75f980c424b11583fc097da1481f4c9ee7ba1b79
2021-04-01 01:39:47 +02:00