/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkNominateHelperTest.java | 224 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScansWithNetworkMatchingHomeProvider() 265 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScansWithNetworkMatchingRoamingProvider() 311 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScansWithHomeProviderNetworkAndRoamingProviderNetwork() 312 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID + 1)) in evaluateScansWithHomeProviderNetworkAndRoamingProviderNetwork() 346 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(config); in evaluateSIMProviderWithNetworkSupportingEncryptedIMSI() 377 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(currentNetwork); in evaluateScansMatchingActiveNetworkWithDifferentBSS() 425 when(mWifiConfigManager.getConfiguredNetwork(anyString())).thenReturn(disableConfig); in evaluateNetworkWithDisabledWifiConfig() 450 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScanResultWithHomeMatchButPreviouslyUserDisconnected() 472 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScansWithNetworkMatchingHomeProviderWithAnqpLinkDown() 507 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(TEST_CONFIG1); in evaluateScansWithNetworkMatchingBothHomeAndRoamingForSameProvider() [all …]
|
D | PasspointManagerTest.java | 799 when(mWifiConfigManager.getConfiguredNetwork(origWifiConfig.getKey())) in addSavedProviderWithExistingConfig() 826 when(mWifiConfigManager.getConfiguredNetwork(origProvider.getWifiConfig().getKey())) in addSavedProviderWithExistingConfig() 2002 when(mWifiConfigManager.getConfiguredNetwork(origWifiConfig.getKey())) in addSuggestionProviderWithExistingConfig()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ConnectionFailureNotifier.java | 93 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(networkId); in showFailedToConnectDueToNoRandomizedMacSupportNotification() 117 mWifiConfigManager.getConfiguredNetwork(mConfig.networkId); in onClick() 143 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(networkId); in showRandomizationSettingsDialog()
|
D | NetworkSuggestionNominator.java | 188 mWifiConfigManager.getConfiguredNetwork(configKey); in findMatchedSuggestionNetworks() 242 mWifiConfigManager.getConfiguredNetwork(config.getKey()); in addAutojoinDisabledSuggestionToWifiConfigManager() 250 mWifiConfigManager.getConfiguredNetwork(result.netId); in addAutojoinDisabledSuggestionToWifiConfigManager() 285 return mWifiConfigManager.getConfiguredNetwork(candidateNetworkId); in addCandidateToWifiConfigManager()
|
D | WifiNetworkSelector.java | 225 mWifiConfigManager.getConfiguredNetwork(wifiInfo.getNetworkId()); in hasInternetOrExpectNoInternet() 249 mWifiConfigManager.getConfiguredNetwork(wifiInfo.getNetworkId()); in isNetworkSufficient() 537 WifiConfiguration selected = mWifiConfigManager.getConfiguredNetwork(netId); in setUserConnectChoice() 653 tempConfig = mWifiConfigManager.getConfiguredNetwork(key); in overrideCandidateWithUserConnectChoice() 754 mWifiConfigManager.getConfiguredNetwork(wifiInfo.getNetworkId()); in getCandidatesFromScan() 918 mWifiConfigManager.getConfiguredNetwork(selectedNetworkId); in selectNetwork() 948 mWifiConfigManager.getConfiguredNetwork(choice.candidateKey.networkId); in updateChosenPasspointNetwork()
|
D | SavedNetworkNominator.java | 170 mWifiConfigManager.getConfiguredNetwork(network.networkId)); in findMatchedSavedNetworks()
|
D | WifiConnectivityManager.java | 916 .getConfiguredNetwork(mWifiInfo.getNetworkId()); in connectToNetwork() 1025 WifiConfiguration config = mConfigManager.getConfiguredNetwork(networkId); in fetchChannelSetForNetworkForPartialScan() 1646 WifiConfiguration config = mConfigManager.getConfiguredNetwork(passpointKey); in useSingleSavedNetworkSchedule() 1653 WifiConfiguration config = mConfigManager.getConfiguredNetwork(suggestionKey); in useSingleSavedNetworkSchedule() 1833 WifiConfiguration config = mConfigManager.getConfiguredNetwork(netId); in prepareForForcedConnection()
|
D | ClientModeImpl.java | 393 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(mTargetNetworkId); in clearTargetBssid() 1965 config = mWifiConfigManager.getConfiguredNetwork(result.netId); in getLogRecString() 2076 config = mWifiConfigManager.getConfiguredNetwork(msg.arg1); in getLogRecString() 3254 WifiConfiguration network = mWifiConfigManager.getConfiguredNetwork(networkId); 3719 return mWifiConfigManager.getConfiguredNetwork(mLastNetworkId); 3726 return mWifiConfigManager.getConfiguredNetwork(mTargetNetworkId); 3903 mWifiConfigManager.getConfiguredNetwork(mTargetNetworkId); 4147 mWifiConfigManager.getConfiguredNetwork(netId)); 4565 mWifiConfigManager.getConfiguredNetwork(mTargetNetworkId); in handleEapAuthFailure() 5016 mWifiConfigManager.getConfiguredNetwork(mLastNetworkId); in processMessage() [all …]
|
D | WifiNetworkSuggestionsManager.java | 717 mWifiConfigManager.getConfiguredNetwork(wifiConfiguration.getKey()); in removeNetworkFromScoreCard() 810 mWifiConfigManager.getConfiguredNetwork(newConfig.getKey()); in updateWifiConfigInWcmIfPresent() 1290 .getConfiguredNetwork(ewns.wns.getWifiConfiguration().getKey()); in getAllScanOptimizationSuggestionNetworks() 1624 .getConfiguredNetwork(config.getKey()); in getWifiConfigForMatchedNetworkSuggestionsSharedWithUser() 2149 .getConfiguredNetwork(ewns.wns.wifiConfiguration.getKey()); in hasSecureSuggestionFromSameCarrierAvailable()
|
D | ScoredNetworkNominator.java | 358 WifiConfiguration ans = mWifiConfigManager.getConfiguredNetwork( in getCandidateConfiguration()
|
D | WifiNetworkFactory.java | 711 mWifiConfigManager.getConfiguredNetwork(network.getKey()); in addNetworkToWifiConfigManager() 739 mWifiConfigManager.getConfiguredNetwork(network.getKey()); in disconnectAndRemoveNetworkFromWifiConfigManager()
|
D | WifiConfigManager.java | 717 public WifiConfiguration getConfiguredNetwork(int networkId) { in getConfiguredNetwork() method in WifiConfigManager 734 public WifiConfiguration getConfiguredNetwork(String configKey) { in getConfiguredNetwork() method in WifiConfigManager 1607 WifiConfiguration config = getConfiguredNetwork(networkId); in isInFlakyRandomizationSsidHotlist()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ConnectionFailureNotifierTest.java | 123 when(mWifiConfigManager.getConfiguredNetwork(config.networkId)).thenReturn(config); in testConnectionFailureSendRandomizationSettingsNotification() 161 when(mWifiConfigManager.getConfiguredNetwork(config.networkId)).thenReturn(config); in testWifiConfigurationMismatch() 172 when(mWifiConfigManager.getConfiguredNetwork(anyInt())) in testWifiConfigurationMismatch()
|
D | NetworkSuggestionNominatorTest.java | 451 verify(mWifiConfigManager).getConfiguredNetwork(eq( in testSelectNetworkSuggestionForOneMatchButFailToAddToWifiConfigManager() 494 when(mWifiConfigManager.getConfiguredNetwork(suggestions[0].wns.wifiConfiguration.getKey())) in testSelectNetworkSuggestionForOneMatchForExistingNetwork() 510 .getConfiguredNetwork(suggestions[0].wns.wifiConfiguration.getKey()); in testSelectNetworkSuggestionForOneMatchForExistingNetwork() 606 when(mWifiConfigManager.getConfiguredNetwork(suggestions[0].wns.wifiConfiguration.getKey())) in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled() 620 verify(mWifiConfigManager).getConfiguredNetwork(eq( in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled() 668 when(mWifiConfigManager.getConfiguredNetwork(suggestions[0].wns.wifiConfiguration.getKey())) in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisableExpired() 684 verify(mWifiConfigManager).getConfiguredNetwork(eq( in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisableExpired() 1021 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID + i)) in setupAddToWifiConfigManager() 1043 verify(mWifiConfigManager, atLeast(candidates.length)).getConfiguredNetwork(anyString()); in verifyAddToWifiConfigManager() 1064 verify(mWifiConfigManager, times(candidates.length)).getConfiguredNetwork(anyInt()); in verifyAddToWifiConfigManager()
|
D | WifiConfigManagerTest.java | 1349 mWifiConfigManager.getConfiguredNetwork(networkId).getNetworkSelectionStatus(); in verifyNetworkIsEnabledAfter() 1356 retrievedStatus = mWifiConfigManager.getConfiguredNetwork(networkId) in verifyNetworkIsEnabledAfter() 1412 mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()) in testTryEnableNetworkNoBssidsInBlocklist() 1431 mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testEnableDisableNetwork() 1440 retrievedNetwork = mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testEnableDisableNetwork() 1467 mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testEnableNetworkFailedDueToPermissionDenied() 1497 mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testDisableNetworkFailedDueToPermissionDenied() 1520 mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testAllowDisallowAutojoin() 1527 retrievedNetwork = mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testAllowDisallowAutojoin() 1546 mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in testUpdateLastConnectUid() [all …]
|
D | WifiConnectivityManagerTest.java | 358 when(mWifiConfigManager.getConfiguredNetwork(CANDIDATE_NETWORK_ID)).thenReturn(candidate); in mockWifiNetworkSelector() 398 when(wifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(null); in mockWifiConfigManager() 1495 when(mWifiConfigManager.getConfiguredNetwork(passpointKey)).thenReturn(config); in checkScanScheduleForSinglePasspointNetworkConnected() 1545 when(mWifiConfigManager.getConfiguredNetwork(networkKey)).thenReturn(config); in checkScanScheduleForSingleSuggestionsNetworkConnected() 1596 when(mWifiConfigManager.getConfiguredNetwork(networkKey)).thenReturn(config); in checkScanScheduleForSavedPasspointSuggestionNetworkConnected() 1607 when(mWifiConfigManager.getConfiguredNetwork(passpointKey)).thenReturn(passpointConfig); in checkScanScheduleForSavedPasspointSuggestionNetworkConnected() 1834 when(mWifiConfigManager.getConfiguredNetwork(TEST_CONNECTED_NETWORK_ID)) in verifyFullBandScanWhenConnected() 1906 when(mWifiConfigManager.getConfiguredNetwork(TEST_CONNECTED_NETWORK_ID)) in checkPartialScanRequestedWithLowRssiAndActiveStreamWithoutFwRoaming() 1955 when(mWifiConfigManager.getConfiguredNetwork(TEST_CONNECTED_NETWORK_ID)) in checkPartialScanRequestedWithHighRssiNoActiveStreamWithoutFwRoaming() 2001 when(mWifiConfigManager.getConfiguredNetwork(TEST_CONNECTED_NETWORK_ID)) in checkSingleScanSettingsWhenConnectedWithHighDataRateNotInCache() [all …]
|
D | WifiNetworkSelectorTestUtil.java | 305 when(wifiConfigManager.getConfiguredNetwork(anyInt())) in prepareConfigStore() 316 when(wifiConfigManager.getConfiguredNetwork(anyString())) in prepareConfigStore() 493 when(wifiConfigManager.getConfiguredNetwork(eq(networkId))) in setupEphemeralNetwork()
|
D | ClientModeImplTest.java | 880 when(mWifiConfigManager.getConfiguredNetwork(0)).thenReturn(config); in initializeMocksForAddedNetwork() 899 when(mWifiConfigManager.getConfiguredNetwork(eq(config.networkId))) in setupAndStartConnectSequence() 1000 WifiConfiguration config = mWifiConfigManager.getConfiguredNetwork(FRAMEWORK_NETWORK_ID); in connect() 1479 when(mWifiConfigManager.getConfiguredNetwork(eq(0))).thenReturn(null); in enableWithInvalidNetworkId() 1677 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(config); in connectWhileObtainingIp() 1699 when(mWifiConfigManager.getConfiguredNetwork(TEST_NETWORK_ID)).thenReturn(config); in testManualConnectNominator() 1784 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(config); in testWrongPasswordWithPreviouslyConnected() 1817 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(config); in testWrongPasswordWithNeverConnected() 1845 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(null); in testWrongPasswordWithNullNetwork() 1879 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(config); in testEapSimErrorVendorSpecific() [all …]
|
D | WifiServiceImplTest.java | 5155 when(mWifiConfigManager.getConfiguredNetwork(anyInt())).thenReturn(config); in testAllowAutojoinOnSuggestionNetwork() 5160 verify(mWifiConfigManager).getConfiguredNetwork(0); in testAllowAutojoinOnSuggestionNetwork() 5173 when(mWifiConfigManager.getConfiguredNetwork(0)).thenReturn(config); in testAllowAutojoinOnSavedNetwork() 5176 verify(mWifiConfigManager).getConfiguredNetwork(0); in testAllowAutojoinOnSavedNetwork() 5186 when(mWifiConfigManager.getConfiguredNetwork(0)).thenReturn(config); in testAllowAutojoinOnWifiNetworkSpecifier() 5189 verify(mWifiConfigManager).getConfiguredNetwork(0); in testAllowAutojoinOnWifiNetworkSpecifier() 5198 when(mWifiConfigManager.getConfiguredNetwork(0)).thenReturn(config); in testAllowAutojoinOnSavedPasspointNetwork() 5203 verify(mWifiConfigManager).getConfiguredNetwork(0); in testAllowAutojoinOnSavedPasspointNetwork()
|
D | WifiNetworkSelectorTest.java | 1060 when(mWifiConfigManager.getConfiguredNetwork(mWifiInfo.getNetworkId())) in testStayOrTryToSwitchImpl() 1432 when(mWifiConfigManager.getConfiguredNetwork(configs[0].networkId)) in testPasspointCandidateUpdateWithLatestScanDetail()
|
D | WifiNetworkFactoryTest.java | 1214 when(mWifiConfigManager.getConfiguredNetwork(mSelectedNetwork.getKey())) in testNetworkSpecifierHandleUserSelectionConnectToExistingSavedNetwork() 1626 when(mWifiConfigManager.getConfiguredNetwork(wcmNetwork.getKey())) in testHandleNetworkReleaseWithSpecifierAfterConnectionStart() 1665 when(mWifiConfigManager.getConfiguredNetwork(wcmNetwork.getKey())) in testHandleNetworkReleaseWithSpecifierAfterConnectionSuccess()
|
D | WifiNetworkSuggestionsManagerTest.java | 550 when(mWifiConfigManager.getConfiguredNetwork(networkSuggestion.wifiConfiguration.getKey())) in testAddNetworkSuggestionsSuccessOnInPlaceModificationWhenNotInWcm() 3201 when(mWifiConfigManager.getConfiguredNetwork(config.getKey())).thenReturn(config); in setupGetConfiguredNetworksFromWcm() 3964 when(mWifiConfigManager.getConfiguredNetwork(network2.getKey())).thenReturn(wcmConfig); in testShouldNotBeIgnoredBySecureSuggestionFromSameCarrierWithNetworkDisabled()
|
D | WifiMetricsTest.java | 2404 when(mWcm.getConfiguredNetwork(testNetworkId)).thenReturn(config); in testLogUserActionEventValidNetworkId() 2427 when(mWcm.getConfiguredNetwork(testNetworkId)).thenReturn(null); in testLogUserActionEventInvalidNetworkId()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkNominateHelper.java | 188 WifiConfiguration existingNetwork = mWifiConfigManager.getConfiguredNetwork( in createWifiConfigForProvider() 217 return mWifiConfigManager.getConfiguredNetwork(result.getNetworkId()); in createWifiConfigForProvider()
|
D | PasspointManager.java | 355 mWifiConfigManager.getConfiguredNetwork(newConfig.getKey()); in updateWifiConfigInWcmIfPresent()
|