Child Session API changes in configuring and retrieving internal address

This commit:
- creates separate methods for requesting IPv4 and IPv6 internal
  addresses
- disallows user to request internal subnet
- disallows user to request specific inter DNS and DHCP server
- uses IpPrefix to represent subnet in ChildSessionConfiguration
- adds null value check in building ChildSessionParams
- updates doc for TS negotiation
- removes or modifies unit tests corresponding to changed APIs

Bug: 145453636
Bug: 145454043
Bug: 145451419
Bug: 145454818
Bug: 130756765
Test: atest FrameworksIkeTests(all passed)
Change-Id: Ie36168262802816f3350ba65166ecbc0e4a7b2b7
6 files changed
tree: 508208adc625c986f150aff0080ece7b56e3c7df
  1. apex/
  2. src/
  3. tests/
  4. Android.bp
  5. jarjar-bouncycastle-ike-digests.txt
  6. OWNERS
  7. PREUPLOAD.cfg
  8. README.md
  9. 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.