/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiConfigurationTest.java | 26 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 …]
|
D | WifiNetworkSuggestionTest.java | 58 .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 …]
|
D | WifiNetworkSpecifierTest.java | 71 .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 …]
|
D | WifiNetworkAgentSpecifierTest.java | 112 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/ |
D | WifiConfiguration.java | 100 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/ |
D | WifiConfigurationUtil.java | 123 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 …]
|
D | CarrierNetworkNotifier.java | 22 import android.net.wifi.WifiConfiguration.KeyMgmt; 66 network.allowedKeyManagement.set(KeyMgmt.WPA_EAP); in createRecommendedNetworkConfig() 67 network.allowedKeyManagement.set(KeyMgmt.IEEE8021X); in createRecommendedNetworkConfig()
|
D | SupplicantStaNetworkHal.java | 291 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 …]
|
D | WifiApConfigStore.java | 28 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()
|
D | WifiBackupRestore.java | 436 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()
|
D | HostapdHal.java | 536 case WifiConfiguration.KeyMgmt.NONE: in getEncryptionType() 539 case WifiConfiguration.KeyMgmt.WPA_PSK: in getEncryptionType() 542 case WifiConfiguration.KeyMgmt.WPA2_PSK: in getEncryptionType()
|
D | DppManager.java | 208 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/ |
D | WifiApConfigStoreTest.java | 35 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 …]
|
D | WifiConfigurationTestUtil.java | 138 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 …]
|
D | HostapdHalTest.java | 225 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 …]
|
D | DppManagerTest.java | 171 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 …]
|
D | WifiBackupRestoreTest.java | 341 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()
|
D | CarrierNetworkEvaluatorTest.java | 248 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()
|
D | WifiConfigurationUtilTest.java | 441 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/ |
D | ScanResultUtilTest.java | 98 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/ |
D | WifiConfigurationHelper.java | 25 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/ |
D | WifiClientTest.java | 26 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/ |
D | AccessPoint.java | 39 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/ |
D | PasspointProviderTest.java | 1000 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/ |
D | OsuNetworkConnection.java | 193 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in connect()
|