Home
last modified time | relevance | path

Searched refs:testNetwork (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DTestNetworkRunnable.java99 final Network testNetwork = tunNetworkCallback.currentNetwork; in runTest() local
100 if (testNetwork != null) { in runTest()
101 tnm.teardownTestNetwork(testNetwork); in runTest()
DIpSecAlgorithmImplTest.java137 final Network testNetwork = tunNetworkCallback.currentNetwork; in runTest() local
171 testNetwork.bindSocket(localSocket); in runTest()
DConnectivityManagerTest.java2440 Network testNetwork = null;
2457 testNetwork = callback.getLastAvailableNetwork();
2458 assertNotNull(testNetwork);
2469 final NetworkCapabilities nc = mCm.getNetworkCapabilities(testNetwork);
2473 final Network n = testNetwork;
2843 final Network testNetwork = tnt.getNetwork();
2849 waitForAvailable(defaultCallback, testNetwork);
2855 cb -> testNetwork.equals(cb.getNetwork()));
DIpSecManagerTunnelTest.java1106 Network testNetwork = testNetworkCb.currentNetwork;
1140 testNetwork,
1151 sTNM.teardownTestNetwork(testNetwork);
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DConnectivityMonitorWithConnectivityManagerTests.java117 final Network testNetwork = mock(Network.class); in testIntentFired_shouldNotifyListener() local
120 callback.onAvailable(testNetwork); in testIntentFired_shouldNotifyListener()
124 callback.onLost(testNetwork); in testIntentFired_shouldNotifyListener()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java2294 WifiConfiguration testNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testUpdateScanDetailForNetwork() local
2295 NetworkUpdateResult result = verifyAddNetworkToWifiConfigManager(testNetwork); in testUpdateScanDetailForNetwork()
2298 ScanDetail scanDetail = createScanDetailForNetwork(testNetwork); in testUpdateScanDetailForNetwork()
2318 WifiConfiguration testNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testUpdateScanDetailCacheFromScanDetail() local
2319 NetworkUpdateResult result = verifyAddNetworkToWifiConfigManager(testNetwork); in testUpdateScanDetailCacheFromScanDetail()
2322 ScanDetail scanDetail = createScanDetailForNetwork(testNetwork); in testUpdateScanDetailCacheFromScanDetail()
6468 WifiConfiguration testNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testFindScanRssiRecentScan() local
6469 NetworkUpdateResult result = verifyAddNetworkToWifiConfigManager(testNetwork); in testFindScanRssiRecentScan()
6472 ScanDetail scanDetail = createScanDetailForNetwork(testNetwork, TEST_BSSID, in testFindScanRssiRecentScan()
6487 WifiConfiguration testNetwork = WifiConfigurationTestUtil.createOpenNetwork(); in testFindScanRssiOldScan() local
[all …]
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java1970 final Network testNetwork = callback.waitForAvailable(); in doTestDropPacketToVpnAddress() local
1971 assertNotNull(testNetwork); in doTestDropPacketToVpnAddress()
1999 .teardownTestNetwork(testNetwork); in doTestDropPacketToVpnAddress()