Searched refs:allowedKeyManagement (Results 1 - 22 of 22) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWifiConfigurationTestUtil.java82 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE);
85 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK);
89 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP);
90 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.IEEE8021X);
H A DWifiApConfigStoreTest.java87 config.allowedKeyManagement.set(keyManagement);
110 assertTrue(config.allowedKeyManagement.get(KeyMgmt.WPA2_PSK));
H A DWifiStateMachineTest.java613 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE);
632 assertTrue(config2.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE));
640 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE);
H A DWifiConfigManagerTest.java818 config.allowedKeyManagement.set(KeyMgmt.WPA_EAP);
852 assertEquals(keyMgmt, loadedConfig.allowedKeyManagement);
1242 * Verifies that hasEverConnected is cleared when a network config allowedKeyManagement is
1254 updateAllowedKeyManagementConfig.allowedKeyManagement.set(KeyMgmt.WPA_PSK);
1258 updateAllowedKeyManagementConfig.allowedKeyManagement,
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfiguration.java321 public BitSet allowedKeyManagement; field in class:WifiConfiguration
1333 allowedKeyManagement = new BitSet();
1387 return allowedKeyManagement.get(KeyMgmt.WPA_EAP) ||
1388 allowedKeyManagement.get(KeyMgmt.IEEE8021X);
1454 for (int k = 0; k < this.allowedKeyManagement.size(); k++) {
1455 if (this.allowedKeyManagement.get(k)) {
1646 if (allowedKeyManagement.cardinality() == 0) {
1647 allowedKeyManagement = current.allowedKeyManagement;
1649 if (allowedKeyManagement
[all...]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
H A DWifiSoftAPTest.java65 config.allowedKeyManagement.set(KeyMgmt.NONE);
H A DWifiClientTest.java118 config.allowedKeyManagement.set(KeyMgmt.NONE);
155 config.allowedKeyManagement.set(KeyMgmt.NONE);
205 config.allowedKeyManagement.set(KeyMgmt.NONE);
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DWifiConfigurationHelper.java60 config.allowedKeyManagement.set(KeyMgmt.NONE);
80 config.allowedKeyManagement.set(KeyMgmt.NONE);
101 config.allowedKeyManagement.set(KeyMgmt.WPA_PSK);
124 config.allowedKeyManagement.set(KeyMgmt.WPA_EAP);
125 config.allowedKeyManagement.set(KeyMgmt.IEEE8021X);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiApConfigStore.java145 config.allowedKeyManagement.set(authType);
195 config.allowedKeyManagement.set(KeyMgmt.WPA2_PSK);
H A DWifiNetworkHistory.java251 makeString(config.allowedKeyManagement,
564 if (config.allowedKeyManagement == null) {
567 if (config.allowedKeyManagement.cardinality() > 1) {
568 if (config.allowedKeyManagement.cardinality() != 2) {
571 if (!config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP)) {
574 if ((!config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.IEEE8021X))
575 && (!config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK))) {
H A DWifiConfigManager.java452 if (pskMap != null && config.allowedKeyManagement != null
453 && config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)
1103 if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) {
1105 } else if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP)
1106 || config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.IEEE8021X)) {
1739 if (config.allowedKeyManagement.get(KeyMgmt.WPA_EAP)
1740 && config.allowedKeyManagement.get(KeyMgmt.IEEE8021X)) {
2136 if (wasBitSetUpdated(originalConfig.allowedKeyManagement,
2137 currentConfig.allowedKeyManagement)) {
2270 if (!config.allowedKeyManagement
[all...]
H A DWifiScoreReport.java160 && currentConfiguration.allowedKeyManagement.cardinality() == 1
161 && currentConfiguration.allowedKeyManagement
H A DWifiServiceImpl.java1767 if (config.allowedKeyManagement == null)
1770 if (config.allowedKeyManagement.cardinality() > 1) {
1771 if (config.allowedKeyManagement.cardinality() != 2) {
1774 if (!config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP)) {
1777 if ((!config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.IEEE8021X))
1778 && (!config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK))) {
H A DWifiConfigStore.java342 readNetworkBitsetVariable(config.networkId, config.allowedKeyManagement,
635 makeString(config.allowedKeyManagement, WifiConfiguration.KeyMgmt.strings);
636 if (config.allowedKeyManagement.cardinality() != 0 && !mWifiNative.setNetworkVariable(
H A DWifiMetrics.java126 if (config.allowedKeyManagement != null
127 && config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE)) {
H A DWifiStateMachine.java5684 && targetWificonfiguration.allowedKeyManagement
6464 || !config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)
8188 if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE)) {
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
H A DWifiApStress.java80 config.allowedKeyManagement.set(KeyMgmt.WPA_PSK);
/frameworks/base/packages/Osu/src/com/android/configparse/
H A DConfigBuilder.java211 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP);
212 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.IEEE8021X);
/frameworks/base/packages/Osu/src/com/android/hotspot2/
H A DWifiNetworkAdapter.java300 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE);
302 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.OSEN);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/
H A DConfigBuilder.java371 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP);
372 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.IEEE8021X);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
H A DAccessPoint.java668 mConfig.allowedKeyManagement.set(KeyMgmt.NONE);
859 if (config.allowedKeyManagement.get(KeyMgmt.WPA_PSK)) {
862 if (config.allowedKeyManagement.get(KeyMgmt.WPA_EAP) ||
863 config.allowedKeyManagement.get(KeyMgmt.IEEE8021X)) {
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DConnectionUtil.java539 config.allowedKeyManagement.set(KeyMgmt.NONE);

Completed in 1439 milliseconds