* changes:
Move lockout callbacks to ISessionCallback
Finish remainder of documentation.
Minor API changes and additional documentation for IFingerprint
Update fingerprint #authenticate interfaces & documentation
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
The access network type can be used to indicate network metered state.
Add access network type support when create access point.
Test: Manual Test, check client scan IE to show correct interworking
value. see: b/137879206#comment14
Test: atest VtsHalWifiHostapdV1_0TargetTest
Test: atest VtsHalWifiHostapdV1_1TargetTest
Test: atest VtsHalWifiHostapdV1_2TargetTest
Bug: 137879206
Change-Id: I74213bd763f865f26781313b00e1b1cfeee93086
In the MediaEvent of AV filters, the AV memory handle is mapped/unmapped on each event.
If the vendor allocates a persistent memory block, and use MediaEvent.offset to access the data,
the mapping change is unnecessary.
To improve this, a new API to get shared AV Memory is introduced.
To pass additional information to Codec2 for AV memory,
the index for Codec2 to setup additional information can be carried in the handle.
Test: atest VtsHalTvTunerV1_1TargetTest
Bug: 162013047
Bug: 157143515
Bug: 156664393
Change-Id: Ibd4471ff8e19b0a99b8bcbc982dc08dbcc92efcf
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
Revert "Change payload type to int32_t for fmq device tests"
Revert submission 1431616-thirtytwo
Reason for revert: This topic broke the aosp_x86-userdebug target. Details at http://b/169077648
Reverted Changes:
If736389eb:Add template parameters to MQDescriptor
Ice9c28c3d:Change HIDL fmq tests to use int32_t for payload
Ia18d8459b:Add template arguments to MQDescriptor for AIDL
I95586cc83:Change payload type to int32_t for fmq device test...
Change-Id: Iaf37a5dca7a915f098e49ecb076c0932eb60e0c3