Home
last modified time | relevance | path

Searched refs:getProfileKey (Results 1 – 25 of 38) sorted by relevance

12

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java897 possibleExistingConfig.getProfileKey()); in getInternalConfiguredNetworkByUpgradableType()
914 config.getProfileKey()); in getInternalConfiguredNetwork()
921 + " or configKey " + config.getProfileKey() in getInternalConfiguredNetwork()
1361 getInternalConfiguredNetwork(newInternalConfig.getProfileKey()); in addOrUpdateNetworkInternal()
1375 + config.getProfileKey()); in addOrUpdateNetworkInternal()
1399 + config.getProfileKey() + ". Must have NETWORK_SETTINGS," in addOrUpdateNetworkInternal()
1413 + config.getProfileKey() + ". Must have NETWORK_SETTINGS."); in addOrUpdateNetworkInternal()
1428 + "Settings " + config.getProfileKey() + ". Must have " in addOrUpdateNetworkInternal()
1553 + " configKey=" + newInternalConfig.getProfileKey() in addOrUpdateNetworkInternal()
1741 + " configKey=" + config.getProfileKey()); in removeExcessNetworks()
[all …]
DNetworkSuggestionNominator.java124 mWifiConfigManager.getConfiguredNetwork(config.getProfileKey()); in addOrUpdateSuggestionToWifiConfigManger()
126 mLocalLog.log(config.getProfileKey() + "is already in the WifiConfigManager"); in addOrUpdateSuggestionToWifiConfigManger()
140 mLocalLog.log(config.getProfileKey() in addOrUpdateSuggestionToWifiConfigManger()
211 + " profile key: " + config.getProfileKey()); in findMatchedPasspointSuggestionNetworks()
241 mWifiConfigManager.getConfiguredNetwork(config.getProfileKey()); in findMatchedSuggestionNetworks()
243 mLocalLog.log(config.getProfileKey() in findMatchedSuggestionNetworks()
DWifiNetworkSuggestionsManager.java801 mWifiConfigManager.getConfiguredNetwork(wifiConfiguration.getProfileKey()); in removeNetworkFromScoreCard()
872 mWifiConfigManager.getConfiguredNetwork(newConfig.getProfileKey()); in updateWifiConfigInWcmIfPresent()
1326 removing.getProfileKey()); in removeInternal()
1360 .getProfileKey()); in removeNetworkSuggestionCache()
1581 .getProfileKey()); in getAllScanOptimizationSuggestionNetworks()
1889 .forEach(c -> wifiConfigMap.put(c.getProfileKey(), c)); in getWifiConfigForMatchedNetworkSuggestionsSharedWithUser()
1934 WifiConfiguration wCmWifiConfig = wifiConfigMap.get(config.getProfileKey()); in getWifiConfigForMatchedNetworkSuggestionsSharedWithUser()
1938 if (networkKeys.add(wCmWifiConfig.getProfileKey())) { in getWifiConfigForMatchedNetworkSuggestionsSharedWithUser()
2159 if (config.getProfileKey().equals(network.getProfileKey()) in getMatchedSuggestionsWithSameProfileKey()
2434 if (!mWifiInjector.getPasspointManager().enableAutojoin(config.getProfileKey(), in allowNetworkSuggestionAutojoin()
[all …]
DSupplicantStaIfaceHalAidlImpl.java545 Log.e(TAG, "Failed to save variables for: " + config.getProfileKey()); in addNetworkAndSaveConfig()
568 Log.d(TAG, "connectToNetwork " + config.getProfileKey()); in connectToNetwork()
599 .getProfileKey()); in connectToNetwork()
610 + config.getProfileKey()); in connectToNetwork()
630 Log.e(TAG, "Failed to select network configuration: " + config.getProfileKey()); in connectToNetwork()
668 Log.d(TAG, "roamToNetwork" + config.getProfileKey() + " (bssid " + bssid + ")"); in roamToNetwork()
673 Log.e(TAG, "Failed to set new bssid on network: " + config.getProfileKey()); in roamToNetwork()
DConfigurationMap.java132 if (TextUtils.equals(config.getProfileKey(), key)) { in getByConfigKeyForCurrentUser()
DSupplicantStaIfaceHalHidlImpl.java991 loge("Failed to save variables for: " + config.getProfileKey()); in addNetworkAndSaveConfig()
1014 logd("connectToNetwork " + config.getProfileKey()); in connectToNetwork()
1045 .getProfileKey()); in connectToNetwork()
1055 + config.getProfileKey()); in connectToNetwork()
1074 loge("Failed to select network configuration: " + config.getProfileKey()); in connectToNetwork()
1112 logd("roamToNetwork" + config.getProfileKey() + " (bssid " + bssid + ")"); in roamToNetwork()
1117 loge("Failed to set new bssid on network: " + config.getProfileKey()); in roamToNetwork()
DWifiNetworkSelector.java720 seenNetworks.add(candidate.getProfileKey()); in overrideCandidateWithUserConnectChoice()
728 if (seenNetworks.contains(tempConfig.getProfileKey())) { in overrideCandidateWithUserConnectChoice()
735 seenNetworks.add(tempConfig.getProfileKey()); in overrideCandidateWithUserConnectChoice()
DInsecureEapNetworkHandler.java261 ? mCurrentTofuConfig.getProfileKey() : "null"; in addPendingCertificate()
578 Log.e(TAG, "Cannot update CA cert to network " + mCurrentTofuConfig.getProfileKey() in handleAccept()
DClientModeImpl.java387 logd(dbg + " clearTargetBssid " + bssid + " key=" + config.getProfileKey()); in clearTargetBssid()
412 + config.getProfileKey()); in setTargetBssid()
1919 sb.append(" ").append(config.getProfileKey());
1951 sb.append(" ").append(config.getProfileKey());
2025 sb.append(" targetConfigKey=").append(config.getProfileKey());
2034 sb.append(" currentConfigKey=").append(config.getProfileKey());
3709 currentNetwork.getProfileKey());
6337 + " config " + config.getProfileKey()
6827 Log.d(getTag(), "Select candidate security params for " + config.getProfileKey());
6949 final String key = config.getProfileKey();
DWifiBlocklistMonitor.java1111 localLog("setNetworkSelectionStatus: configKey=" + config.getProfileKey() in setNetworkSelectionStatus()
1123 localLog("setNetworkSelectionEnabled: configKey=" + config.getProfileKey() in setNetworkSelectionEnabled()
DWifiNetworkFactory.java1013 mWifiConfigManager.getConfiguredNetwork(network.getProfileKey()); in addNetworkToWifiConfigManager()
1041 mWifiConfigManager.getConfiguredNetwork(network.getProfileKey()); in disconnectAndRemoveNetworkFromWifiConfigManager()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiConfigurationTest.java857 TEST_CARRIER_ID, TEST_SUB_ID, false), config.getProfileKey()); in testGetProfileKeyString()
860 TEST_CARRIER_ID, TEST_SUB_ID, true), config.getProfileKey()); in testGetProfileKeyString()
866 TEST_CARRIER_ID, TEST_SUB_ID, false), config.getProfileKey()); in testGetProfileKeyString()
869 TEST_CARRIER_ID, TEST_SUB_ID, true), config.getProfileKey()); in testGetProfileKeyString()
875 TEST_CARRIER_ID, TEST_SUB_ID, false), config.getProfileKey()); in testGetProfileKeyString()
878 TEST_CARRIER_ID, TEST_SUB_ID, true), config.getProfileKey()); in testGetProfileKeyString()
887 TEST_CARRIER_ID, TEST_SUB_ID, false), config.getProfileKey()); in testGetProfileKeyString()
890 TEST_CARRIER_ID, TEST_SUB_ID, true), config.getProfileKey()); in testGetProfileKeyString()
900 TEST_CARRIER_ID, TEST_SUB_ID, false), config.getProfileKey()); in testGetProfileKeyString()
903 TEST_CARRIER_ID, TEST_SUB_ID, true), config.getProfileKey()); in testGetProfileKeyString()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java305 PasspointProvider provider = mProviders.get(config.getProfileKey()); in onUserConnectChoiceSet()
431 mWifiConfigManager.getConfiguredNetwork(newConfig.getProfileKey()); in updateWifiConfigInWcmIfPresent()
560 newProvider.getWifiConfig().getProfileKey()); in addOrUpdateProvider()
615 provider.getWifiConfig().getProfileKey()); in removeProviderInternal()
767 provider.getWifiConfig().getProfileKey()); in enableMacRandomization()
1072 configs.computeIfAbsent(config.getProfileKey(), in getAllMatchingPasspointProfilesForScanResults()
1195 config = mWifiConfigManager.getConfiguredNetwork(config.getProfileKey()); in getWifiConfigsForPasspointProfiles()
1545 blockProvider(config.getProfileKey(), event.getBssid(), event.isEss(), in handleDeauthImminentEvent()
1572 PasspointProvider provider = mProviders.get(configuration.getProfileKey()); in setAnonymousIdentity()
1609 blockProvider(config.getProfileKey(), event.getBssid(), true, oneHourInSeconds); in handleTermsAndConditionsEvent()
[all …]
DPasspointNetworkNominateHelper.java273 config.getProfileKey()); in createWifiConfigForProvider()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DConfigurationMapTest.java205 config.getProfileKey())); in verifyGetters()
218 assertNull(mConfigs.getByConfigKeyForCurrentUser(config.getProfileKey())); in verifyGetters()
252 assertEquals(config.getProfileKey(), retrievedConfig.getProfileKey()); in verifyScanResultMatchWithNetwork()
DWifiConfigManagerTest.java1021 assertEquals(openNetworkSuggestion.getProfileKey(), in testCanUpdateMacRandomizationSettingForSuggestions()
1022 retrievedNetworks.get(0).getProfileKey()); in testCanUpdateMacRandomizationSettingForSuggestions()
1246 assertEquals(retrievedSavedNetworks.get(0).getProfileKey(), in testAddSinglePskNetwork()
1247 pskNetwork.getProfileKey()); in testAddSinglePskNetwork()
1272 assertEquals(retrievedSavedNetworks.get(0).getProfileKey(), in testAddSingleWepNetwork()
1273 wepNetwork.getProfileKey()); in testAddSingleWepNetwork()
2788 otherNetwork.getProfileKey())); in testNetworkLinkUsingGwMacAddress()
2852 assertNotNull(retrievedNetwork1.linkedConfigurations.get(network2.getProfileKey())); in testNetworkLinkOnlyIfCredentialsMatch()
2855 assertNotNull(retrievedNetwork2.linkedConfigurations.get(network1.getProfileKey())); in testNetworkLinkOnlyIfCredentialsMatch()
3012 otherNetwork.getProfileKey())); in testNetworkLinkUsingBSSIDMatch()
[all …]
DWifiConfigurationTestUtil.java930 String expectedConfigKey = expectedConfiguration.getProfileKey(); in assertConfigurationsEqualForBackup()
933 String actualConfigKey = actualConfiguration.getProfileKey(); in assertConfigurationsEqualForBackup()
953 String expectedConfigKey = expectedConfiguration.getProfileKey(); in assertConfigurationsEqualForConfigManagerAddOrUpdate()
956 String actualConfigKey = actualConfiguration.getProfileKey(); in assertConfigurationsEqualForConfigManagerAddOrUpdate()
975 String expectedConfigKey = expectedConfiguration.getProfileKey(); in assertConfigurationsEqualForConfigStore()
978 String actualConfigKey = actualConfiguration.getProfileKey(); in assertConfigurationsEqualForConfigStore()
DNetworkSuggestionNominatorTest.java502 .createInternalWifiConfiguration(mWifiCarrierInfoManager).getProfileKey())); in testSelectNetworkSuggestionForOneMatchButInToWifiConfigManager()
563 .createInternalWifiConfiguration(mWifiCarrierInfoManager).getProfileKey()); in testSelectNetworkSuggestionForOneMatchForExistingNetwork()
669 .createInternalWifiConfiguration(mWifiCarrierInfoManager).getProfileKey())) in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled()
681 suggestions[0].wns.wifiConfiguration.getProfileKey())); in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled()
736 .createInternalWifiConfiguration(mWifiCarrierInfoManager).getProfileKey())) in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisableExpired()
753 .createInternalWifiConfiguration(mWifiCarrierInfoManager).getProfileKey())); in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisableExpired()
1680 when(mWifiConfigManager.getConfiguredNetwork(candidate.getProfileKey())) in setupAddToWifiConfigManager()
DWifiNetworkFactoryTest.java1402 when(mWifiConfigManager.getConfiguredNetwork(mSelectedNetwork.getProfileKey())) in testNetworkSpecifierHandleUserSelectionConnectToExistingSavedNetwork()
2097 when(mWifiConfigManager.getConfiguredNetwork(wcmNetwork.getProfileKey())) in testHandleNetworkReleaseWithSpecifierAfterConnectionStart()
2142 when(mWifiConfigManager.getConfiguredNetwork(wcmNetwork.getProfileKey())) in testHandleNetworkReleaseWithSpecifierAfterConnectionSuccess()
2188 when(mWifiConfigManager.getConfiguredNetwork(wcmNetwork.getProfileKey())) in testHandleNetworkReleaseWithSpecifierAfterConnectionSuccessOnSecondaryCmm()
2279 when(mWifiConfigManager.getConfiguredNetwork(wcmNetwork.getProfileKey())) in testMetricsUpdateForConcurrentConnections()
3900 return mConfig.getProfileKey().equals(otherConfig.getProfileKey()); in matches()
DWifiNetworkSelectorTestUtil.java351 if (TextUtils.equals(config.getProfileKey(), configKey)) { in prepareConfigStore()
DWifiNetworkSelectorTest.java1154 .setConnectChoice(userChoice.getProfileKey()); in userConnectChoiceOverridesNetworkNominators()
1201 .setConnectChoice(userChoice.getProfileKey()); in testUserConnectChoiceDoesNotOverrideWhenRssiLow()
1260 .setConnectChoice(userChoice.getProfileKey()); in userConnectChoiceDoesNotOverrideWhenUnexpectedNoInternet()
DSupplicantStaIfaceHalAidlImplTest.java541 linkedNetworks.put(linkedConfig.getProfileKey(), linkedConfig); in testUpdateLinkedNetworks()
2584 linkedNetworks.put(roamingConfig.getProfileKey(), roamingConfig); in executeAndValidateRoamSequence()
DWifiNetworkSuggestionsManagerTest.java751 .getProfileKey())).thenReturn(null); in testAddNetworkSuggestionsSuccessOnInPlaceModificationWhenNotInWcm()
753 .getProfileKey())).thenReturn(null); in testAddNetworkSuggestionsSuccessOnInPlaceModificationWhenNotInWcm()
3667 when(mWifiConfigManager.getConfiguredNetwork(config.getProfileKey())) in setupGetConfiguredNetworksFromWcm()
4536 when(mWifiConfigManager.getConfiguredNetwork(wcmConfig.getProfileKey())) in testShouldNotBeIgnoredBySecureSuggestionFromSameCarrierWithNetworkDisabled()
DSupplicantStaNetworkHalAidlImplTest.java867 assertEquals(config.getProfileKey(), in testWifiConfigurationSaveLoad()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java668 provider.getWifiConfig().getProfileKey()); in addRemoveSavedProviderWithValidUserCredential()
754 provider.getWifiConfig().getProfileKey()); in verifyEnableMacRandomization()
812 provider.getWifiConfig().getProfileKey()); in addRemoveSavedProviderWithValidSimCredential()
900 when(mWifiConfigManager.getConfiguredNetwork(origWifiConfig.getProfileKey())) in addSavedProviderWithExistingConfig()
911 origWifiConfig.getProfileKey()); in addSavedProviderWithExistingConfig()
935 .getProfileKey())).thenReturn(origWifiConfig); in addSavedProviderWithExistingConfig()
1974 passpointProvider.getWifiConfig().getProfileKey()); in verifyRemovingPasspointProfilesWhenAppIsDisabled()
2079 provider.getWifiConfig().getProfileKey()); in addRemoveSuggestionProvider()
2098 provider.getWifiConfig().getProfileKey()); in addRemoveSuggestionProvider()
2148 when(mWifiConfigManager.getConfiguredNetwork(origWifiConfig.getProfileKey())) in addSuggestionProviderWithExistingConfig()
[all …]

12