Commit Graph

24 Commits

Author SHA1 Message Date
Steven Moreland d34a0026cf
sm8150-common: Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: Iba2cd20b8b20fac3e7564de6b853b475fd4ebd2a
2021-04-03 06:48:10 +05:30
Michele Bono 2fd9907026
sm8150-common: Update fod behavior
Change-Id: I0fd017683e95a2409c5d72193bfd245970b91560
2020-08-11 21:11:44 +05:30
LuK1337 67889326d6
sm8150-common: Update libfod extension function prototypes
Change-Id: I5c43c71326caf21a85863b74ed0a893057d1cfa8
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-08-11 17:57:41 +05:30
LuK1337 e2eba1324d
sm8150-common: fod: Reset everything when onShowFODView() is called
* Perhaps it'll	fix random bright FOD icon?

Change-Id: I08eaf75bfd8a5a6aea1f89ff6810e9c271e1cbe3
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-08-11 17:52:08 +05:30
Marko Man 440aeb5961
sm8150-common: fod: Set dim mode instead of HBM for fp enrollment
* That way we no longer have to turn HBM for
  the whole enroll process.

Change-Id: Ib0c48b117637381dbd7ab373bedd97dbc70dda28
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-08-11 17:52:03 +05:30
Michele Bono 108f82974a
sm8150-common: Switch to libfod extension
Decompiled stock libsurfaceflinger.so to get Z values from OPFingerprintView
and OPFingerprintVDpressed functions

Change-Id: I23b1af50a37cda342b1b119b792f1216e2ab0a0b
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-08-11 17:51:48 +05:30
Hikari-no-Tenshi c4871a9086 sm8150-common: fod: Hardcode dim amount for hbm mode(670)
Change-Id: Ic403cbd69a57d2da78e388cfc31d0aa8dbb0d8e1
2020-05-01 13:24:25 +02:00
LuK1337 824ed2d190 sm8150-common: fod: Don't invoke callbacks when fod circle is not visible
Change-Id: Ib5ca18f6f47642a0d77288694f6e906c2901bceb
2020-02-03 20:17:27 +01:00
LuK1337 2a147873a8 sm8150-common: fod: Import HAL definitions from device/oneplus/common
Change-Id: I9195222360b35dfa4423e5fce24f9db4c2b7ad60
2020-01-31 13:00:28 +01:00
Hikari-no-Tenshi 0b8a9ede05 Revert "sm8150-common: fod: Add optional HBM toggle"
This reverts commit 3621940f67.
2020-01-06 14:14:24 +01:00
Hikari-no-Tenshi 3621940f67 sm8150-common: fod: Add optional HBM toggle
* Needed for 7/7T/7T Pro.

Change-Id: Ia5b9c5e9551bf8142e063c656eb93617c727f7ac
2019-12-27 17:20:11 +01:00
Peter Cai 19ea9f3e05
sm8150-common: fod: ignore vendor error code 6
Change-Id: I7210665da543c3d56335bf280b8a6c16fe107b4e
2019-09-08 10:49:30 +08:00
LuK1337 755f75839f sm8150-common: fod: Sync with sdm845-common
Change-Id: I2f12dbe73e271cb1b12cf8a5a4f1e7a59e2e9bcc
2019-07-03 02:06:10 +02:00
LuK1337 9f7ed6cc78 sm8150-common: fod: Implement handleAcquire, handleError()
Change-Id: Ica796fbd468e2df0ee666a0d0c6cbde628d6989f
2019-07-02 15:05:43 +02:00
LuK1337 e0bb872092 sm8150-common: fod: sdm845 -> msmnile
Change-Id: I813c616cebcd053b24e565f0fb5f710e1321acb8
2019-07-02 13:15:00 +02:00
LuK1337 5989333d36 sm8150-common: fod: Drop netlink related code
Change-Id: I90531b222b5f67845a0e8d240953cebacbb9860c
2019-07-02 12:39:48 +02:00
LuK1337 38e2b50a99 sm8150-common: fod: Add back missing nullptr checks
Change-Id: I5077d989e21f788e15c70a8045def65444f3e615
2019-07-02 11:18:49 +02:00
LuK1337 6914430a3b sm8150-common: fod: Use proper way of handling fingerprint events
* This device uses netlink to notify userspace.

Change-Id: Ie727cdd175893b55d47b3b54940208a266c86505
2019-07-02 10:57:51 +02:00
Peter Cai f36ea1ade1
sm8150-common: fod: implement position / size interface
* pass the position and size as SOONG_CONFIG_ variables. see guacamole
tree for example.
2019-07-02 14:52:47 +08:00
LuK1337 ce50ebe09d sm8150-common: fod: Sync with sdm845-common
Change-Id: Ic977ddf7e61bba656bd973355a767052f825878c
2019-07-01 14:16:22 +02:00
Łukasz Patron 219af86b09
sm8150-common: fod: Add support for fp_irq events
* IRQ events are used in Always-on Display mode, where the touch panel
does not respond directly to touch events.
2019-07-01 08:19:52 +08:00
Peter Cai 382d8fee8d
[WIP, DO NOT MERGE] sm8150-common: build vendor image
* Initial full vendor building. Do not merge, does not boot.
2019-06-24 21:32:23 +08:00
Peter Cai 339f861735
guacamole: fod: implement brightness boost and dimming 2019-06-21 19:23:05 +08:00
Peter Cai 544ce5684a
guacamole: introduce in-screen fingerprint hal 2019-06-21 14:15:30 +08:00