Create TunnelConnectionParams interface
TunnelConnectionParams represents configurations for setting up a secure encrypted tunnel with a remote endpoint. TunnelConnectionParams will be used to configure a VCN and will be used for VPN configuration in the future. Bug: 180664474 Test: make update-api Change-Id: Ic8e5c8535e84971517f16c54ce8b8645cfc7f944
This commit is contained in:
@@ -25138,6 +25138,9 @@ package android.net {
|
||||
field public static final int UNSUPPORTED = -1; // 0xffffffff
|
||||
}
|
||||
|
||||
public interface TunnelConnectionParams {
|
||||
}
|
||||
|
||||
public abstract class Uri implements java.lang.Comparable<android.net.Uri> android.os.Parcelable {
|
||||
method public abstract android.net.Uri.Builder buildUpon();
|
||||
method public int compareTo(android.net.Uri);
|
||||
|
||||
29
core/java/android/net/TunnelConnectionParams.java
Normal file
29
core/java/android/net/TunnelConnectionParams.java
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* Copyright (C) 2021 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package android.net;
|
||||
|
||||
/**
|
||||
* TunnelConnectionParams represents a configuration to set up a tunnel connection.
|
||||
*
|
||||
* <p>Concrete implementations for a control plane protocol should implement this interface.
|
||||
* Subclasses should be immutable data classes containing connection, authentication and
|
||||
* authorization parameters required to establish a tunnel connection.
|
||||
*
|
||||
* @see android.net.ipsec.ike.IkeTunnelConnectionParams
|
||||
*/
|
||||
// TODO:b/186071626 Remove TunnelConnectionParams when non-updatable API stub can resolve
|
||||
// IkeTunnelConnectionParams
|
||||
public interface TunnelConnectionParams {}
|
||||
Reference in New Issue
Block a user