Commit Graph

175 Commits

Author SHA1 Message Date
MB
c21283896c
sm8250-common: fod: Improve dimming formula
Change-Id: Ie043d49e8954d061f355ed51f4c02a2cacdb04ba
2021-06-08 14:52:37 +02:00
Sebastiano Barezzi
2a28b637c2
sm8250-common: fod: Set the module type to vendor
* It isn't proprietary

Change-Id: Iae66b9005850895b02682450c583aac53c304382
2021-06-08 14:52:37 +02:00
Sebastiano Barezzi
4347b0ea43
sm8250-common: biometrics: Cleanup Android.bp
Change-Id: I6e594d8f9860d23e40e354bc79b4960a6991c036
2021-06-08 14:52:37 +02:00
Sebastiano Barezzi
704a14b5c8
sm8250-common: fod: Use SPDX license identifier
* Also update copyright year

Change-Id: Ieea387fe303bb9c59cbf75c23fb568f9393374eb
2021-06-08 14:52:37 +02:00
Sebastiano Barezzi
1ca97128ca
sm8250-common: Remove USE_XML_AUDIO_POLICY_CONF
* Dead since Q, where XML audio policies weren't enforced yet

Change-Id: I302a0ed97964b052176dc3bb0141db1ba85e78c8
2021-06-08 14:52:37 +02:00
Sebastiano Barezzi
3fe9a3b11a
sm8250-common: Remove BOARD_RAMDISK_OFFSET
* Not used

Change-Id: I5fd7c439aad46800b77514682a28b590e04179db
2021-06-08 14:52:37 +02:00
Sebastiano Barezzi
354ecc47b2
sm8250-common: biometrics: Move to AOSP Soong conditionals
Change-Id: Iaf7c291d2f08262d9f578901d688eb98ade4beba
2021-06-08 14:52:37 +02:00
Sebastiano Barezzi
08f52c5841
sm8250-common: biometrics: Iter classes array with C++ way
Change-Id: I9aad93dc0ec8bcfc6167e49442e67e5c99031e17
2021-06-08 14:52:36 +02:00
Sebastiano Barezzi
49f1174e9c
sm8250-common: Switch to AOSP light HIDL
* QTI light AIDL is just the AIDL version of the default light HIDL

Change-Id: I2d88cf7dd2aadcbfee4af7b0dae99e7facef80c1
2021-06-08 14:51:43 +02:00
Omkar Chandorkar
a1d198ffa9
sm8250-common: Remove unused multilibs
Change-Id: I4c6e3aeb223d9da45b2892b941f9f7f1fff569b1
2021-06-07 18:48:26 +02:00
Sebastiano Barezzi
a87e513f8a
sm8250-common: Decommonize sensors blobs
Change-Id: Ie1dfc32b1e0d7402bb7918ba1a68f31ba2b79338
2021-06-03 01:14:19 +02:00
dianlujitao
b35142646d sm8250-common: sepolicy: Label TP node
Change-Id: Id55db9b6614320650c8c61e698f71ddc9f04d086
2021-06-03 00:30:15 +02:00
Sebastiano Barezzi
9db0864cb7 sm8250-common: Add power AIDL DT2W support via sysfs node
Change-Id: Idcff758444a5c89ba20f2ae804a407ee78c445cb
2021-06-03 00:30:15 +02:00
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