/packages/modules/Connectivity/framework/src/android/net/ |
D | TestNetworkInterface.java | 38 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];
|
D | TestNetworkManager.java | 154 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()
|
D | ITestNetworkManager.aidl | 21 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/ |
D | TestNetworkRunnable.java | 28 import android.net.TestNetworkInterface; 64 TestNetworkInterface testIface = null; in runTest() 124 void runTest(TestNetworkInterface testIface, TestNetworkCallback tunNetworkCallback) in runTest()
|
D | NsdManagerDownstreamTetheringTest.kt | 20 import android.net.TestNetworkInterface 67 var downstreamIface: TestNetworkInterface? = null in testMdnsDiscoveryCanSendPacketOnLocalOnlyDownstreamTetheringInterface() 110 var downstreamIface: TestNetworkInterface? = null in testMdnsDiscoveryWorkOnTetheringInterface()
|
D | RateLimitTest.java | 48 import android.net.TestNetworkInterface; 102 private TestNetworkInterface mTunInterface; 206 private static void sendPacketsToTunInterfaceForDuration(final TestNetworkInterface iface, in sendPacketsToTunInterfaceForDuration()
|
D | NetworkValidationTest.kt | 30 import android.net.TestNetworkInterface 101 private lateinit var iface: TestNetworkInterface
|
D | IpSecAlgorithmImplTest.java | 56 import android.net.TestNetworkInterface; 133 public void runTest(TestNetworkInterface testIface, TestNetworkCallback tunNetworkCallback) in runTest()
|
D | ConnectivityDiagnosticsManagerTest.java | 64 import android.net.TestNetworkInterface; 499 private TestNetworkInterface setUpTestNetwork() throws Exception { in setUpTestNetwork() 505 final TestNetworkInterface tni = tnm.createTunInterface(new LinkAddress[0]); in setUpTestNetwork()
|
D | Ikev2VpnTest.java | 52 import android.net.TestNetworkInterface; 619 public void runTest(TestNetworkInterface testIface, TestNetworkCallback tunNetworkCallback) in runTest()
|
D | DscpPolicyTest.kt | 45 import android.net.TestNetworkInterface in <lambda>() 136 private lateinit var iface: TestNetworkInterface in <lambda>()
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/ |
D | TestNetworkTracker.kt | 27 import android.net.TestNetworkInterface 110 val iface: TestNetworkInterface, 120 val testIface: TestNetworkInterface
|
D | TapPacketReaderRule.kt | 20 import android.net.TestNetworkInterface 52 lateinit var iface: TestNetworkInterface
|
D | PacketBridge.kt | 27 import android.net.TestNetworkInterface 114 testIface: TestNetworkInterface, in createTestNetwork()
|
D | PacketForwarderBase.java | 28 import android.net.TestNetworkInterface;
|
D | PacketReflector.java | 23 import android.net.TestNetworkInterface;
|
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/ |
D | IkeTestNetworkBase.java | 26 import android.net.TestNetworkInterface; 94 final TestNetworkInterface testIface = in TunNetworkContext() 100 : (TestNetworkInterface) in TunNetworkContext()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | TestNetworkService.java | 37 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/ |
D | EthernetTetheringTestBase.java | 162 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/ |
D | TapTestNetworkTracker.java | 37 import android.net.TestNetworkInterface; 63 private TestNetworkInterface mInterface;
|
/packages/modules/Connectivity/framework/aidl-export/android/net/ |
D | TestNetworkInterface.aidl | 20 parcelable TestNetworkInterface;
|
/packages/modules/Connectivity/Tethering/tests/integration/src/android/net/ |
D | EthernetTetheringTest.java | 162 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/ |
D | module-lib-current.txt | 209 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/ |
D | IntegrationTestUtils.java | 36 import android.net.TestNetworkInterface; 121 TestNetworkInterface testNetworkInterface, Handler handler) { in newPacketReader()
|
/packages/modules/NetworkStack/tests/integration/signature/android/net/util/ |
D | NetworkStackUtilsIntegrationTest.kt | 24 import android.net.TestNetworkInterface 96 private lateinit var iface: TestNetworkInterface
|