Commit graph

17 commits

Author SHA1 Message Date
Anand S
df17c2ce0a
bangkk: fingerprint: Add biometrics 2.1 entry
* E init    : Control message: Could not find 'android.hardware.biometrics.fingerprint@2.1::IBiometricsFingerprint/default' for ctl.interface_start from pid: 689 (/system/system_ext/bin/hwservicemanager)

Co-authored-by: jro1979oliver <jroliveira.oliveira301@gmail.com>
Change-Id: If70a4b227356c9a3edd98ebe32974040f086ecf4
2025-04-07 23:22:27 +03:00
electimon
904a71bb02
bangkk: fingerprint: Switch to IOCTL for HBM
* On newer moto kernels it is possible
  to send a SET_PANEL_FEATURE ioctl to /dev/dri/card0
  to set a panel feature such as HBM. Motorola has
  extended the HBM logic to allow FOD HBM to be set
  in additional to regular HBM. This is done by sending
  "2" with the HBM id through the ioctl.

* Utilize the API provided by Egistec provides via
  vendor.egistec.hardware.fingerprint to send commands
  to the internal handler, this allows us to send
  the finger is on or off the sensor message directly to the
  HAL.

Change-Id: I06ace29567900779e63b9826862964d20b267be6
2025-04-07 23:22:27 +03:00
electimon
b79d326b12
bangkk: Build vendor.egistec.hardware.fingerprint@4.0 from source
Change-Id: Ie2e53e98f36a2d6d219f9ece0c77a08b5c9e74a6
2025-04-07 23:22:27 +03:00
Michael Bestas
014ce22afd
bangkk: Drop UDFPS extension
No longer needed

Change-Id: Ibc805d26e53f967ed3e4bb4c628f8740056fc7c8
2025-04-04 13:44:52 +03:00
Michael Bestas
1f0ab69acd
dubai: Rebrand to bangkk
Change-Id: Ie4b9250a351cf20009372e9b9bb4cc9f90891efe
2025-03-30 18:59:23 +03:00
Michael Bestas
aec3da07e1
dubai: Drop LineageOS copyright years
Change-Id: Ia2dfdb083cb17b573a60f818c72d1500d9d63df2
2025-03-03 16:25:45 +02:00
electimon
2cfc006c71
dubai: fingerprint: Add vendor prefix to service
Change-Id: I33d9bbd865d2224bca841a1515c3332f4c8efcf6
2025-02-24 02:40:05 +02:00
Michael Bestas
4d085c0010
dubai: fingerprint: clang-format
Change-Id: I1f9b4301dc776082e3866d7941a7df7b0b17b3a1
2025-02-24 02:40:05 +02:00
Michael Bestas
953e9348d7
dubai: Switch to SPDX copyright & update dates
Change-Id: I1adc8afc557a0d8a7379ec24589ea68b2391d147
2025-01-21 16:58:06 +02:00
pjgowtham
8699877eef dubai: fingerprint: Set dim layer zOrder
Requires: I367b2c395aeb8cb7cb9e3cc38eca98477befe007
Change-Id: I881db78186fa9c7b350e79ac4ef90f53ee4cfbcf
(cherry picked from commit 2e3a0cda79ef7a1cf9dff430cfaa83cea1b46551)
2024-11-17 19:46:07 +00:00
Jake Weinstein
3ddf381e8d dubai: fingerprint: Don't keep HAL 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

Change-Id: I43d6096bd0ee8c6c30a81104858e42725689d696
2022-12-11 10:00:11 -07:00
SagarMakhar
1b9b756685 dubai: Add sendFodEvent hooks to fingerprint wrapper
Co-authored-by: sb6596 <shubhamprince111@gmail.com>
Co-authored-by: AdarshGrewal <adarshgrewal@gmail.com>
Change-Id: I75d2f8c05533003ad3c2c3393e33c1ff6a7d34fc
2022-09-29 19:56:25 -06:00
Cosmin Tanislav
7e37c47aff dubai: Add UDFPS extension library
* Mark the pressed fingerprint layer.

Change-Id: I49891f89350839ff93ff1a762a83996bfd56ec18
2022-09-29 19:55:40 -06:00
AdarshGrewal
06810b66d0 dubai: Import Fingerprint blobs
Change-Id: I2ac5c52af5ae40922c0d87366a3a7b22ca4b9c73
2022-09-23 16:17:11 -06:00
TheScarastic
da9f091436 dubai: Introduce biometric 2.3 hal
* wrap 2.1 hal and add additional function

Change-Id: I4a66760fb8ca88de4e9229b7aec90052470ce6f0
2022-09-23 16:03:25 -06:00
Marc Bourgoin
773a3df538 dubai: Convert the tree from berlin
The partition reserved sizes were taking from stock ROM

IE, blockdev --getsize64 /dev/block/mapper/system_a

Change-Id: I7e9ba2b8f732c6ad16d45d78f577f1ac4644713d
2022-08-29 22:53:26 -06:00
SGCMarkus
bfde6ce46d berlin: import oss fingerprint service 2022-03-26 17:06:18 +01:00