Create callback executor function to guard against exceptions

This change adds a callback executor function in the
AbstractSessionStateMachine superclass to ensure that no executed
callbacks will ever throw an uncaught exception, which could crash the
caller's process (eg System Server for VPNs)

Bug: 153579427
Test: FrameworksIkeTests passing
Change-Id: I206b62002a86c2f2ea3b0191ee520e8675ae0722
3 files changed
tree: 09fa072e1bb77bbe7bf1e830de99de6418796b40
  1. apex/
  2. api/
  3. src/
  4. tests/
  5. Android.bp
  6. jarjar-rules-shared.txt
  7. OWNERS
  8. PREUPLOAD.cfg
  9. README.md
  10. 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.