Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dce4df8a authored by evitayan's avatar evitayan Committed by Benedict Wong
Browse files

Expose IKE module API: IkeManager and IkeSession

This commit updates system-current to expose IkeManager
and IkeSession

Bug: 143983419
Test: make update-api && make
Change-Id: Id1542a902aaa6c5da58bedea12f748586a41f9d1
parent 39202c84
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -4389,6 +4389,14 @@ package android.net.ipsec.ike {
    method @NonNull public android.net.ipsec.ike.IkeSaProposal build();
  }
  public final class IkeSession implements java.lang.AutoCloseable {
    ctor public IkeSession(@NonNull android.content.Context, @NonNull android.net.ipsec.ike.IkeSessionOptions, @NonNull android.net.ipsec.ike.ChildSessionOptions, @NonNull java.util.concurrent.Executor, @NonNull android.net.ipsec.ike.IkeSessionCallback, @NonNull android.net.ipsec.ike.ChildSessionCallback);
    method public void close();
    method public void closeChildSession(@NonNull android.net.ipsec.ike.ChildSessionCallback);
    method public void kill();
    method public void openChildSession(@NonNull android.net.ipsec.ike.ChildSessionOptions, @NonNull android.net.ipsec.ike.ChildSessionCallback);
  }
  public interface IkeSessionCallback {
    method public void onClosed();
    method public void onClosedExceptionally(@NonNull android.net.ipsec.ike.exceptions.IkeException);