Home
last modified time | relevance | path

Searched refs:KeyMgmt (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiConfigurationTest.java27 import android.net.wifi.WifiConfiguration.KeyMgmt;
172 for (int keyMgmt = 0; keyMgmt < WifiConfiguration.KeyMgmt.strings.length; keyMgmt++) { in testIsOpenNetwork_NotOpen_HasAuthType()
173 if (keyMgmt == WifiConfiguration.KeyMgmt.NONE in testIsOpenNetwork_NotOpen_HasAuthType()
174 || keyMgmt == WifiConfiguration.KeyMgmt.OWE) { in testIsOpenNetwork_NotOpen_HasAuthType()
183 + WifiConfiguration.KeyMgmt.strings[keyMgmt], config.isOpenNetwork()); in testIsOpenNetwork_NotOpen_HasAuthType()
190 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in testIsOpenNetwork_NotOpen_HasAuthTypeNoneAndMore()
191 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP); in testIsOpenNetwork_NotOpen_HasAuthTypeNoneAndMore()
282 config.allowedKeyManagement.set(KeyMgmt.WPA2_PSK); in testSoftApConfigBackupAndRestore()
312 config.allowedKeyManagement.set(KeyMgmt.WPA_EAP); in testGetKeyIdForCredentials()
319 config.allowedKeyManagement.set(KeyMgmt.WPA_EAP); in testGetKeyIdForCredentials()
[all …]
DWifiNetworkSuggestionTest.java58 .get(WifiConfiguration.KeyMgmt.NONE)); in testWifiNetworkSuggestionBuilderForOpenNetworkWithReqAppInteraction()
83 .get(WifiConfiguration.KeyMgmt.WPA_PSK)); in testWifiNetworkSuggestionBuilderForWpa2EapNetworkWithPriorityAndReqAppInteraction()
110 .get(WifiConfiguration.KeyMgmt.WPA_PSK)); in testWifiNetworkSuggestionBuilderForWpa2PskNetworkWithMeteredAndReqUserInteraction()
135 .get(WifiConfiguration.KeyMgmt.OWE)); in testWifiNetworkSuggestionBuilderForEnhancedOpenNetworkWithBssid()
153 .get(WifiConfiguration.KeyMgmt.SAE)); in testWifiNetworkSuggestionBuilderForWpa3PskNetwork()
177 .get(WifiConfiguration.KeyMgmt.SUITE_B_192)); in testWifiNetworkSuggestionBuilderForWpa3EapNetwork()
321 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in testWifiNetworkSuggestionParcel()
355 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSuggestionEqualsSame()
363 configuration1.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSuggestionEqualsSame()
379 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in testWifiNetworkSuggestionEqualsFailsWhenSsidIsDifferent()
[all …]
DWifiNetworkAgentSpecifierTest.java101 wifiConfiguration2.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in testWifiNetworkAgentSpecifierDoesNotEqualsWhenKeyMgmtDifferent()
203 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidPattern()
232 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithBssidPattern()
261 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidAndBssidPattern()
294 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithSsidPattern()
328 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithBssidPattern()
362 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithSsidAndBssidPattern()
390 wificonfigurationNetworkSpecifier.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithDifferentKeyMgmt()
419 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithDifferentUid()
434 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in createDefaultWifiConfiguration()
DWifiNetworkSpecifierTest.java71 .get(WifiConfiguration.KeyMgmt.NONE)); in testWifiNetworkSpecifierBuilderForOpenNetworkWithSsidPattern()
97 .get(WifiConfiguration.KeyMgmt.WPA_PSK)); in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern()
130 .get(WifiConfiguration.KeyMgmt.WPA_EAP)); in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid()
132 .get(WifiConfiguration.KeyMgmt.IEEE8021X)); in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid()
361 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSpecifierParcel()
393 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSpecifierSatisfiesNullAndAllMatch()
415 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSpecifierSatisfiesSame()
444 wifiConfiguration1.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSpecifierDoesNotSatisfyWhenKeyMgmtDifferent()
455 wifiConfiguration2.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in testWifiNetworkSpecifierDoesNotSatisfyWhenKeyMgmtDifferent()
475 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkSpecifierDoesNotSatisfyWhenSsidDifferent()
[all …]
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java101 public static class KeyMgmt { class in WifiConfiguration
102 private KeyMgmt() { } in KeyMgmt() method in WifiConfiguration.KeyMgmt
395 allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in setSecurityParams()
398 allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in setSecurityParams()
403 allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in setSecurityParams()
406 allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP); in setSecurityParams()
407 allowedKeyManagement.set(WifiConfiguration.KeyMgmt.IEEE8021X); in setSecurityParams()
410 allowedKeyManagement.set(WifiConfiguration.KeyMgmt.SAE); in setSecurityParams()
414 allowedKeyManagement.set(WifiConfiguration.KeyMgmt.SUITE_B_192); in setSecurityParams()
422 allowedKeyManagement.set(WifiConfiguration.KeyMgmt.OWE); in setSecurityParams()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigurationUtil.java123 return config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK); in isConfigForPskNetwork()
130 return config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.SAE); in isConfigForSaeNetwork()
137 return config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.OWE); in isConfigForOweNetwork()
144 return (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP) in isConfigForEapNetwork()
145 || config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.IEEE8021X)); in isConfigForEapNetwork()
152 return config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.SUITE_B_192); in isConfigForEapSuiteBNetwork()
159 return (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE) in isConfigForWepNetwork()
479 WifiConfiguration.KeyMgmt.strings.length)) { in validateBitSets()
521 if (!keyMgmnt.get(WifiConfiguration.KeyMgmt.WPA_EAP)) { in validateKeyMgmt()
525 if (!keyMgmnt.get(WifiConfiguration.KeyMgmt.IEEE8021X) in validateKeyMgmt()
[all …]
DCarrierNetworkNotifier.java22 import android.net.wifi.WifiConfiguration.KeyMgmt;
66 network.allowedKeyManagement.set(KeyMgmt.WPA_EAP); in createRecommendedNetworkConfig()
67 network.allowedKeyManagement.set(KeyMgmt.IEEE8021X); in createRecommendedNetworkConfig()
DSupplicantStaNetworkHal.java291 if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.SAE)) { in saveWifiConfiguration()
306 if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.SAE)) { in saveWifiConfiguration()
360 if (keyMgmtMask.get(WifiConfiguration.KeyMgmt.SUITE_B_192) in saveWifiConfiguration()
437 if (keyMgmtMask.get(WifiConfiguration.KeyMgmt.SAE)) { in isAuthAlgNeeded()
711 case WifiConfiguration.KeyMgmt.NONE: in wifiConfigurationToSupplicantKeyMgmtMask()
714 case WifiConfiguration.KeyMgmt.WPA_PSK: in wifiConfigurationToSupplicantKeyMgmtMask()
717 case WifiConfiguration.KeyMgmt.WPA_EAP: in wifiConfigurationToSupplicantKeyMgmtMask()
720 case WifiConfiguration.KeyMgmt.IEEE8021X: in wifiConfigurationToSupplicantKeyMgmtMask()
723 case WifiConfiguration.KeyMgmt.OSEN: in wifiConfigurationToSupplicantKeyMgmtMask()
726 case WifiConfiguration.KeyMgmt.FT_PSK: in wifiConfigurationToSupplicantKeyMgmtMask()
[all …]
DWifiApConfigStore.java28 import android.net.wifi.WifiConfiguration.KeyMgmt;
291 if (authType != KeyMgmt.NONE) { in loadApConfiguration()
323 if (authType != KeyMgmt.NONE) { in writeApConfiguration()
342 config.allowedKeyManagement.set(KeyMgmt.WPA2_PSK); in getDefaultApConfiguration()
365 config.allowedKeyManagement.set(KeyMgmt.WPA2_PSK); in generateLocalOnlyHotspotConfig()
453 if (authType == KeyMgmt.NONE) { in validateApWifiConfiguration()
459 } else if (authType == KeyMgmt.WPA2_PSK) { in validateApWifiConfiguration()
DWifiBackupRestore.java436 public static final String SUPPLICANT_KEY_KEY_MGMT = WifiConfiguration.KeyMgmt.varName;
597 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in createWifiConfiguration()
598 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP); in createWifiConfiguration()
612 WifiConfiguration.KeyMgmt.NONE); in createWifiConfiguration()
615 WifiConfiguration.KeyMgmt.WPA_PSK); in createWifiConfiguration()
618 WifiConfiguration.KeyMgmt.WPA_EAP); in createWifiConfiguration()
621 WifiConfiguration.KeyMgmt.IEEE8021X); in createWifiConfiguration()
DHostapdHal.java586 case WifiConfiguration.KeyMgmt.NONE: in getEncryptionType()
589 case WifiConfiguration.KeyMgmt.WPA_PSK: in getEncryptionType()
592 case WifiConfiguration.KeyMgmt.WPA2_PSK: in getEncryptionType()
DDppManager.java208 if (selectedNetwork.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.SAE)) { in startDppAsConfiguratorInitiator()
212 } else if (selectedNetwork.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in startDppAsConfiguratorInitiator()
DWifiBackupDataV1Parser.java225 > WifiConfiguration.KeyMgmt.strings.length) { in clearAnyKnownIssuesInParsedConfiguration()
227 WifiConfiguration.KeyMgmt.strings.length, in clearAnyKnownIssuesInParsedConfiguration()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiApConfigStoreTest.java35 import android.net.wifi.WifiConfiguration.KeyMgmt;
193 assertTrue(config.allowedKeyManagement.get(KeyMgmt.WPA2_PSK)); in verifyDefaultApConfig()
204 assertTrue(config.allowedKeyManagement.get(KeyMgmt.WPA2_PSK)); in verifyDefaultLocalOnlyApConfig()
229 KeyMgmt.WPA_EAP, /* key management */ in initWithExistingConfiguration()
251 KeyMgmt.WPA_EAP, /* key management */ in setNullApConfiguration()
281 KeyMgmt.WPA_EAP, /* key management */ in updateApConfiguration()
307 KeyMgmt.WPA_EAP, /* key management */ in convertSingleModeDeviceAnyTo5Ghz()
315 KeyMgmt.WPA_EAP, /* key management */ in convertSingleModeDeviceAnyTo5Ghz()
341 KeyMgmt.WPA_EAP, /* key management */ in singleModeDevice5GhzNotConverted()
368 KeyMgmt.WPA_EAP, /* key management */ in convertDualModeDevice5GhzToAny()
[all …]
DWifiConfigurationTestUtil.java139 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in generateWifiConfig()
142 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in generateWifiConfig()
146 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.SAE); in generateWifiConfig()
151 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.OWE); in generateWifiConfig()
156 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP); in generateWifiConfig()
157 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.IEEE8021X); in generateWifiConfig()
162 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.SUITE_B_192); in generateWifiConfig()
489 if (configuration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in getScanResultCapsForNetwork()
491 } else if (configuration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP) in getScanResultCapsForNetwork()
492 || configuration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.IEEE8021X)) { in getScanResultCapsForNetwork()
[all …]
DHostapdHalTest.java225 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA2_PSK); in testAddAccessPointSuccess_Psk_Band2G()
259 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in testAddAccessPointSuccess_Open_Band5G()
292 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA2_PSK); in testAddAccessPointSuccess_Psk_Band5G_Hidden()
330 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA2_PSK); in testAddAccessPointSuccess_Psk_Band2G_WithACS()
368 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA2_PSK); in testAddAccessPointSuccess_Psk_Band2G_WithIeee80211AC()
405 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA2_PSK); in testAddAccessPointSuccess_Psk_BandAny_WithACS()
443 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA2_PSK); in testAddAccessPointSuccess_Psk_BandAny_Downgraded_WithoutACS()
509 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA2_PSK); in testAddAccessPointSuccess_Psk_BandAny_WithACS_AcsChannels()
543 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in testAddAccessPointInvalidBandFailure()
561 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in testAddAccessPointFailure()
[all …]
DDppManagerTest.java171 selectedNetwork.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testStartDppAsConfiguratorInitiatorFailAddPeer()
217 selectedNetwork.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testStartDppAsConfiguratorInitiatorFailStart()
261 selectedNetwork.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testStartDppAsConfiguratorInitiatorStartCorrectlyWpa2Psk()
286 selectedNetwork.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.SAE); in testStartDppAsConfiguratorInitiatorStartCorrectlyWpa3Sae()
310 selectedNetwork.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in testStartDppAsConfiguratorInitiatorFailOpenNetwork()
333 selectedNetwork.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP); in testStartDppAsConfiguratorInitiatorFailEapNetwork()
370 selectedNetwork.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.SAE); in testStartDppAsConfiguratorInitiatorStartCorrectlyAndRejectConcurrentRequest()
422 selectedNetwork.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.SAE); in testStartDppAsConfiguratorInitiatorStartOnSuccessCallback()
484 selectedNetwork.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.SAE); in testStartDppAsEnrolleeInitiatorStartCorrectlyOnSuccessCallback()
515 selectedNetwork.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.SAE); in testStartDppAsConfiguratorInitiatorStartOnFailureCallback()
[all …]
DWifiBackupRestoreTest.java341 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in createNetworkForConfigurationWithUnsupportedTag()
394 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore()
919 expectedConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testSingleNetworkSupplicantBackupRestoreWithUnknownEAPKey()
972 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in createNetworkForConfigurationWithV1_0Data()
1053 if (configuration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE)) { in writeConfigurationToWpaSupplicantConf()
1056 if (configuration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in writeConfigurationToWpaSupplicantConf()
1059 if (configuration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP)) { in writeConfigurationToWpaSupplicantConf()
1062 if (configuration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.IEEE8021X)) { in writeConfigurationToWpaSupplicantConf()
DCarrierNetworkEvaluatorTest.java248 assertTrue(config1.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP)); in testSelectOneFromMultiple()
252 assertTrue(config2.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP)); in testSelectOneFromMultiple()
257 assertTrue(config3.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP)); in testSelectOneFromMultiple()
261 assertTrue(config4.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP)); in testSelectOneFromMultiple()
DWifiConfigurationUtilTest.java441 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.IEEE8021X); in testValidateNegativeCases_BadKeyMgmtPskEap()
453 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testValidateNegativeCases_BadKeyMgmtOpenPsk()
465 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.IEEE8021X); in testValidateNegativeCases_BadKeyMgmt()
494 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.FT_EAP + 1); in testValidateNegativeCases_InvalidKeyMgmt()
DWifiNetworkFactoryTest.java716 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatch()
759 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in testNetworkSpecifierMatchSuccessUsingPrefixSsidMatch()
803 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testNetworkSpecifierMatchSuccessUsingLiteralBssidMatch()
847 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP); in testNetworkSpecifierMatchSuccessUsingOuiPrefixBssidMatch()
892 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchWithMultipleBssidMatches()
939 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testNetworkSpecifierMatchFailUsingLiteralSsidMatchWhenSsidNotFound()
979 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testNetworkSpecifierMatchFailUsingLiteralSsidMatchWhenKeyMgmtDiffers()
1216 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testNetworkSpecifierHandleUserSelectionConnectToNetworkUsingLiteralSsidAndBssidMatch()
1272 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testNetworkSpecifierHandleUserSelectionConnectToNetworkMultipleBssidMatches()
2555 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testNetworkSpecifierMatchSuccessUsingLiteralSsidMatchCallbackRegistrationDelayed()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DWifiConfigurationHelper.java26 import android.net.wifi.WifiConfiguration.KeyMgmt;
61 config.allowedKeyManagement.set(KeyMgmt.NONE); in createOpenConfig()
81 config.allowedKeyManagement.set(KeyMgmt.NONE); in createWepConfig()
102 config.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in createPskConfig()
125 config.allowedKeyManagement.set(KeyMgmt.WPA_EAP); in createEapConfig()
126 config.allowedKeyManagement.set(KeyMgmt.IEEE8021X); in createEapConfig()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DScanResultUtilTest.java98 assertTrue(config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE)); in testNetworkCreationFromScanResult()
103 assertTrue(config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE)); in testNetworkCreationFromScanResult()
110 assertTrue(config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)); in testNetworkCreationFromScanResult()
115 assertTrue(config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP)); in testNetworkCreationFromScanResult()
116 assertTrue(config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.IEEE8021X)); in testNetworkCreationFromScanResult()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiClientTest.java26 import android.net.wifi.WifiConfiguration.KeyMgmt;
118 config.allowedKeyManagement.set(KeyMgmt.NONE); in testAddRemoveNetwork()
155 config.allowedKeyManagement.set(KeyMgmt.NONE); in testEnableDisableNetwork()
205 config.allowedKeyManagement.set(KeyMgmt.NONE); in testSaveConfig()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java39 import android.net.wifi.WifiConfiguration.KeyMgmt;
1340 mConfig.allowedKeyManagement.set(KeyMgmt.NONE); in generateOpenNetworkConfig()
1342 mConfig.allowedKeyManagement.set(KeyMgmt.OWE); in generateOpenNetworkConfig()
1745 if (config.allowedKeyManagement.get(KeyMgmt.SAE)) { in getSecurity()
1748 if (config.allowedKeyManagement.get(KeyMgmt.WPA_PSK)) { in getSecurity()
1751 if (config.allowedKeyManagement.get(KeyMgmt.SUITE_B_192)) { in getSecurity()
1754 if (config.allowedKeyManagement.get(KeyMgmt.WPA_EAP) || in getSecurity()
1755 config.allowedKeyManagement.get(KeyMgmt.IEEE8021X)) { in getSecurity()
1758 if (config.allowedKeyManagement.get(KeyMgmt.OWE)) { in getSecurity()

12