Home
last modified time | relevance | path

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

123

/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiConfigurationTest.java49 import android.net.wifi.WifiConfiguration.KeyMgmt;
293 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in testIsOpenNetwork_NotOpen_HasAuthTypeNoneAndMore()
294 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP); in testIsOpenNetwork_NotOpen_HasAuthTypeNoneAndMore()
346 config.allowedKeyManagement.set(KeyMgmt.WPA_EAP); in testGetKeyIdForCredentials()
353 config.allowedKeyManagement.set(KeyMgmt.WPA_EAP); in testGetKeyIdForCredentials()
361 config.allowedKeyManagement.set(KeyMgmt.SUITE_B_192); in testGetKeyIdForCredentials()
369 config.allowedKeyManagement.set(KeyMgmt.IEEE8021X); in testGetKeyIdForCredentials()
379 config.allowedKeyManagement.set(KeyMgmt.WPA2_PSK); in testGetKeyIdForCredentials()
407 config.allowedKeyManagement.set(KeyMgmt.WPA_EAP); in testGetKeyIdForCredentialsForSuggestion()
414 config.allowedKeyManagement.set(KeyMgmt.WPA_EAP); in testGetKeyIdForCredentialsForSuggestion()
[all …]
DSecurityParamsTest.java27 import android.net.wifi.WifiConfiguration.KeyMgmt;
99 int[] expectedAllowedKeyManagement = new int[] {KeyMgmt.WPA_EAP, KeyMgmt.IEEE8021X}; in testEapCreator()
119 int[] expectedAllowedKeyManagement = new int[] {KeyMgmt.WPA_EAP, KeyMgmt.IEEE8021X}; in testEapPasspointR1R2Creator()
138 int[] expectedAllowedKeyManagement = new int[] {KeyMgmt.WPA_EAP, KeyMgmt.IEEE8021X}; in testEapPasspointR3Creator()
157 int[] expectedAllowedKeyManagement = new int[] {KeyMgmt.OWE}; in testEnhancedOpenCreator()
177 int[] expectedAllowedKeyManagement = new int[] {KeyMgmt.NONE}; in testOpenCreator()
195 int[] expectedAllowedKeyManagement = new int[] {KeyMgmt.OSEN}; in testOsenCreator()
213 int[] expectedAllowedKeyManagement = new int[] {KeyMgmt.WAPI_CERT}; in testWapiCertCreator()
231 int[] expectedAllowedKeyManagement = new int[] {KeyMgmt.WAPI_PSK}; in testWapiPskCreator()
249 int[] expectedAllowedKeyManagement = new int[] {KeyMgmt.NONE}; in testWepCreator()
[all …]
DWifiNetworkSpecifierTest.java80 .get(WifiConfiguration.KeyMgmt.NONE)); in testWifiNetworkSpecifierBuilderForOpenNetworkWithSsidPattern()
106 .get(WifiConfiguration.KeyMgmt.WPA_PSK)); in testWifiNetworkSpecifierBuilderForWpa2PskNetworkWithBssidPattern()
139 .get(WifiConfiguration.KeyMgmt.WPA_EAP)); in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid()
141 .get(WifiConfiguration.KeyMgmt.IEEE8021X)); in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid()
170 .get(WifiConfiguration.KeyMgmt.IEEE8021X)); in testWifiNetworkSpecifierBuilderForWpa3EapNetwork()
172 .get(WifiConfiguration.KeyMgmt.WPA_EAP)); in testWifiNetworkSpecifierBuilderForWpa3EapNetwork()
174 .get(WifiConfiguration.KeyMgmt.SUITE_B_192)); in testWifiNetworkSpecifierBuilderForWpa3EapNetwork()
204 .get(WifiConfiguration.KeyMgmt.IEEE8021X)); in testWifiNetworkSpecifierBuilderForWpa3EapNetworkWithStandardApi()
206 .get(WifiConfiguration.KeyMgmt.WPA_EAP)); in testWifiNetworkSpecifierBuilderForWpa3EapNetworkWithStandardApi()
208 .get(WifiConfiguration.KeyMgmt.SUITE_B_192)); in testWifiNetworkSpecifierBuilderForWpa3EapNetworkWithStandardApi()
[all …]
DWifiNetworkSuggestionTest.java76 .get(WifiConfiguration.KeyMgmt.NONE)); in testWifiNetworkSuggestionBuilderForOpenNetworkWithReqAppInteraction()
105 .get(WifiConfiguration.KeyMgmt.WPA_PSK)); in testWifiNetworkSuggestionBuilderForWpa2EapNetworkWithPriorityAndReqAppInteraction()
136 .get(WifiConfiguration.KeyMgmt.WPA_PSK)); in testWifiNetworkSuggestionBuilderForWpa2PskNetworkWithMeteredAndReqUserInteraction()
167 .get(WifiConfiguration.KeyMgmt.WPA_PSK)); in testWifiNetworkSuggestionBuilderForWpa2PskNetworkWithNotMeteredAndReqUserInteraction()
195 .get(WifiConfiguration.KeyMgmt.OWE)); in testWifiNetworkSuggestionBuilderForEnhancedOpenNetworkWithBssid()
221 .get(WifiConfiguration.KeyMgmt.OWE)); in testWifiNetworkSuggestionBuilderForOemPaidEnhancedOpenNetworkWithBssid()
249 .get(WifiConfiguration.KeyMgmt.OWE)); in testWifiNetworkSuggestionBuilderForOemPrivateEnhancedOpenNetworkWithBssid()
274 .get(WifiConfiguration.KeyMgmt.SAE)); in testWifiNetworkSuggestionBuilderForWpa3PskNetwork()
301 .get(WifiConfiguration.KeyMgmt.IEEE8021X)); in testWifiNetworkSuggestionBuilderForWpa3EapNetwork()
303 .get(WifiConfiguration.KeyMgmt.WPA_EAP)); in testWifiNetworkSuggestionBuilderForWpa3EapNetwork()
[all …]
DWifiNetworkAgentSpecifierTest.java96 wifiConfiguration2.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in testWifiNetworkAgentSpecifierDoesNotEqualsWhenKeyMgmtDifferent()
193 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidPattern()
222 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithBssidPattern()
251 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierSatisfiesNetworkSpecifierWithSsidAndBssidPattern()
283 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithSsidPattern()
312 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierBandMatching()
358 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierDual5GHZBandMatching()
428 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierLocalOnlyMatching()
494 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithBssidPattern()
527 .set(WifiConfiguration.KeyMgmt.WPA_PSK); in testWifiNetworkAgentSpecifierDoesNotSatisfyNetworkSpecifierWithSsidAndBssidPattern()
[all …]
DSoftApConfigurationTest.java586 assertThat(wifiConfig_2g.getAuthType()).isEqualTo(WifiConfiguration.KeyMgmt.WPA2_PSK); in testToWifiConfigurationWithSupportedParameter()
599 assertThat(wifiConfig_5g.getAuthType()).isEqualTo(WifiConfiguration.KeyMgmt.WPA2_PSK); in testToWifiConfigurationWithSupportedParameter()
612 assertThat(wifiConfig_2g5g.getAuthType()).isEqualTo(WifiConfiguration.KeyMgmt.WPA2_PSK); in testToWifiConfigurationWithSupportedParameter()
626 .isEqualTo(WifiConfiguration.KeyMgmt.WPA2_PSK); in testToWifiConfigurationWithSupportedParameter()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DHalAidlUtil.java50 WifiConfiguration.KeyMgmt.NONE); in supplicantToWifiConfigurationKeyMgmtMask()
53 WifiConfiguration.KeyMgmt.WPA_PSK); in supplicantToWifiConfigurationKeyMgmtMask()
56 WifiConfiguration.KeyMgmt.WPA_EAP); in supplicantToWifiConfigurationKeyMgmtMask()
59 WifiConfiguration.KeyMgmt.IEEE8021X); in supplicantToWifiConfigurationKeyMgmtMask()
62 WifiConfiguration.KeyMgmt.OSEN); in supplicantToWifiConfigurationKeyMgmtMask()
65 WifiConfiguration.KeyMgmt.FT_PSK); in supplicantToWifiConfigurationKeyMgmtMask()
68 WifiConfiguration.KeyMgmt.FT_EAP); in supplicantToWifiConfigurationKeyMgmtMask()
71 bitset, WifiConfiguration.KeyMgmt.SAE); in supplicantToWifiConfigurationKeyMgmtMask()
74 bitset, WifiConfiguration.KeyMgmt.OWE); in supplicantToWifiConfigurationKeyMgmtMask()
77 bitset, WifiConfiguration.KeyMgmt.SUITE_B_192); in supplicantToWifiConfigurationKeyMgmtMask()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiConfiguration.java125 public static class KeyMgmt { class in WifiConfiguration
126 private KeyMgmt() { } in KeyMgmt() method in WifiConfiguration.KeyMgmt
712 if (!allowedKeyManagement.get(KeyMgmt.WPA_EAP_SHA256) in isWpa3EnterpriseConfiguration()
713 && !allowedKeyManagement.get(KeyMgmt.WPA_EAP) in isWpa3EnterpriseConfiguration()
714 && !allowedKeyManagement.get(KeyMgmt.IEEE8021X)) { in isWpa3EnterpriseConfiguration()
743 if (allowedKeyManagement.get(KeyMgmt.WAPI_CERT)) { in convertLegacyFieldsToSecurityParamsIfNeeded()
745 } else if (allowedKeyManagement.get(KeyMgmt.WAPI_PSK)) { in convertLegacyFieldsToSecurityParamsIfNeeded()
747 } else if (allowedKeyManagement.get(KeyMgmt.SUITE_B_192)) { in convertLegacyFieldsToSecurityParamsIfNeeded()
749 } else if (allowedKeyManagement.get(KeyMgmt.DPP)) { in convertLegacyFieldsToSecurityParamsIfNeeded()
751 } else if (allowedKeyManagement.get(KeyMgmt.OWE)) { in convertLegacyFieldsToSecurityParamsIfNeeded()
[all …]
DSecurityParams.java24 import android.net.wifi.WifiConfiguration.KeyMgmt;
265 mAllowedKeyManagement.set(KeyMgmt.FILS_SHA256); in enableFils()
269 mAllowedKeyManagement.set(KeyMgmt.FILS_SHA384); in enableFils()
370 return mAllowedKeyManagement.get(KeyMgmt.WPA_EAP) in isEnterpriseSecurityType()
371 || mAllowedKeyManagement.get(KeyMgmt.IEEE8021X) in isEnterpriseSecurityType()
372 || mAllowedKeyManagement.get(KeyMgmt.SUITE_B_192) in isEnterpriseSecurityType()
373 || mAllowedKeyManagement.get(KeyMgmt.WAPI_CERT); in isEnterpriseSecurityType()
439 if (k < KeyMgmt.strings.length) { in toString()
440 sbuf.append(KeyMgmt.strings[k]); in toString()
666 params.mAllowedKeyManagement.set(KeyMgmt.WPA_EAP); in createWpaWpa2EnterpriseParams()
[all …]
DWifiAnnotations.java130 public @interface KeyMgmt {} annotation in WifiAnnotations
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
DWifiSecurityUtil.java54 if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.SAE)) { in getSecurity()
57 if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in getSecurity()
60 if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.SAE)) { in getSecurity()
63 if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP) in getSecurity()
64 || config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.IEEE8021X)) { in getSecurity()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppUtils.java25 import android.net.wifi.WifiConfiguration.KeyMgmt;
151 if (wifiConfiguration.allowedKeyManagement.get(KeyMgmt.NONE) in getPresharedKey()
181 if (config.allowedKeyManagement.get(KeyMgmt.SAE)) { in getSecurityString()
184 if (config.allowedKeyManagement.get(KeyMgmt.OWE)) { in getSecurityString()
187 if (config.allowedKeyManagement.get(KeyMgmt.WPA_PSK) || in getSecurityString()
188 config.allowedKeyManagement.get(KeyMgmt.WPA2_PSK)) { in getSecurityString()
564 if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.SAE)) { in getSecurityTypeFromWifiConfiguration()
567 if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in getSecurityTypeFromWifiConfiguration()
570 if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.SUITE_B_192)) { in getSecurityTypeFromWifiConfiguration()
573 if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP) in getSecurityTypeFromWifiConfiguration()
[all …]
DWifiNetworkConfig.java27 import android.net.wifi.WifiConfiguration.KeyMgmt;
249 openNetworkWifiConfiguration.allowedKeyManagement.set(KeyMgmt.NONE); in getWifiConfigurations()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSupplicantStaNetworkHalAidlImpl.java259 keyMgmtMask.get(WifiConfiguration.KeyMgmt.FILS_SHA256), in loadWifiConfiguration()
260 keyMgmtMask.get(WifiConfiguration.KeyMgmt.FILS_SHA384)); in loadWifiConfiguration()
376 if (allowedKeyManagement.get(WifiConfiguration.KeyMgmt.SUITE_B_192) in saveWifiConfiguration()
382 if (allowedKeyManagement.get(WifiConfiguration.KeyMgmt.DPP) in saveWifiConfiguration()
432 if (allowedKeyManagement.get(WifiConfiguration.KeyMgmt.SAE)) { in saveWifiConfiguration()
440 if (allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in saveWifiConfiguration()
448 if (!allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK) in saveWifiConfiguration()
449 && allowedKeyManagement.get(WifiConfiguration.KeyMgmt.SAE)) { in saveWifiConfiguration()
502 if (allowedKeyManagement.get(WifiConfiguration.KeyMgmt.SAE)) { in saveWifiConfiguration()
912 case WifiConfiguration.KeyMgmt.NONE: in wifiConfigurationToSupplicantKeyMgmtMask()
[all …]
DSupplicantStaNetworkHalHidlImpl.java226 keyMgmtMask.get(WifiConfiguration.KeyMgmt.FILS_SHA256), in loadWifiConfiguration()
227 keyMgmtMask.get(WifiConfiguration.KeyMgmt.FILS_SHA384)); in loadWifiConfiguration()
334 if (allowedKeyManagement.get(WifiConfiguration.KeyMgmt.SUITE_B_192) in saveWifiConfiguration()
384 if (allowedKeyManagement.get(WifiConfiguration.KeyMgmt.SAE)) { in saveWifiConfiguration()
392 if (allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in saveWifiConfiguration()
400 if (!allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK) in saveWifiConfiguration()
401 && allowedKeyManagement.get(WifiConfiguration.KeyMgmt.SAE)) { in saveWifiConfiguration()
450 if (allowedKeyManagement.get(WifiConfiguration.KeyMgmt.SAE) in saveWifiConfiguration()
848 case WifiConfiguration.KeyMgmt.NONE: in wifiConfigurationToSupplicantKeyMgmtMask()
851 case WifiConfiguration.KeyMgmt.WPA_PSK: in wifiConfigurationToSupplicantKeyMgmtMask()
[all …]
DWifiBackupRestore.java479 public static final String SUPPLICANT_KEY_KEY_MGMT = WifiConfiguration.KeyMgmt.varName;
645 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in createWifiConfiguration()
659 WifiConfiguration.KeyMgmt.NONE); in createWifiConfiguration()
662 WifiConfiguration.KeyMgmt.WPA_PSK); in createWifiConfiguration()
665 WifiConfiguration.KeyMgmt.WPA_EAP); in createWifiConfiguration()
668 WifiConfiguration.KeyMgmt.IEEE8021X); in createWifiConfiguration()
671 WifiConfiguration.KeyMgmt.WAPI_PSK); in createWifiConfiguration()
674 WifiConfiguration.KeyMgmt.WAPI_CERT); in createWifiConfiguration()
DWifiConfigurationUtil.java634 WifiConfiguration.KeyMgmt.strings.length)) { in validateBitSets()
676 if (!keyMgmnt.get(WifiConfiguration.KeyMgmt.WPA_EAP)) { in validateKeyMgmt()
680 if (!keyMgmnt.get(WifiConfiguration.KeyMgmt.IEEE8021X)) { in validateKeyMgmt()
686 && !(keyMgmnt.get(WifiConfiguration.KeyMgmt.WPA_EAP) in validateKeyMgmt()
687 && keyMgmnt.get(WifiConfiguration.KeyMgmt.IEEE8021X) in validateKeyMgmt()
688 && keyMgmnt.get(WifiConfiguration.KeyMgmt.SUITE_B_192))) { in validateKeyMgmt()
/packages/apps/Nfc/src/com/android/nfc/
DNfcWifiProtectedSetup.java166 if (result.getAuthType() == WifiConfiguration.KeyMgmt.NONE) { in parseCredential()
183 allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in populateAllowedKeyManagement()
185 allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP); in populateAllowedKeyManagement()
187 allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in populateAllowedKeyManagement()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProviderTest.java115 assertTrue(wifiConf.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)); in testWpa()
127 assertTrue(wifiConf.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE)); in testWep()
138 assertTrue(wifiConf.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE)); in testWep2()
149 assertTrue(wifiConf.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE)); in testNone()
160 assertTrue(wifiConf.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE)); in testNull()
454 assertTrue(wifiConf.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.IEEE8021X)); in assertEAPAllowedKeyManagement()
455 assertTrue(wifiConf.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP)); in assertEAPAllowedKeyManagement()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java124 wifiConf.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in generateWifiConfiguration()
160 wifiConf.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.IEEE8021X); in maybeUpdateForEAPConfigurationOrThrow()
161 wifiConf.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP); in maybeUpdateForEAPConfigurationOrThrow()
239 wifiConf.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in updateForWPAConfiguration()
253 wifiConf.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in updateForWEPConfiguration()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/dpp/
DWifiDppUtilsTest.java27 import android.net.wifi.WifiConfiguration.KeyMgmt;
76 mWifiConfiguration.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in getConfiguratorQrCodeScannerIntentOrNull_hiddenSsidNetwork_hasHiddenSsidExtra()
/packages/apps/Settings/src/com/android/settings/wifi/addappnetworks/
DAddAppNetworksFragment.java28 import android.net.wifi.WifiConfiguration.KeyMgmt;
348 case KeyMgmt.NONE: in isSavedWifiConfiguration()
352 case KeyMgmt.OWE: in isSavedWifiConfiguration()
354 case KeyMgmt.WPA_PSK: in isSavedWifiConfiguration()
355 case KeyMgmt.WPA2_PSK: in isSavedWifiConfiguration()
356 case KeyMgmt.SAE: in isSavedWifiConfiguration()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/addappnetworks/
DAddAppNetworksFragmentTest.java112 WifiConfiguration.KeyMgmt.WPA_PSK, "1234567890"); in setUp()
114 WifiConfiguration.KeyMgmt.NONE, null); in setUp()
116 WifiConfiguration.KeyMgmt.WPA_PSK, "\"1234567890\""); in setUp()
577 case WifiConfiguration.KeyMgmt.NONE: in generateRegularWifiSuggestion()
582 case WifiConfiguration.KeyMgmt.WPA_PSK: in generateRegularWifiSuggestion()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiBackupRestoreTest.java488 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in createNetworkForConfigurationWithUnsupportedTag()
541 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore()
1126 expectedConfiguration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testSingleNetworkSupplicantBackupRestoreWithUnknownEAPKey()
1243 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in createNetworkForConfigurationWithV1_0Data()
1338 if (configuration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE)) { in writeConfigurationToWpaSupplicantConf()
1341 if (configuration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in writeConfigurationToWpaSupplicantConf()
1344 if (configuration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP)) { in writeConfigurationToWpaSupplicantConf()
1347 if (configuration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.IEEE8021X)) { in writeConfigurationToWpaSupplicantConf()
DWifiConfigurationUtilTest.java603 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.IEEE8021X); in testValidateNegativeCases_BadKeyMgmtPskEap()
617 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in testValidateNegativeCases_BadKeyMgmtOpenPsk()
631 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.IEEE8021X); in testValidateNegativeCases_BadKeyMgmt()
645 config.allowedKeyManagement.clear(WifiConfiguration.KeyMgmt.IEEE8021X); in testValidateNegativeCases_BadSuiteBKeyMgmt()
646 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA2_PSK); in testValidateNegativeCases_BadSuiteBKeyMgmt()
679 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.FT_EAP + 1); in testValidateNegativeCases_InvalidKeyMgmt()
697 assertTrue(config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)); in testValidateNegativeCases_InvalidKeyMgmtWithPreSharedKey()
698 assertFalse(config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.OSEN)); in testValidateNegativeCases_InvalidKeyMgmtWithPreSharedKey()

123