Jarjar ike-tests and change test code's package

Convert IKE as part of SDK will cause two problems in unit tests:
- Adding IKE API stubs to android SDK stub will results in the API
  stubs overshadowing the IKE sources during compile time. As the
  result, unit tests will fail to compile with errors in finding
  non-API symbols
- Putting IKE in BCP will prevent unit test code from accessing
  package protected symbols in IKE. Because the IKE jar in BCP gets
  higher priority than the ike_test jar loaded by the unit test
  application class loader, and thus causing the test code and
  production code loaded by two different class loaders. When
  test code is loaded by a different class loader, if it has the
  same package name with the production code, it cannot access any
  package protected items in the production code.

Two solve this two problems, this CL:
- jarjar ike_test to change it's package
- also changes test package according to the jarjared library package

There will be a followup CL to fix the CTS tests

Bug: 177266501
Test: FrameworksIkeTests, verified with aosp/1573066(Allow IKE in BCP)
Change-Id: I8c4ee5fc883198af768ce0787bb15385eea91632
161 files changed
tree: 069e888e61403171fa1a8090d3c993d32e95744d
  1. Android.bp
  3. PREUPLOAD.cfg
  4. README.md
  6. apex/
  7. api/
  8. jarjar-rules-shared.txt
  9. jarjar-rules-test.txt
  10. src/
  11. tests/

IKEv2 Library for Android


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.