Commit Graph

2 Commits

Author SHA1 Message Date
Henri Chataing
ec9331c232 Extend the default implementation of the secure element AIDL interface
- 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
2023-01-04 14:54:14 +00:00
Steven Moreland
6fe6954dd4 secure-element to AIDL
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
2022-11-24 01:24:13 +00:00