Searched refs:EthernetNetworkSpecifier (Results 1 – 14 of 14) sorted by relevance
23 import android.net.EthernetNetworkSpecifier;42 final EthernetNetworkSpecifier ns = new EthernetNetworkSpecifier(iface); in testConstructor()50 () -> new EthernetNetworkSpecifier(null)); in testConstructorWithNullValue()57 () -> new EthernetNetworkSpecifier("")); in testConstructorWithEmptyValue()63 final EthernetNetworkSpecifier nsOne = new EthernetNetworkSpecifier(iface); in testEquals()64 final EthernetNetworkSpecifier nsTwo = new EthernetNetworkSpecifier(iface); in testEquals()72 final EthernetNetworkSpecifier nsOne = new EthernetNetworkSpecifier(iface); in testNotEquals()73 final EthernetNetworkSpecifier nsTwo = new EthernetNetworkSpecifier(ifaceTwo); in testNotEquals()
36 import android.net.EthernetNetworkSpecifier in <lambda>()522 .setNetworkSpecifier(EthernetNetworkSpecifier(ifaceName)).build() in <lambda>()536 expect<CapabilitiesChanged> { it.caps.networkSpecifier == EthernetNetworkSpecifier(name) } in <lambda>()
26 import android.net.EthernetNetworkSpecifier in <lambda>()645 TRANSPORT_ETHERNET in transports -> EthernetNetworkSpecifier("testInterface") in doTestAllowedUidsWithSubId()1657 assertTrue(wifiSpecifier is EthernetNetworkSpecifier) in testUnregisterAfterReplacement()
30 public final class EthernetNetworkSpecifier extends NetworkSpecifier implements Parcelable { class42 public EthernetNetworkSpecifier(@NonNull String interfaceName) { in EthernetNetworkSpecifier() method in EthernetNetworkSpecifier67 if (!(o instanceof EthernetNetworkSpecifier)) return false; in equals()68 return TextUtils.equals(mInterfaceName, ((EthernetNetworkSpecifier) o).mInterfaceName); in equals()91 public static final @NonNull Parcelable.Creator<EthernetNetworkSpecifier> CREATOR =92 new Parcelable.Creator<EthernetNetworkSpecifier>() {93 public EthernetNetworkSpecifier createFromParcel(Parcel in) {94 return new EthernetNetworkSpecifier(in.readString());96 public EthernetNetworkSpecifier[] newArray(int size) {97 return new EthernetNetworkSpecifier[size];
27 import android.net.EthernetNetworkSpecifier;220 nc.setNetworkSpecifier(new EthernetNetworkSpecifier(iface)); in validateOrSetNetworkSpecifier()223 if (!(spec instanceof EthernetNetworkSpecifier)) { in validateOrSetNetworkSpecifier()226 if (!((EthernetNetworkSpecifier) spec).getInterfaceName().matches(iface)) { in validateOrSetNetworkSpecifier()
24 import android.net.EthernetNetworkSpecifier;156 .setNetworkSpecifier(new EthernetNetworkSpecifier(ifaceName)) in addInterface()
23 import android.net.EthernetNetworkSpecifier;88 .setNetworkSpecifier(new EthernetNetworkSpecifier(iface)); in getCapabilities()
24 import android.net.EthernetNetworkSpecifier;187 new EthernetNetworkSpecifier(getEnableDisableConnectIface())); in onConnectButtonClick()247 void checkNetworkConnectionAvailable(EthernetNetworkSpecifier specifier) { in checkNetworkConnectionAvailable()
40 import android.net.EthernetNetworkSpecifier;65 .setNetworkSpecifier(new EthernetNetworkSpecifier(TEST_IFACE))198 new EthernetNetworkSpecifier(ifaceOnSpecifier)) in testUpdateConfigurationRejectsWithInvalidSpecifierName()303 .setNetworkSpecifier(new EthernetNetworkSpecifier(TEST_IFACE)); in testUpdateConfigurationAddsSpecifierWhenNotSet()
39 import android.net.EthernetNetworkSpecifier;276 new EthernetNetworkSpecifier(iface), ncCaptor.getValue().getNetworkSpecifier()); in createAndVerifyProvisionedInterface()
52 import android.net.EthernetNetworkSpecifier;266 .setNetworkSpecifier(new EthernetNetworkSpecifier("eth234")); in prepareGetMultipathPreferenceTest()
64 …public final class EthernetNetworkSpecifier extends android.net.NetworkSpecifier implements androi…65 ctor public EthernetNetworkSpecifier(@NonNull String);69 …ll public static final android.os.Parcelable.Creator<android.net.EthernetNetworkSpecifier> CREATOR;
537 return setNetworkSpecifier(new EthernetNetworkSpecifier(networkSpecifier)); in setNetworkSpecifier()
291 import android.net.EthernetNetworkSpecifier;17851 .setNetworkSpecifier(new EthernetNetworkSpecifier("foobar"))