Move EAP-Method constants to be public API.

This CL moves EAP-Type constants from EapData to EapSessionConfig.
EAP-Type values are currently returned in public API through
EapMethodConfig#getMethodType, but the actual value types are not
exposed so the values are meaningless to callers.

Specifically, this CL moves all EAP-Method constants from
EapData#EAP_TYPE_* to EapSessionConfig.EapMethodConfig#EAP_TYPE_*.

These values will be exposed as public API in a followup CL.

Bug: 154626930
Test: atest FrameworksIkeTests CtsIkeTestCases
Change-Id: I7e4acfe7dbc628a2d11f089ba64341acdd1512fd
36 files changed
tree: e99219fd6beb8cbbe76f2dee8a05864d600d59db
  1. Android.bp
  3. PREUPLOAD.cfg
  6. apex/
  7. api/
  8. jarjar-rules-shared.txt
  9. src/
  10. 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.