* use standard sensor type
* ignore non-wakeup sensor variant
* ignore events that do not properly match a pickup
Change-Id: I32bb097afb33603190dfd00a21202301a56bda08
* use standard sensor type
* ignore non-wakeup sensor variant
* ignore events that do not properly match a pickup
Change-Id: I6acff9154d4c8d12adbf4ca22729ebf7f60afa5f
These methods can be used to handle vendor acquired messages and disable
fod listening on cancelled and successful unlocks.
Change-Id: Ie6a8d24840b0b6c34527f863a6052f789200a79f
This is more like a hack, also observed in the stock HAL, for pre-P shipped devices
because those have fpdata store path set to /data/system/users/ by the FingerprintService.
Force treble compliant path and thus avoid using data_between_core_and_vendor_violators
attribute:
> typeattribute hal_fingerprint_default data_between_core_and_vendor_violators;
> # access to /data/system/users/[0-9]+/fpdata
> allow hal_fingerprint_default fingerprintd_data_file:dir rw_dir_perms;
> allow hal_fingerprint_default fingerprintd_data_file:file create_file_perms;
Change-Id: I388f993de7f95fc68007d945f5a9cc975afde120
* Xiaomi extends fingerprint_device_t by adding a new method called extCmd used to send vendor specific commands
Change-Id: Ic94f7b3fd28f7db81695e47f54ce6fa89248bde9
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
This reverts commit d0fdb4431d26e4f257b8867f67ffd9b4a9818d9e.
Change-Id: I7a28d82caee2b8503b974a8226b29240eb072ceb
* This can be used by any Xiaomi device that has a touch display that supports multiple sample rates and Xiaomi touch.
* Most newer Xiaomi phones with high screen refresh rates fit this category:
* e.g. Mi 10/Pro/Ultra/T/T Pro, Xiaomi SM8350 platform phones & Xiaomi SM6375 phones
Change-Id: Iaf956420157bbc978690fac9053d507ccaea847a
Some variants don't support wireless charging, thus this file is
missing. Ideally we wouldn't run powershare at all on them, but this is
still an improvement.
Change-Id: Ie58aaac2a73055d8d2cfe7a73b9b479493eb2bcf
* This feature is present in Xiaomi Mi 10/Pro/Ultra and for the Xiaomi
family of SM8350, LAHAINA devices.
Change-Id: Icabcee87980611d97a837f86a52d94033de337ef
These have been combined into libhidlbase.
Signed-off-by: Mohammad Hasan Keramat J <ikeramat80@gmail.com>
Change-Id: I17e94d1524747315d6ae64fc650e9e7d815628bb