Home
last modified time | relevance | path

Searched refs:allowedKeyManagement (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java299 public BitSet allowedKeyManagement; field in WifiConfiguration
816 allowedKeyManagement = new BitSet(); in WifiConfiguration()
841 if (allowedKeyManagement == null) in isValid()
844 if (allowedKeyManagement.cardinality() > 1) { in isValid()
845 if (allowedKeyManagement.cardinality() != 2) { in isValid()
848 if (allowedKeyManagement.get(KeyMgmt.WPA_EAP) == false) { in isValid()
851 if ((allowedKeyManagement.get(KeyMgmt.IEEE8021X) == false) in isValid()
852 && (allowedKeyManagement.get(KeyMgmt.WPA_PSK) == false)) { in isValid()
984 for (int k = 0; k < this.allowedKeyManagement.size(); k++) { in toString()
985 if (this.allowedKeyManagement.get(k)) { in toString()
[all …]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DWifiConfigurationHelper.java60 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/
DWifiClientTest.java118 config.allowedKeyManagement.set(KeyMgmt.NONE); in testAddRemoveNetwork()
155 config.allowedKeyManagement.set(KeyMgmt.NONE); in testEnableDisableNetwork()
205 config.allowedKeyManagement.set(KeyMgmt.NONE); in testSaveConfig()
DWifiSoftAPTest.java65 config.allowedKeyManagement.set(KeyMgmt.NONE); in testApSsidWithAlphabet()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiApConfigStore.java160 config.allowedKeyManagement.set(authType); in loadApConfiguration()
211 config.allowedKeyManagement.set(KeyMgmt.WPA2_PSK); in setDefaultApConfiguration()
DWifiConfigStore.java575 if (pskMap != null && config.allowedKeyManagement != null in getConfiguredNetworks()
576 && config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK) in getConfiguredNetworks()
1027 || config.allowedKeyManagement.get(KeyMgmt.WPA_PSK)) { in removeConfigAndSendBroadcastIfNeeded()
1540 if (config.allowedKeyManagement.get(KeyMgmt.WPA_EAP) in needsUnlockedKeyStore()
1541 && config.allowedKeyManagement.get(KeyMgmt.IEEE8021X)) { in needsUnlockedKeyStore()
1669 makeString(config.allowedKeyManagement, in writeKnownNetworkHistory()
2573 makeString(config.allowedKeyManagement, WifiConfiguration.KeyMgmt.strings); in addOrUpdateNetworkNative()
2574 if (config.allowedKeyManagement.cardinality() != 0 && in addOrUpdateNetworkNative()
2859 if (!config.allowedKeyManagement.get(KeyMgmt.WPA_PSK)) { in linkConfiguration()
2876 if (!link.allowedKeyManagement.equals(config.allowedKeyManagement)) { in linkConfiguration()
[all …]
DWifiStateMachine.java3528 && currentConfiguration.allowedKeyManagement.cardinality() == 1 in calculateWifiScore()
3529 && currentConfiguration.allowedKeyManagement. in calculateWifiScore()
6569 || !config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK) in startScanForConfiguration()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiApStress.java80 config.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in testWifiHotSpot()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java539 config.allowedKeyManagement.set(KeyMgmt.NONE); in connectToWifi()
/frameworks/base/api/
Dcurrent.txt17841 field public java.util.BitSet allowedKeyManagement;