Home
last modified time | relevance | path

Searched refs:addOrUpdateNetwork (Results 1 – 25 of 35) sorted by relevance

12

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkNominateHelperTest.java249 when(mWifiConfigManager.addOrUpdateNetwork(any(WifiConfiguration.class), anyInt(), in evaluateScansWithNetworkMatchingHomeProvider()
259 verify(mWifiConfigManager).addOrUpdateNetwork(addedConfig.capture(), anyInt(), any(), in evaluateScansWithNetworkMatchingHomeProvider()
304 when(mWifiConfigManager.addOrUpdateNetwork(any(WifiConfiguration.class), anyInt(), in evaluateScansWithNoInternetBit()
314 verify(mWifiConfigManager).addOrUpdateNetwork(addedConfig.capture(), anyInt(), any(), in evaluateScansWithNoInternetBit()
346 when(mWifiConfigManager.addOrUpdateNetwork(any(WifiConfiguration.class), anyInt(), any(), in evaluateScansWithNetworkMatchingRoamingProvider()
357 verify(mWifiConfigManager).addOrUpdateNetwork(addedConfig.capture(), anyInt(), any(), in evaluateScansWithNetworkMatchingRoamingProvider()
393 when(mWifiConfigManager.addOrUpdateNetwork(any(WifiConfiguration.class), anyInt(), in evaluateScansWithHomeProviderNetworkAndRoamingProviderNetwork()
404 .addOrUpdateNetwork(any(), anyInt(), any(), eq(false)); in evaluateScansWithHomeProviderNetworkAndRoamingProviderNetwork()
429 when(mWifiConfigManager.addOrUpdateNetwork(any(WifiConfiguration.class), anyInt(), in evaluateSIMProviderWithNetworkSupportingEncryptedIMSI()
460 when(mWifiConfigManager.addOrUpdateNetwork(any(WifiConfiguration.class), anyInt(), in evaluateScansMatchingActiveNetworkWithDifferentBSS()
[all …]
DPasspointManagerTest.java912 when(mWifiConfigManager.addOrUpdateNetwork( in addSavedProviderWithExistingConfig()
922 verify(mWifiConfigManager).addOrUpdateNetwork( in addSavedProviderWithExistingConfig()
2190 when(mWifiConfigManager.addOrUpdateNetwork( in addSuggestionProviderWithExistingConfig()
2197 verify(mWifiConfigManager).addOrUpdateNetwork( in addSuggestionProviderWithExistingConfig()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiPseudonymManagerTest.java222 when(mWifiConfigManager.addOrUpdateNetwork(any(), anyInt())) in updateWifiConfiguration_freshPseudonymAndPasspoint_update()
230 verify(mWifiConfigManager).addOrUpdateNetwork(any(), anyInt()); in updateWifiConfiguration_freshPseudonymAndPasspoint_update()
248 when(mWifiConfigManager.addOrUpdateNetwork(any(), anyInt())) in updateWifiConfiguration_freshPseudonymAndNonPasspointNetworkSuggestion_update()
255 verify(mWifiConfigManager).addOrUpdateNetwork(any(), anyInt()); in updateWifiConfiguration_freshPseudonymAndNonPasspointNetworkSuggestion_update()
274 when(mWifiConfigManager.addOrUpdateNetwork(any(), anyInt())) in updateWifiConfiguration_freshPseudonym_update()
282 verify(mWifiConfigManager).addOrUpdateNetwork(any(), anyInt()); in updateWifiConfiguration_freshPseudonym_update()
299 when(mWifiConfigManager.addOrUpdateNetwork(any(), anyInt())) in updateWifiConfiguration_freshPseudonymWithDecoratedIdentity_noUpdate()
DWifiServiceImplTest.java4821 mWifiServiceImpl.addOrUpdateNetwork(config, TEST_PACKAGE_NAME, mAttribution)); in testAddPasspointProfileViaAddNetwork()
4834 mWifiServiceImpl.addOrUpdateNetwork(config, TEST_PACKAGE_NAME, mAttribution)); in testAddPasspointProfileViaAddNetwork()
5111 when(mWifiConfigManager.addOrUpdateNetwork(any(), anyInt())) in testRestoreNetworkConfiguration()
5118 verify(mWifiConfigManager, times(configNum)).addOrUpdateNetwork(eq(config), anyInt()); in testRestoreNetworkConfiguration()
5121 verify(mWifiConfigManager, never()).addOrUpdateNetwork(eq(config), anyInt()); in testRestoreNetworkConfiguration()
5444 when(mWifiConfigManager.addOrUpdateNetwork(any(), anyInt())) in testConnectNetworkWithPrivilegedPermission()
5452 verify(mWifiConfigManager).addOrUpdateNetwork(eq(config), anyInt()); in testConnectNetworkWithPrivilegedPermission()
5470 when(mWifiConfigManager.addOrUpdateNetwork(any(), anyInt())) in testConnectNetworkWithNfcUid()
5479 verify(mWifiConfigManager).addOrUpdateNetwork(eq(config), anyInt()); in testConnectNetworkWithNfcUid()
5500 when(mWifiConfigManager.addOrUpdateNetwork(any(), anyInt())) in testConnectNetworkStopConnectedSecondaryInternetCmm()
[all …]
DAvailableNetworkNotifierTest.java129 verify(mWifiConfigManager, never()).addOrUpdateNetwork(any(), anyInt()); in testConnectToUnknownAkmNetwork()
DConnectionFailureNotifierTest.java160 verify(mWifiConfigManager).addOrUpdateNetwork( in testConnectionFailureSendRandomizationSettingsNotification()
DDppManagerTest.java614 when(mWifiConfigManager.addOrUpdateNetwork(any(WifiConfiguration.class), in testStartDppAsEnrolleeInitiatorStartCorrectlyOnSuccessCallback()
1193 when(mWifiConfigManager.addOrUpdateNetwork(any(WifiConfiguration.class), in testStartDppAsEnrolleeResponderStartCorrectlyOnSuccessCallback()
1305 when(mWifiConfigManager.addOrUpdateNetwork(any(WifiConfiguration.class), in testDppAsEnrolleeResponderWaitForConnectionStatusResult()
1346 when(mWifiConfigManager.addOrUpdateNetwork(any(WifiConfiguration.class), in testDppAsEnrolleeInitiatorWaitForConnectionStatusResult()
DWifiHealthMonitorTest.java287 }).when(wifiConfigManager).addOrUpdateNetwork(any(), anyInt()); in mockConfigManager()
842 mWifiConfigManager.addOrUpdateNetwork(mWifiConfig, 1); in testAddNetwork()
DWifiConfigManagerTest.java441 mWifiConfigManager.addOrUpdateNetwork(openNetwork, TEST_CREATOR_UID).isSuccess()); in testAddNetworkIsRejectedBeforeLoadFromStore()
720 mWifiConfigManager.addOrUpdateNetwork(openNetwork, TEST_CREATOR_UID); in testRandomizedMacAddressIsGeneratedForConfigurationReadFromStore()
882 mWifiConfigManager.addOrUpdateNetwork(configToUpdate, TEST_OTHER_USER_UID); in testOverrideWifiConfigModifyAllNetworks()
887 result = mWifiConfigManager.addOrUpdateNetwork(configToUpdate, TEST_OTHER_USER_UID); in testOverrideWifiConfigModifyAllNetworks()
962 mWifiConfigManager.addOrUpdateNetwork(openNetwork, TEST_CREATOR_UID); in testCanUpdateMacRandomizationSettingForAdminNetwork()
1335 mWifiConfigManager.addOrUpdateNetwork(openNetwork, TEST_CREATOR_UID); in testUpdateSingleOpenNetworkSuccessWithCreatorUID()
1860 NetworkUpdateResult result = mWifiConfigManager.addOrUpdateNetwork(null, TEST_CREATOR_UID); in testAddOrUpdateNetworkWithNullConfig()
2148 mWifiConfigManager.addOrUpdateNetwork(network, TEST_CREATOR_UID); in testAddSingleNetworkWithNullIpConfigurationFails()
2176 mWifiConfigManager.addOrUpdateNetwork(network, TEST_UPDATE_UID); in testUpdateSingleNetworkFailureDoesNotModifyOriginal()
6118 mWifiConfigManager.addOrUpdateNetwork(configuration, uid, packageName, false); in addNetworkToWifiConfigManager()
[all …]
DWifiNetworkSelectorTestUtil.java455 when(wifiConfigManager.addOrUpdateNetwork(any(WifiConfiguration.class), anyInt())) in setupEphemeralNetwork()
DWifiNetworkFactoryTest.java274 when(mWifiConfigManager.addOrUpdateNetwork(any(), anyInt(), anyString(), eq(false))) in setUp()
1443 .addOrUpdateNetwork(any(), anyInt(), anyString(), eq(false)); in testNetworkSpecifierHandleUserSelectionConnectToExistingSavedNetwork()
3060 verify(mWifiConfigManager).addOrUpdateNetwork( in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchApproved()
3098 verify(mWifiConfigManager, bypassActivated ? times(2) : times(1)).addOrUpdateNetwork( in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchApproved()
4103 verify(mWifiConfigManager).addOrUpdateNetwork(wifiConfigurationCaptor.capture(), in validateConnectParams()
DWifiNetworkSuggestionsManagerTest.java826 verify(mWifiConfigManager, never()).addOrUpdateNetwork(any(), anyInt(), any(), eq(false)); in testAddNetworkSuggestionsSuccessOnInPlaceModificationWhenNotInWcm()
865 when(mWifiConfigManager.addOrUpdateNetwork(any(), eq(TEST_UID_1), eq(TEST_PACKAGE_1), in testAddNetworkSuggestionsSuccessOnInPlaceModificationWhenInWcm()
878 verify(mWifiConfigManager).addOrUpdateNetwork( in testAddNetworkSuggestionsSuccessOnInPlaceModificationWhenInWcm()
4225 when(mWifiConfigManager.addOrUpdateNetwork(any(), anyInt(), anyString(), eq(false))) in testSendImsiProtectionNotificationOnUserAllowed()
4232 verify(mWifiConfigManager).addOrUpdateNetwork(any(), anyInt(), anyString(), eq(false)); in testSendImsiProtectionNotificationOnUserAllowed()
4692 when(mWifiConfigManager.addOrUpdateNetwork(any(), anyInt(), anyString(), eq(false))) in testShouldNotBeIgnoredBySecureSuggestionFromSameCarrierWithNetworkDisabled()
DOpenNetworkNotifierTest.java142 when(mWifiConfigManager.addOrUpdateNetwork(any(), anyInt())) in setUp()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DConnectionFailureNotifier.java136 mWifiConfigManager.addOrUpdateNetwork(config, Process.SYSTEM_UID); in showRandomizationSettingsDialog()
DDppManager.java697 .addOrUpdateNetwork(existingWifiConfig, mDppRequestInfo.uid); in onSuccessConfigReceived()
714 .addOrUpdateNetwork(newWifiConfiguration, mDppRequestInfo.uid); in onSuccessConfigReceived()
861 .addOrUpdateNetwork(selectedNetwork, mDppRequestInfo.uid); in onDppConfiguratorKeyUpdate()
DNetworkSuggestionNominator.java139 NetworkUpdateResult result = mWifiConfigManager.addOrUpdateNetwork( in addOrUpdateSuggestionToWifiConfigManger()
DWifiConfigManager.java1683 public NetworkUpdateResult addOrUpdateNetwork(WifiConfiguration config, int uid, in addOrUpdateNetwork() method in WifiConfigManager
1757 return addOrUpdateNetwork(config, uid); in addNetwork()
1771 public NetworkUpdateResult addOrUpdateNetwork(WifiConfiguration config, int uid) { in addOrUpdateNetwork() method in WifiConfigManager
1772 return addOrUpdateNetwork(config, uid, null, false); in addOrUpdateNetwork()
4129 NetworkUpdateResult result = addOrUpdateNetwork(config, callingUid);
4439 NetworkUpdateResult result = addOrUpdateNetwork(newConfig, internalConfig.creatorUid);
DAvailableNetworkNotifier.java461 NetworkUpdateResult result = mConfigManager.addOrUpdateNetwork(network, Process.WIFI_UID); in handleConnectToNetworkAction()
DWifiPseudonymManager.java283 .addOrUpdateNetwork(wifiConfiguration, Process.WIFI_UID); in updateWifiConfiguration()
DWifiNetworkSelector.java1631 mWifiConfigManager.addOrUpdateNetwork(config, config.creatorUid, config.creatorName, in updateChosenPasspointNetwork()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointNetworkNominateHelper.java337 NetworkUpdateResult result = mWifiConfigManager.addOrUpdateNetwork( in createWifiConfigForProvider()
/packages/modules/Wifi/framework/java/android/net/wifi/
DIWifiManager.aidl122 int addOrUpdateNetwork(in WifiConfiguration config, String packageName, in Bundle extras); in addOrUpdateNetwork() method
DBaseWifiService.java148 public int addOrUpdateNetwork(WifiConfiguration config, String packageName, Bundle extras) { in addOrUpdateNetwork() method in BaseWifiService
DWifiManager.java2845 return addOrUpdateNetwork(config); in addNetwork()
3032 return addOrUpdateNetwork(config); in updateNetwork()
3043 private int addOrUpdateNetwork(WifiConfiguration config) { in addOrUpdateNetwork() method in WifiManager
3051 return mService.addOrUpdateNetwork(config, mContext.getOpPackageName(), extras); in addOrUpdateNetwork()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiManagerTest.java2672 when(mWifiService.addOrUpdateNetwork(any(), anyString(), any())) in testAddNetwork()
2678 verify(mWifiService).addOrUpdateNetwork(eq(configuration), eq(TEST_PACKAGE_NAME), in testAddNetwork()
2716 when(mWifiService.addOrUpdateNetwork(any(), anyString(), any())) in testUpdateNetwork()
2723 verify(mWifiService).addOrUpdateNetwork(eq(configuration), eq(TEST_PACKAGE_NAME), in testUpdateNetwork()

12