/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigStoreLegacyTest.java | 180 if (!TextUtils.isEmpty(config.wepKeys[0])) { in createWepKey0Map() 181 wepKeyMap.put(config.configKey(), config.wepKeys[0]); in createWepKey0Map() 190 if (!TextUtils.isEmpty(config.wepKeys[1])) { in createWepKey1Map() 191 wepKeyMap.put(config.configKey(), config.wepKeys[1]); in createWepKey1Map() 200 if (!TextUtils.isEmpty(config.wepKeys[2])) { in createWepKey2Map() 201 wepKeyMap.put(config.configKey(), config.wepKeys[2]); in createWepKey2Map() 210 if (!TextUtils.isEmpty(config.wepKeys[3])) { in createWepKey3Map() 211 wepKeyMap.put(config.configKey(), config.wepKeys[3]); in createWepKey3Map() 250 if (!TextUtils.isEmpty(configuration.wepKeys[0])) { in createMaskedWifiConfiguration() 251 newConfig.wepKeys[0] = MASKED_FIELD_VALUE; in createMaskedWifiConfiguration() [all …]
|
D | WifiBackupRestoreTest.java | 744 if (configuration.wepKeys[0] != null) { in writeConfigurationToWpaSupplicantConf() 745 out.write(" " + "wep_key0=" + configuration.wepKeys[0] + "\n"); in writeConfigurationToWpaSupplicantConf() 747 if (configuration.wepKeys[1] != null) { in writeConfigurationToWpaSupplicantConf() 748 out.write(" " + "wep_key1=" + configuration.wepKeys[1] + "\n"); in writeConfigurationToWpaSupplicantConf() 750 if (configuration.wepKeys[2] != null) { in writeConfigurationToWpaSupplicantConf() 751 out.write(" " + "wep_key2=" + configuration.wepKeys[2] + "\n"); in writeConfigurationToWpaSupplicantConf() 753 if (configuration.wepKeys[3] != null) { in writeConfigurationToWpaSupplicantConf() 754 out.write(" " + "wep_key3=" + configuration.wepKeys[3] + "\n"); in writeConfigurationToWpaSupplicantConf() 756 if (configuration.wepKeys[0] != null || configuration.wepKeys[1] != null in writeConfigurationToWpaSupplicantConf() 757 || configuration.wepKeys[2] != null || configuration.wepKeys[3] != null) { in writeConfigurationToWpaSupplicantConf()
|
D | WifiConfigurationTestUtil.java | 264 configuration.wepKeys = TEST_WEP_KEYS; in createWepNetwork() 280 configuration.wepKeys[0] = TEST_WEP_KEYS[0]; in createWepNetworkWithSingleKey() 428 assertEquals(expected.wepKeys, actual.wepKeys); in assertCommonConfigurationElementsEqual() 520 assertEquals(expected.wepKeys, actual.wepKeys); in assertConfigurationEqualForSupplicant()
|
D | WifiConfigManagerTest.java | 904 String[] wepKeys = in testMultipleUpdatesSingleNetwork() local 908 assertAndSetNetworkWepKeysAndTxIndex(network, wepKeys, wepTxKeyIdx); in testMultipleUpdatesSingleNetwork() 915 for (int i = 1; i < network.wepKeys.length; i++) { in testMultipleUpdatesSingleNetwork() 916 wepKeys[i] = ""; in testMultipleUpdatesSingleNetwork() 919 assertAndSetNetworkWepKeysAndTxIndex(network, wepKeys, wepTxKeyIdx); in testMultipleUpdatesSingleNetwork() 927 wepKeys[0] = ""; in testMultipleUpdatesSingleNetwork() 929 assertAndSetNetworkWepKeysAndTxIndex(network, wepKeys, wepTxKeyIdx); in testMultipleUpdatesSingleNetwork() 1234 assertFalse(wepNetwork.wepKeys[0].equals("newpassword")); in testUpdateWepKeysClearsHasEverConnected() 1235 wepNetwork.wepKeys[0] = "newpassword"; in testUpdateWepKeysClearsHasEverConnected() 1390 someRandomNetworkWithAllMaskedFields.wepKeys = WifiConfigurationTestUtil.TEST_WEP_KEYS; in testUpdateIgnoresMaskedPasswords() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigurationUtil.java | 75 public static boolean hasAnyValidWepKey(String[] wepKeys) { in hasAnyValidWepKey() argument 76 for (int i = 0; i < wepKeys.length; i++) { in hasAnyValidWepKey() 77 if (wepKeys[i] != null) { in hasAnyValidWepKey() 104 && hasAnyValidWepKey(config.wepKeys)); in isConfigForWepNetwork() 221 if (!Arrays.equals(existingConfig.wepKeys, newConfig.wepKeys)) { in hasCredentialChanged()
|
D | WifiBackupRestore.java | 672 configuration.wepKeys[0] = in createWifiConfiguration() 676 configuration.wepKeys[1] = in createWifiConfiguration() 680 configuration.wepKeys[2] = in createWifiConfiguration() 684 configuration.wepKeys[3] = in createWifiConfiguration()
|
D | WifiConfigManager.java | 418 if (configuration.wepKeys != null) { in maskPasswordsInWifiConfiguration() 419 for (int i = 0; i < configuration.wepKeys.length; i++) { in maskPasswordsInWifiConfiguration() 420 if (!TextUtils.isEmpty(configuration.wepKeys[i])) { in maskPasswordsInWifiConfiguration() 421 configuration.wepKeys[i] = PASSWORD_MASK; in maskPasswordsInWifiConfiguration() 752 if (externalConfig.wepKeys != null) { in mergeWithInternalWifiConfiguration() 754 for (int i = 0; i < internalConfig.wepKeys.length; i++) { in mergeWithInternalWifiConfiguration() 755 if (externalConfig.wepKeys[i] != null in mergeWithInternalWifiConfiguration() 756 && !externalConfig.wepKeys[i].equals(PASSWORD_MASK)) { in mergeWithInternalWifiConfiguration() 757 internalConfig.wepKeys[i] = externalConfig.wepKeys[i]; in mergeWithInternalWifiConfiguration()
|
D | SupplicantStaNetworkHal.java | 192 config.wepKeys[i] = null; in loadWifiConfiguration() 194 config.wepKeys[i] = NativeUtil.bytesToHexOrQuotedAsciiString(mWepKey); in loadWifiConfiguration() 281 if (config.wepKeys != null) { in saveWifiConfiguration() 282 for (int i = 0; i < config.wepKeys.length; i++) { in saveWifiConfiguration() 283 if (config.wepKeys[i] != null) { in saveWifiConfiguration() 285 i, NativeUtil.hexOrQuotedAsciiStringToBytes(config.wepKeys[i]))) { in saveWifiConfiguration()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | XmlUtil.java | 354 private static void writeWepKeysToXml(XmlSerializer out, String[] wepKeys) in writeWepKeysToXml() argument 356 String[] wepKeysToWrite = new String[wepKeys.length]; in writeWepKeysToXml() 358 for (int i = 0; i < wepKeys.length; i++) { in writeWepKeysToXml() 359 if (wepKeys[i] == null) { in writeWepKeysToXml() 362 wepKeysToWrite[i] = wepKeys[i]; in writeWepKeysToXml() 387 writeWepKeysToXml(out, configuration.wepKeys); in writeCommonElementsToXml() 469 private static void populateWepKeysFromXmlValue(Object value, String[] wepKeys) in populateWepKeysFromXmlValue() argument 475 if (wepKeysInData.length != wepKeys.length) { in populateWepKeysFromXmlValue() 479 for (int i = 0; i < wepKeys.length; i++) { in populateWepKeysFromXmlValue() 481 wepKeys[i] = null; in populateWepKeysFromXmlValue() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiConfiguration.java | 305 public String[] wepKeys; field in WifiConfiguration 1415 wepKeys = new String[4]; in WifiConfiguration() 1416 for (int i = 0; i < wepKeys.length; i++) { in WifiConfiguration() 1417 wepKeys[i] = null; in WifiConfiguration() 1811 } else if (wepKeys[0] != null) { in configKey() 1953 wepKeys = new String[4]; in WifiConfiguration() 1954 for (int i = 0; i < wepKeys.length; i++) { in WifiConfiguration() 1955 wepKeys[i] = source.wepKeys[i]; in WifiConfiguration() 2034 for (String wepKey : wepKeys) { in writeToParcel() 2102 for (int i = 0; i < config.wepKeys.length; i++) { [all …]
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | WifiConfigurationHelper.java | 75 config.wepKeys[0] = password; in createWepConfig() 77 config.wepKeys[0] = quotedString(password); in createWepConfig()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | ScanResultUtilTest.java | 100 config.wepKeys[0] = "45592364648547"; in testScanResultMatchingWithNetwork()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | AccessPoint.java | 1167 return (config.wepKeys[0] != null) ? SECURITY_WEP : SECURITY_NONE; in getSecurity()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 17916 field public java.lang.String[] wepKeys;
|
/frameworks/base/api/ |
D | current.txt | 26360 field public java.lang.String[] wepKeys;
|
D | system-current.txt | 28858 field public java.lang.String[] wepKeys;
|