Home
last modified time | relevance | path

Searched refs:keyMgmt (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiConfigurationTest.java156 for (int keyMgmt = 0; keyMgmt < WifiConfiguration.KeyMgmt.strings.length; keyMgmt++) { in testIsOpenNetwork_NotOpen_HasAuthType()
157 if (keyMgmt == WifiConfiguration.KeyMgmt.NONE) continue; in testIsOpenNetwork_NotOpen_HasAuthType()
160 config.allowedKeyManagement.set(keyMgmt); in testIsOpenNetwork_NotOpen_HasAuthType()
164 + WifiConfiguration.KeyMgmt.strings[keyMgmt], config.isOpenNetwork()); in testIsOpenNetwork_NotOpen_HasAuthType()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java1786 String keyMgmt = null; in getKeyIdForCredentials() local
1795 keyMgmt = KeyMgmt.strings[KeyMgmt.WPA_EAP]; in getKeyIdForCredentials()
1798 keyMgmt = KeyMgmt.strings[KeyMgmt.OSEN]; in getKeyIdForCredentials()
1801 keyMgmt += KeyMgmt.strings[KeyMgmt.IEEE8021X]; in getKeyIdForCredentials()
1804 if (TextUtils.isEmpty(keyMgmt)) { in getKeyIdForCredentials()
1808 return trimStringForKeyId(SSID) + "_" + keyMgmt + "_" + in getKeyIdForCredentials()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSupplicantStaNetworkHal.java602 private static int wifiConfigurationToSupplicantKeyMgmtMask(BitSet keyMgmt) { in wifiConfigurationToSupplicantKeyMgmtMask() argument
604 for (int bit = keyMgmt.nextSetBit(0); bit != -1; bit = keyMgmt.nextSetBit(bit + 1)) { in wifiConfigurationToSupplicantKeyMgmtMask()