Commit Graph

13 Commits

Author SHA1 Message Date
mikairyuu
dc8a8fbbbb sm7250-common: fod: Remove "fpc: keep fpc in system-background"
While Google found that fingerprint HAL is insensitive to
increased CPU throughput, we have not found that to be the
case. Allowing more CPUs makes fingerprint unlock up to
2x faster in some tests.

SM8250 device with fingerprint on display:
- Before: 3128ms
- After: 944ms

SDM845 device with fingerprint on the power button:
- Before: 1146ms
- After: 688ms
2021-12-01 13:02:03 +01:00
xSylla
35aa84537f sm8250 > sm7250 2021-12-01 13:02:03 +01:00
Sebastiano Barezzi
4347b0ea43
sm8250-common: biometrics: Cleanup Android.bp
Change-Id: I6e594d8f9860d23e40e354bc79b4960a6991c036
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
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
1b3fbae7b0
sm8250-common: biometrics: Implement boosting on authentication
Change-Id: Ia9cde9f540a614ad700fb497288a2a986e924dbd
2021-05-05 17:36:54 +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
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