Add CTS for the liveness checks related functions.

- Test liveness check requests and status callbacks.
Added cts test cases for the newly added liveness check APIs. When
requesting a liveness check for an IkeSession, status callbacks are
notified to the client about the start and result of liveness.
- Test retransmission timeout for liveness purposes for the newly
added on-demand DPD state.
Added cts test cases to test if the on-demand DPD state transmits
packets using the liveness retransmission timeouts and expires.

Bug: 302244230
Test: atest FrameworksIkeTests CtsIkeTestCases
Change-Id: I8f91a694b7d04b133b60d0e2be5498f0cb94ce65
3 files changed
tree: a9c32fb1da89e4c057cc1ca53293e5df734c5d7f
  1. apex/
  2. api/
  3. src/
  4. tests/
  5. Android.bp
  6. jarjar-rules-shared.txt
  7. jarjar-rules-test.txt
  8. lint-baseline.xml
  9. OWNERS
  10. PREUPLOAD.cfg
  11. README.md
  12. TEST_MAPPING
README.md

IKEv2 Library for Android

Introduction

This IKEv2 library is an in-process client library implementing the IKEv2 protocol as well as extensions necessary for the support of IWLAN. It is designed to work in a non-privileged fashion on top of the Android IPsec API surface.