/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiConfigurationTest.java | 27 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 …]
|
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 | WifiNetworkAgentSpecifierTest.java | 101 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()
|
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 …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiConfiguration.java | 101 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/ |
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() 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 …]
|
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 | 586 case WifiConfiguration.KeyMgmt.NONE: in getEncryptionType() 589 case WifiConfiguration.KeyMgmt.WPA_PSK: in getEncryptionType() 592 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()
|
D | WifiBackupDataV1Parser.java | 225 > WifiConfiguration.KeyMgmt.strings.length) { in clearAnyKnownIssuesInParsedConfiguration() 227 WifiConfiguration.KeyMgmt.strings.length, in clearAnyKnownIssuesInParsedConfiguration()
|
/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 | 139 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 …]
|
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()
|
D | WifiNetworkFactoryTest.java | 716 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/ |
D | WifiConfigurationHelper.java | 26 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/ |
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/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; 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()
|