Jooyung Han
0cd816cf20
Cleanup: use shared apex_key
...
Bug: 296524155
Test: m
Change-Id: Ib04e5b2f1f2719b040656237f3759502d14e3d3e
2023-10-10 15:28:38 +09:00
Jeff Pu
29df1e98a7
Fix: Fingerprint detect should not depend on enrollment match
...
Bug: 277600842
Test: atest FakeFingerprintEngineTest -c
Test: atest VtsHalBiometricsFingerprintTargetTest
Change-Id: I750e9c4684fd7513d5281dfa653acbd2985317d9
2023-10-06 15:06:28 +00:00
Jeff Pu
484d2e70c3
Face Biometric Virtual HAL Authentication Implementation
...
Bug: 294254230
Test: atest VtsHalBiometricsFaceTargetTest
Test: atest VtsHalBiometricsFingerprintTargetTest
Test: atest android.hardware.biometrics.face.FakeFaceEngineTest
Test: atest android.hardware.biometrics.fingerprint.FakeFingerprintEngineTest
Change-Id: Id7a4698730307235c5de94811f5e396ff4b9c5ae
2023-09-27 16:58:31 +00:00
Jeff Pu
4b5e5ce406
Face Biometric Virtual HAL
...
Bug: 294254230
Test: Manual
Change-Id: I00813b1313510e0965cb91864163e182e10aea22
2023-09-07 20:08:27 +00:00
Jeff Pu
f74216d410
Merge "Added temporary-lockout timer support" into udc-qpr-dev am: 27c07e6bfa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24324121
Change-Id: I4891539c433e3c835e777b465410b0c66f2672b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-10 13:51:29 +00:00
Jeff Pu
c6f2146a2e
Added temporary-lockout timer support
...
Bug: 294096426
Test: Manual
Change-Id: I7d11b28697021ee21abae7c01ff393e4154ee9a4
2023-08-04 15:27:42 +00:00
Jeff Pu
dfdb6c5e55
Merge "HAT validity check should be performed early" into udc-qpr-dev am: bdf9c891cf
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24225175
Change-Id: Ia7d3d4fc534595c26c234d22896f4dc6cb0480b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-28 13:55:58 +00:00
Jeff Pu
5055e3cb07
HAT validity check should be performed early
...
in enrollment HAL operation.
Bug: 293206206
Test: atest --no-bazel-mode VtsHalBiometricsFingerprintTargetTest
Change-Id: I223615bbbd86d3f918f976c0d46e9ee93338f2a8
2023-07-27 12:44:02 -04:00
Jeff Pu
1201ba309e
Merge "Authentication state stays on enrollment mismatch" into udc-qpr-dev am: bd8f26ea55
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24147068
Change-Id: I8fe1fae98cd70e2871b6b5743b9c4d3871752b3a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-21 15:50:56 +00:00
Jeff Pu
8fec556d25
Authentication state stays on enrollment mismatch
...
Bug: 291778822
Test: atest FakeFingerprintEngineTest
Change-Id: I4566303af982855aa0ebc52652464fb116a23858
2023-07-20 13:51:34 +00:00
Jeff Pu
f1ac28d608
Merge "Update fingerprint VHAL operation lifecycle" into udc-qpr-dev am: 750c778f60
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24039772
Change-Id: I4fb0ad4809307e5ec0e0237e8775f7075054e5c4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-17 16:09:29 +00:00
Jeff Pu
073af1802e
Update fingerprint VHAL operation lifecycle
...
Bug: 289410175
Test: atest FakeFingerprintEngineTest
Change-Id: I6da68047be9bf5357c1b4c75ba28fc66c2e3bcc0
2023-07-17 13:23:47 +00:00
Jeff Pu
007c0d8238
Merge "Inform framework of lockout right when the failed attempts reaches threshold" into udc-qpr-dev am: 9d838849bb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/23846523
Change-Id: Ie523d48469435ee28f4357bfa748247d02185131
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-29 20:23:26 +00:00
Jeff Pu
437516ea3a
Inform framework of lockout right when the failed attempts reaches threshold
...
Bug: b/277780293
Test: atest FakeLockoutTrackerTest
Change-Id: Iefe88f3ab492773844b18c525ddbf37218227256
2023-06-28 15:22:44 +00:00
Jeff Pu
2316ea2029
Merge "Simulate finger touch with virtual fingerprint hal" into udc-qpr-dev am: fd1e1e58fc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/23631145
Change-Id: I3a3a81f1b1d519ae3c8be03690710a9461112807
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 18:16:28 +00:00
Jeff Pu
fd1e1e58fc
Merge "Simulate finger touch with virtual fingerprint hal" into udc-qpr-dev
2023-06-21 17:28:36 +00:00
Jeff Pu
db25c7f0c2
Merge "Remove the workaround of extra enrollment for the fixed b/243129174" into udc-qpr-dev am: a8065908ef
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/23710302
Change-Id: Ic0a1e34283eda50ef856749a5efd6d9898b09b45
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 19:57:04 +00:00
Jeff Pu
0e4f9eb2aa
Remove the workaround of extra enrollment for the fixed b/243129174
...
Bug: 284475725
Test: atest BiometricsE2eTests
Change-Id: I92a2153d45e01543dcfdccf131905b6fd557fb34
2023-06-15 17:36:58 +00:00
Jeff Pu
def5b04848
Simulate finger touch with virtual fingerprint hal
...
Bug: 277780272
Test: atest BiometricsE2eTests
Change-Id: I9330b3eeca52321c59d0af63782d38cd3b5f901f
2023-06-14 15:08:57 +00:00
Jooyung Han
580e81b0be
Add virtual fingerprint HAL APEX
...
This moves the virtual fingerprint HAL into a vendor apex:
com.android.hardware.biometrics.fingerprint.virtual.
Bug: 279674662
Test: follow README.md to test the virtual FP HAL
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7af7ad0c8770e13c3b77abe81c2ba48a2927b531 )
Merged-In: I4664a3805b9444c87b0ac31a84ec10fb47d9580e
Change-Id: I4664a3805b9444c87b0ac31a84ec10fb47d9580e
2023-06-02 03:46:25 +00:00
Jooyung Han
477079abae
Merge "Add faceauth HAL APEX" am: f7a7d8e20b
am: 266f967602
am: 27a71068c8
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2604785
Change-Id: I54b49c81cdf118cdec21b89ba2a78ddaa9b3ecef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-30 03:43:39 +00:00
Jooyung Han
d5842aebcd
Add faceauth HAL APEX
...
This moves the faceauth HAL into a vendor apex:
com.android.hardware.biometrics.face
The contents:
./apex_manifest.pb
./bin/hw/android.hardware.biometrics.face-service.example
./etc/face-default-apex.rc
./etc/permissions/android.hardware.biometrics.face.prebuilt.xml
./etc/vintf/face-default-apex.xml
./lib64/android.hardware.biometrics.common-V2-ndk.so
./lib64/android.hardware.biometrics.face-V2-ndk.so
./lib64/android.hardware.keymaster-V3-ndk.so
Bug: 279674662
Test: Not installed yet
Test: m com.android.hardware.biometrics.face
Change-Id: I6e52c83601d29bcc6a9ef4e165fab48f3579426c
2023-05-25 17:35:23 +09:00
Jeff Pu
30925ee9a4
Merge "Close the session if Fingerprint servers die" into udc-dev
2023-05-08 19:21:19 +00:00
Jeff Pu
87e9f2bebe
Close the session if Fingerprint servers die
...
by registering the death notification of the associated binder.
Bug: 273807765
Test: adb shell stop;adb shell start
Change-Id: Ifc60e68fdbf986a355f828a7fc11f2aecee4cbea
2023-05-05 14:14:57 +00:00
Diya Bera
414ea865b3
Adding owners
...
Test: N/A
Bug: 278741020
Change-Id: I586787a31cab0d32d14d43f5f84ceb1e14087aa4
Merged-In: I586787a31cab0d32d14d43f5f84ceb1e14087aa4
2023-04-19 19:18:58 +00:00
Diya Bera
8200cff2e4
Adding owners
...
Test: N/A
Bug: 278741020
Change-Id: I586787a31cab0d32d14d43f5f84ceb1e14087aa4
2023-04-18 17:55:17 +00:00
Joshua Mccloskey
4803c70715
Merge "Updated aidl doc w/ regard to lockout." into udc-dev
2023-04-11 23:15:22 +00:00
Alex Buynytskyy
ec1198d941
UpsideDownCake is now 34
...
Ignore-AOSP-First: UpsideDownCake Finalization
Bug: 275409981
Test: build
Change-Id: I832ab7a8b5445ba85e27bbcf5be64906bfa0e5be
2023-04-07 23:41:20 +00:00
Joshua McCloskey
0716d7d56b
Updated aidl doc w/ regard to lockout.
...
Test: N/A
Bug: 250071647
Change-Id: I774640b6f7a3f6397b6acbdb48c8ab14c6001a12
2023-03-13 22:19:28 +00:00
Diya Bera
4c580ff731
Merge "Adding POWER_PRESS to AcquiredInfo.aidl and Error.aidl" into udc-dev
2023-03-02 02:06:52 +00:00
Joe Bolinger
5698405873
Add display state and authenticate reason to biometric AIDL interface.
...
Bug: 268295421
Test: N/A
Change-Id: Ifc643457a4e61149721a38938f8e20976b54cf56
2023-02-23 00:27:06 +00:00
Diya Bera
34dc8bfe51
Adding POWER_PRESS to AcquiredInfo.aidl and Error.aidl
...
Test: N/A
Bug: 269293986
Change-Id: If2e2a1c0f48d86c427a0c8f93f077c940c3eb8d8
2023-02-21 22:44:33 +00:00
Austin Delgado
88ded642f2
Update fingerprint AIDL for Android U
...
1. Adds sensor shape and touch detection configuration.
2. Adds onPointerCancelWithContext and setIgnoreDisplayTouches.
3. Adds LIFT_TOO_SOON constant to AcquiredInfo.
4. Deprecates SensorLocation displayId, onPointerDown, and onPointerUp.
Bug: 266476972
Test: m android.hardware.biometrics.fingerprint-update-api
Test: built locally
Change-Id: I3aae3c7f8a65d5805f3dd583330407c255ca1369
2023-02-17 21:30:26 +00:00
Jeff Pu
ebb2b746ce
Make virtual fingerprint HAL as lazy HAL
...
Bug: 262630839
Test: atest VtsHalBiometricsFingerprintTargetTest
Change-Id: I8f17f00d3e91554fcfb99c8b478ed8b6131b4530
2023-02-13 18:00:25 +00:00
Joe Bolinger
f3661ff85c
Add wake reason to OperationContext.
...
This additional metadata can optionally be used by the HAL to make optimizations when an operation is started.
Bug: 246363169
Test: N/A (builds)
Change-Id: I493cba04f54d09f976b31a68661a18397af02ce9
2023-02-03 21:58:30 +00:00
Jeffrey Vander Stoep
c5d5b7d4ea
Revert "Make virtual fingerprint Hal as a lazy Hal"
...
This reverts commit 93e97f94b6
.
Reason for revert: b/263519851
Change-Id: I24a9921c806013c5a50bb0674690b67beca172f0
2022-12-23 11:28:28 +00:00
Steven Moreland
e489590628
specify import version (I)
...
Required to automate AIDL finalization - makes errors show up
now instead of later.
Bug: 188871598
Test: build
Change-Id: I6f46a39f76a73f27a71bc36e600941249ccbe8ee
Merged-In: Ic544707bac671d8327d8cc704a9d453470141e8e
2022-12-23 03:49:06 +00:00
Jeff Pu
93e97f94b6
Make virtual fingerprint Hal as a lazy Hal
...
so that the Hal service can start dynamically as needed
by vts test and others
Bug: 262630839
Test: atest VtsHalBiometricsFingerprintTargetTest:IFingerprint/Fingerprint
Change-Id: I58dfa3b49bade3bbd89c3a8f6cd884c632e9eae4
2022-12-20 21:04:54 +00:00
Steven Moreland
13666147e9
Mark modules frozen explicitly.
...
Makes it easier to see which versions are available.
Bug: 188871598
Test: N/A
Change-Id: Iec656df1d0008d95ab50f9bd8806517b95242f00
Merged-In: Ica76a8225fec8dc5267362cbfd43e06e65ad3f1e
2022-12-14 01:47:26 +00:00
Steven Moreland
65ee297ef9
Merge "Mark modules frozen explicitly."
2022-12-12 18:27:49 +00:00
Steven Moreland
edff13e314
Mark modules frozen explicitly.
...
Makes it easier to see which versions are available.
Bug: 188871598
Test: N/A
Change-Id: Ica76a8225fec8dc5267362cbfd43e06e65ad3f1e
2022-12-08 18:02:08 +00:00
Jeff Pu
9c1be5a0e1
Add virtual fingerprint HAL child process based on demand
...
Bug: 244854670
Test: Manual
Change-Id: I403de4cc334aae8e888da064d9064ebe283bf572
2022-12-07 14:52:47 +00:00
Jeff Pu
b27153df09
Streamline OWNERS file under hardware/interfaces/biometrics
...
Bug: 259997419
Test: N/A
Change-Id: Ie435c70566267f9ff4a4b9474d41c5b625fc6b74
2022-11-28 14:12:28 +00:00
Ilya Matyukhin
8453178f18
Add @hide to the biometric interfaces
...
This change allows the framework to depend on biometric AIDL types, for
example: `android.hardware.biometrics.fingerprint.PointerContext`.
The dependency can be introduced with a `-java-source` target, for
example: `:android.hardware.biometrics.common-V3-java-source`.
The "@hide" annotation informs Metalava that these types are not a
public API (not part of the SDK).
Bug: 218388821
Test: m android.hardware.biometrics.common-update-api
Test: m android.hardware.biometrics.face-update-api
Test: m android.hardware.biometrics.fingerprint-update-api
Change-Id: Ib3327594c64dbb800b9d1744869ceb490d63e553
2022-11-18 06:37:09 +00:00
Jeff Pu
5265318938
Fingerprint virtual HAL checkin (part 3)
...
- support randomization
- display touch events
- lockout
- cmd and dumpsys
Bug: 230515082
Bug: 230515086
Test: atest FakeFingerprintEngineTest
atest FakeFingerprintEngineUdfpsTest
atest --no-bazel-mode VtsHalBiometricsFingerprintTargetTest
Change-Id: Ia5399c86b7fec90b41d426c2f82cb257f4dc9a8a
2022-11-11 13:06:32 +00:00
Jeff Pu
343ca94b13
Fingerprint virtual HAL checkin (part 2)
...
- acquiredInfo support for HAL operations
- error insertions
- FPS configurations
Bug: 230515082
Bug: 230515086
Test: atest FakeFingerprintEngineTest
atest FakeFingerprintEngineUdfpsTest
atest --no-bazel-mode VtsHalBiometricsFingerprintTargetTest
Change-Id: Iedd1056e516358c3c0a99bd4a720016cc0f880e4
2022-10-06 23:03:11 -04:00
Jeff Pu
63f33c79a2
Fingerprint virtual HAL checkin (part 1)
...
- udfps and side fingerprint sensor instance
- sensor location configuration
- misc. fixes/workarounds
Bug: 230515082, 230515086
Test: atest FakeFingerprintEngineTesT
atest FakeFingerprintEngineUdfpsTest
atest --no-bazel-mode VtsHalBiometricsFingerprintTargetTest
Change-Id: I9bec76496b35029cab4561d0d4ea85a78bec589a
2022-08-19 10:46:32 -04:00
Trevor Radcliffe
c088612eb2
Point directly to generated c sysprop_library
...
Supports aosp/2119952
Bug: 226199990
Test: m
Change-Id: Ifa5725abda911f2ea4d4951d41ac54fe703ae31b
2022-06-14 20:02:44 +00:00
Jeff Pu
0fe3730e7b
Add team members to OWNER file
...
Bug: N/A
Test: N/A
Change-Id: I3e16a978624672515699eb2c99942ab7ed78a6e8
2022-05-24 23:35:18 +00:00
Joshua McCloskey
db009a58cb
Add virtual Face HAL
...
Fixes: 230514750
Test: atest VtsHalBiometricsFaceTargetTest
Test: atest VtsHalBiometricsFingerprintTargetTest
Test: atest android.hardware.biometrics.face.FakeFaceEngineTest
Test: atest android.hardware.biometrics.face.FakeFingerprintEngineTest
Test: See README.md
Test: Verified that face and fingerprint get reset upon authenticating.
Change-Id: I57c1a61bec960e3be28736e6050be662ef412d8c
2022-05-16 19:34:12 +00:00