Commit Graph

196 Commits

Author SHA1 Message Date
xSylla
35aa84537f sm8250 > sm7250 2021-12-01 13:02:03 +01:00
Akash
8a429c2618 sm8250-common: audio: Fix mic issues in apps like WhatsApp
* Also clean up FM Tuner from original commit as it breaks wired headphones

Change-Id: I311b484e07e41bf69ab43b78e4a9abe883730435
2021-06-09 11:57:03 +02:00
Sebastiano Barezzi
92eeaaf26a sm8250-common: Decommonize vibrator firmware
Change-Id: I993880c66b55177e19289c09576f4cb4644a568f
2021-06-09 11:57:03 +02:00
Ramii Ahmed
43f7583775 sm8250-common: Decommonize AOD overlays
* Not all devices have an AMOLED display

Change-Id: I7ef064c1e1456bb72e37ae7d90a412912b5fdc07
2021-06-09 11:57:03 +02:00
Richard Tung
4a5a5924d2 sm8250-common: liblight: Add white LED support
Change-Id: I0a11c097267e7ab0f3a728b93b2d52368b9a3339
2021-06-09 11:57:03 +02:00
Sebastiano Barezzi
2bbd79be64 sm8250-common: liblight: Move to Android.bp
Change-Id: I32c3289cb9ffa26ac5a2fb96aed56456276cc2e7
2021-06-09 11:57:03 +02:00
Sebastiano Barezzi
165f146398 sm8250-common: liblight: Cleanup compiler flags
Change-Id: I98c6865e98ce12f34c7e9cc7c144d294d2970ae9
2021-06-09 11:57:03 +02:00
Sebastiano Barezzi
509e870e5c sm8250-common: liblight: Hardcode platform name
Change-Id: Ib03085daac3bd1e3c379db93e75febe6c5c783c7
2021-06-09 11:57:03 +02:00
Sebastiano Barezzi
e3463cc2d7 sm8250-common: Import liblight
* From c7c6e7e9f5

Change-Id: I49486fcb33414625753b71fed04c8b906e0bffc9
2021-06-09 11:57:03 +02:00
Sebastiano Barezzi
795d99ed80 sm8250-common: Decommonize ADSP modules and OMX libs
* They don't like apollo's audio HAL and elliptic sensor

Change-Id: I2ddabf623e779575e1c87e38576de4800309f82c
2021-06-09 11:57:03 +02:00
Sebastiano Barezzi
4f4a65e722
sm8250-common: Decommonize mixer paths related audio configs
Change-Id: Ia5e1ac0f8923551ce945b451621eec8f17e5353e
2021-06-09 10:20:40 +02:00
Sebastiano Barezzi
03f69f21a8
sm8250-common: Chown DT2W node
Change-Id: Idb121cba92d38dac5bd27575d349cf054bb7ef50
2021-06-08 16:31:55 +02:00
Sebastiano Barezzi
c4f2ea7e88
sm8250-common: fod: Add m at the start of class variables
Change-Id: I7e2a7c97512774b2b64d1edc2a4ca38fbad02ad4
2021-06-08 14:53:18 +02:00
Abhishek Aggarwal
4a2f70507b
sm8250-common: fod: Add surfaceflinger extension lib
* And specialize it for xiaomi kona devices

Co-authored-by: dataoutputstream <mb150996@gmail.com>
Change-Id: I440e6d246884fd22044756c6260b3583a1e58a7b
2021-06-08 14:53:18 +02:00
TheScarastic
b4c0800991
sm8250-common: fod: Prepare for displayfeature dim and hbm
Change-Id: I93790f33d8c694c47e030fec1bfdf2074c29f0e2
2021-06-08 14:53:18 +02:00
TheScarastic
06f816fd6b
sm8250-common: Add FODService
Change-Id: I34af976ce5c6cbaaa2a45c96374664119d6ac5c8
2021-06-08 14:53:18 +02:00
Sebastiano Barezzi
2a540b832e
sm8250-common: fod: Readd displayfeature hook
Change-Id: I34bbceae23f0d5b82de90f9606507dd507816d16
2021-06-08 14:53:18 +02:00
Sebastiano Barezzi
2fd2065970
sm8250-common: sepolicy: Bring back displayfeature policies
* FOD devices will use it, sigh

Change-Id: I2712a06f20a3b10c3b5666e1cd17b82f6374c783
2021-06-08 14:53:18 +02:00
Sebastiano Barezzi
7d367dd95a
sm8250-common: Don't override DEVICE_{MATRIX|MANIFEST}_FILE
* Allow device-specific manifests to be safely added

Change-Id: Iccafe8c8491219336389015af8caa2c7a700ff61
2021-06-08 14:53:18 +02:00
Sebastiano Barezzi
cee90aceae
sm8250-common: Use only full qualified name for manifest entries
* As recommended by Google for multiple different versions of the same HAL in VINTF manifests
* https://android.googlesource.com/platform/hardware/interfaces/+/master/drm/1.1/README.md#devices-launching-with-android-pie

Change-Id: I4922d72ab60ca1aae78c010aeb610f9bca9012cb
2021-06-08 14:53:02 +02:00
Sebastiano Barezzi
e3bc4521f2
sm8250-common: Remove unused entries from manifest
Change-Id: If460cbaed9d0d27d30dc64d7d407fd28547f3283
2021-06-08 14:52:37 +02:00
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