Searched refs:addNetwork (Results 1 – 12 of 12) sorted by relevance
215 when(mWifiManager.addNetwork(any())).thenReturn(ADD_NETWORK_FAIL); in testFailingAddingNetwork()245 when(mWifiManager.addNetwork(any())).thenReturn(ADD_NETWORK_OK); in testFailingToReconnectAfterAddingNetwork()281 when(mWifiManager.addNetwork(any())).thenReturn(ADD_NETWORK_OK); in testReconnectAfterAddingNetworkSuccess()
159 int netId = mWifiManager.addNetwork(wifiConf); in tryAddingNetwork()172 netId = mWifiManager.addNetwork(wifiConf); in tryAddingNetwork()
41 protected int addNetwork(WifiConfiguration config) { in addNetwork() method in ShadowWifiManager
62 super.addNetwork(network, mock(NetworkInfo.class)); in addNetworkCapabilities()
130 mWifiManager.addNetwork(config); in refreshSavedAccessPoints_shouldListNonSubscribedAPs()
138 mWifiManager.addNetwork(config); in refreshSubscribedAccessPoints_shouldNotListNonSubscribedAPs()
97 int networkId = wifiManager.addNetwork(mCurrentWifiConfiguration); in doConnect()
186 int networkId = wifiMan.addNetwork(config); in saveConfiguration()
196 int netId = wifiManager.addNetwork(wifiConfig); in connectToAccessPoint()
155 mWifiManager.addNetwork(mWifiConfiguration); in proceedDependOnNetworkState()
177 final int id = wifiManager.addNetwork(qrCodeWifiConfiguration);