/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkEvaluatorTest.java | 221 when(mWifiConfigManager.addOrUpdateNetwork(any(WifiConfiguration.class), anyInt())) in evaluateScansWithNetworkMatchingHomeProvider() 231 verify(mWifiConfigManager).addOrUpdateNetwork(addedConfig.capture(), anyInt()); in evaluateScansWithNetworkMatchingHomeProvider() 264 when(mWifiConfigManager.addOrUpdateNetwork(any(WifiConfiguration.class), anyInt())) in evaluateScansWithNetworkMatchingRoamingProvider() 274 verify(mWifiConfigManager).addOrUpdateNetwork(addedConfig.capture(), anyInt()); in evaluateScansWithNetworkMatchingRoamingProvider() 309 when(mWifiConfigManager.addOrUpdateNetwork(any(WifiConfiguration.class), anyInt())) in evaluateScansWithHomeProviderNewtorkAndRoamingProviderNetwork() 319 verify(mWifiConfigManager).addOrUpdateNetwork(addedConfig.capture(), anyInt()); in evaluateScansWithHomeProviderNewtorkAndRoamingProviderNetwork() 364 verify(mWifiConfigManager, never()).addOrUpdateNetwork( in evaluateScansWithActiveNetworkMatchingHomeProvider() 421 when(mWifiConfigManager.addOrUpdateNetwork(any(WifiConfiguration.class), anyInt())) in evaluateSIMProviderWithNetworkSupportingEncryptedIMSI() 663 verify(mWifiConfigManager, never()).addOrUpdateNetwork(any(WifiConfiguration.class), in evaluateNetworkWithDisabledWifiConfig() 683 when(mWifiConfigManager.addOrUpdateNetwork(any(WifiConfiguration.class), anyInt())) in evaluateScanResultWithHomeMatchButPreviouslyUserDisconnected()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | NetworkSuggestionEvaluatorTest.java | 388 when(mWifiConfigManager.addOrUpdateNetwork(any(), anyInt(), anyString())) in testSelectNetworkSuggestionForOneMatchButFailToAddToWifiConfigManager() 405 verify(mWifiConfigManager).addOrUpdateNetwork(any(), anyInt(), anyString()); in testSelectNetworkSuggestionForOneMatchButFailToAddToWifiConfigManager() 636 when(mWifiConfigManager.addOrUpdateNetwork( in setupAddToWifiConfigManager() 668 verify(mWifiConfigManager, times(candidates.length)).addOrUpdateNetwork( in verifyAddToWifiConfigManager()
|
D | ConnectionFailureNotifierTest.java | 147 verify(mWifiConfigManager).addOrUpdateNetwork( in testConnectionFailureSendRandomizationSettingsNotification()
|
D | ClientModeImplTest.java | 742 when(mWifiConfigManager.addOrUpdateNetwork(any(WifiConfiguration.class), anyInt())) in canSaveNetworkConfig() 752 verify(mWifiConfigManager).addOrUpdateNetwork(any(WifiConfiguration.class), anyInt()); in canSaveNetworkConfig() 784 .addOrUpdateNetwork(any(WifiConfiguration.class), anyInt()); in saveNetworkConfigFailsWithNullConfig() 796 when(mWifiConfigManager.addOrUpdateNetwork(any(WifiConfiguration.class), anyInt())) in saveNetworkConfigFailsWithConfigAddFailure() 804 verify(mWifiConfigManager).addOrUpdateNetwork(any(WifiConfiguration.class), anyInt()); in saveNetworkConfigFailsWithConfigAddFailure() 817 when(mWifiConfigManager.addOrUpdateNetwork(any(WifiConfiguration.class), anyInt())) in saveNetworkConfigFailsWithConfigEnableFailure() 827 verify(mWifiConfigManager).addOrUpdateNetwork(any(WifiConfiguration.class), anyInt()); in saveNetworkConfigFailsWithConfigEnableFailure() 852 when(mWifiConfigManager.addOrUpdateNetwork(any(WifiConfiguration.class), anyInt())) in addNetworkAndVerifySuccess() 862 verify(mWifiConfigManager).addOrUpdateNetwork(eq(config), anyInt()); in addNetworkAndVerifySuccess() 1093 verify(mWifiConfigManager).addOrUpdateNetwork(any(), anyInt()); in testSetAnonymousIdentityWhenConnectionIsEstablishedNoPseudonym() [all …]
|
D | WifiServiceImplTest.java | 2681 assertEquals(0, mWifiServiceImpl.addOrUpdateNetwork(config, TEST_PACKAGE_NAME)); in testAddPasspointProfileViaAddNetwork() 2690 assertEquals(-1, mWifiServiceImpl.addOrUpdateNetwork(config, TEST_PACKAGE_NAME)); in testAddPasspointProfileViaAddNetwork() 3733 assertEquals(-1, mWifiServiceImpl.addOrUpdateNetwork(config, TEST_PACKAGE_NAME)); in testAddOrUpdateNetworkIsNotAllowedForAppsTargetingQSDK() 3753 assertEquals(0, mWifiServiceImpl.addOrUpdateNetwork(config, TEST_PACKAGE_NAME)); in testAddOrUpdateNetworkIsAllowedForAppsTargetingBelowQSDK() 3772 assertEquals(0, mWifiServiceImpl.addOrUpdateNetwork(config, TEST_PACKAGE_NAME)); in testAddOrUpdateNetworkIsAllowedForSettingsApp() 3795 assertEquals(0, mWifiServiceImpl.addOrUpdateNetwork(config, TEST_PACKAGE_NAME)); in testAddOrUpdateNetworkIsAllowedForSystemApp() 3816 assertEquals(0, mWifiServiceImpl.addOrUpdateNetwork(config, TEST_PACKAGE_NAME)); in testAddOrUpdateNetworkIsAllowedForAppsWithSystemAlertPermission() 3838 assertEquals(0, mWifiServiceImpl.addOrUpdateNetwork(config, TEST_PACKAGE_NAME)); in testAddOrUpdateNetworkIsAllowedForDOApp() 3859 assertEquals(0, mWifiServiceImpl.addOrUpdateNetwork(config, TEST_PACKAGE_NAME)); in testAddOrUpdateNetworkIsAllowedForPOApp()
|
D | WifiNetworkSelectorTestUtil.java | 382 when(wifiConfigManager.addOrUpdateNetwork(any(WifiConfiguration.class), anyInt())) in setupEphemeralNetwork()
|
D | WifiConfigManagerTest.java | 287 mWifiConfigManager.addOrUpdateNetwork(openNetwork, TEST_CREATOR_UID).isSuccess()); in testAddNetworkIsRejectedBeforeLoadFromStore() 497 mWifiConfigManager.addOrUpdateNetwork(openNetwork, TEST_CREATOR_UID); in testRandomizedMacAddressIsGeneratedForConfigurationReadFromStore() 775 mWifiConfigManager.addOrUpdateNetwork(openNetwork, TEST_CREATOR_UID); in testUpdateSingleOpenNetworkSuccessWithCreatorUID() 1303 NetworkUpdateResult result = mWifiConfigManager.addOrUpdateNetwork(null, TEST_CREATOR_UID); in testAddOrUpdateNetworkWithNullConfig() 1491 mWifiConfigManager.addOrUpdateNetwork(network, TEST_CREATOR_UID); in testAddSingleNetworkWithNullIpConfigurationFails() 1519 mWifiConfigManager.addOrUpdateNetwork(network, TEST_UPDATE_UID); in testUpdateSingleNetworkFailureDoesNotModifyOriginal() 4992 mWifiConfigManager.addOrUpdateNetwork(configuration, uid, packageName); in addNetworkToWifiConfigManager() 5083 mWifiConfigManager.addOrUpdateNetwork(configuration, TEST_UPDATE_UID); in updateNetworkToWifiConfigManager()
|
D | CarrierNetworkEvaluatorTest.java | 186 when(mWifiConfigManager.addOrUpdateNetwork(any(), eq(Process.WIFI_UID))).thenAnswer( in setUp()
|
D | CarrierNetworkNotifierTest.java | 132 when(mWifiConfigManager.addOrUpdateNetwork(any(), anyInt())) in setUp()
|
D | ScoredNetworkEvaluatorTest.java | 303 when(mWifiConfigManager.addOrUpdateNetwork(any(), anyInt())) in testEvaluateNetworks_newEphemeralNetworkMustBeReportedAsConnectable()
|
D | OpenNetworkNotifierTest.java | 131 when(mWifiConfigManager.addOrUpdateNetwork(any(), anyInt())) in setUp()
|
D | WifiNetworkFactoryTest.java | 187 when(mWifiConfigManager.addOrUpdateNetwork(any(), anyInt(), anyString())) in setUp() 1184 verify(mWifiConfigManager, never()).addOrUpdateNetwork(any(), anyInt(), anyString()); in testNetworkSpecifierHandleUserSelectionConnectToExistingSavedNetwork() 2867 verify(mWifiConfigManager).addOrUpdateNetwork( in validateConnectParams()
|
D | DppManagerTest.java | 493 when(mWifiConfigManager.addOrUpdateNetwork(any(WifiConfiguration.class), in testStartDppAsEnrolleeInitiatorStartCorrectlyOnSuccessCallback()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ConnectionFailureNotifier.java | 117 mWifiConfigManager.addOrUpdateNetwork(mConfig, Process.SYSTEM_UID); in onClick()
|
D | CarrierNetworkEvaluator.java | 138 NetworkUpdateResult result = mWifiConfigManager.addOrUpdateNetwork(config, in evaluateNetworks()
|
D | NetworkSuggestionEvaluator.java | 144 mWifiConfigManager.addOrUpdateNetwork(wifiConfiguration, uid, packageName); in addCandidateToWifiConfigManager()
|
D | ScoredNetworkEvaluator.java | 303 mWifiConfigManager.addOrUpdateNetwork(mEphemeralConfig, in getCandidateConfiguration()
|
D | DppManager.java | 441 .addOrUpdateNetwork(newWifiConfiguration, mDppRequestInfo.uid); in onSuccessConfigReceived()
|
D | AvailableNetworkNotifier.java | 438 NetworkUpdateResult result = mConfigManager.addOrUpdateNetwork(network, Process.WIFI_UID); in handleConnectToNetworkAction()
|
D | WifiConfigManager.java | 1300 public NetworkUpdateResult addOrUpdateNetwork(WifiConfiguration config, int uid, in addOrUpdateNetwork() method in WifiConfigManager 1360 public NetworkUpdateResult addOrUpdateNetwork(WifiConfiguration config, int uid) { in addOrUpdateNetwork() method in WifiConfigManager 1361 return addOrUpdateNetwork(config, uid, null); in addOrUpdateNetwork()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | IWifiManager.aidl | 72 int addOrUpdateNetwork(in WifiConfiguration config, String packageName); in addOrUpdateNetwork() method
|
D | WifiManager.java | 1385 return addOrUpdateNetwork(config); in addNetwork() 1419 return addOrUpdateNetwork(config); in updateNetwork() 1430 private int addOrUpdateNetwork(WifiConfiguration config) { in addOrUpdateNetwork() method in WifiManager 1432 return mService.addOrUpdateNetwork(config, mContext.getOpPackageName()); in addOrUpdateNetwork()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkEvaluator.java | 244 mWifiConfigManager.addOrUpdateNetwork(config, Process.WIFI_UID); in createWifiConfigForProvider()
|
/frameworks/base/wifi/java/com/android/server/wifi/ |
D | BaseWifiService.java | 111 public int addOrUpdateNetwork(WifiConfiguration config, String packageName) { in addOrUpdateNetwork() method in BaseWifiService
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiManagerTest.java | 1451 when(mWifiService.addOrUpdateNetwork(any(), anyString())) in testAddNetwork() 1455 verify(mWifiService).addOrUpdateNetwork(configuration, mContext.getOpPackageName()); in testAddNetwork() 1467 when(mWifiService.addOrUpdateNetwork(any(), anyString())) in testUpdateNetwork() 1472 verify(mWifiService).addOrUpdateNetwork(configuration, mContext.getOpPackageName()); in testUpdateNetwork()
|