Home
last modified time | relevance | path

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

/packages/modules/Connectivity/framework/src/android/net/
DTestNetworkManager.java154 public TestNetworkInterface createTunInterface(@NonNull LinkAddress[] linkAddrs) { in createTunInterface() method in TestNetworkManager
155 return createTunInterface(Arrays.asList(linkAddrs)); in createTunInterface()
169 public TestNetworkInterface createTunInterface(@NonNull Collection<LinkAddress> linkAddrs) { in createTunInterface() method in TestNetworkManager
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DPacketBridge.kt53 private val internalIface = tnm.createTunInterface(addresses)
55 private val externalIface = tnm.createTunInterface(addresses)
DTestNetworkTracker.kt95 val iface = if (isAtLeastS()) tnm.createTunInterface(linkAddrs) in initTestNetwork()
96 else tnm.createTunInterface(linkAddrs.toTypedArray()) in initTestNetwork()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DTestNetworkRunnable.java81 testIface = tnm.createTunInterface(linkAddresses); in runTest()
DRateLimitTest.java142 mTunInterface = mNetworkManager.createTunInterface(Arrays.asList(LOCAL_IP4_ADDR)); in setUp()
DNetworkAgentTest.kt384 private fun createTunInterface(): TestNetworkInterface = realContext.getSystemService( in createTunInterface() method
385 TestNetworkManager::class.java)!!.createTunInterface(emptyList()).also { in createTunInterface()
1698 val iface = createTunInterface() in doTestNativeNetworkCreation()
DConnectivityDiagnosticsManagerTest.java505 final TestNetworkInterface tni = tnm.createTunInterface(new LinkAddress[0]); in setUpTestNetwork()
DIpSecManagerTunnelTest.java200 final TestNetworkInterface testIface = sTNM.createTunInterface(linkAddresses); in TunNetworkWrapper()
DConnectivityManagerTest.java2420 tnm.createTunInterface(new LinkAddress[]{TEST_LINKADDR}),
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DClatCoordinatorTest.java198 public int createTunInterface(@NonNull String tuniface) throws IOException { in createTunInterface() method in ClatCoordinatorTest.TestDependencies
439 inOrder.verify(mDeps).createTunInterface(eq(STACKED_IFACE)); in testStartStopClatd()
631 public int createTunInterface(@NonNull String tuniface) throws IOException { in testNotStartClatWithNativeFailureCreateTunInterface() method in ClatCoordinatorTest.FailureDependencies
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeTestNetworkBase.java96 ? sTNM.createTunInterface(Arrays.asList(linkAddresses)) in TunNetworkContext()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DClatCoordinator.java173 public int createTunInterface(@NonNull String tuniface) throws IOException { in createTunInterface() method in ClatCoordinator.Dependencies
639 tunFd = mDeps.adoptFd(mDeps.createTunInterface(tunIface)); in clatStart()
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DTunInterfaceController.java103 public void createTunInterface() throws IOException { in createTunInterface() method in TunInterfaceController
DThreadNetworkControllerService.java409 mTunIfController.createTunInterface(); in initialize()
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/
DThreadNetworkControllerServiceTest.java234 verify(mMockTunIfController, times(1)).createTunInterface(); in initialize_tunInterfaceAndNsdPublisherSetToOtDaemon()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java1838 final TestNetworkInterface iface = tnm.createTunInterface(List.of( in testBlockIncomingPackets()
1966 final TestNetworkInterface iface = tnm.createTunInterface(linkAddresses); in doTestDropPacketToVpnAddress()
/packages/modules/Connectivity/framework/api/
Dmodule-lib-current.txt222 …sion.MANAGE_TEST_NETWORKS) public android.net.TestNetworkInterface createTunInterface(@NonNull jav…