Changes to make hidl_test_java symmetric (this implementation mirrors
one in system/tools/hidl).
Bug: 168152294
Test: atest hidl_test_java
Change-Id: I29a468d1804ba494bfe5ca59d68b3ab2581eb9b4
aosp/1427815 add invoke terminate function in teardown function.
It will cause Create Test case fail since Create killed global hostapd_
service to re-generate the local one.
Use global hostapd_ to replace local variable to make teardown function
work normally.
Bug: 169248773
Test: atest -c VtsHalWifiHostapdV1_2TargetTest
Test: atest -c VtsHalWifiHostapdV1_1TargetTest
Test: atest -c VtsHalWifiHostapdV1_0TargetTest
Change-Id: I6300a626db76e68873bbc34c489a9a8ee2d55e7a
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
Test: Run the test under an implementation that doesn't support
batteryChargeTimeToFullNowSeconds
Bug: 166841711
Change-Id: I18fb11bb0a2233a9a89183a5f9ecf597e7719172
* changes:
Move lockout callbacks to ISessionCallback
Finish remainder of documentation.
Minor API changes and additional documentation for IFingerprint
Update fingerprint #authenticate interfaces & documentation
On a handover request failure, the modem can now determine
whether or not to fallback. There is also the option to revert
to the legacy logic. Following the legacy logic is the default
behavior.
Test: FrameworkTelephonyTests
Bug: 161572465
Change-Id: Iad778e83ffc264ee25f57f54ff58532d6a8c5cbf
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
VehiclePropValue enums is not sorted by their values. Thus obtaining MIN and MAX values for this enum is O(N), which is the same as looping through all the values and checking whether a given int32_t is in the enum.
Test: Tested with `atest -c android.hardware.automotive.vehicle@2.0-utils-unit-tests`.
Bug: 168249409
Change-Id: I296a56e31caa7a5ee69eac49806810f83e46571e
(cherry picked from commit b7d50b91eb)
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