Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DAddWifiNetworkTaskTest.java215 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()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DAddWifiNetworkTask.java159 int netId = mWifiManager.addNetwork(wifiConf); in tryAddingNetwork()
172 netId = mWifiManager.addNetwork(wifiConf); in tryAddingNetwork()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowWifiManager.java41 protected int addNetwork(WifiConfiguration config) { in addNetwork() method in ShadowWifiManager
DShadowConnectivityManager.java62 super.addNetwork(network, mock(NetworkInfo.class)); in addNetworkCapabilities()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/savedaccesspoints/
DSavedAccessPointsPreferenceControllerTest.java130 mWifiManager.addNetwork(config); in refreshSavedAccessPoints_shouldListNonSubscribedAPs()
DSubscribedAccessPointsPreferenceControllerTest.java138 mWifiManager.addNetwork(config); in refreshSubscribedAccessPoints_shouldNotListNonSubscribedAPs()
/packages/apps/Nfc/src/com/android/nfc/
DConfirmConnectToWifiNetworkActivity.java97 int networkId = wifiManager.addNetwork(mCurrentWifiConfiguration); in doConnect()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiConfigHelper.java186 int networkId = wifiMan.addNetwork(config); in saveConfiguration()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiUtil.java196 int netId = wifiManager.addNetwork(wifiConfig); in connectToAccessPoint()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DConnectState.java155 mWifiManager.addNetwork(mWifiConfiguration); in proceedDependOnNetworkState()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppQrCodeScannerFragment.java177 final int id = wifiManager.addNetwork(qrCodeWifiConfiguration);
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/
DWifiDppQrCodeScannerFragment.java177 final int id = wifiManager.addNetwork(qrCodeWifiConfiguration);