Home
last modified time | relevance | path

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

/packages/modules/Connectivity/framework/src/android/net/
DTestNetworkInterface.java30 public final class TestNetworkInterface implements Parcelable { class
47 public TestNetworkInterface(@NonNull ParcelFileDescriptor pfd, @NonNull String intf) { in TestNetworkInterface() method in TestNetworkInterface
52 private TestNetworkInterface(@NonNull Parcel in) { in TestNetworkInterface() method in TestNetworkInterface
68 public static final Parcelable.Creator<TestNetworkInterface> CREATOR =
69 new Parcelable.Creator<TestNetworkInterface>() {
70 public TestNetworkInterface createFromParcel(Parcel in) {
71 return new TestNetworkInterface(in);
74 public TestNetworkInterface[] newArray(int size) {
75 return new TestNetworkInterface[size];
DITestNetworkManager.aidl21 import android.net.TestNetworkInterface;
32 TestNetworkInterface createTunInterface(in LinkAddress[] linkAddrs); in createTunInterface()
33 TestNetworkInterface createTapInterface(); in createTapInterface()
DTestNetworkManager.java140 public TestNetworkInterface createTunInterface(@NonNull LinkAddress[] linkAddrs) { in createTunInterface()
155 public TestNetworkInterface createTunInterface(@NonNull Collection<LinkAddress> linkAddrs) { in createTunInterface()
174 public TestNetworkInterface createTapInterface() { in createTapInterface()
/packages/modules/Connectivity/service/src/com/android/server/
DTestNetworkService.java36 import android.net.TestNetworkInterface;
107 private TestNetworkInterface createInterface(boolean isTun, LinkAddress[] linkAddrs) { in createInterface()
127 return new TestNetworkInterface(tunIntf, iface); in createInterface()
142 public TestNetworkInterface createTunInterface(@NonNull LinkAddress[] linkAddrs) { in createTunInterface()
153 public TestNetworkInterface createTapInterface() { in createTapInterface()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DTestNetworkRunnable.java28 import android.net.TestNetworkInterface;
64 TestNetworkInterface testIface = null; in runTest()
121 void runTest(TestNetworkInterface testIface, TestNetworkCallback tunNetworkCallback) in runTest()
DConnectivityDiagnosticsManagerTest.java64 import android.net.TestNetworkInterface;
456 private TestNetworkInterface setUpTestNetwork() throws Exception { in setUpTestNetwork()
462 final TestNetworkInterface tni = tnm.createTunInterface(new LinkAddress[0]); in setUpTestNetwork()
DNetworkValidationTest.kt31 import android.net.TestNetworkInterface
103 private lateinit var iface: TestNetworkInterface
DIpSecAlgorithmImplTest.java56 import android.net.TestNetworkInterface;
133 public void runTest(TestNetworkInterface testIface, TestNetworkCallback tunNetworkCallback) in runTest()
DIkev2VpnTest.java46 import android.net.TestNetworkInterface;
453 public void runTest(TestNetworkInterface testIface, TestNetworkCallback tunNetworkCallback) in runTest()
DIpSecManagerTunnelTest.java50 import android.net.TestNetworkInterface;
189 final TestNetworkInterface testIface = sTNM.createTunInterface(linkAddresses); in TunNetworkWrapper()
DConnectivityManagerTest.java130 import android.net.TestNetworkInterface;
2027 final TestNetworkInterface testNetworkInterface = runWithShellPermissionIdentity(() ->
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeTestNetworkBase.java24 import android.net.TestNetworkInterface;
89 final TestNetworkInterface testIface = in TunNetworkContext()
95 : (TestNetworkInterface) in TunNetworkContext()
/packages/modules/Connectivity/Tethering/tests/integration/src/android/net/
DEthernetTetheringTest.java109 private TestNetworkInterface mTestIface;
501 private int getMTU(TestNetworkInterface iface) throws SocketException { in getMTU()
514 private void checkVirtualEthernet(TestNetworkInterface iface, int mtu) throws Exception { in checkVirtualEthernet()
692 private TestNetworkInterface createTestInterface() throws Exception { in createTestInterface()
694 TestNetworkInterface iface = tnm.createTapInterface(); in createTestInterface()
/packages/modules/Connectivity/framework/api/
Dmodule-lib-current.txt138 public final class TestNetworkInterface implements android.os.Parcelable {
139 ctor public TestNetworkInterface(@NonNull android.os.ParcelFileDescriptor, @NonNull String);
144 …onNull public static final android.os.Parcelable.Creator<android.net.TestNetworkInterface> CREATOR;
148 …roid.Manifest.permission.MANAGE_TEST_NETWORKS) public android.net.TestNetworkInterface createTapIn…
149 …roid.Manifest.permission.MANAGE_TEST_NETWORKS) public android.net.TestNetworkInterface createTunIn…
/packages/modules/NetworkStack/tests/integration/src/android/net/util/
DNetworkStackUtilsIntegrationTest.kt24 import android.net.TestNetworkInterface
79 private lateinit var iface: TestNetworkInterface
/packages/modules/Connectivity/framework/aidl-export/android/net/
DTestNetworkInterface.aidl20 parcelable TestNetworkInterface;
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTestCommon.java102 import android.net.TestNetworkInterface;
554 final TestNetworkInterface iface;