Bug: 178165973
Test: m android.hardware.biometrics.fingerprint-update-api
Test: m android.hardware.biometrics.face-update-api
Change-Id: I4b07b523735e25f233dfec79b787ec536a57660a
The new authenticatorId will always be needed by the client after
invalidation finishes. This change allows the client to receive it
without requesting getAuthenticatorId.
Test: m android.hardware.biometrics.face-update-api
Test: m android.hardware.biometrics.fingerprint-update-api
Test: m VtsHalBiometricsFaceTargetTest
Test: m VtsHalBiometricsFingerprintTargetTest
Bug: 159667191
Change-Id: I63166315789945966ff8081e07dd714cc14bc2f0
The default HAL never actually gets rejects, so should not
have a non-zero lockout
Bug: 172957689
Test: atest CtsBiometricsTestCases
Change-Id: I74af8bd0a8a25f509b5572543dfef7d621f24c4e
The exisitng 2.1 default implementation assumes that the device has
a pre-HIDL HAL. Keep this implementation intact for vendors with
legacy implementations.
This change adds a new example 2.2 HAL that does not assume the
existance of a pre-HIDL HAL, which can be used by cuttlefish
and CTS.
Bug: 172957689
Test: make -j android.hardware.biometrics.fingerprint@2.2-service.example
Test: atest CtsBiometricsTestCases
Test: m vts -j && vts-tradefed run commandAndExit vts -m VtsHalBiometricsFingerprintV2_1Target
Test: m vts -j && vts-tradefed run commandAndExit vts -m VtsHalBiometricsFingerprintV2_2Target
Change-Id: I4d87028d70fdb5c03759080e53e69751cf5e4307
Note that we're configuring this default HAL as "STRONG" so that the
framework can eventually test multi-sensor authenticatorId invalidation
Bug: 173453845
Test: atest CtsBiometricsTestCases
Change-Id: Idd7b74f0a22c5078dc5c2b0b99f62fdc4b51e25d
These methods were moved into ISession, but forgot to remove the
sensorId, userId parameters
Bug: 173453845
Test: m android.hardware.biometrics.face-update-api
Test: m android.hardware.biometrics.face-service.example
Test: m VtsHalBiometricsFaceTargetTest
Change-Id: I78efd095e0b86f8a8568c8d74d946fd8436f6e65
1) Removes HAT param from fingerprint AIDL
2) Update documentation for fingerprint and face AIDL
Fixes: 173432893
Test: m android.hardware.biometrics.face-update-api
Test: m android.hardware.biometrics.fingerprint-service.example
Change-Id: I9c5e219c6f7a59609b6ff9d692f5a931f4bcea24
Fixes: 168541000
Test: m android.hardware.biometrics.face-update-api
Test: m android.hardware.biometrics.face-service.example
Change-Id: I664fe1f641e09217b27aef232e39ba7d6fa1e171
1) Explicit numbering for Error enum, which contains intentionally
skipped entries for backwards compatibility
2) Documentation for vendorCode. The vendorCodes must have a well
defined behavior with the array API for things like GSI to work,
e.g. generic system image with non-generic HAL implementation -
with this explicit requirement, both components, as long as the
contract is followed, would allow proper string feedback to be
loaded/shown.
Bug: 168843220
Test: Builds
Change-Id: Ie78e42b926351a03162a4a6e40f3325641c34609
Also fixes backward compatibility for AcquiredInfo and Error
constants.
For lockout-related changes:
1) If a session doesn't exist, it means the framework (or higher)
doesn't care about its lockout state.
2) This allows the ISession#authenticate lifecycle to be clearer,
e.g. no need for ILockoutCallback#onLockoutTimed followed by
ISessionCallback#onError(LOCKOUT)
Bug: 168842956
Bug: 168843220
Test: make -j android.hardware.biometrics.fingerprint-update-api
Test: make -j
Test: make -j VtsHalBiometricsFingerprintTargetTest
Change-Id: I0b7e7ab3b89d0d1d7647535af07766c493a2067b
Note that this doesn't mean documentation is done, it just means that
previously undocumented areas now at least have some documentation.
Bug: 168843220
Test: Builds
Change-Id: I92db9b228d46b3925d3f7ae56698f7c52a0ae1bf
1) Removes vendorCode from onEnrollmentProgress. This is already
being sent in ISessionCallback#onAcquired
2) Adds missing SessionState::INVALIDATING_AUTHENTICATOR_ID state
Test: make -j56 android.hardware.biometrics.fingerprint-update-api
Test: make -j56 VtsHalBiometricsFingerprintTargetTest
Test: make -j56
Change-Id: I246153339b336c029c9f156868127456aecf1a04
1) Split into onAuthenticationSucceeded and onAuthenticaitonFailed.
No longer need to use "weird behavior" below:
A) authenticated(id=0) == reject
B) onEnrolled(id=0) --> previously forbidden
C) remove(id=0) --> previously magic number to remove all
enrollments. The new interface has remove(int[] ids).
2) Renames keystoreOperationId to operationId, since keystore
is only one example of a valid use case. operationId and HATs
can be used as attestation for any opaque operation.
Bug: 168842956
Bug: 168843220
Test: make -j56 android.hardware.biometrics.fingerprint-update-api
Test: make -j56 VtsHalBiometricsFingerprintTargetTest
Change-Id: I7ca0365be9cf82539d6cabc6d9fcec916badc323
Minor changes to interface:
1) IResetLockoutCallback renamed to ILockoutCallback
2) Removes unnecessary parameter from onChallengeGenerated
3) Adds "challenge" param to revokeChallenge to support multiple
in-flight challenges
Bug: 168842956
Bug: 168843220
Test: make -j56 android.hardware.biometrics.fingerprint-update-api
Test: make -j
Test: make -j56 VtsHalBiometricsFingerprintTargetTest
Change-Id: If1f63a6d0c135d7b59690a31728b4d3fc8c2d2c4