Liana Kazanova
d43d834d76
Revert "Freezing face api"
...
This reverts commit b3a55af391
.
Reason for revert: Potential culprit for b/315354499 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.
Change-Id: Iab8a208df0704007b9ee29a3673c623eb968ce1b
2023-12-07 20:59:34 +00:00
Joshua McCloskey
b3a55af391
Freezing face api
...
Test: N/A
Change-Id: Ibc6f6130a3e825ed20dcf27d30bbdc3f13d29cc3
2023-12-06 20:00:36 +00:00
Jeff Pu
3cb30e7be7
Merge "Face Virtual HAL enrollment basic support via SUW" into main
2023-12-05 18:24:50 +00:00
Jeff Pu
84c60185f1
Face Virtual HAL enrollment basic support via SUW
...
Bug: 294254230
Test: Manually perform face enrollment via Settings
Change-Id: I30f6ffc3cde615b9cab55ef060623464a7799100
2023-12-05 14:16:03 +00:00
Vincent Wang
241aeca469
Mark frozen false to make sure native could reference
...
android.hardware.biometrics.common-V4-ndk is an unfrozen development version,
and it can't be used if it's explicitly marked as `frozen: true`
Bug: b/305284901
Test: Build pass
Change-Id: Ie3f82da032d5b9d201f094ced2636592cc3f8844
2023-11-30 08:15:53 +00:00
Vincent Wang
7b0194374b
Merge "Add a new filed into OperationContext.aidl" into main
2023-11-17 00:23:14 +00:00
Vincent Wang
06523c6fb1
Add a new filed into OperationContext.aidl
...
In order to pass fold/unfold information to HAL during face auth,
add a new filed into OperationContext.aidl
Test: Build pass
Bug: 305284901
Change-Id: I03d7b4c97df89232f8393d094e02b1472921200b
2023-11-14 01:14:33 +00:00
Joshua McCloskey
67310c3fc3
Updated face session to use SurfaceView
...
Test: Verified that it builds.
Test: Verified framework supports older NativeHandle.
Bug: 308784038
Change-Id: I6f5fa573bdfcfd903b53d8d85c43f491413bdcae
2023-11-07 18:21:38 +00:00
Jooyung Han
b72b1a5feb
Merge changes I1d745f64,I4bb2572c into main am: 94b63ab755
am: b1ce8cb40e
am: 4828f5aa75
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2803696
Change-Id: I83d8357e35b01d12db9cffa9a227c80bbd554588
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-30 03:40:06 +00:00
Jooyung Han
b1ce8cb40e
Merge changes I1d745f64,I4bb2572c into main am: 94b63ab755
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2803696
Change-Id: Icd220773a24f3af8c2aa5b1f565ed4d69195afe3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-30 02:39:27 +00:00
Jooyung Han
e458294ba1
Use static linking for virtual fingerprint hal
...
To make the binary smaller in APEX, use static linking.
For aosp_cf_x86_64_phone target, the APEX is reduced from 1576960 to
643072 (by 933888).
Bug: 306314086
Test: m
Change-Id: I1d745f64fb98a97e7adb417870034044a03ce88c
2023-10-26 11:09:00 +09:00
Jooyung Han
80baad2ccf
Make Fingerprint Virtual HAL APEX as default
...
- moved apex definition beside the HAL binary definition
- updated README.md about installation
Bug: 306314086
Test: follow README.md to test the virtual FP HAL
Change-Id: I4bb2572ca79c93cb32a273625f4e965c2505e48a
2023-10-26 10:47:49 +09:00
Jooyung Han
cd05b33eb4
Merge "Cleanup: use shared apex_key" into main am: a232f9f196
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2780369
Change-Id: I4214962686e1782d971ad5982a1f8ed496359258
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-24 04:18:13 +00:00
Jooyung Han
a232f9f196
Merge "Cleanup: use shared apex_key" into main
2023-10-24 03:46:05 +00:00
Xin Li
3d862c9608
Merge "Merge 10952656" into aosp-main-future
2023-10-19 17:58:46 +00:00
Jooyung Han
1ae66eae7d
Merge "Cleanup: use shared apex_key (fingerprint APEX)" into main am: 52dec402f0
am: 27fcbfacdb
am: 3c3d15866e
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2780313
Change-Id: Icf07e23d4c727f322d1d5a02436b6a5d32079ddd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 03:29:58 +00:00
Jooyung Han
3c3d15866e
Merge "Cleanup: use shared apex_key (fingerprint APEX)" into main am: 52dec402f0
am: 27fcbfacdb
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2780313
Change-Id: I8543a10ee682ff490c2da44ba865cb8e00bcbd97
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 02:57:10 +00:00
Jooyung Han
1419f35690
Make face.virtual HAL smaller
...
by static-linking dependencies. This makes the Face virtual hal much
smaller.
/vendor/apex/com.android.hardware.biometrics.face.virtual.apex is now
585728 bytes, which is slightly bigger than the size before regression
(536576).
Bug: 304679972
Test: m
Change-Id: I4ed0cd432aeb9932c09c00592dd1fe0a1a38af0a
2023-10-13 14:58:41 +09:00
Jooyung Han
e0c4ad52ba
Cleanup: use shared apex_key (fingerprint APEX)
...
Bug: 296524155
Test: m
Change-Id: I6ca90bb66a612650bc6ebbf05526b5e866372707
2023-10-10 15:43:10 +09:00
Jooyung Han
bc09e453a5
Cleanup: use shared apex_key
...
Bug: 296524155
Test: m
Merged-In: Ib04e5b2f1f2719b040656237f3759502d14e3d3e
Change-Id: Ib04e5b2f1f2719b040656237f3759502d14e3d3e
2023-10-10 15:34:31 +09:00
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