Making EthernetNetworkSpecifier public
Bug: 210485380 Test: atest EthernetServiceTests atest CtsNetTestCasesLatestSdk Change-Id: Ic0b7a3360745632eb024a97692e49f6c8dafa3ee Merged-In: Ic0b7a3360745632eb024a97692e49f6c8dafa3ee
This commit is contained in:
parent
d8f74421fb
commit
4e9686f9d8
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user