Home
last modified time | relevance | path

Searched refs:addNetwork (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiClientTest.java121 int netId = mWifiManager.addNetwork(config); in testAddRemoveNetwork()
158 int netId = mWifiManager.addNetwork(config); in testEnableDisableNetwork()
208 int netId = mWifiManager.addNetwork(config); in testSaveConfig()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuNetworkConnectionTest.java95 when(mWifiManager.addNetwork(any(WifiConfiguration.class))).thenReturn(TEST_NETWORK_ID); in setUp()
187 when(mWifiManager.addNetwork(any(WifiConfiguration.class))).thenReturn(-1); in verifyNetworkConnectionWhenAddNetworkFails()
317 verify(mWifiManager, times(1)).addNetwork(wifiConfigurationCaptor.capture()); in verifyWifiConfigurationForOsuNetwork()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuNetworkConnection.java199 mNetworkId = mWifiManager.addNetwork(config); in connect()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaIfaceHalTest.java682 .addNetwork(any(ISupplicantStaIface.addNetworkCallback.class)); in testConnectToNetworkWithDifferentConfigReplacesNetworkInSupplicant()
696 .addNetwork(any(ISupplicantStaIface.addNetworkCallback.class)); in connectToNetworkWithSameNetworkDoesNotRemoveNetworkFromSupplicant()
718 .addNetwork(any(ISupplicantStaIface.addNetworkCallback.class)); in connectToNetworkWithSameNetworkButDifferentBssidUpdatesNetworkFromSupplicant()
733 }).when(mISupplicantStaIfaceMock).addNetwork( in testConnectFailureDueToNetworkAddFailure()
2265 }).when(mISupplicantStaIfaceMock).addNetwork( in setupMocksForConnectSequence()
2281 .addNetwork(any(ISupplicantStaIface.addNetworkCallback.class)); in validateConnectSequence()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSupplicantStaIfaceHal.java793 SupplicantStaNetworkHal network = addNetwork(ifaceName); in addNetworkAndSaveConfig()
1165 private SupplicantStaNetworkHal addNetwork(@NonNull String ifaceName) { in addNetwork() method in SupplicantStaIfaceHal
1172 iface.addNetwork((SupplicantStatus status, in addNetwork()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java1457 assertEquals(mWifiManager.addNetwork(configuration), TEST_NETWORK_ID); in testAddNetwork()
1461 assertEquals(mWifiManager.addNetwork(null), -1); in testAddNetwork()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java1348 public int addNetwork(WifiConfiguration config) { in addNetwork() method in WifiManager
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...