Home
last modified time | relevance | path

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

12

/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiConfigurationTest.java26 import android.net.wifi.WifiConfiguration.KeyMgmt;
170 for (int keyMgmt = 0; keyMgmt < WifiConfiguration.KeyMgmt.strings.length; keyMgmt++) { in testIsOpenNetwork_NotOpen_HasAuthType()
171 if (keyMgmt == WifiConfiguration.KeyMgmt.NONE in testIsOpenNetwork_NotOpen_HasAuthType()
172 || keyMgmt == WifiConfiguration.KeyMgmt.OWE) { in testIsOpenNetwork_NotOpen_HasAuthType()
181 + WifiConfiguration.KeyMgmt.strings[keyMgmt], config.isOpenNetwork()); in testIsOpenNetwork_NotOpen_HasAuthType()
188 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in testIsOpenNetwork_NotOpen_HasAuthTypeNoneAndMore()
189 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP); in testIsOpenNetwork_NotOpen_HasAuthTypeNoneAndMore()
280 config.allowedKeyManagement.set(KeyMgmt.WPA2_PSK); in testSoftApConfigBackupAndRestore()
310 config.allowedKeyManagement.set(KeyMgmt.WPA_EAP); in testGetKeyIdForCredentials()
317 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 …]
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 …]
DWifiNetworkAgentSpecifierTest.java112 wifiConfiguration2.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in testWifiNetworkAgentSpecifierDoesNotEqualsWhenKeyMgmtDifferent()
214 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidPattern()
243 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithBssidPattern()
272 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidAndBssidPattern()
305 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithSsidPattern()
339 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithBssidPattern()
373 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithSsidAndBssidPattern()
401 wificonfigurationNetworkSpecifier.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithDifferentKeyMgmt()
430 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithDifferentUid()
445 wifiConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in createDefaultWifiConfiguration()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java100 public static class KeyMgmt { class in WifiConfiguration
101 private KeyMgmt() { } in KeyMgmt() method in WifiConfiguration.KeyMgmt
394 allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in setSecurityParams()
397 allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in setSecurityParams()
402 allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in setSecurityParams()
405 allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP); in setSecurityParams()
406 allowedKeyManagement.set(WifiConfiguration.KeyMgmt.IEEE8021X); in setSecurityParams()
409 allowedKeyManagement.set(WifiConfiguration.KeyMgmt.SAE); in setSecurityParams()
413 allowedKeyManagement.set(WifiConfiguration.KeyMgmt.SUITE_B_192); in setSecurityParams()
421 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()
347 && (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP) in saveWifiConfiguration()
348 || config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.IEEE8021X)); in saveWifiConfiguration()
368 if (keyMgmtMask.get(WifiConfiguration.KeyMgmt.SUITE_B_192) in saveWifiConfiguration()
445 if (keyMgmtMask.get(WifiConfiguration.KeyMgmt.SAE)) { in isAuthAlgNeeded()
719 case WifiConfiguration.KeyMgmt.NONE: in wifiConfigurationToSupplicantKeyMgmtMask()
722 case WifiConfiguration.KeyMgmt.WPA_PSK: in wifiConfigurationToSupplicantKeyMgmtMask()
725 case WifiConfiguration.KeyMgmt.WPA_EAP: in wifiConfigurationToSupplicantKeyMgmtMask()
728 case WifiConfiguration.KeyMgmt.IEEE8021X: 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.java536 case WifiConfiguration.KeyMgmt.NONE: in getEncryptionType()
539 case WifiConfiguration.KeyMgmt.WPA_PSK: in getEncryptionType()
542 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()
/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.java138 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in generateWifiConfig()
141 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in generateWifiConfig()
145 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.SAE); in generateWifiConfig()
150 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.OWE); in generateWifiConfig()
155 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP); in generateWifiConfig()
156 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.IEEE8021X); in generateWifiConfig()
161 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.SUITE_B_192); in generateWifiConfig()
488 if (configuration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in getScanResultCapsForNetwork()
490 } else if (configuration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP) in getScanResultCapsForNetwork()
491 || 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()
/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/
DWifiConfigurationHelper.java25 import android.net.wifi.WifiConfiguration.KeyMgmt;
60 config.allowedKeyManagement.set(KeyMgmt.NONE); in createOpenConfig()
80 config.allowedKeyManagement.set(KeyMgmt.NONE); in createWepConfig()
101 config.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in createPskConfig()
124 config.allowedKeyManagement.set(KeyMgmt.WPA_EAP); in createEapConfig()
125 config.allowedKeyManagement.set(KeyMgmt.IEEE8021X); in createEapConfig()
/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;
1233 mConfig.allowedKeyManagement.set(KeyMgmt.NONE); in generateOpenNetworkConfig()
1235 mConfig.allowedKeyManagement.set(KeyMgmt.OWE); in generateOpenNetworkConfig()
1650 if (config.allowedKeyManagement.get(KeyMgmt.SAE)) { in getSecurity()
1653 if (config.allowedKeyManagement.get(KeyMgmt.WPA_PSK)) { in getSecurity()
1656 if (config.allowedKeyManagement.get(KeyMgmt.SUITE_B_192)) { in getSecurity()
1659 if (config.allowedKeyManagement.get(KeyMgmt.WPA_EAP) || in getSecurity()
1660 config.allowedKeyManagement.get(KeyMgmt.IEEE8021X)) { in getSecurity()
1663 if (config.allowedKeyManagement.get(KeyMgmt.OWE)) { in getSecurity()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProviderTest.java1000 assertTrue(wifiConfig.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP)); in getWifiConfigWithUserCredential()
1001 assertTrue(wifiConfig.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.IEEE8021X)); in getWifiConfigWithUserCredential()
1071 assertTrue(wifiConfig.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP)); in getWifiConfigWithCertCredential()
1072 assertTrue(wifiConfig.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.IEEE8021X)); in getWifiConfigWithCertCredential()
1126 assertTrue(wifiConfig.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP)); in getWifiConfigWithSimCredential()
1127 assertTrue(wifiConfig.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.IEEE8021X)); in getWifiConfigWithSimCredential()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuNetworkConnection.java193 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in connect()

12