This bundles the default implementation used by the cuttlefish.
Bug: 300011111
Test: VtsHalSecureElementTargetTest
Change-Id: Ib723fcbb6748675f6dae2449aad5a71a54cce594
The AIDL interface states that closeChannel must return FAILED
if the channel is not opened. The default AIDL implementation
did not respect this requirement either.
Bug: 266384111
Test: m VtsHalSecureElementTargetTest
Change-Id: I3e7142e6bbeb9d79cea2c109689da59c0615167a
Add missing checks for the proper use of init() interface.
Test correct channel management.
Test: atest VtsHalSecureElementTargetTest
Bug: 123254068
Change-Id: I411b070aa1a3e1d4fb4ac38d004a1cfc81e86023
- Improved channel managemenent to report accurate errors
to OpenBasicChannel, OpenLogicalChannel, CloseChannel
- Minimal Applet emulation to report accurate responses
to transmit. Embed the implementation for the
CtsAndroidOmapi test Applet to pass the CTS verifier
tests
Test: CTS
Bug: 123254068
Change-Id: I7f28ab495f6b510d574aa52a6ebc5f877135f516
Bug: 205762050
Test: atest VtsHalSecureElementTargetTest (8/8 passed)
Test: atest CtsOmapiTestCases
- all tests pass except testStatusWordTransmit,
testTransmitApdu, and testSelectNext. This is because
these tests don't increase coverage of the HAL API
except they call 'transmit' several times. Doing a full
mock OMAPI/APDU implementation for cuttlefish/AOSP is
tracked in b/123254068
Change-Id: I0ec0eb08fbcc4207d8c07427ccdf7ff106995627