Home
last modified time | relevance | path

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

12

/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java76 public static class KeyMgmt { class in WifiConfiguration
77 private KeyMgmt() { } in KeyMgmt() method in WifiConfiguration.KeyMgmt
1386 return allowedKeyManagement.get(KeyMgmt.WPA_EAP) || in isEnterprise()
1387 allowedKeyManagement.get(KeyMgmt.IEEE8021X); in isEnterprise()
1456 if (k < KeyMgmt.strings.length) { in toString()
1457 sbuf.append(KeyMgmt.strings[k]); in toString()
1648 if (allowedKeyManagement.get(KeyMgmt.WPA_EAP)) { in getKeyIdForCredentials()
1649 keyMgmt = KeyMgmt.strings[KeyMgmt.WPA_EAP]; in getKeyIdForCredentials()
1651 if (allowedKeyManagement.get(KeyMgmt.OSEN)) { in getKeyIdForCredentials()
1652 keyMgmt = KeyMgmt.strings[KeyMgmt.OSEN]; in getKeyIdForCredentials()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java82 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in generateWifiConfig()
85 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in generateWifiConfig()
89 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP); in generateWifiConfig()
90 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.IEEE8021X); in generateWifiConfig()
DWifiApConfigStoreTest.java26 import android.net.wifi.WifiConfiguration.KeyMgmt;
110 assertTrue(config.allowedKeyManagement.get(KeyMgmt.WPA2_PSK)); in verifyDefaultApConfig()
133 KeyMgmt.WPA_EAP, /* key management */ in initWithExistingConfiguration()
153 KeyMgmt.WPA_EAP, /* key management */ in setNullApConfiguration()
180 KeyMgmt.WPA_EAP, /* key management */ in updateApConfiguration()
DWifiConfigManagerTest.java29 import android.net.wifi.WifiConfiguration.KeyMgmt;
818 config.allowedKeyManagement.set(KeyMgmt.WPA_EAP); in testSaveLoadSingleEapNetwork()
851 keyMgmt.set(KeyMgmt.WPA_EAP); in testSaveLoadSingleEapNetwork()
1254 updateAllowedKeyManagementConfig.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in testUpdateAllowedKeyManagementChanged()
1259 WifiConfiguration.KeyMgmt.strings); in testUpdateAllowedKeyManagementChanged()
1261 KeyMgmt.varName)).thenReturn(allowedKeyManagementString); in testUpdateAllowedKeyManagementChanged()
DWifiStateMachineTest.java534 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in addNetworkAndVerifySuccess()
553 assertTrue(config2.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE)); in addNetworkAndVerifySuccess()
561 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in addNetworkAndVerifyFailure()
/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/opt/net/wifi/service/java/com/android/server/wifi/
DWifiApConfigStore.java21 import android.net.wifi.WifiConfiguration.KeyMgmt;
146 if (authType != KeyMgmt.NONE) { in loadApConfiguration()
177 if (authType != KeyMgmt.NONE) { in writeApConfiguration()
195 config.allowedKeyManagement.set(KeyMgmt.WPA2_PSK); in getDefaultApConfiguration()
DWifiNetworkHistory.java251 WifiConfiguration.KeyMgmt.strings); in writeKnownNetworkHistory()
568 if (!config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP)) { in isValid()
571 if ((!config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.IEEE8021X)) in isValid()
572 && (!config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK))) { in isValid()
DWifiConfigManager.java38 import android.net.wifi.WifiConfiguration.KeyMgmt;
458 && config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK) in getSavedNetworks()
1114 if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in createPnoNetworkFromWifiConfiguration()
1116 } else if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP) in createPnoNetworkFromWifiConfiguration()
1117 || config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.IEEE8021X)) { in createPnoNetworkFromWifiConfiguration()
1749 if (config.allowedKeyManagement.get(KeyMgmt.WPA_EAP) in needsUnlockedKeyStore()
1750 && config.allowedKeyManagement.get(KeyMgmt.IEEE8021X)) { in needsUnlockedKeyStore()
2280 if (!config.allowedKeyManagement.get(KeyMgmt.WPA_PSK)) { in linkConfiguration()
2939 config.allowedKeyManagement.set(KeyMgmt.WPA_PSK);
2943 config.allowedKeyManagement.set(KeyMgmt.WPA_EAP);
[all …]
DWifiConfigStore.java339 WifiConfiguration.KeyMgmt.varName, WifiConfiguration.KeyMgmt.strings); in readNetworkVariables()
631 makeString(config.allowedKeyManagement, WifiConfiguration.KeyMgmt.strings); in saveNetwork()
634 WifiConfiguration.KeyMgmt.varName, in saveNetwork()
DWifiScoreReport.java161 .get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in calculateScore()
DWifiServiceImpl.java2001 if (!config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP)) { in checkValidity()
2004 if ((!config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.IEEE8021X)) in checkValidity()
2005 && (!config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK))) { in checkValidity()
DWifiMetrics.java114 && config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE)) { in updateFromWifiConfiguration()
DWifiStateMachine.java5600 .get(WifiConfiguration.KeyMgmt.IEEE8021X) in processMessage()
6398 || !config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK) in startScanForConfiguration()
8100 if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE)) { in updateWifiMetrics()
/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()
DWifiSoftAPTest.java22 import android.net.wifi.WifiConfiguration.KeyMgmt;
65 config.allowedKeyManagement.set(KeyMgmt.NONE); in testApSsidWithAlphabet()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java31 import android.net.wifi.WifiConfiguration.KeyMgmt;
253 types.set(KeyMgmt.WPA_PSK); in configKey()
254 types.set(KeyMgmt.WPA_EAP); in configKey()
266 types.set(KeyMgmt.WPA_PSK); in configKey()
269 types.set(KeyMgmt.WPA_EAP); in configKey()
272 types.set(KeyMgmt.IEEE8021X); in configKey()
279 if (types.get(KeyMgmt.WPA_PSK)) { in configKey()
280 key = bareSsid + KeyMgmt.strings[KeyMgmt.WPA_PSK]; in configKey()
281 } else if (types.get(KeyMgmt.WPA_EAP) || types.get(KeyMgmt.IEEE8021X)) { in configKey()
282 key = bareSsid + KeyMgmt.strings[KeyMgmt.WPA_EAP]; in configKey()
[all …]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiApStress.java22 import android.net.wifi.WifiConfiguration.KeyMgmt;
80 config.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in testWifiHotSpot()
/frameworks/base/packages/Osu/src/com/android/configparse/
DConfigBuilder.java211 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP); in buildBaseConfiguration()
212 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.IEEE8021X); in buildBaseConfiguration()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java33 import android.net.wifi.WifiConfiguration.KeyMgmt;
656 mConfig.allowedKeyManagement.set(KeyMgmt.NONE); in generateOpenNetworkConfig()
844 if (config.allowedKeyManagement.get(KeyMgmt.WPA_PSK)) { in getSecurity()
847 if (config.allowedKeyManagement.get(KeyMgmt.WPA_EAP) || in getSecurity()
848 config.allowedKeyManagement.get(KeyMgmt.IEEE8021X)) { in getSecurity()
/frameworks/base/packages/Osu/src/com/android/hotspot2/
DWifiNetworkAdapter.java300 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in connect()
302 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.OSEN); in connect()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/
DConfigBuilder.java349 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP); in buildBaseConfiguration()
350 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.IEEE8021X); in buildBaseConfiguration()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java36 import android.net.wifi.WifiConfiguration.KeyMgmt;
539 config.allowedKeyManagement.set(KeyMgmt.NONE); in connectToWifi()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java65 import android.net.wifi.WifiConfiguration.KeyMgmt;
1510 case KeyMgmt.WPA_PSK: in getSecurityType()
1512 case KeyMgmt.WPA2_PSK: in getSecurityType()
/frameworks/base/
Dcompiled-classes-phone2844 android.net.wifi.WifiConfiguration$KeyMgmt

12