Home
last modified time | relevance | path

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

12

/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A DWifiConfigManager.java851 possibleExistingConfig.getProfileKey()); in getInternalConfiguredNetworkByUpgradableType()
867 config.getProfileKey()); in getInternalConfiguredNetwork()
1288 + config.getProfileKey()); in addOrUpdateNetworkInternal()
1573 + " configKey=" + config.getProfileKey() in removeNetworkInternal()
1597 + config.getProfileKey()); in removeNetwork()
1721 suggestion.getProfileKey()); in removeSuggestionConfiguredNetwork()
1921 + config.getProfileKey()); in enableNetwork()
1958 + config.getProfileKey()); in disableNetwork()
2308 return config.getProfileKey(); in getLastSelectedNetworkConfigKey()
2653 if (linkConfig.getProfileKey().equals(config.getProfileKey())) { in attemptNetworkLinking()
[all …]
H A DNetworkSuggestionNominator.java124 mWifiConfigManager.getConfiguredNetwork(config.getProfileKey()); in addOrUpdateSuggestionToWifiConfigManger()
131 mLocalLog.log(config.getProfileKey() in addOrUpdateSuggestionToWifiConfigManger()
206 + " profile key: " + config.getProfileKey()); in findMatchedPasspointSuggestionNetworks()
235 mWifiConfigManager.getConfiguredNetwork(config.getProfileKey()); in findMatchedSuggestionNetworks()
237 mLocalLog.log(config.getProfileKey() in findMatchedSuggestionNetworks()
H A DWifiNetworkSuggestionsManager.java785 mWifiConfigManager.getConfiguredNetwork(wifiConfiguration.getProfileKey()); in removeNetworkFromScoreCard()
856 mWifiConfigManager.getConfiguredNetwork(newConfig.getProfileKey()); in updateWifiConfigInWcmIfPresent()
1277 .getProfileKey()); in removeInternal()
1496 .getProfileKey()); in getAllScanOptimizationSuggestionNetworks()
1812 .forEach(c -> wifiConfigMap.put(c.getProfileKey(), c)); in getWifiConfigForMatchedNetworkSuggestionsSharedWithUser()
1861 if (networkKeys.add(wCmWifiConfig.getProfileKey())) { in getWifiConfigForMatchedNetworkSuggestionsSharedWithUser()
2079 if (config.getProfileKey().equals(network.getProfileKey()) in getMatchedSuggestionsWithSameProfileKey()
2300 if (!mWifiInjector.getPasspointManager().enableAutojoin(config.getProfileKey(), in allowNetworkSuggestionAutojoin()
2477 .getConfiguredNetwork(ewns.wns.wifiConfiguration.getProfileKey()); in hasSecureSuggestionFromSameCarrierAvailable()
2556 .map(WifiConfiguration::getProfileKey) in onUserConnectChoiceSet()
[all …]
H A DConfigurationMap.java130 if (config.getProfileKey().equals(key)) { in getByConfigKeyForCurrentUser()
H A DSupplicantStaIfaceHal.java974 loge("Failed to save variables for: " + config.getProfileKey()); in addNetworkAndSaveConfig()
997 logd("connectToNetwork " + config.getProfileKey()); in connectToNetwork()
1028 .getProfileKey()); in connectToNetwork()
1038 + config.getProfileKey()); in connectToNetwork()
1053 loge("Failed to select network configuration: " + config.getProfileKey()); in connectToNetwork()
1091 logd("roamToNetwork" + config.getProfileKey() + " (bssid " + bssid + ")"); in roamToNetwork()
1096 loge("Failed to set new bssid on network: " + config.getProfileKey()); in roamToNetwork()
H A DWifiBlocklistMonitor.java1048 localLog("setNetworkSelectionStatus: configKey=" + config.getProfileKey() in setNetworkSelectionStatus()
1060 localLog("setNetworkSelectionEnabled: configKey=" + config.getProfileKey() in setNetworkSelectionEnabled()
H A DClientModeImpl.java366 logd(dbg + " clearTargetBssid " + bssid + " key=" + config.getProfileKey()); in clearTargetBssid()
391 + config.getProfileKey()); in setTargetBssid()
1703 sb.append(" ").append(config.getProfileKey());
1735 sb.append(" ").append(config.getProfileKey());
1806 sb.append(" targetConfigKey=").append(config.getProfileKey());
1815 sb.append(" currentConfigKey=").append(config.getProfileKey());
3290 currentNetwork.getProfileKey());
5705 + " config " + config.getProfileKey()
6275 final String key = config.getProfileKey();
H A DWifiNetworkFactory.java910 mWifiConfigManager.getConfiguredNetwork(network.getProfileKey()); in addNetworkToWifiConfigManager()
938 mWifiConfigManager.getConfiguredNetwork(network.getProfileKey()); in disconnectAndRemoveNetworkFromWifiConfigManager()
H A DWifiConnectivityManager.java2200 String suggestionKey = network.getWifiConfiguration().getProfileKey(); in useSingleSavedNetworkSchedule()
/aosp12/packages/modules/Wifi/framework/tests/src/android/net/wifi/
H A DWifiConfigurationTest.java775 TEST_CARRIER_ID, TEST_SUB_ID, true), config.getProfileKey()); in testGetProfileKeyString()
784 TEST_CARRIER_ID, TEST_SUB_ID, true), config.getProfileKey()); in testGetProfileKeyString()
793 TEST_CARRIER_ID, TEST_SUB_ID, true), config.getProfileKey()); in testGetProfileKeyString()
805 TEST_CARRIER_ID, TEST_SUB_ID, true), config.getProfileKey()); in testGetProfileKeyString()
818 TEST_CARRIER_ID, TEST_SUB_ID, true), config.getProfileKey()); in testGetProfileKeyString()
829 TEST_CARRIER_ID, TEST_SUB_ID, true), config.getProfileKey()); in testGetProfileKeyString()
838 TEST_CARRIER_ID, TEST_SUB_ID, true), config.getProfileKey()); in testGetProfileKeyString()
856 TEST_CARRIER_ID, TEST_SUB_ID, true), config.getProfileKey()); in testGetProfileKeyString()
865 TEST_CARRIER_ID, TEST_SUB_ID, true), config.getProfileKey()); in testGetProfileKeyString()
874 TEST_CARRIER_ID, TEST_SUB_ID, true), config.getProfileKey()); in testGetProfileKeyString()
[all …]
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DConfigurationMapTest.java193 config.getProfileKey())); in verifyGetters()
206 assertNull(mConfigs.getByConfigKeyForCurrentUser(config.getProfileKey())); in verifyGetters()
240 assertEquals(config.getProfileKey(), retrievedConfig.getProfileKey()); in verifyScanResultMatchWithNetwork()
H A DWifiConfigurationTestUtil.java862 String expectedConfigKey = expectedConfiguration.getProfileKey(); in assertConfigurationsEqual()
865 String actualConfigKey = actualConfiguration.getProfileKey(); in assertConfigurationsEqual()
948 String expectedConfigKey = expectedConfiguration.getProfileKey(); in assertConfigurationsEqualForBackup()
951 String actualConfigKey = actualConfiguration.getProfileKey(); in assertConfigurationsEqualForBackup()
971 String expectedConfigKey = expectedConfiguration.getProfileKey(); in assertConfigurationsEqualForConfigManagerAddOrUpdate()
974 String actualConfigKey = actualConfiguration.getProfileKey(); in assertConfigurationsEqualForConfigManagerAddOrUpdate()
993 String expectedConfigKey = expectedConfiguration.getProfileKey(); in assertConfigurationsEqualForConfigStore()
996 String actualConfigKey = actualConfiguration.getProfileKey(); in assertConfigurationsEqualForConfigStore()
H A DWifiConfigManagerTest.java1136 pskNetwork.getProfileKey()); in testAddSinglePskNetwork()
1162 wepNetwork.getProfileKey()); in testAddSingleWepNetwork()
3099 if (network.getProfileKey().equals(sharedNetwork1.getProfileKey())) { in testHandleUserSwitchDoesNotChangeSharedNetworksId()
3128 if (network.getProfileKey().equals(sharedNetwork1.getProfileKey())) { in testHandleUserSwitchDoesNotChangeSharedNetworksId()
3184 if (network.getProfileKey().equals(user1Network.getProfileKey())) { in testHandleUserSwitchRemovesOldUserPrivateNetworks()
3251 if (network.getProfileKey().equals(ephemeralNetwork.getProfileKey())) { in testHandleUserSwitchRemovesOldUserEphemeralNetworks()
4005 network2.getProfileKey(), in testRemoveNetworkRemovesConnectChoice()
4013 network2.getProfileKey(), in testRemoveNetworkRemovesConnectChoice()
4021 network2.getProfileKey(), in testRemoveNetworkRemovesConnectChoice()
4050 network2.getProfileKey(), in testDisableAutojoinRemovesConnectChoice()
[all …]
H A DNetworkSuggestionNominatorTest.java501 .createInternalWifiConfiguration(mWifiCarrierInfoManager).getProfileKey())); in testSelectNetworkSuggestionForOneMatchButInToWifiConfigManager()
562 .createInternalWifiConfiguration(mWifiCarrierInfoManager).getProfileKey()); in testSelectNetworkSuggestionForOneMatchForExistingNetwork()
668 .createInternalWifiConfiguration(mWifiCarrierInfoManager).getProfileKey())) in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled()
680 suggestions[0].wns.wifiConfiguration.getProfileKey())); in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisabled()
735 .createInternalWifiConfiguration(mWifiCarrierInfoManager).getProfileKey())) in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisableExpired()
752 .createInternalWifiConfiguration(mWifiCarrierInfoManager).getProfileKey())); in testSelectNetworkSuggestionForOneMatchForExistingNetworkButTempDisableExpired()
1588 when(mWifiConfigManager.getConfiguredNetwork(candidate.getProfileKey())) in setupAddToWifiConfigManager()
H A DWifiNetworkFactoryTest.java1377 when(mWifiConfigManager.getConfiguredNetwork(mSelectedNetwork.getProfileKey())) in testNetworkSpecifierHandleUserSelectionConnectToExistingSavedNetwork()
2070 when(mWifiConfigManager.getConfiguredNetwork(wcmNetwork.getProfileKey())) in testHandleNetworkReleaseWithSpecifierAfterConnectionStart()
2115 when(mWifiConfigManager.getConfiguredNetwork(wcmNetwork.getProfileKey())) in testHandleNetworkReleaseWithSpecifierAfterConnectionSuccess()
2161 when(mWifiConfigManager.getConfiguredNetwork(wcmNetwork.getProfileKey())) in testHandleNetworkReleaseWithSpecifierAfterConnectionSuccessOnSecondaryCmm()
2252 when(mWifiConfigManager.getConfiguredNetwork(wcmNetwork.getProfileKey())) in testMetricsUpdateForConcurrentConnections()
3602 return mConfig.getProfileKey().equals(otherConfig.getProfileKey()); in matches()
H A DWifiNetworkSelectorTestUtil.java335 if (TextUtils.equals(config.getProfileKey(), configKey)) { in prepareConfigStore()
H A DWifiNetworkSelectorTest.java876 .setConnectChoice(userChoice.getProfileKey()); in userConnectChoiceOverridesNetworkNominators()
923 .setConnectChoice(userChoice.getProfileKey()); in testUserConnectChoiceDoesNotOverrideWhenRssiLow()
982 .setConnectChoice(userChoice.getProfileKey()); in userConnectChoiceDoesNotOverrideWhenUnexpectedNoInternet()
H A DWifiNetworkSuggestionsManagerTest.java735 .getProfileKey())).thenReturn(null); in testAddNetworkSuggestionsSuccessOnInPlaceModificationWhenNotInWcm()
737 .getProfileKey())).thenReturn(null); in testAddNetworkSuggestionsSuccessOnInPlaceModificationWhenNotInWcm()
3679 when(mWifiConfigManager.getConfiguredNetwork(config.getProfileKey())) in setupGetConfiguredNetworksFromWcm()
4485 when(mWifiConfigManager.getConfiguredNetwork(wcmConfig.getProfileKey())) in testShouldNotBeIgnoredBySecureSuggestionFromSameCarrierWithNetworkDisabled()
H A DWifiConnectivityManagerTest.java2407 when(mSuggestionConfig.getProfileKey()).thenReturn(networkKey); in checkScanScheduleForSingleSuggestionsNetworkConnected()
2458 when(mSuggestionConfig.getProfileKey()).thenReturn(networkKey); in checkScanScheduleForSavedPasspointSuggestionNetworkConnected()
H A DSupplicantStaNetworkHalTest.java1141 assertEquals(config.getProfileKey(), in testWifiConfigurationSaveLoad()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
H A DPasspointManager.java298 PasspointProvider provider = mProviders.get(config.getProfileKey()); in onUserConnectChoiceSet()
410 mWifiConfigManager.getConfiguredNetwork(newConfig.getProfileKey()); in updateWifiConfigInWcmIfPresent()
529 newProvider.getWifiConfig().getProfileKey()); in addOrUpdateProvider()
576 provider.getWifiConfig().getProfileKey()); in removeProviderInternal()
724 provider.getWifiConfig().getProfileKey()); in enableMacRandomization()
1053 configs.computeIfAbsent(config.getProfileKey(), in getAllMatchingPasspointProfilesForScanResults()
1176 config = mWifiConfigManager.getConfiguredNetwork(config.getProfileKey()); in getWifiConfigsForPasspointProfiles()
1525 blockProvider(config.getProfileKey(), event.getBssid(), event.isEss(), in handleDeauthImminentEvent()
1552 PasspointProvider provider = mProviders.get(configuration.getProfileKey()); in setAnonymousIdentity()
1589 blockProvider(config.getProfileKey(), event.getBssid(), true, oneHourInSeconds); in handleTermsAndConditionsEvent()
[all …]
H A DPasspointNetworkNominateHelper.java198 config.getProfileKey()); in createWifiConfigForProvider()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
H A DPasspointManagerTest.java637 provider.getWifiConfig().getProfileKey()); in addRemoveSavedProviderWithValidUserCredential()
723 provider.getWifiConfig().getProfileKey()); in verifyEnableMacRandomization()
781 provider.getWifiConfig().getProfileKey()); in addRemoveSavedProviderWithValidSimCredential()
880 origWifiConfig.getProfileKey()); in addSavedProviderWithExistingConfig()
903 .getProfileKey())).thenReturn(origWifiConfig); in addSavedProviderWithExistingConfig()
2086 provider.getWifiConfig().getProfileKey()); in addRemoveSuggestionProvider()
2105 provider.getWifiConfig().getProfileKey()); in addRemoveSuggestionProvider()
2163 origWifiConfig.getProfileKey()); in addSuggestionProviderWithExistingConfig()
2603 provider1.getWifiConfig().getProfileKey()); in removeAllProvidersWithSameFqdn()
2606 provider2.getWifiConfig().getProfileKey()); in removeAllProvidersWithSameFqdn()
[all …]
/aosp12/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
H A DStandardWifiEntryTest.java1250 when(mockConfig.getProfileKey()).thenReturn("profileKey"); in testStandardWifiEntryKey_toAndFromJson_matches()
/aosp12/packages/modules/Wifi/framework/java/android/net/wifi/
H A DWifiConfiguration.java3861 @NonNull public String getProfileKey() { in getProfileKey() method in WifiConfiguration

12