Bruno Martins
63127da10c
fingerprint: Move shims and UDFPS extension out of HIDL
...
Change-Id: I29e31088c6380076221ad419a195a460079165d6
2025-02-26 00:22:54 +00:00
Sebastiano Barezzi
ad80010b94
oplus: Keep a single clang-format in rootdir
...
Change-Id: Iffe5b37c311dc0ed0c9b5c91a2f94e9ff72f4a8a
2025-02-07 19:17:25 +00:00
pjgowtham
ecfd5da9fe
fingerprint: Set dim layer zOrder
...
It is only used by SM8450+
Requires: I367b2c395aeb8cb7cb9e3cc38eca98477befe007
Change-Id: I881db78186fa9c7b350e79ac4ef90f53ee4cfbcf
2024-11-11 08:48:35 +00:00
pjgowtham
0dee4e5a87
fingerprint: Return Void() on finger press for uff fingerprint HAL
...
Oplus makes use of onFingerUp() and onFingerDown() for product testing
and it triggers codepaths that writes to the HBM node. Thus,
conditionally return Void() for uff fingerprint HAL.
Change-Id: Ieae48c1b6f4b5ad97e459c48b6535827fbd4b290
2024-08-29 23:42:35 +00:00
LuK1337
7df6ab20dc
hidl: fingerprint: Add dummy keylayout for goodix FP
...
This prevents userspace from processing its events.
Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/7397
Change-Id: I474cbab8c8fbf14b2defe76d8eb5c69a739a1697
2024-07-11 16:37:53 +02:00
LuK1337
39f46bc3fd
fingerprint: Fix sde_drm.h include path on 5.4+ kernel
...
Change-Id: Idac59471ae329eabf8484cc1238c35dabaa64827
2022-10-01 16:06:20 +02:00
LuK1337
3dacefed22
fingerprint: Add support for TARGET_USES_FOD_ZPOS
...
Change-Id: Iaf79d5393169b986197be058ac2166d2e448dfa0
2022-10-01 16:06:19 +02:00
LuK1337
aac564e031
fingerprint: Add __system_property_get() shim for certain FOD impls
...
It seems like OnePlus 7 and 8 series sadly depend on these props.
Change-Id: I728a9ea63ded6c79873dd7350a06cc1f40ca92b7
2022-07-24 11:04:04 +02:00
LuK1337
33b71bd0c3
Relocate oplus_display_panel.h to kernel_headers.oplus
...
Change-Id: Ib96688b00ced213cf5d3fc5116dbe8dc72992e07
2022-07-11 11:52:45 -07:00
LuK1337
c6356e112c
fingerprint: Fix ioctl() return value check
...
ioctl() returns 0 on success.
Change-Id: I0bbdad6689fc21378d7b0c039c09e7e6288c1dae
2022-07-11 14:39:05 +02:00
jabashque
dfba74a283
fingerprint: Reset dimlayer HBM + fp press state on error
...
The way the fingerprint service handles FINGERPRINT_ERROR messages
allows for situations where the user can end up turning off the screen
while notify_fppress is set to 1. This results in situations where the
screen backlight does not turn on at all when turning on the panel,
which is not an ideal user experience.
Fix this by calling `setDimlayerHbm(0)` and `setFpPress(0)` when
handling FINGERPRINT_ERROR messages.
Change-Id: Ic2754249083c30a9b3b150b825357d894814fe84
2022-06-10 20:44:28 +02:00
LuK1337
538a36188f
fingerprint: Add libudfps_extension impl
...
Change-Id: Ic5752c29816e66c6c585069779c8ac3211a0e277
2022-04-19 20:53:23 +02:00
LuK1337
c9225a7db6
fingerprint: Setup dimming & fp press notifications
...
Change-Id: I0b1df953f11974daf1adb4b88d9b48efd229bcf1
2022-04-19 20:53:23 +02:00
LuK1337
7f4f347c2c
hidl: fingerprint: Initial AOSP -> Oplus wrapper
...
Change-Id: I8729b3920dd52c18416179d4118a4d012fb5b1d3
2022-04-18 22:56:40 +02:00