HomeSort by relevance Sort by last modified time
    Searched refs:KeyMgmt (Results 1 - 25 of 68) sorted by null

1 2 3

  /packages/apps/Settings/src/com/android/settings/wifi/tether/
WifiTetherSecurityPreferenceController.java 32 if (config != null && config.getAuthType() == WifiConfiguration.KeyMgmt.NONE) {
33 mSecurityValue = WifiConfiguration.KeyMgmt.NONE;
36 mSecurityValue = WifiConfiguration.KeyMgmt.WPA2_PSK;
57 if (securityType == WifiConfiguration.KeyMgmt.NONE) {
WifiTetherPasswordPreferenceController.java 51 if (config == null || (config.getAuthType() == WifiConfiguration.KeyMgmt.WPA2_PSK
81 if (securityType == WifiConfiguration.KeyMgmt.NONE) {
91 mPreference.setVisible(securityType != WifiConfiguration.KeyMgmt.NONE);
  /packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
WifiTetherSecurityPreferenceControllerTest.java 29 private static final String WPA2_PSK = String.valueOf(WifiConfiguration.KeyMgmt.WPA2_PSK);
30 private static final String NONE = String.valueOf(WifiConfiguration.KeyMgmt.NONE);
50 mConfig.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA2_PSK);
68 assertThat(mController.getSecurityType()).isEqualTo(WifiConfiguration.KeyMgmt.WPA2_PSK);
72 assertThat(mController.getSecurityType()).isEqualTo(WifiConfiguration.KeyMgmt.NONE);
81 assertThat(mController.getSecurityType()).isEqualTo(WifiConfiguration.KeyMgmt.WPA2_PSK);
87 mConfig.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE);
89 assertThat(mController.getSecurityType()).isEqualTo(WifiConfiguration.KeyMgmt.NONE);
94 mConfig.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA2_PSK);
96 assertThat(mController.getSecurityType()).isEqualTo(WifiConfiguration.KeyMgmt.WPA2_PSK)
    [all...]
WifiTetherPasswordPreferenceControllerTest.java 93 assertThat(mController.getPasswordValidated(WifiConfiguration.KeyMgmt.WPA2_PSK))
97 assertThat(mController.getPasswordValidated(WifiConfiguration.KeyMgmt.WPA2_PSK))
108 assertThat(mController.getPasswordValidated(WifiConfiguration.KeyMgmt.WPA2_PSK))
118 assertThat(mController.getPasswordValidated(WifiConfiguration.KeyMgmt.WPA2_PSK))
128 assertThat(mController.getPasswordValidated(WifiConfiguration.KeyMgmt.WPA2_PSK))
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
WifiSecurityUtil.java 54 if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) {
57 if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP)
58 || config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.IEEE8021X)) {
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
CarrierNetworkNotifier.java 22 import android.net.wifi.WifiConfiguration.KeyMgmt;
64 network.allowedKeyManagement.set(KeyMgmt.WPA_EAP);
65 network.allowedKeyManagement.set(KeyMgmt.IEEE8021X);
WifiConfigurationUtil.java 110 return config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK);
117 return (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP)
118 || config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.IEEE8021X));
125 return (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE)
375 WifiConfiguration.KeyMgmt.strings.length)) {
417 if (!keyMgmnt.get(WifiConfiguration.KeyMgmt.WPA_EAP)) {
421 if (!keyMgmnt.get(WifiConfiguration.KeyMgmt.IEEE8021X)
422 && !keyMgmnt.get(WifiConfiguration.KeyMgmt.WPA_PSK)) {
485 if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)
540 if (config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK))
    [all...]
WifiApConfigStore.java 22 import android.net.wifi.WifiConfiguration.KeyMgmt;
203 if (authType != KeyMgmt.NONE) {
234 if (authType != KeyMgmt.NONE) {
253 config.allowedKeyManagement.set(KeyMgmt.WPA2_PSK);
276 config.allowedKeyManagement.set(KeyMgmt.WPA2_PSK);
364 if (authType == KeyMgmt.NONE) {
370 } else if (authType == KeyMgmt.WPA2_PSK) {
WifiBackupRestore.java 436 public static final String SUPPLICANT_KEY_KEY_MGMT = WifiConfiguration.KeyMgmt.varName;
597 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK);
598 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP);
612 WifiConfiguration.KeyMgmt.NONE);
615 WifiConfiguration.KeyMgmt.WPA_PSK);
618 WifiConfiguration.KeyMgmt.WPA_EAP);
621 WifiConfiguration.KeyMgmt.IEEE8021X);
    [all...]
HostapdHal.java 393 case WifiConfiguration.KeyMgmt.NONE:
396 case WifiConfiguration.KeyMgmt.WPA_PSK:
399 case WifiConfiguration.KeyMgmt.WPA2_PSK:
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
WifiApConfigStoreTest.java 28 import android.net.wifi.WifiConfiguration.KeyMgmt;
131 assertTrue(config.allowedKeyManagement.get(KeyMgmt.WPA2_PSK));
141 assertTrue(config.allowedKeyManagement.get(KeyMgmt.WPA2_PSK));
165 KeyMgmt.WPA_EAP, /* key management */
185 KeyMgmt.WPA_EAP, /* key management */
212 KeyMgmt.WPA_EAP, /* key management */
236 KeyMgmt.WPA_EAP, /* key management */
243 KeyMgmt.WPA_EAP, /* key management */
267 KeyMgmt.WPA_EAP, /* key management */
292 KeyMgmt.WPA_EAP, /* key management *
    [all...]
HostapdHalTest.java 163 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA2_PSK);
197 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE);
230 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA2_PSK);
268 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA2_PSK);
306 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA2_PSK);
343 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA2_PSK);
381 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA2_PSK);
414 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE);
432 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE);
451 configuration.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE)
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
ScanResultUtil.java 110 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK);
112 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP);
113 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.IEEE8021X);
115 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE);
119 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE);
  /packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/
WifiConfigurationProviderTest.java 88 assertTrue(wifiConf.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK));
99 assertTrue(wifiConf.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE));
109 assertTrue(wifiConf.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE));
119 assertTrue(wifiConf.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE));
129 assertTrue(wifiConf.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE));
  /frameworks/base/wifi/java/android/net/wifi/
WifiConfiguration.java 89 public static class KeyMgmt {
90 private KeyMgmt() { }
378 * See {@link KeyMgmt} for descriptions of the values.
722 || (cardinality == 1 && allowedKeyManagement.get(KeyMgmt.NONE));
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/
NfcWifiProtectedSetup.java 161 if (result.getAuthType() == WifiConfiguration.KeyMgmt.NONE) {
177 allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK);
179 allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP);
181 allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
WifiConfigHelper.java 22 import android.net.wifi.WifiConfiguration.KeyMgmt;
83 config.allowedKeyManagement.set(KeyMgmt.NONE);
86 config.allowedKeyManagement.set(KeyMgmt.NONE);
91 config.allowedKeyManagement.set(KeyMgmt.WPA_PSK);
94 config.allowedKeyManagement.set(KeyMgmt.WPA_EAP);
95 config.allowedKeyManagement.set(KeyMgmt.IEEE8021X);
  /frameworks/base/wifi/tests/src/android/net/wifi/
WifiConfigurationTest.java 156 for (int keyMgmt = 0; keyMgmt < WifiConfiguration.KeyMgmt.strings.length; keyMgmt++) {
157 if (keyMgmt == WifiConfiguration.KeyMgmt.NONE) continue;
160 config.allowedKeyManagement.set(keyMgmt);
164 + WifiConfiguration.KeyMgmt.strings[keyMgmt], config.isOpenNetwork());
171 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE)
    [all...]
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
ScanResultUtilTest.java 97 assertTrue(config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE));
102 assertTrue(config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE));
109 assertTrue(config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK));
114 assertTrue(config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP));
115 assertTrue(config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.IEEE8021X));
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
WifiConfigurationProvider.java 59 wifiConf.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE);
74 wifiConf.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK);
88 wifiConf.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE);
  /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
WifiConfigurationHelper.java 25 import android.net.wifi.WifiConfiguration.KeyMgmt;
60 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/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
WifiClientTest.java 26 import android.net.wifi.WifiConfiguration.KeyMgmt;
118 config.allowedKeyManagement.set(KeyMgmt.NONE);
155 config.allowedKeyManagement.set(KeyMgmt.NONE);
205 config.allowedKeyManagement.set(KeyMgmt.NONE);
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
WifiManagerFacade.java 34 import android.net.wifi.WifiConfiguration.KeyMgmt;
299 config.allowedKeyManagement.set(KeyMgmt.NONE);
303 config.allowedKeyManagement.set(KeyMgmt.WPA_PSK);
306 config.allowedKeyManagement.set(KeyMgmt.WPA_EAP);
307 config.allowedKeyManagement.set(KeyMgmt.IEEE8021X);
309 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE);
324 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK);
327 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE);
342 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK);
347 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE)
    [all...]
  /cts/common/device-side/util/src/com/android/compatibility/common/util/
WifiConfigCreator.java 198 wifiConf.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE);
211 wifiConf.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK);
218 wifiConf.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE);
  /packages/apps/Car/Settings/src/com/android/car/settings/wifi/
AddWifiFragment.java 180 wifiConfig.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE);
186 wifiConfig.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE);
196 wifiConfig.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK);

Completed in 569 milliseconds

1 2 3