Fire onIpSecTransformDeleted before onClosed

This commit fixes the IKE library implementation to fire
onIpSecTransformDeleted before onClosed or onClosedWithException
so that the implementation can be aligned with the API doc
of ChildSessionCallback. This commit allows callers to monitor
the "close" callback of Child Session to know the associated
IPsec transforms are closed.

Bug: 159252747
Test: atest FrameworksIkeTests(new tests), CtsIkeTestCases
Change-Id: I0759d1d8424a40e04e8f8e1d91ee9f0548d7ffd1
2 files changed
tree: 58cbf82995a94acef5bb7b0f0c217d8bc7046f8b
  1. apex/
  2. api/
  3. src/
  4. tests/
  5. Android.bp
  6. jarjar-rules-shared.txt
  7. jarjar-rules-test.txt
  8. OWNERS
  9. PREUPLOAD.cfg
  10. README.md
  11. 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.