/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/services/Car/tests/RailwayReferenceApp/src/com/google/android/car/networking/railway/ |
D | CurrentEthernetNetworksViewModel.java | 87 private void addNetwork(Network network) { in addNetwork() method in CurrentEthernetNetworksViewModel 146 runOnUiThread(() -> addNetwork(network)); in onAvailable()
|
/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/Permission/tests/cts/permission/src/android/permission/cts/ |
D | NoWifiStatePermissionTest.java | 147 mWifiManager.addNetwork(TEST_WIFI_CONFIGURATION); in testAddNetwork()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | ConfirmConnectToWifiNetworkActivity.java | 100 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/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/ |
D | ConnectUtil.kt | 221 val networkId = wifiManager.addNetwork(virtualConfig) in maybeConfigureVirtualNetwork()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConnectivityManagerTest.java | 5677 mLruConnectionTracker.addNetwork(network3); in testExternalPnoScanRequest_withSavedNetworks() 5678 mLruConnectionTracker.addNetwork(network2); in testExternalPnoScanRequest_withSavedNetworks() 5679 mLruConnectionTracker.addNetwork(network1); in testExternalPnoScanRequest_withSavedNetworks() 5752 mLruConnectionTracker.addNetwork(network4); in testRetrievePnoList() 5753 mLruConnectionTracker.addNetwork(network3); in testRetrievePnoList() 5754 mLruConnectionTracker.addNetwork(network2); in testRetrievePnoList() 5755 mLruConnectionTracker.addNetwork(network1); in testRetrievePnoList() 5810 mLruConnectionTracker.addNetwork(network2); in testRetrievePnoListFrequencies() 5811 mLruConnectionTracker.addNetwork(network1); in testRetrievePnoListFrequencies() 5880 mLruConnectionTracker.addNetwork(network1); in testRetrievePnoListOrder() [all …]
|
D | SupplicantStaIfaceHalAidlImplTest.java | 404 verify(mISupplicantStaIfaceMock).addNetwork(); in testConnectToNetworkWithDifferentConfigReplacesNetworkInSupplicant() 422 verify(mISupplicantStaIfaceMock, never()).addNetwork(); in connectToNetworkWithSameNetworkDoesNotRemoveNetworkFromSupplicant() 449 verify(mISupplicantStaIfaceMock, never()).addNetwork(); in connectToNetworkWithSameNetworkButDifferentBssidUpdatesNetworkFromSupplicant() 460 .when(mISupplicantStaIfaceMock).addNetwork(); in testConnectFailureDueToNetworkAddFailure() 2617 verify(mISupplicantStaIfaceMock, never()).addNetwork(); in verifySetEapAnonymousIdentity() 2925 doReturn(mock(ISupplicantStaNetwork.class)).when(mISupplicantStaIfaceMock).addNetwork(); in setupMocksForConnectSequence() 2940 verify(mISupplicantStaIfaceMock, times(numNetworkAdditions)).addNetwork(); in validateConnectSequence() 3067 verify(mISupplicantStaIfaceMock, times(2)).addNetwork(); in executeAndValidateRoamSequence()
|
D | SupplicantStaIfaceHalHidlImplTest.java | 542 .addNetwork(any(ISupplicantStaIface.addNetworkCallback.class)); in testConnectToNetworkWithDifferentConfigReplacesNetworkInSupplicant() 557 .addNetwork(any(ISupplicantStaIface.addNetworkCallback.class)); in connectToNetworkWithSameNetworkDoesNotRemoveNetworkFromSupplicant() 580 .addNetwork(any(ISupplicantStaIface.addNetworkCallback.class)); in connectToNetworkWithSameNetworkButDifferentBssidUpdatesNetworkFromSupplicant() 595 }).when(mISupplicantStaIfaceMock).addNetwork( in testConnectFailureDueToNetworkAddFailure() 3233 }).when(mISupplicantStaIfaceMock).addNetwork( in setupMocksForConnectSequence() 3250 .addNetwork(any(ISupplicantStaIface.addNetworkCallback.class)); in validateConnectSequence() 3383 .addNetwork(any(ISupplicantStaIface.addNetworkCallback.class)); in executeAndValidateRoamSequence()
|
D | WifiNetworkSuggestionsManagerTest.java | 4454 verify(mLruConnectionTracker).addNetwork(any()); in testIsMostRecentlyConnectedSuggestion() 4463 verify(mLruConnectionTracker, never()).addNetwork(any()); in testIsMostRecentlyConnectedSuggestion()
|
D | WifiConfigManagerTest.java | 899 assertNotEquals(WifiConfiguration.INVALID_NETWORK_ID, mWifiConfigManager.addNetwork( in testAddNetworkDoNotOverrideExistingNetwork() 902 assertEquals(WifiConfiguration.INVALID_NETWORK_ID, mWifiConfigManager.addNetwork( in testAddNetworkDoNotOverrideExistingNetwork()
|
D | WifiServiceImplTest.java | 5113 when(mWifiConfigManager.addNetwork(any(), anyInt())) in testRestoreNetworkConfiguration() 5119 verify(mWifiConfigManager, never()).addNetwork(eq(config), anyInt()); in testRestoreNetworkConfiguration() 5122 verify(mWifiConfigManager, times(configNum)).addNetwork(eq(config), anyInt()); in testRestoreNetworkConfiguration()
|
/packages/apps/Settings/src/com/android/settings/wifi/dpp/ |
D | WifiDppQrCodeScannerFragment.java | 192 final int id = wifiManager.addNetwork(qrCodeWifiConfiguration);
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | SupplicantStaIfaceHalAidlImpl.java | 607 SupplicantStaNetworkHalAidlImpl network = addNetwork(ifaceName); in addNetworkAndSaveConfig() 1076 private SupplicantStaNetworkHalAidlImpl addNetwork(@NonNull String ifaceName) { in addNetwork() method in SupplicantStaIfaceHalAidlImpl 1084 ISupplicantStaNetwork network = iface.addNetwork(); in addNetwork()
|
D | SupplicantStaIfaceHalHidlImpl.java | 941 SupplicantStaNetworkHalHidlImpl network = addNetwork(ifaceName); in addNetworkAndSaveConfig() 1387 private SupplicantStaNetworkHalHidlImpl addNetwork(@NonNull String ifaceName) { in addNetwork() method in SupplicantStaIfaceHalHidlImpl 1394 iface.addNetwork((SupplicantStatus status, in addNetwork()
|
D | WifiConfigManager.java | 1754 public NetworkUpdateResult addNetwork(WifiConfiguration config, int uid) { in addNetwork() method in WifiConfigManager 2439 mLruConnectionTracker.addNetwork(config); in updateNetworkAfterConnect() 3617 mLruConnectionTracker.addNetwork(configuration); in loadInternalDataFromUserStore()
|
D | WifiNetworkSuggestionsManager.java | 555 .addNetwork(ewns.createInternalWifiConfiguration( in fromDeserialized()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiManagerTest.java | 2677 assertEquals(mWifiManager.addNetwork(configuration), TEST_NETWORK_ID); in testAddNetwork() 2688 assertEquals(mWifiManager.addNetwork(null), -1); in testAddNetwork()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiManager.java | 2840 public int addNetwork(WifiConfiguration config) { in addNetwork() method in WifiManager
|