Commit graph

497 commits

Author SHA1 Message Date
Xin Li
64e598ce2b Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: I53a278f1317f5307441103dc42dc5be6f20d7075
Change-Id: I3a53ebf7339cdb886d3c1b733b8eee1847f8832a
2024-05-24 08:28:04 -07:00
Ronish Kalia
98ef872235 Merge "Migrate Test Targets to New Android Ownership Model" into main 2024-04-22 15:01:56 +00:00
Jeff Pu
6904bf18f7 Merge "Refactor biometric virtual HAL config/control" into main 2024-03-04 14:13:20 +00:00
Jeff Pu
6ccd956117 Refactor biometric virtual HAL config/control
for additional ways besides system property
Bug: 326227403
Test: atest android.hardware.biometrics.common.ConfigTest

Change-Id: Id0aa4961cc732c23f5da140eca81470316834b70
2024-02-29 15:20:35 -05:00
Devin Moore
a8efdb127e Vendor API level 202404 is now frozen
Ignore-AOSP-First: VINTF 202404 Finalization
Bug: 279809333
Test: build
Change-Id: Ie6d38d27a287e258c30516e0030ad8c931d06432
2024-02-20 21:05:23 +00:00
Steven Moreland
2a59b89a84 AIDL: disable Rust explicitly
Now that it's enabled by default, because this
doesn't compile in Rust.

Bug: 321267339
Test: m
Change-Id: I01e0af965827944ba2b4b168a6e8d6c4cf81cfff
Merged-In: I01e0af965827944ba2b4b168a6e8d6c4cf81cfff
(cherry picked from commit 62105fb264)
2024-02-06 17:36:03 +00:00
Aditya Choudhary
04ef2121cd Migrate Test Targets to New Android Ownership Model
This CL is created as a best effort to migrate test targets to the new Android ownership model.
It is based on historical data from repository history and insights from git blame.
Given the nature of this effort, there may be instances of incorrect attribution. If you find incorrect or unnecessary
attribution in this CL, please create a new CL to fix that.

For detailed guidelines and further information on the migration please refer to the link below,
go/new-android-ownership-model

Bug: 304529413
Test: N/A
Change-Id: Ibe1360ca3f7eb919834715aa90b0b842fbcd0692
2024-02-02 14:00:43 +00:00
Steven Moreland
62105fb264 AIDL: disable Rust explicitly
Now that it's enabled by default, because this
doesn't compile in Rust.

Bug: 321267339
Test: m
Change-Id: I01e0af965827944ba2b4b168a6e8d6c4cf81cfff
2024-01-30 23:47:32 +00:00
Jeff Pu
1e93ca6c74 Support configuration reset and dump
Bug: 294254230
Test: atest android.hardware.biometrics.face.* -c
      adb shell cmd android.hardware.biometrics.face.IFace/virtual resetconfig
      adb shell dumpsys face
Change-Id: I6dc5657104da103860cca133beba21e1b10cb423
2024-01-24 12:52:35 -05:00
Jeff Pu
53cf8ca74d Merge "Fix Fingperint Virtual Hal cancellation while waiting finger touch" into main 2024-01-12 21:04:55 +00:00
Jeff Pu
74e25d2dec Fix Fingperint Virtual Hal cancellation while waiting finger touch
Bug: 319146424
Test: atest BiometricsE2eTests:BiometricPromptAuthSuccessTest
Test: atest android.hardware.biometrics.fingerprint.*
Change-Id: I26a2dde01608177411cce3f9c68ee6fd1fd6aab8
2024-01-11 18:23:00 +00:00
Jeff Pu
b515d81fb7 Merge "Support Face Virtual HAL operation latency randomization" into main 2024-01-08 22:18:08 +00:00
Austin Delgado
7b690750fe Add isHardwareIgnoringTouches to OperationContext
Bug: 313763144
Test: atest SystemUITests:com.android.systemui.biometrics
Flag: None
Change-Id: If337f491b809d5e9c9fdfedad86a3d63a3431102
2024-01-05 16:02:15 -08:00
Jeff Pu
4aca35e205 Support Face Virtual HAL operation latency randomization
Bug: 294254230
Test: atest android.hardware.biometrics.face.*
Change-Id: I1e0c2ba2f0f6756c79375b56c7d1a10f7f3bf5c4
2024-01-05 16:02:50 +00:00
Joshua Mccloskey
f6bc1288c5 Merge "Freezing face api" into main 2023-12-12 16:18:36 +00:00
Joshua McCloskey
93ee24e67f Freezing face api
Test: N/A
Change-Id: I0c0ac52fbdc96ae2a416922ff4c994f0f2909802
2023-12-11 22:17:40 +00:00
Jeff Pu
3e7448dc2b Face Virtual HAL lockout support
Bug: 294254230
Test: atest android.hardware.biometrics.face.FakeFaceEngineTest
Test: atest android.hardware.biometrics.face.FakeLockoutTrackerTest
Change-Id: I4ed3ada4734f595d5f9ac70cf5ed2a94bed378c6
2023-12-11 14:47:46 +00:00
Vincent Wang
76de03f7df Merge "Update biometrics HAL interface version(2/2)" into main 2023-12-08 16:13:34 +00:00
Vincent Wang
50f12d7bd9 Merge "Update biometrics HAL interface version(1/2)" into main 2023-12-08 16:13:34 +00:00
Liana Kazanova
30f558a8fa Merge "Revert "Freezing face api"" into main 2023-12-07 21:59:08 +00:00
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
b9fe5cd8de Merge "Freezing face api" into main 2023-12-07 19:41:19 +00:00
Vincent Wang
774a9c0f44 Update biometrics HAL interface version(2/2)
In order to pass fold/unfold information to HAL during face auth,
add a new filed into OperationContext.aidl and update biometric
HAL interface version

Test: Build pass
Bug: 305284901
Change-Id: I886440a6332ba8c2555b29322c05f27edb7a5d44
2023-12-07 03:59:12 +00:00
Diya Bera
ef2dcff171 Merge "Add @hide to AIDL interfaces" into main 2023-12-06 23:13:52 +00:00
Joshua McCloskey
b3a55af391 Freezing face api
Test: N/A
Change-Id: Ibc6f6130a3e825ed20dcf27d30bbdc3f13d29cc3
2023-12-06 20:00:36 +00:00
Vincent Wang
890be57151 Update biometrics HAL interface version(1/2)
In order to pass fold/unfold information to HAL during face auth,
add a new filed into OperationContext.aidl and update biometric
HAL interface version

Test: Build pass
Bug: 305284901
Change-Id: Iddb2be85a4aae8ab0fa7880258151ebe9f5cf6c3
2023-12-06 09:16:02 +00:00
Jeff Pu
3cb30e7be7 Merge "Face Virtual HAL enrollment basic support via SUW" into main 2023-12-05 18:24:50 +00:00
Diya Bera
0afb3e8202 Add @hide to AIDL interfaces
Test: N/A
Bug: 303480396
Change-Id: I51aab72929a9242b513dfa836e682ed29bf4cbc0
2023-12-05 10:15:35 -08: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