Support injecting ConnectivityManager to IkeNattKeepalive

This CL makes it easier for unit tests to inject a
mock ConnectivityManager. It also creates method to
reset the invocation history of a mock ConnectivityManager

Bug: 172073025
Test: FrameworksIkeTests, CtsIkeTestCases
Change-Id: Ibac470131204452cb3ed9b93ef68b6f4ad286ce0
5 files changed
tree: 6af7ae8ada3438e1cf3f7124c67563ec4a190bdd
  1. Android.bp
  2. OWNERS
  3. PREUPLOAD.cfg
  4. README.md
  5. TEST_MAPPING
  6. apex/
  7. api/
  8. jarjar-rules-shared.txt
  9. src/
  10. tests/
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.