Merge "Making EthernetNetworkSpecifier public" am: d13094cef4 am: ac80eedcdf
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1971181 Change-Id: I24f579d2d446272a1cf60dcb5f509e051b9aeb15
This commit is contained in:
@@ -25199,6 +25199,14 @@ package android.net {
|
||||
method public int getUid();
|
||||
}
|
||||
|
||||
public final class EthernetNetworkSpecifier extends android.net.NetworkSpecifier implements android.os.Parcelable {
|
||||
ctor public EthernetNetworkSpecifier(@NonNull String);
|
||||
method public int describeContents();
|
||||
method @Nullable public String getInterfaceName();
|
||||
method public void writeToParcel(@NonNull android.os.Parcel, int);
|
||||
field @NonNull public static final android.os.Parcelable.Creator<android.net.EthernetNetworkSpecifier> CREATOR;
|
||||
}
|
||||
|
||||
public final class Ikev2VpnProfile extends android.net.PlatformVpnProfile {
|
||||
method @NonNull public java.util.List<java.lang.String> getAllowedAlgorithms();
|
||||
method public int getMaxMtu();
|
||||
|
||||
@@ -218,14 +218,6 @@ package android.media.session {
|
||||
|
||||
package android.net {
|
||||
|
||||
public final class EthernetNetworkSpecifier extends android.net.NetworkSpecifier implements android.os.Parcelable {
|
||||
ctor public EthernetNetworkSpecifier(@NonNull String);
|
||||
method public int describeContents();
|
||||
method @Nullable public String getInterfaceName();
|
||||
method public void writeToParcel(@NonNull android.os.Parcel, int);
|
||||
field @NonNull public static final android.os.Parcelable.Creator<android.net.EthernetNetworkSpecifier> CREATOR;
|
||||
}
|
||||
|
||||
public class LocalSocket implements java.io.Closeable {
|
||||
ctor public LocalSocket(@NonNull java.io.FileDescriptor);
|
||||
}
|
||||
|
||||
@@ -18,7 +18,6 @@ package android.net;
|
||||
|
||||
import android.annotation.NonNull;
|
||||
import android.annotation.Nullable;
|
||||
import android.annotation.SystemApi;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.text.TextUtils;
|
||||
@@ -29,9 +28,7 @@ import java.util.Objects;
|
||||
* A {@link NetworkSpecifier} used to identify ethernet interfaces.
|
||||
*
|
||||
* @see EthernetManager
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)
|
||||
public final class EthernetNetworkSpecifier extends NetworkSpecifier implements Parcelable {
|
||||
|
||||
/**
|
||||
@@ -61,6 +58,7 @@ public final class EthernetNetworkSpecifier extends NetworkSpecifier implements
|
||||
return mInterfaceName;
|
||||
}
|
||||
|
||||
/** @hide */
|
||||
@Override
|
||||
public boolean canBeSatisfiedBy(@Nullable NetworkSpecifier other) {
|
||||
return equals(other);
|
||||
|
||||
Reference in New Issue
Block a user