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.java937 possibleExistingConfig.getProfileKey()); in getInternalConfiguredNetworkByUpgradableType()
954 config.getProfileKey()); in getInternalConfiguredNetwork()
961 + " or configKey " + config.getProfileKey() in getInternalConfiguredNetwork()
1454 getInternalConfiguredNetwork(newInternalConfig.getProfileKey()); in addOrUpdateNetworkInternal()
1469 + config.getProfileKey()); in addOrUpdateNetworkInternal()
1494 + config.getProfileKey() + ". Must have NETWORK_SETTINGS," in addOrUpdateNetworkInternal()
1509 + config.getProfileKey() + ". Must have NETWORK_SETTINGS."); in addOrUpdateNetworkInternal()
1525 + "Settings " + config.getProfileKey() + ". Must have " in addOrUpdateNetworkInternal()
1538 + "setting " + config.getProfileKey() + ". Must have " in addOrUpdateNetworkInternal()
1665 + " configKey=" + newInternalConfig.getProfileKey() in addOrUpdateNetworkInternal()
[all …]
DNetworkSuggestionNominator.java129 mWifiConfigManager.getConfiguredNetwork(config.getProfileKey()); in addOrUpdateSuggestionToWifiConfigManger()
131 mLocalLog.log(config.getProfileKey() + "is already in the WifiConfigManager"); in addOrUpdateSuggestionToWifiConfigManger()
145 mLocalLog.log(config.getProfileKey() in addOrUpdateSuggestionToWifiConfigManger()
219 + " profile key: " + config.getProfileKey()); in findMatchedPasspointSuggestionNetworks()
252 mWifiConfigManager.getConfiguredNetwork(config.getProfileKey()); in findMatchedSuggestionNetworks()
254 mLocalLog.log(config.getProfileKey() in findMatchedSuggestionNetworks()
DWifiNetworkSuggestionsManager.java804 mWifiConfigManager.getConfiguredNetwork(wifiConfiguration.getProfileKey()); in removeNetworkFromScoreCard()
875 mWifiConfigManager.getConfiguredNetwork(newConfig.getProfileKey()); in updateWifiConfigInWcmIfPresent()
1339 removing.getProfileKey()); in removeInternal()
1373 .getProfileKey()); in removeNetworkSuggestionCache()
1607 .getProfileKey()); in getAllScanOptimizationSuggestionNetworks()
1639 .getProfileKey()); in getAllPasspointScanOptimizationSuggestionNetworks()
1954 .forEach(c -> wifiConfigMap.put(c.getProfileKey(), c)); in getWifiConfigForMatchedNetworkSuggestionsSharedWithUser()
1999 WifiConfiguration wCmWifiConfig = wifiConfigMap.get(config.getProfileKey()); in getWifiConfigForMatchedNetworkSuggestionsSharedWithUser()
2003 if (networkKeys.add(wCmWifiConfig.getProfileKey())) { in getWifiConfigForMatchedNetworkSuggestionsSharedWithUser()
2230 if (config.getProfileKey().equals(network.getProfileKey()) in getMatchedSuggestionsWithSameProfileKey()
[all …]
DConfigurationMap.java132 if (TextUtils.equals(config.getProfileKey(), key)) { in getByConfigKeyForCurrentUser()
DWifiNetworkSelector.java803 seenNetworks.add(candidate.getProfileKey()); in overrideCandidateWithUserConnectChoice()
811 if (seenNetworks.contains(tempConfig.getProfileKey())) { in overrideCandidateWithUserConnectChoice()
820 seenNetworks.add(tempConfig.getProfileKey()); in overrideCandidateWithUserConnectChoice()
1184 && !userConnectChoiceKey.equals(config.getProfileKey())) { in getCandidatesFromScan()
DSupplicantStaIfaceHalAidlImpl.java619 Log.e(TAG, "Failed to save variables for: " + config.getProfileKey()); in addNetworkAndSaveConfig()
686 Log.d(TAG, "connectToNetwork " + config.getProfileKey() + ", actualSsid=" + actualSsid); in connectToNetwork()
748 .getProfileKey()); in connectToNetwork()
759 + config.getProfileKey()); in connectToNetwork()
779 Log.e(TAG, "Failed to select network configuration: " + config.getProfileKey()); in connectToNetwork()
817 Log.d(TAG, "roamToNetwork" + config.getProfileKey() + " (bssid " + bssid + ")"); in roamToNetwork()
822 Log.e(TAG, "Failed to set new bssid on network: " + config.getProfileKey()); in roamToNetwork()
DSupplicantStaIfaceHalHidlImpl.java953 loge("Failed to save variables for: " + config.getProfileKey()); in addNetworkAndSaveConfig()
1020 logd("connectToNetwork " + config.getProfileKey()); in connectToNetwork()
1082 .getProfileKey()); in connectToNetwork()
1092 + config.getProfileKey()); in connectToNetwork()
1111 loge("Failed to select network configuration: " + config.getProfileKey()); in connectToNetwork()
1149 logd("roamToNetwork" + config.getProfileKey() + " (bssid " + bssid + ")"); in roamToNetwork()
1154 loge("Failed to set new bssid on network: " + config.getProfileKey()); in roamToNetwork()
DInsecureEapNetworkHandler.java271 ? mCurrentTofuConfig.getProfileKey() : "null"; in addPendingCertificate()
632 Log.e(TAG, "Cannot update CA cert to network " + mCurrentTofuConfig.getProfileKey() in handleAccept()
DWifiConnectivityManager.java1649 + candidate.getProfileKey()); in connectToNetworkForPrimaryCmmUsingMbbIfAvailable()
1654 + candidate.getProfileKey()); in connectToNetworkForPrimaryCmmUsingMbbIfAvailable()
1662 + candidate.getProfileKey()); in connectToNetworkForPrimaryCmmUsingMbbIfAvailable()
1683 + candidate.getProfileKey()); in connectToNetworkForPrimaryCmmUsingMbbIfAvailable()
2933 String suggestionKey = network.getWifiConfiguration().getProfileKey(); in useSingleSavedNetworkSchedule()
DWifiBlocklistMonitor.java1355 localLog("setNetworkSelectionStatus: configKey=" + config.getProfileKey() in setNetworkSelectionStatus()
1367 localLog("setNetworkSelectionEnabled: configKey=" + config.getProfileKey() in setNetworkSelectionEnabled()
DClientModeImpl.java386 logd(dbg + " clearTargetBssid " + bssid + " key=" + config.getProfileKey()); in clearTargetBssid()
411 + config.getProfileKey()); in setTargetBssid()
2187 sb.append(" ").append(config.getProfileKey()); in getLogRecString()
2219 sb.append(" ").append(config.getProfileKey()); in getLogRecString()
2296 sb.append(" targetConfigKey=").append(config.getProfileKey()); in getLogRecString()
2305 sb.append(" currentConfigKey=").append(config.getProfileKey()); in getLogRecString()
4472 currentNetwork.getProfileKey(), currentNetwork.SSID); in registerConnected()
7573 + " config " + config.getProfileKey() in processMessageImpl()
8092 Log.d(getTag(), "Select candidate security params for " + config.getProfileKey()); in selectCandidateSecurityParamsIfNecessary()
8226 final String key = config.getProfileKey(); in startIpClient()
DWifiNetworkFactory.java1073 mWifiConfigManager.getConfiguredNetwork(network.getProfileKey()); in addNetworkToWifiConfigManager()
1101 mWifiConfigManager.getConfiguredNetwork(network.getProfileKey()); in disconnectAndRemoveNetworkFromWifiConfigManager()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiConfigurationTest.java888 TEST_CARRIER_ID, TEST_SUB_ID, false), config.getProfileKey()); in testGetProfileKeyString()
892 TEST_CARRIER_ID, TEST_SUB_ID, false), config.getProfileKey()); in testGetProfileKeyString()
896 TEST_CARRIER_ID, TEST_SUB_ID, true), config.getProfileKey()); in testGetProfileKeyString()
902 TEST_CARRIER_ID, TEST_SUB_ID, false), config.getProfileKey()); in testGetProfileKeyString()
905 TEST_CARRIER_ID, TEST_SUB_ID, true), config.getProfileKey()); in testGetProfileKeyString()
911 TEST_CARRIER_ID, TEST_SUB_ID, false), config.getProfileKey()); in testGetProfileKeyString()
914 TEST_CARRIER_ID, TEST_SUB_ID, true), config.getProfileKey()); in testGetProfileKeyString()
923 TEST_CARRIER_ID, TEST_SUB_ID, false), config.getProfileKey()); in testGetProfileKeyString()
926 TEST_CARRIER_ID, TEST_SUB_ID, true), config.getProfileKey()); in testGetProfileKeyString()
936 TEST_CARRIER_ID, TEST_SUB_ID, false), config.getProfileKey()); in testGetProfileKeyString()
[all …]
/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.java1116 assertEquals(openNetworkSuggestion.getProfileKey(), in testCanUpdateMacRandomizationSettingForSuggestions()
1117 retrievedNetworks.get(0).getProfileKey()); in testCanUpdateMacRandomizationSettingForSuggestions()
1366 assertEquals(retrievedSavedNetworks.get(0).getProfileKey(), in testAddSinglePskNetwork()
1367 pskNetwork.getProfileKey()); in testAddSinglePskNetwork()
1392 assertEquals(retrievedSavedNetworks.get(0).getProfileKey(), in testAddSingleWepNetwork()
1393 wepNetwork.getProfileKey()); in testAddSingleWepNetwork()
3041 otherNetwork.getProfileKey())); in testNetworkLinkUsingGwMacAddress()
3105 assertNotNull(retrievedNetwork1.linkedConfigurations.get(network2.getProfileKey())); in testNetworkLinkOnlyIfCredentialsMatch()
3108 assertNotNull(retrievedNetwork2.linkedConfigurations.get(network1.getProfileKey())); in testNetworkLinkOnlyIfCredentialsMatch()
3230 otherNetwork.getProfileKey())); in testNetworkLinkUsingGwMacAddressWithPskAndSaeTypes()
[all …]
DWifiConfigurationTestUtil.java949 String expectedConfigKey = expectedConfiguration.getProfileKey(); in assertConfigurationsEqualForBackup()
952 String actualConfigKey = actualConfiguration.getProfileKey(); in assertConfigurationsEqualForBackup()
972 String expectedConfigKey = expectedConfiguration.getProfileKey(); in assertConfigurationsEqualForConfigManagerAddOrUpdate()
975 String actualConfigKey = actualConfiguration.getProfileKey(); in assertConfigurationsEqualForConfigManagerAddOrUpdate()
994 String expectedConfigKey = expectedConfiguration.getProfileKey(); in assertConfigurationsEqualForConfigStore()
997 String actualConfigKey = actualConfiguration.getProfileKey(); in assertConfigurationsEqualForConfigStore()
DNetworkSuggestionNominatorTest.java529 .createInternalWifiConfiguration(mWifiCarrierInfoManager).getProfileKey())); in testSelectNetworkSuggestionForOneMatchButInToWifiConfigManager()
591 .createInternalWifiConfiguration(mWifiCarrierInfoManager).getProfileKey()); in testSelectNetworkSuggestionForOneMatchForExistingNetwork()
698 .createInternalWifiConfiguration(mWifiCarrierInfoManager).getProfileKey())) in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled()
711 suggestions[0].wns.wifiConfiguration.getProfileKey())); in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled()
766 .createInternalWifiConfiguration(mWifiCarrierInfoManager).getProfileKey())) in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisableExpired()
784 .createInternalWifiConfiguration(mWifiCarrierInfoManager).getProfileKey())); in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisableExpired()
1879 when(mWifiConfigManager.getConfiguredNetwork(candidate.getProfileKey())) in setupAddToWifiConfigManager()
DWifiNetworkFactoryTest.java1429 when(mWifiConfigManager.getConfiguredNetwork(mSelectedNetwork.getProfileKey())) in testNetworkSpecifierHandleUserSelectionConnectToExistingSavedNetwork()
2170 when(mWifiConfigManager.getConfiguredNetwork(wcmNetwork.getProfileKey())) in testHandleNetworkReleaseWithSpecifierAfterConnectionStart()
2215 when(mWifiConfigManager.getConfiguredNetwork(wcmNetwork.getProfileKey())) in testHandleNetworkReleaseWithSpecifierAfterConnectionSuccess()
2261 when(mWifiConfigManager.getConfiguredNetwork(wcmNetwork.getProfileKey())) in testHandleNetworkReleaseWithSpecifierAfterConnectionSuccessOnSecondaryCmm()
2352 when(mWifiConfigManager.getConfiguredNetwork(wcmNetwork.getProfileKey())) in testMetricsUpdateForConcurrentConnections()
4080 return mConfig.getProfileKey().equals(otherConfig.getProfileKey()); in matches()
DWifiNetworkSelectorTestUtil.java351 if (TextUtils.equals(config.getProfileKey(), configKey)) { in prepareConfigStore()
DWifiNetworkSelectorTest.java1401 .setConnectChoice(userChoice.getProfileKey()); in userConnectChoiceOverridesNetworkNominators()
1449 .setConnectChoice(userChoice.getProfileKey()); in testUserConnectChoiceDoesNotOverrideWhenRssiLow()
1510 .setConnectChoice(userChoice.getProfileKey()); in userConnectChoiceDoesNotOverrideWhenUnexpectedNoInternet()
1565 .setConnectChoice(userChoice.getProfileKey()); in userConnectChoiceDoesNotOverrideWhenOverrideDisabled()
DWifiNetworkSuggestionsManagerTest.java771 .getProfileKey())).thenReturn(null); in testAddNetworkSuggestionsSuccessOnInPlaceModificationWhenNotInWcm()
773 .getProfileKey())).thenReturn(null); in testAddNetworkSuggestionsSuccessOnInPlaceModificationWhenNotInWcm()
3683 when(mWifiConfigManager.getConfiguredNetwork(config.getProfileKey())) in setupGetConfiguredNetworksFromWcm()
4686 when(mWifiConfigManager.getConfiguredNetwork(wcmConfig.getProfileKey())) in testShouldNotBeIgnoredBySecureSuggestionFromSameCarrierWithNetworkDisabled()
DSupplicantStaIfaceHalAidlImplTest.java583 linkedNetworks.put(linkedConfig.getProfileKey(), linkedConfig); in testUpdateLinkedNetworks()
3056 linkedNetworks.put(roamingConfig.getProfileKey(), roamingConfig); in executeAndValidateRoamSequence()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java316 PasspointProvider provider = mProviders.get(config.getProfileKey()); in onUserConnectChoiceSet()
440 mWifiConfigManager.getConfiguredNetwork(newConfig.getProfileKey()); in updateWifiConfigInWcmIfPresent()
573 newProvider.getWifiConfig().getProfileKey()); in addOrUpdateProvider()
628 provider.getWifiConfig().getProfileKey()); in removeProviderInternal()
780 provider.getWifiConfig().getProfileKey()); in enableMacRandomization()
1088 configs.computeIfAbsent(config.getProfileKey(), in getAllMatchingPasspointProfilesForScanResults()
1210 String profileKey = provider.getWifiConfig().getProfileKey(); in getWifiConfigsForPasspointProfiles()
1617 blockProvider(config.getProfileKey(), event.getBssid(), event.isEss(), in handleDeauthImminentEvent()
1644 PasspointProvider provider = mProviders.get(configuration.getProfileKey()); in setAnonymousIdentity()
1681 blockProvider(config.getProfileKey(), event.getBssid(), true, oneHourInSeconds); in handleTermsAndConditionsEvent()
[all …]
DPasspointNetworkNominateHelper.java322 config.getProfileKey()); in createWifiConfigForProvider()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java678 provider.getWifiConfig().getProfileKey()); in addRemoveSavedProviderWithValidUserCredential()
764 provider.getWifiConfig().getProfileKey()); in verifyEnableMacRandomization()
822 provider.getWifiConfig().getProfileKey()); in addRemoveSavedProviderWithValidSimCredential()
910 when(mWifiConfigManager.getConfiguredNetwork(origWifiConfig.getProfileKey())) in addSavedProviderWithExistingConfig()
921 origWifiConfig.getProfileKey()); in addSavedProviderWithExistingConfig()
945 .getProfileKey())).thenReturn(origWifiConfig); in addSavedProviderWithExistingConfig()
2014 passpointProvider.getWifiConfig().getProfileKey()); in verifyRemovingPasspointProfilesWhenAppIsDisabled()
2119 provider.getWifiConfig().getProfileKey()); in addRemoveSuggestionProvider()
2138 provider.getWifiConfig().getProfileKey()); in addRemoveSuggestionProvider()
2188 when(mWifiConfigManager.getConfiguredNetwork(origWifiConfig.getProfileKey())) in addSuggestionProviderWithExistingConfig()
[all …]

12