Home
last modified time | relevance | path

Searched refs:EthernetNetworkSpecifier (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DEthernetNetworkSpecifierTest.java23 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()
DEthernetManagerTest.kt36 import android.net.EthernetNetworkSpecifier in <lambda>()
522 .setNetworkSpecifier(EthernetNetworkSpecifier(ifaceName)).build() in <lambda>()
536 expect<CapabilitiesChanged> { it.caps.networkSpecifier == EthernetNetworkSpecifier(name) } in <lambda>()
DNetworkAgentTest.kt26 import android.net.EthernetNetworkSpecifier in <lambda>()
645 TRANSPORT_ETHERNET in transports -> EthernetNetworkSpecifier("testInterface") in doTestAllowedUidsWithSubId()
1657 assertTrue(wifiSpecifier is EthernetNetworkSpecifier) in testUnregisterAfterReplacement()
/packages/modules/Connectivity/framework-t/src/android/net/
DEthernetNetworkSpecifier.java30 public final class EthernetNetworkSpecifier extends NetworkSpecifier implements Parcelable { class
42 public EthernetNetworkSpecifier(@NonNull String interfaceName) { in EthernetNetworkSpecifier() method in EthernetNetworkSpecifier
67 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];
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/
DEthernetServiceImpl.java27 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()
DEthernetNetworkFactory.java24 import android.net.EthernetNetworkSpecifier;
156 .setNetworkSpecifier(new EthernetNetworkSpecifier(ifaceName)) in addInterface()
/packages/services/Car/tests/RailwayReferenceApp/src/com/google/android/car/networking/railway/
DConfigurationUpdater.java23 import android.net.EthernetNetworkSpecifier;
88 .setNetworkSpecifier(new EthernetNetworkSpecifier(iface)); in getCapabilities()
DMainActivity.java24 import android.net.EthernetNetworkSpecifier;
187 new EthernetNetworkSpecifier(getEnableDisableConnectIface())); in onConnectButtonClick()
247 void checkNetworkConnectionAvailable(EthernetNetworkSpecifier specifier) { in checkNetworkConnectionAvailable()
/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/
DEthernetServiceImplTest.java40 import android.net.EthernetNetworkSpecifier;
65 .setNetworkSpecifier(new EthernetNetworkSpecifier(TEST_IFACE))
198 new EthernetNetworkSpecifier(ifaceOnSpecifier)) in testUpdateConfigurationRejectsWithInvalidSpecifierName()
303 .setNetworkSpecifier(new EthernetNetworkSpecifier(TEST_IFACE)); in testUpdateConfigurationAddsSpecifierWhenNotSet()
DEthernetNetworkFactoryTest.java39 import android.net.EthernetNetworkSpecifier;
276 new EthernetNetworkSpecifier(iface), ncCaptor.getValue().getNetworkSpecifier()); in createAndVerifyProvisionedInterface()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DMultipathPolicyTrackerTest.java52 import android.net.EthernetNetworkSpecifier;
266 .setNetworkSpecifier(new EthernetNetworkSpecifier("eth234")); in prepareGetMultipathPreferenceTest()
/packages/modules/Connectivity/framework-t/api/
Dcurrent.txt64 …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;
/packages/modules/Connectivity/framework/src/android/net/
DNetworkRequest.java537 return setNetworkSpecifier(new EthernetNetworkSpecifier(networkSpecifier)); in setNetworkSpecifier()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java291 import android.net.EthernetNetworkSpecifier;
17851 .setNetworkSpecifier(new EthernetNetworkSpecifier("foobar"))