Home
last modified time | relevance | path

Searched refs:addNetwork (Results 1 – 10 of 10) 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.java817 SupplicantStaNetworkHal network = addNetwork(ifaceName); in addNetworkAndSaveConfig()
1189 private SupplicantStaNetworkHal addNetwork(@NonNull String ifaceName) { in addNetwork() method in SupplicantStaIfaceHal
1196 iface.addNetwork((SupplicantStatus status, in addNetwork()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java1454 assertEquals(mWifiManager.addNetwork(configuration), TEST_NETWORK_ID); in testAddNetwork()
1458 assertEquals(mWifiManager.addNetwork(null), -1); in testAddNetwork()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java1380 public int addNetwork(WifiConfiguration config) { in addNetwork() method in WifiManager
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt18029 method public int addNetwork(android.net.wifi.WifiConfiguration);
/frameworks/base/non-updatable-api/
Dcurrent.txt30063 method @Deprecated public int addNetwork(android.net.wifi.WifiConfiguration);
/frameworks/base/api/
Dcurrent.txt30207 method @Deprecated public int addNetwork(android.net.wifi.WifiConfiguration);