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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user