/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | LruConnectionTrackerTest.java | 57 mList.addNetwork(network); in testAddRemoveNetwork() 70 mList.addNetwork(network1); in testConnectionOrderStore() 71 mList.addNetwork(network2); in testConnectionOrderStore() 72 mList.addNetwork(network3); in testConnectionOrderStore() 73 mList.addNetwork(network4); in testConnectionOrderStore() 80 mList.addNetwork(network5); in testConnectionOrderStore() 84 mList.addNetwork(network3); in testConnectionOrderStore() 97 mList.addNetwork(network1); in testIsMostRecentlyNetwork() 98 mList.addNetwork(network2); in testIsMostRecentlyNetwork() 99 mList.addNetwork(network3); in testIsMostRecentlyNetwork() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnectionTest.java | 95 when(mWifiManager.addNetwork(any(WifiConfiguration.class))).thenReturn(TEST_NETWORK_ID); in setUp() 177 when(mWifiManager.addNetwork(any(WifiConfiguration.class))).thenReturn(-1); in verifyNetworkConnectionWhenAddNetworkFails() 307 verify(mWifiManager, times(1)).addNetwork(wifiConfigurationCaptor.capture()); in verifyWifiConfigurationForOsuNetwork() 335 verify(mWifiManager, times(1)).addNetwork(wifiConfigurationCaptor.capture()); in verifyWifiConfigurationForOsenOsuNetwork()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
D | AddWifiNetworkTaskTest.java | 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()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | AddWifiNetworkTask.java | 154 int netId = mWifiManager.addNetwork(wifiConf); in tryAddingNetwork() 167 netId = mWifiManager.addNetwork(wifiConf); in tryAddingNetwork()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | LruConnectionTracker.java | 48 public void addNetwork(@NonNull WifiConfiguration config) { in addNetwork() method in LruConnectionTracker
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowConnectivityManager.java | 62 super.addNetwork(network, mock(NetworkInfo.class)); in addNetworkCapabilities()
|
D | ShadowWifiManager.java | 55 protected int addNetwork(WifiConfiguration config) { in addNetwork() method in ShadowWifiManager
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConnectivityManagerTest.java | 3980 mLruConnectionTracker.addNetwork(network3); in testRetrievePnoList() 3981 mLruConnectionTracker.addNetwork(network2); in testRetrievePnoList() 3982 mLruConnectionTracker.addNetwork(network1); in testRetrievePnoList() 4023 mLruConnectionTracker.addNetwork(network2); in testRetrievePnoListFrequencies() 4024 mLruConnectionTracker.addNetwork(network1); in testRetrievePnoListFrequencies() 4078 mLruConnectionTracker.addNetwork(network1); in testRetrievePnoListOrder() 4079 mLruConnectionTracker.addNetwork(network2); in testRetrievePnoListOrder() 4080 mLruConnectionTracker.addNetwork(network3); in testRetrievePnoListOrder() 4121 mLruConnectionTracker.addNetwork(configuration2); in testFetchChannelSetForPartialScanMaxCount() 4122 mLruConnectionTracker.addNetwork(configuration1); in testFetchChannelSetForPartialScanMaxCount()
|
D | SupplicantStaIfaceHalTest.java | 524 .addNetwork(any(ISupplicantStaIface.addNetworkCallback.class)); in testConnectToNetworkWithDifferentConfigReplacesNetworkInSupplicant() 538 .addNetwork(any(ISupplicantStaIface.addNetworkCallback.class)); in connectToNetworkWithSameNetworkDoesNotRemoveNetworkFromSupplicant() 560 .addNetwork(any(ISupplicantStaIface.addNetworkCallback.class)); in connectToNetworkWithSameNetworkButDifferentBssidUpdatesNetworkFromSupplicant() 575 }).when(mISupplicantStaIfaceMock).addNetwork( in testConnectFailureDueToNetworkAddFailure() 2887 }).when(mISupplicantStaIfaceMock).addNetwork( in setupMocksForConnectSequence() 2903 .addNetwork(any(ISupplicantStaIface.addNetworkCallback.class)); in validateConnectSequence() 3002 .addNetwork(any(ISupplicantStaIface.addNetworkCallback.class)); in executeAndValidateRoamSequence()
|
D | WifiNetworkSuggestionsManagerTest.java | 4253 verify(mLruConnectionTracker).addNetwork(any()); in testIsMostRecentlyConnectedSuggestion() 4262 verify(mLruConnectionTracker, never()).addNetwork(any()); in testIsMostRecentlyConnectedSuggestion()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | ConfirmConnectToWifiNetworkActivity.java | 97 int networkId = wifiManager.addNetwork(mCurrentWifiConfiguration); in doConnect()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnection.java | 202 mNetworkId = mWifiManager.addNetwork(config); in connect()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | WifiConfigHelper.java | 193 int networkId = wifiMan.addNetwork(config); in saveConfiguration()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | ConnectState.java | 184 mWifiManager.addNetwork(mWifiConfiguration); in proceedDependOnNetworkState()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppQrCodeScannerFragment.java | 184 final int id = wifiManager.addNetwork(qrCodeWifiConfiguration);
|
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/ |
D | CtsNetUtils.java | 322 final int networkId = mWifiManager.addNetwork(virtualConfig); in maybeConfigureVirtualNetwork()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | SupplicantStaIfaceHal.java | 962 SupplicantStaNetworkHal network = addNetwork(ifaceName); in addNetworkAndSaveConfig() 1336 private SupplicantStaNetworkHal addNetwork(@NonNull String ifaceName) { in addNetwork() method in SupplicantStaIfaceHal 1343 iface.addNetwork((SupplicantStatus status, in addNetwork()
|
D | WifiConfigManager.java | 2050 mLruConnectionTracker.addNetwork(config); in updateNetworkAfterConnect() 3165 mLruConnectionTracker.addNetwork(configuration); in loadInternalDataFromUserStore()
|
D | WifiNetworkSuggestionsManager.java | 538 .addNetwork(ewns.createInternalWifiConfiguration( in fromDeserialized()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiManagerTest.java | 2453 assertEquals(mWifiManager.addNetwork(configuration), TEST_NETWORK_ID); in testAddNetwork() 2457 assertEquals(mWifiManager.addNetwork(null), -1); in testAddNetwork()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiManager.java | 1685 public int addNetwork(WifiConfiguration config) { in addNetwork() method in WifiManager
|
/packages/modules/Wifi/framework/api/ |
D | current.txt | 345 method @Deprecated public int addNetwork(android.net.wifi.WifiConfiguration);
|