Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DWifiTetherPasswordPreferenceControllerTest.java84 config.allowedKeyManagement.clear(); in onStart_securityTypeIsNotNone_visibilityIsSetToTrue()
85 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA2_PSK); in onStart_securityTypeIsNotNone_visibilityIsSetToTrue()
96 config.allowedKeyManagement.clear(); in onStart_securityTypeIsNotNone_wifiConfigHasPassword_setsPasswordAsSummary()
97 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA2_PSK); in onStart_securityTypeIsNotNone_wifiConfigHasPassword_setsPasswordAsSummary()
108 config.allowedKeyManagement.clear(); in onStart_securityTypeIsNotNone_wifiConfigHasPassword_obscuresSummary()
109 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA2_PSK); in onStart_securityTypeIsNotNone_wifiConfigHasPassword_obscuresSummary()
121 config.allowedKeyManagement.clear(); in onStart_securityTypeIsNotNone_wifiConfigHasNoPassword_passwordIsNotEmpty()
122 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA2_PSK); in onStart_securityTypeIsNotNone_wifiConfigHasNoPassword_passwordIsNotEmpty()
133 config.allowedKeyManagement.clear(); in onStart_securityTypeIsNotNone_wifiConfigHasNoPassword_obscuresSummary()
134 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA2_PSK); in onStart_securityTypeIsNotNone_wifiConfigHasNoPassword_obscuresSummary()
[all …]
DWifiTetherSecurityPreferenceControllerTest.java80 config.allowedKeyManagement.clear(); in onStart_securityTypeSetToNone_setsValueToNone()
81 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in onStart_securityTypeSetToNone_setsValueToNone()
94 config.allowedKeyManagement.clear(); in onStart_securityTypeSetToWPA2PSK_setsValueToWPA2PSK()
95 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA2_PSK); in onStart_securityTypeSetToWPA2PSK_setsValueToWPA2PSK()
108 config.allowedKeyManagement.clear(); in onPreferenceChangedToNone_updatesSecurityTypeToNone()
109 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA2_PSK); in onPreferenceChangedToNone_updatesSecurityTypeToNone()
125 config.allowedKeyManagement.clear(); in onPreferenceChangedToWPA2PSK_updatesSecurityTypeToWPA2PSK()
126 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in onPreferenceChangedToWPA2PSK_updatesSecurityTypeToWPA2PSK()
148 config.allowedKeyManagement.clear(); in onPreferenceSwitchFromNoneToWPA2PSK_retrievesSavedPassword()
149 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in onPreferenceSwitchFromNoneToWPA2PSK_retrievesSavedPassword()
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiUtils.java160 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in getWifiConfig()
164 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in getWifiConfig()
180 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in getWifiConfig()
192 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP); in getWifiConfig()
193 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.IEEE8021X); in getWifiConfig()
195 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.SUITE_B_192); in getWifiConfig()
209 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.SAE); in getWifiConfig()
217 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.OWE); in getWifiConfig()
DWifiConfigController.java623 config.allowedKeyManagement.set(KeyMgmt.NONE); in getConfig()
627 config.allowedKeyManagement.set(KeyMgmt.NONE); in getConfig()
644 config.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in getConfig()
657 config.allowedKeyManagement.set(KeyMgmt.WPA_EAP); in getConfig()
658 config.allowedKeyManagement.set(KeyMgmt.IEEE8021X); in getConfig()
660 config.allowedKeyManagement.set(KeyMgmt.SUITE_B_192); in getConfig()
792 config.allowedKeyManagement.set(KeyMgmt.SAE); in getConfig()
801 config.allowedKeyManagement.set(KeyMgmt.OWE); in getConfig()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiUtils.java160 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in getWifiConfig()
164 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in getWifiConfig()
180 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in getWifiConfig()
192 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP); in getWifiConfig()
193 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.IEEE8021X); in getWifiConfig()
195 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.SUITE_B_192); in getWifiConfig()
209 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.SAE); in getWifiConfig()
217 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.OWE); in getWifiConfig()
DWifiConfigController.java608 config.allowedKeyManagement.set(KeyMgmt.NONE); in getConfig()
612 config.allowedKeyManagement.set(KeyMgmt.NONE); in getConfig()
629 config.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in getConfig()
642 config.allowedKeyManagement.set(KeyMgmt.WPA_EAP); in getConfig()
643 config.allowedKeyManagement.set(KeyMgmt.IEEE8021X); in getConfig()
645 config.allowedKeyManagement.set(KeyMgmt.SUITE_B_192); in getConfig()
762 config.allowedKeyManagement.set(KeyMgmt.SAE); in getConfig()
771 config.allowedKeyManagement.set(KeyMgmt.OWE); in getConfig()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiUtils.java106 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in getWifiConfig()
118 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP); in getWifiConfig()
119 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.IEEE8021X); in getWifiConfig()
121 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.SUITE_B_192); in getWifiConfig()
135 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.SAE); in getWifiConfig()
143 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.OWE); in getWifiConfig()
DWifiConfigHelper.java79 config.allowedKeyManagement.clear(); in setConfigKeyManagementBySecurity()
83 config.allowedKeyManagement.set(KeyMgmt.NONE); in setConfigKeyManagementBySecurity()
86 config.allowedKeyManagement.set(KeyMgmt.NONE); in setConfigKeyManagementBySecurity()
91 config.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in setConfigKeyManagementBySecurity()
94 config.allowedKeyManagement.set(KeyMgmt.WPA_EAP); in setConfigKeyManagementBySecurity()
95 config.allowedKeyManagement.set(KeyMgmt.IEEE8021X); in setConfigKeyManagementBySecurity()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppUtils.java140 if (wifiConfiguration.allowedKeyManagement.get(KeyMgmt.NONE) in getPresharedKey()
170 if (config.allowedKeyManagement.get(KeyMgmt.SAE)) { in getSecurityString()
173 if (config.allowedKeyManagement.get(KeyMgmt.OWE)) { in getSecurityString()
176 if (config.allowedKeyManagement.get(KeyMgmt.WPA_PSK) || in getSecurityString()
177 config.allowedKeyManagement.get(KeyMgmt.WPA2_PSK)) { in getSecurityString()
391 return wifiConfiguration.allowedKeyManagement.get(KeyMgmt.WPA2_PSK) || in isSupportHotspotConfiguratorQrCodeGenerator()
392 wifiConfiguration.allowedKeyManagement.get(KeyMgmt.NONE); in isSupportHotspotConfiguratorQrCodeGenerator()
DWifiNetworkConfig.java254 openNetworkWifiConfiguration.allowedKeyManagement.set(KeyMgmt.NONE); in getWifiConfigurations()
259 enhancedOpenNetworkWifiConfiguration.allowedKeyManagement.set(KeyMgmt.OWE); in getWifiConfigurations()
267 wifiConfiguration.allowedKeyManagement.set(KeyMgmt.NONE); in getWifiConfigurations()
280 wifiConfiguration.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in getWifiConfigurations()
288 wifiConfiguration.allowedKeyManagement.set(KeyMgmt.SAE); in getWifiConfigurations()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherSecurityPreferenceControllerTest.java49 mConfig.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA2_PSK); in setUp()
85 mConfig.allowedKeyManagement.clear(); in updateDisplay_preferenceUpdated()
86 mConfig.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in updateDisplay_preferenceUpdated()
92 mConfig.allowedKeyManagement.clear(); in updateDisplay_preferenceUpdated()
93 mConfig.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA2_PSK); in updateDisplay_preferenceUpdated()
DWifiTetherSSIDPreferenceControllerTest.java131 config.allowedKeyManagement.set(KeyMgmt.WPA2_PSK); in displayPreference_wifiApDisabled_shouldHideQrCodeIcon()
143 config.allowedKeyManagement.set(KeyMgmt.WPA2_PSK); in displayPreference_wifiApEnabled_shouldShowQrCodeIcon()
/packages/apps/Nfc/src/com/android/nfc/
DNfcWifiProtectedSetup.java152 populateAllowedKeyManagement(result.allowedKeyManagement, authType); in parseCredential()
176 private static void populateAllowedKeyManagement(BitSet allowedKeyManagement, short authType) { in populateAllowedKeyManagement() argument
179 allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in populateAllowedKeyManagement()
181 allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP); in populateAllowedKeyManagement()
183 allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in populateAllowedKeyManagement()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/
DWifiDppUtils.java162 if (config.allowedKeyManagement.get(KeyMgmt.SAE)) { in getSecurityString()
165 if (config.allowedKeyManagement.get(KeyMgmt.OWE)) { in getSecurityString()
168 if (config.allowedKeyManagement.get(KeyMgmt.WPA_PSK) || in getSecurityString()
169 config.allowedKeyManagement.get(KeyMgmt.WPA2_PSK)) { in getSecurityString()
374 return wifiConfiguration.allowedKeyManagement.get(KeyMgmt.WPA2_PSK) || in isSupportHotspotConfiguratorQrCodeGenerator()
375 wifiConfiguration.allowedKeyManagement.get(KeyMgmt.NONE); in isSupportHotspotConfiguratorQrCodeGenerator()
DWifiNetworkConfig.java254 openNetworkWifiConfiguration.allowedKeyManagement.set(KeyMgmt.NONE); in getWifiConfigurations()
259 enhancedOpenNetworkWifiConfiguration.allowedKeyManagement.set(KeyMgmt.OWE); in getWifiConfigurations()
267 wifiConfiguration.allowedKeyManagement.set(KeyMgmt.NONE); in getWifiConfigurations()
280 wifiConfiguration.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in getWifiConfigurations()
288 wifiConfiguration.allowedKeyManagement.set(KeyMgmt.SAE); in getWifiConfigurations()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProviderTest.java115 assertTrue(wifiConf.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)); in testWpa()
127 assertTrue(wifiConf.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE)); in testWep()
138 assertTrue(wifiConf.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE)); in testWep2()
149 assertTrue(wifiConf.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE)); in testNone()
160 assertTrue(wifiConf.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE)); in testNull()
455 assertTrue(wifiConf.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.IEEE8021X)); in assertEAPAllowedKeyManagement()
456 assertTrue(wifiConf.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP)); in assertEAPAllowedKeyManagement()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
DWifiSecurityUtil.java54 if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) { in getSecurity()
57 if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP) in getSecurity()
58 || config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.IEEE8021X)) { in getSecurity()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java122 wifiConf.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in generateWifiConfiguration()
158 wifiConf.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.IEEE8021X); in maybeUpdateForEAPConfigurationOrThrow()
159 wifiConf.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP); in maybeUpdateForEAPConfigurationOrThrow()
237 wifiConf.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in updateForWPAConfiguration()
251 wifiConf.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in updateForWEPConfiguration()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiUtil.java173 wifiConfig.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in connectToAccessPoint()
179 wifiConfig.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in connectToAccessPoint()
188 wifiConfig.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in connectToAccessPoint()
DWifiTetherSecurityPreferenceController.java94 config.allowedKeyManagement.clear(); in updateSecurityType()
95 config.allowedKeyManagement.set(mSecurityType); in updateSecurityType()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/dpp/
DWifiDppUtilsTest.java73 mWifiConfiguration.allowedKeyManagement = new BitSet(); in getConfiguratorQrCodeScannerIntentOrNull_hiddenSsidNetwork_hasHiddenSsidExtra()
74 mWifiConfiguration.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in getConfiguratorQrCodeScannerIntentOrNull_hiddenSsidNetwork_hasHiddenSsidExtra()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/dpp/
DWifiNetworkListFragmentTest.java140 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in setupConnectedAccessPoint()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSettings.java211 config.allowedKeyManagement.set(securityType); in buildNewConfig()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/
DWifiTetherSettings.java211 config.allowedKeyManagement.set(securityType); in buildNewConfig()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/
DWifiSettingsUiTest.java295 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in wrongPasswordSavedNetwork()