summaryrefslogtreecommitdiffstats
path: root/biometrics
Commit message (Collapse)AuthorAgeFilesLines
* IFingerprintInscreen: Allow HALs to control position and sizelineage-16.0Peter Cai2019-07-171-0/+8
| | | | | | | * These are hardware-specific properties. Allow HALs to control them directly instead of relying on a system property Change-Id: I36355886cc115ae2a423cbbca6044daec43ee454
* IFingerprintInscreen: Allow HALs to provide finger up/down callbackLuK13372019-07-123-0/+34
| | | | Change-Id: I31058d0184ce40abcb8c72584fa0bc21fee04bb6
* IFingerprintInscreen: Allow HALs to control dimmingPeter Cai2019-07-121-0/+13
| | | | | | | | | * On OnePlus 7 Pro, the kernel provides the dimming value. We can use hals to directly retrieve that value instead of calculating manually. * Also, the kernel implemented brightness boosting. Allow the hal to pass this information to the framework so no repeated boosting is done. Change-Id: Ifc4137d6e033ff52662b57aae4ffffd5bd1c9cae
* Introduce in-screen fingerprint scanner HALPeter Cai2019-07-122-0/+74
| | | | Change-Id: I3998f73b0b6c29eb437dc62462d9ad9eea1f93d8
* fpc: keep fpc in system-backgroundTim Murray2018-09-051-0/+1
| | | | | | | | | | | | The fingerprint HAL is insensitive to increased CPU throughput, but it also has a tendency to spin while waiting for FP hardware. Limit FPC to the system-background cpuset in order to avoid increased power consumption when accidentally touching the fingerprint sensor. bug 76115243 Test: fingerprint in system-background cpuset on taimen Change-Id: Iaffe6f63bd76b7a1c4acaf0cae980840af515961
* Use -Werror in hardware/interfaces/biometrics/fingerprintChih-Hung Hsieh2018-09-052-1/+4
| | | | | | | | * Fix warning of unused function call result. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I91da207b80d0715d015195357d645f8cf324fa1e
* biometrics: fingerprint: add locking to default implNick Desaulniers2018-09-052-0/+3
| | | | | | | | | | | | | | | | | There exists the following race condition: a). thread A receives setNotify and sets the callback to some object b). thread B of the wrapped implementation calls BiometricsFingerprint::notify which it was given a handle to. Thread B executes past the nullptr check: c). thread A receives setNotify and sets the callback to some other object (or nullptr) d). thread B resumes in notify with unknown state Add mutex to protect access to mClientCallback. Change-Id: I9163204ff5802e9246056caeb2a7857e6138531c Fixes: 64802340 Test: VtsHalBiometricsFingerprintV2_1IfaceFuzzer
* lineage: Prepend vendor. to all HAL servicesRashed Abdel-Tawab2018-08-291-1/+1
| | | | | | All vendor services are required to start with "vendor." Change-Id: I0fee723bb4542c2202050bfb96ca0123c5158770
* lineage/interfaces: Regenerate HIDL makefiles and blueprints for pieRashed Abdel-Tawab2018-08-211-4/+0
| | | | | | Yay... new formats. Change-Id: I679fa4e024dacf11078b1aa1dc9bfc9e37098d3f
* lineage/interfaces: add update-makefiles.sh scriptDemon0002017-10-162-4/+2
| | | | | | | | | | | | | | | | | | | | Generates the makefile/blueprint structure inside hardware/lineage/interfaces. Package names need to start with vendor.lineage, for example, vendor.lineage.vibrator@1.0, else hidl-gen will fail. Usage: ./hardware/lineage/interfaces/update-makefiles.sh If the script finds a *.hal file, it will create Android.bp and Android.mk files inside the respective directory that turn those files into an interface. Also, regenerate blueprints using the script. Change-Id: Id169bd74e76cd83d4572e14cebf91db7629640cc
* lineage/interfaces: Move fingerprint 2.0 service to fingerprint/2.0Rashed Abdel-Tawab2017-10-016-31/+34
| | | | Change-Id: I5072c69c57e93c9e5c7567978762dc0c2da24a0e
* fingerprint: Simplify enumeration codeDanny Baumann2017-09-221-21/+11
| | | | Change-Id: I882f782ae5ea57b46067a4048028cf785970a5ed
* fingerprint: Rename to fingerprint@2.0-serviceDanny Baumann2017-09-223-5/+5
| | | | | | | Turns out you _can_ rename service's versions so just do that. Also change log tags to 2.0 service as well Change-Id: Ie5c5d0d4ab06433015bd643046fe1c7037874f12
* lineage/interfaces: Add custom HAL 2.0 fingerprint serviceRashed Abdel-Tawab2017-09-213-5/+29
| | | | | | | | Identical to android.hardware.biometrics.fingerprint@2.1-service but checks for HAL version 2.0 instead of 2.1 and passes the expected enumerate function to the HAL Change-Id: Ibe8253297c1712ad1583a058efef5e55ff70720d
* lineage/interfaces: Fork biometrics/fingerprint from hardware/interfacesRashed Abdel-Tawab2017-09-216-0/+525
Identical to 76cfb841405a7884519181dd924459c142ac43dd Change-Id: Ic63709f24e6bf14fd5086cde74110c203f410f0a