Home
last modified time | relevance | path

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

12

/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.java87 config.allowedKeyManagement.set(keyManagement); in setupApConfig()
110 assertTrue(config.allowedKeyManagement.get(KeyMgmt.WPA2_PSK)); in verifyDefaultApConfig()
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()
DWifiConfigManagerTest.java818 config.allowedKeyManagement.set(KeyMgmt.WPA_EAP); in testSaveLoadSingleEapNetwork()
852 assertEquals(keyMgmt, loadedConfig.allowedKeyManagement); in testSaveLoadSingleEapNetwork()
1254 updateAllowedKeyManagementConfig.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in testUpdateAllowedKeyManagementChanged()
1258 updateAllowedKeyManagementConfig.allowedKeyManagement, in testUpdateAllowedKeyManagementChanged()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java321 public BitSet allowedKeyManagement; field in WifiConfiguration
1332 allowedKeyManagement = new BitSet(); in WifiConfiguration()
1386 return allowedKeyManagement.get(KeyMgmt.WPA_EAP) || in isEnterprise()
1387 allowedKeyManagement.get(KeyMgmt.IEEE8021X); in isEnterprise()
1453 for (int k = 0; k < this.allowedKeyManagement.size(); k++) { in toString()
1454 if (this.allowedKeyManagement.get(k)) { in toString()
1645 if (allowedKeyManagement.cardinality() == 0) { in getKeyIdForCredentials()
1646 allowedKeyManagement = current.allowedKeyManagement; in getKeyIdForCredentials()
1648 if (allowedKeyManagement.get(KeyMgmt.WPA_EAP)) { in getKeyIdForCredentials()
1651 if (allowedKeyManagement.get(KeyMgmt.OSEN)) { in getKeyIdForCredentials()
[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/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkHistory.java250 makeString(config.allowedKeyManagement, in writeKnownNetworkHistory()
561 if (config.allowedKeyManagement == null) { in isValid()
564 if (config.allowedKeyManagement.cardinality() > 1) { in isValid()
565 if (config.allowedKeyManagement.cardinality() != 2) { in isValid()
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()
DWifiApConfigStore.java145 config.allowedKeyManagement.set(authType); in loadApConfiguration()
195 config.allowedKeyManagement.set(KeyMgmt.WPA2_PSK); in getDefaultApConfiguration()
DWifiConfigManager.java457 if (pskMap != null && config.allowedKeyManagement != null in getSavedNetworks()
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()
2146 if (wasBitSetUpdated(originalConfig.allowedKeyManagement, in wasCredentialChange()
2147 currentConfig.allowedKeyManagement)) { in wasCredentialChange()
2280 if (!config.allowedKeyManagement.get(KeyMgmt.WPA_PSK)) { in linkConfiguration()
[all …]
DWifiScoreReport.java159 && currentConfiguration.allowedKeyManagement.cardinality() == 1 in calculateScore()
160 && currentConfiguration.allowedKeyManagement in calculateScore()
DWifiServiceImpl.java1994 if (config.allowedKeyManagement == null) in checkValidity()
1997 if (config.allowedKeyManagement.cardinality() > 1) { in checkValidity()
1998 if (config.allowedKeyManagement.cardinality() != 2) { in checkValidity()
2001 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.java113 if (config.allowedKeyManagement != null in updateFromWifiConfiguration()
114 && config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE)) { in updateFromWifiConfiguration()
DWifiConfigStore.java338 readNetworkBitsetVariable(config.networkId, config.allowedKeyManagement, in readNetworkVariables()
631 makeString(config.allowedKeyManagement, WifiConfiguration.KeyMgmt.strings); in saveNetwork()
632 if (config.allowedKeyManagement.cardinality() != 0 && !mWifiNative.setNetworkVariable( in saveNetwork()
DWifiStateMachine.java5599 && targetWificonfiguration.allowedKeyManagement 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.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/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/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiApStress.java80 config.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in testWifiHotSpot()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java656 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.java539 config.allowedKeyManagement.set(KeyMgmt.NONE); in connectToWifi()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt17907 field public java.util.BitSet allowedKeyManagement;
/frameworks/base/api/
Dcurrent.txt24373 field public java.util.BitSet allowedKeyManagement;
Dtest-current.txt24442 field public java.util.BitSet allowedKeyManagement;

12