Home
last modified time | relevance | path

Searched refs:TestNetworkInterface (Results 1 – 25 of 31) sorted by relevance

12

/packages/modules/Connectivity/framework/src/android/net/
DTestNetworkInterface.java38 public final class TestNetworkInterface implements Parcelable { class
62 public TestNetworkInterface(@NonNull ParcelFileDescriptor pfd, @NonNull String intf) { in TestNetworkInterface() method in TestNetworkInterface
86 private TestNetworkInterface(@NonNull Parcel in) { in TestNetworkInterface() method in TestNetworkInterface
127 public static final Parcelable.Creator<TestNetworkInterface> CREATOR =
128 new Parcelable.Creator<TestNetworkInterface>() {
129 public TestNetworkInterface createFromParcel(Parcel in) {
130 return new TestNetworkInterface(in);
133 public TestNetworkInterface[] newArray(int size) {
134 return new TestNetworkInterface[size];
DTestNetworkManager.java154 public TestNetworkInterface createTunInterface(@NonNull LinkAddress[] linkAddrs) { in createTunInterface()
169 public TestNetworkInterface createTunInterface(@NonNull Collection<LinkAddress> linkAddrs) { in createTunInterface()
189 public TestNetworkInterface createTapInterface() { in createTapInterface()
208 public TestNetworkInterface createTapInterface(@NonNull LinkAddress[] linkAddrs) { in createTapInterface()
228 public TestNetworkInterface createTapInterface(boolean bringUp) { in createTapInterface()
251 public TestNetworkInterface createTapInterface(boolean bringUp, @NonNull String iface) { in createTapInterface()
271 public TestNetworkInterface createTapInterface(boolean carrierUp, boolean bringUp) { in createTapInterface()
292 public TestNetworkInterface createTapInterface(boolean carrierUp, boolean bringUp, in createTapInterface()
313 public TestNetworkInterface createTapInterface(boolean disableIpv6ProvisioningDelay, in createTapInterface()
333 public void setCarrierEnabled(@NonNull TestNetworkInterface iface, boolean enabled) { in setCarrierEnabled()
DITestNetworkManager.aidl21 import android.net.TestNetworkInterface;
32 TestNetworkInterface createInterface(boolean isTun, boolean hasCarrier, boolean bringUp, in createInterface()
36 void setCarrierEnabled(in TestNetworkInterface iface, boolean enabled); in setCarrierEnabled()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DTestNetworkRunnable.java28 import android.net.TestNetworkInterface;
64 TestNetworkInterface testIface = null; in runTest()
124 void runTest(TestNetworkInterface testIface, TestNetworkCallback tunNetworkCallback) in runTest()
DNsdManagerDownstreamTetheringTest.kt20 import android.net.TestNetworkInterface
67 var downstreamIface: TestNetworkInterface? = null in testMdnsDiscoveryCanSendPacketOnLocalOnlyDownstreamTetheringInterface()
110 var downstreamIface: TestNetworkInterface? = null in testMdnsDiscoveryWorkOnTetheringInterface()
DRateLimitTest.java48 import android.net.TestNetworkInterface;
102 private TestNetworkInterface mTunInterface;
206 private static void sendPacketsToTunInterfaceForDuration(final TestNetworkInterface iface, in sendPacketsToTunInterfaceForDuration()
DNetworkValidationTest.kt30 import android.net.TestNetworkInterface
101 private lateinit var iface: TestNetworkInterface
DIpSecAlgorithmImplTest.java56 import android.net.TestNetworkInterface;
133 public void runTest(TestNetworkInterface testIface, TestNetworkCallback tunNetworkCallback) in runTest()
DConnectivityDiagnosticsManagerTest.java64 import android.net.TestNetworkInterface;
499 private TestNetworkInterface setUpTestNetwork() throws Exception { in setUpTestNetwork()
505 final TestNetworkInterface tni = tnm.createTunInterface(new LinkAddress[0]); in setUpTestNetwork()
DIkev2VpnTest.java52 import android.net.TestNetworkInterface;
619 public void runTest(TestNetworkInterface testIface, TestNetworkCallback tunNetworkCallback) in runTest()
DDscpPolicyTest.kt45 import android.net.TestNetworkInterface in <lambda>()
136 private lateinit var iface: TestNetworkInterface in <lambda>()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DTestNetworkTracker.kt27 import android.net.TestNetworkInterface
110 val iface: TestNetworkInterface,
120 val testIface: TestNetworkInterface
DTapPacketReaderRule.kt20 import android.net.TestNetworkInterface
52 lateinit var iface: TestNetworkInterface
DPacketBridge.kt27 import android.net.TestNetworkInterface
114 testIface: TestNetworkInterface, in createTestNetwork()
DPacketForwarderBase.java28 import android.net.TestNetworkInterface;
DPacketReflector.java23 import android.net.TestNetworkInterface;
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeTestNetworkBase.java26 import android.net.TestNetworkInterface;
94 final TestNetworkInterface testIface = in TunNetworkContext()
100 : (TestNetworkInterface) in TunNetworkContext()
/packages/modules/Connectivity/service/src/com/android/server/
DTestNetworkService.java37 import android.net.TestNetworkInterface;
123 public TestNetworkInterface createInterface(boolean isTun, boolean hasCarrier, boolean bringUp, in createInterface()
166 return new TestNetworkInterface(tunIntf, interfaceName); in createInterface()
404 public void setCarrierEnabled(@NonNull TestNetworkInterface iface, boolean enabled) { in setCarrierEnabled()
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/
DEthernetTetheringTestBase.java162 private TestNetworkInterface mDownstreamIface;
197 protected static void maybeCloseTestInterface(final TestNetworkInterface testInterface) in maybeCloseTestInterface()
586 protected int getMTU(TestNetworkInterface iface) throws SocketException { in getMTU()
592 protected TapPacketReader makePacketReader(final TestNetworkInterface iface) throws Exception { in makePacketReader()
644 protected static TestNetworkInterface createTestInterface() throws Exception { in createTestInterface()
647 TestNetworkInterface iface = runAsShell(MANAGE_TEST_NETWORKS, () -> in createTestInterface()
/packages/modules/Connectivity/thread/tests/utils/src/android/net/thread/utils/
DTapTestNetworkTracker.java37 import android.net.TestNetworkInterface;
63 private TestNetworkInterface mInterface;
/packages/modules/Connectivity/framework/aidl-export/android/net/
DTestNetworkInterface.aidl20 parcelable TestNetworkInterface;
/packages/modules/Connectivity/Tethering/tests/integration/src/android/net/
DEthernetTetheringTest.java162 TestNetworkInterface testIface = null; in setUpOnce()
188 TestNetworkInterface downstreamIface = null; in testVirtualEthernetAlreadyExists()
230 TestNetworkInterface downstreamIface = null; in testVirtualEthernet()
260 TestNetworkInterface downstreamIface = null; in testStaticIpv4()
334 TestNetworkInterface downstreamIface = null; in testLocalOnlyTethering()
/packages/modules/Connectivity/framework/api/
Dmodule-lib-current.txt209 public final class TestNetworkInterface implements android.os.Parcelable {
210 ctor public TestNetworkInterface(@NonNull android.os.ParcelFileDescriptor, @NonNull String);
217 …onNull public static final android.os.Parcelable.Creator<android.net.TestNetworkInterface> CREATOR;
221 …roid.Manifest.permission.MANAGE_TEST_NETWORKS) public android.net.TestNetworkInterface createTapIn…
222 …roid.Manifest.permission.MANAGE_TEST_NETWORKS) public android.net.TestNetworkInterface createTunIn…
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/utils/
DIntegrationTestUtils.java36 import android.net.TestNetworkInterface;
121 TestNetworkInterface testNetworkInterface, Handler handler) { in newPacketReader()
/packages/modules/NetworkStack/tests/integration/signature/android/net/util/
DNetworkStackUtilsIntegrationTest.kt24 import android.net.TestNetworkInterface
96 private lateinit var iface: TestNetworkInterface

12