/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ConnectionFailureNotifier.java | 96 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(networkId); in showFailedToConnectDueToNoRandomizedMacSupportNotification() 119 mWifiConfigManager.getConfiguredNetwork(mConfig.networkId); in onClick() 145 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(networkId); in showRandomizationSettingsDialog()
|
D | CarrierNetworkEvaluator.java | 128 mWifiConfigManager.getConfiguredNetwork(config.configKey()); in evaluateNetworks() 156 config = mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in evaluateNetworks()
|
D | WifiNetworkSelector.java | 241 mWifiConfigManager.getConfiguredNetwork(wifiInfo.getNetworkId()); in isCurrentNetworkSufficient() 541 WifiConfiguration selected = mWifiConfigManager.getConfiguredNetwork(netId); in setUserConnectChoice() 660 tempConfig = mWifiConfigManager.getConfiguredNetwork(key); in overrideCandidateWithUserConnectChoice() 708 mWifiConfigManager.getConfiguredNetwork(wifiInfo.getNetworkId()); in selectNetwork() 858 selectedNetwork = mWifiConfigManager.getConfiguredNetwork(selectedNetworkId); in selectNetwork()
|
D | SavedNetworkEvaluator.java | 261 mWifiConfigManager.getConfiguredNetwork(network.networkId), score); in evaluateNetworks() 273 candidate = mWifiConfigManager.getConfiguredNetwork(network.networkId); in evaluateNetworks()
|
D | NetworkSuggestionEvaluator.java | 107 mWifiConfigManager.getConfiguredNetwork( in evaluateNetworks() 155 return mWifiConfigManager.getConfiguredNetwork(candidateNetworkId); in addCandidateToWifiConfigManager()
|
D | ClientModeImpl.java | 369 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(mTargetNetworkId); in clearTargetBssid() 1174 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(netId); in connectToUserSelectNetwork() 2304 config = mWifiConfigManager.getConfiguredNetwork(msg.arg1); in getLogRecString() 2376 config = mWifiConfigManager.getConfiguredNetwork(msg.arg1); in getLogRecString() 3355 WifiConfiguration network = mWifiConfigManager.getConfiguredNetwork(networkId); in isPermanentWrongPasswordFailure() 3878 return mWifiConfigManager.getConfiguredNetwork(mLastNetworkId); in getCurrentWifiConfiguration() 3885 return mWifiConfigManager.getConfiguredNetwork(mTargetNetworkId); in getTargetWifiConfiguration() 4035 mWifiConfigManager.getConfiguredNetwork(mTargetNetworkId); in processMessage() 4748 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(networkId); in isProviderOwnedNetwork() 4757 mWifiConfigManager.getConfiguredNetwork(mTargetNetworkId); in handleEapAuthFailure() [all …]
|
D | ScoredNetworkEvaluator.java | 339 WifiConfiguration ans = mWifiConfigManager.getConfiguredNetwork( in getCandidateConfiguration()
|
D | WifiNetworkFactory.java | 702 mWifiConfigManager.getConfiguredNetwork(network.configKey()); in addNetworkToWifiConfigManager() 730 mWifiConfigManager.getConfiguredNetwork(network.configKey()); in disconnectAndRemoveNetworkFromWifiConfigManager()
|
D | WifiConfigManager.java | 696 public WifiConfiguration getConfiguredNetwork(int networkId) { in getConfiguredNetwork() method in WifiConfigManager 713 public WifiConfiguration getConfiguredNetwork(String configKey) { in getConfiguredNetwork() method in WifiConfigManager 1316 WifiConfiguration existingConfig = getConfiguredNetwork(config.configKey()); in addOrUpdateNetwork() 1551 WifiConfiguration config = getConfiguredNetwork(networkId); in isInFlakyRandomizationSsidHotlist()
|
D | WifiConnectivityManager.java | 746 .getConfiguredNetwork(mWifiInfo.getNetworkId()); in connectToNetwork()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | NetworkSuggestionEvaluatorTest.java | 403 verify(mWifiConfigManager).getConfiguredNetwork(eq( in testSelectNetworkSuggestionForOneMatchButFailToAddToWifiConfigManager() 439 when(mWifiConfigManager.getConfiguredNetwork(suggestions[0].wifiConfiguration.configKey())) in testSelectNetworkSuggestionForOneMatchForExistingNetwork() 457 verify(mWifiConfigManager).getConfiguredNetwork(candidate.configKey()); in testSelectNetworkSuggestionForOneMatchForExistingNetwork() 546 when(mWifiConfigManager.getConfiguredNetwork(suggestions[0].wifiConfiguration.configKey())) in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled() 561 verify(mWifiConfigManager).getConfiguredNetwork(eq( in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled() 604 when(mWifiConfigManager.getConfiguredNetwork(suggestions[0].wifiConfiguration.configKey())) in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisableExpired() 623 verify(mWifiConfigManager).getConfiguredNetwork(eq( in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisableExpired() 642 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID + i)) in setupAddToWifiConfigManager() 664 verify(mWifiConfigManager, atLeast(candidates.length)).getConfiguredNetwork(anyString()); in verifyAddToWifiConfigManager() 685 verify(mWifiConfigManager, times(candidates.length)).getConfiguredNetwork(anyInt()); in verifyAddToWifiConfigManager()
|
D | ConnectionFailureNotifierTest.java | 121 when(mWifiConfigManager.getConfiguredNetwork(config.networkId)).thenReturn(config); in testConnectionFailureSendRandomizationSettingsNotification() 160 when(mWifiConfigManager.getConfiguredNetwork(config.networkId)).thenReturn(config); in testWifiConfigurationMismatch() 172 when(mWifiConfigManager.getConfiguredNetwork(anyInt())) in testWifiConfigurationMismatch()
|
D | WifiConfigManagerTest.java | 1124 WifiConfiguration retrievedNetwork = mWifiConfigManager.getConfiguredNetwork(result.netId); in testUpdateNetworkNotRecommended() 1132 retrievedNetwork = mWifiConfigManager.getConfiguredNetwork(result.netId); in testUpdateNetworkNotRecommended() 1140 retrievedNetwork = mWifiConfigManager.getConfiguredNetwork(result.netId); in testUpdateNetworkNotRecommended() 1172 mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()) in testTryEnableNetwork() 1185 mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()) in testTryEnableNetwork() 1204 mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testEnableDisableNetwork() 1212 retrievedNetwork = mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testEnableDisableNetwork() 1239 mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testEnableNetworkFailedDueToPermissionDenied() 1268 mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testDisableNetworkFailedDueToPermissionDenied() 1292 mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testUpdateLastConnectUid() [all …]
|
D | CarrierNetworkEvaluatorTest.java | 120 when(mWifiConfigManager.getConfiguredNetwork(networkId)).thenReturn(config); in answer() 148 when(mWifiConfigManager.getConfiguredNetwork(networkId)).thenReturn(newConfig); in configureNewSsid() 377 when(mWifiConfigManager.getConfiguredNetwork(eq(blacklisted.configKey()))) in testAvailableButBlacklisted() 384 verify(mWifiConfigManager).getConfiguredNetwork(eq(blacklisted.configKey())); in testAvailableButBlacklisted()
|
D | WifiNetworkSelectorTestUtil.java | 199 when(wifiConfigManager.getConfiguredNetwork(anyInt())) in prepareConfigStore() 210 when(wifiConfigManager.getConfiguredNetwork(anyString())) in prepareConfigStore() 393 when(wifiConfigManager.getConfiguredNetwork(eq(networkId))) in setupEphemeralNetwork()
|
D | ClientModeImplTest.java | 855 when(mWifiConfigManager.getConfiguredNetwork(0)).thenReturn(config); in addNetworkAndVerifySuccess() 908 when(mWifiConfigManager.getConfiguredNetwork(eq(config.networkId))) in setupAndStartConnectSequence() 1387 when(mWifiConfigManager.getConfiguredNetwork(eq(0))).thenReturn(null); in enableWithInvalidNetworkId() 1450 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(config); in testManualConnectNominator() 1505 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(config); in testWrongPasswordWithPreviouslyConnected() 1536 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(config); in testWrongPasswordWithNeverConnected() 1563 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(null); in testWrongPasswordWithNullNetwork() 1594 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(config); in testEapSimErrorVendorSpecific() 1622 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(config); in testEapTlsErrorVendorSpecific() 1646 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(null); in testEapSimNoSubscribedError() [all …]
|
D | WifiConnectivityManagerTest.java | 310 when(wifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(null); in mockWifiConfigManager() 1833 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(currentNetwork); 1861 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(currentNetwork); 1924 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(currentNetwork);
|
D | WifiNetworkFactoryTest.java | 1171 when(mWifiConfigManager.getConfiguredNetwork(mSelectedNetwork.configKey())) in testNetworkSpecifierHandleUserSelectionConnectToExistingSavedNetwork() 1613 when(mWifiConfigManager.getConfiguredNetwork(mSelectedNetwork.configKey())) in testHandleNetworkReleaseWithSpecifierAfterConnectionSuccess()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkEvaluatorTest.java | 223 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScansWithNetworkMatchingHomeProvider() 266 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScansWithNetworkMatchingRoamingProvider() 311 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScansWithHomeProviderNewtorkAndRoamingProviderNetwork() 423 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(config); in evaluateSIMProviderWithNetworkSupportingEncryptedIMSI() 659 when(mWifiConfigManager.getConfiguredNetwork(anyString())).thenReturn(disableConfig); in evaluateNetworkWithDisabledWifiConfig() 685 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScanResultWithHomeMatchButPreviouslyUserDisconnected()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkEvaluator.java | 229 WifiConfiguration existingNetwork = mWifiConfigManager.getConfiguredNetwork( in createWifiConfigForProvider() 254 return mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in createWifiConfigForProvider()
|