Add unit tests for the liveness checks related functions.
Add unit tests for a new liveness check API.
- Test for requests a liveness check. Depending on whether the
IkeSession has a running task at the time of the request, it can
execute on demand DPD or join to running task.
- Test for status callback for a liveness check. Status callbacks
are tested for the start and result of liveness check.
- Test for retransmission timeouts for a liveness check. The on-
demand DPD task is tested for a dedicated retransmission timeout.
Bug: 302244230
Test: atest FrameworksIkeTests CtsIkeTestCases
Change-Id: I358f29f23b62a09f5c7e90e2390a86aa863ab67e
3 files changed