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
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
by registering the death notification of the associated binder.
Bug: 273807765
Test: adb shell stop;adb shell start
Change-Id: Ifc60e68fdbf986a355f828a7fc11f2aecee4cbea
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
Required to automate AIDL finalization - makes errors show up
now instead of later.
Bug: 188871598
Test: build
Change-Id: I6f46a39f76a73f27a71bc36e600941249ccbe8ee
Merged-In: Ic544707bac671d8327d8cc704a9d453470141e8e
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
Makes it easier to see which versions are available.
Bug: 188871598
Test: N/A
Change-Id: Iec656df1d0008d95ab50f9bd8806517b95242f00
Merged-In: Ica76a8225fec8dc5267362cbfd43e06e65ad3f1e
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
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
Even if the shared variable is atomic, it must be modified under the
mutex in order to correctly publish the modification to the waiting
thread.
There is a chance that mThread will miss both mIsDestructing
and notify event without a mutex.
Bug: 231737939
Test: manual
Change-Id: If83a94b766c816b9e4897acb1e89eacdce880c15
It was missing in the prior attempt to finzalize all AIDL interfaces.
Bug: 230660133
Test: m nothing
Change-Id: Icc319c84d57639ce083730a8bf15957e3ab7fe1d
Queue capacity needs to be NUM_TASKS + 1 for the extra final cv.notify
at the end.
Test: atest --host --rerun-until-failure 1000 WorkerThreadTest
Bug: b/229801892
Change-Id: I95eb07680fe80cfc3bfafaa2de81c48d61d14b4b
* Timed out runs do not show any warning messages.
* These test files cannot finish clang-tidy runs with
the following settings:
TIDY_TIMEOUT=90
WITH_TIDY=1
CLANG_ANALYZER_CHECKS=1
* When TIDY_TIMEOUT is set, in Android continuous builds,
tidy_timeout_srcs files will not be compiled by clang-tidy.
When developers build locally without TIDY_TIMEOUT,
tidy_timeout_srcs files will be compiled.
* Some of these test modules may be split into smaller ones,
or disable some time consuming checks, and then
enable clang-tidy to run within limited time.
Bug: 201099167
Test: make droid tidy-hardware-interfaces_subset
Change-Id: I1de28f1572fff368f67eab512fffec9f2e5c2a9b
The new fields provide additional information to the HAL about the touch
events originating from the framework.
Bug: 205915651
Test: m android.hardware.biometrics.common-update-api
Test: m android.hardware.biometrics.fingerprint-update-api
Test: lunch cf_x86_phone-userdebug && m
Change-Id: I987e26ac03e3268eea30feb9bbddffe6ca8d0035
This is needed for changes that occur mid-operation and was lost
from the previous changes when switching from the single context
method to the overloaded approach.
Bug: 204584403
Test: atest VtsHalBiometricsFingerprintTargetTest VtsHalBiometricsFaceTargetTest
Change-Id: Ie917bce9de910a421e19130b6e518bd6fc85298e
This also partially reverts commit 1988b3825bc95a0e7e3bb86bfa5bf70ea5323a61 which unnecessarily froze the interface during a prior interface addition.
Bug: 204585936
Bug: 204584403
Test: atest VtsHalBiometricsFingerprintTargetTest
Change-Id: Ibc9934390a487f5bfb9d3678ad65e7b1c3740ae7