Expose EapConfig, IkeSessionParams & IkeSession to public
As required by API Council in b/148596690, IKE API should be
public because IKE library runs in the client process and it
is not feasible to restrict the code with permissions. In
addition, VCN also requires part of IKE API to be public for
configuring IKE and Child Sessions.
This CL:
- Keep EapSessionConfig#getEapMsChapV2onfig (missing "C") as
@SystemApi and create another public API with the typo fixed
- Keep #getNetwork and #setNetwork as @SystemApi and add another
setter and getter for caller provided Network
- Add @NonNull to IkeSessionParams#getRetransmissionTimeoutsMillis
- Make all other System APIs in EapSessionConfig, IkeSessionParams and
IkeSession public APIs without any change
- Add @SuppressLint to work around API lint warnings
- Fix typos in documentation
Bug: 151984042
Test: FrameworksIkeTests, CtsIkeTestCases
Change-Id: I03bec2b6d37a602ddd89963c967f402e9e4f8e1b
5 files changed