/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiConfigurationTest.java | 129 config.wepKeys = null; in testIsOpenNetwork_IsOpen_NullWepKeys() 138 config.wepKeys = new String[0]; in testIsOpenNetwork_IsOpen_ZeroLengthWepKeysArray() 147 config.wepKeys = new String[1]; in testIsOpenNetwork_IsOpen_NullWepKeysArray() 156 config.wepKeys = new String[] {"test"}; in testIsOpenNetwork_NotOpen_HasWepKeys() 165 config.wepKeys = new String[] {null, null, "test"}; in testIsOpenNetwork_NotOpen_HasNullWepKeyFollowedByNonNullKey() 180 config.wepKeys = null; in testIsOpenNetwork_NotOpen_HasAuthType() 192 config.wepKeys = null; in testIsOpenNetwork_NotOpen_HasAuthTypeNoneAndMore() 435 config.wepKeys[0] = "TestWep"; in testGetSsidAndSecurityTypeString() 439 config.wepKeys[0] = null; in testGetSsidAndSecurityTypeString()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiBackupRestoreTest.java | 1069 if (configuration.wepKeys[0] != null) { in writeConfigurationToWpaSupplicantConf() 1070 out.write(" " + "wep_key0=" + configuration.wepKeys[0] + "\n"); in writeConfigurationToWpaSupplicantConf() 1072 if (configuration.wepKeys[1] != null) { in writeConfigurationToWpaSupplicantConf() 1073 out.write(" " + "wep_key1=" + configuration.wepKeys[1] + "\n"); in writeConfigurationToWpaSupplicantConf() 1075 if (configuration.wepKeys[2] != null) { in writeConfigurationToWpaSupplicantConf() 1076 out.write(" " + "wep_key2=" + configuration.wepKeys[2] + "\n"); in writeConfigurationToWpaSupplicantConf() 1078 if (configuration.wepKeys[3] != null) { in writeConfigurationToWpaSupplicantConf() 1079 out.write(" " + "wep_key3=" + configuration.wepKeys[3] + "\n"); in writeConfigurationToWpaSupplicantConf() 1081 if (configuration.wepKeys[0] != null || configuration.wepKeys[1] != null in writeConfigurationToWpaSupplicantConf() 1082 || configuration.wepKeys[2] != null || configuration.wepKeys[3] != null) { in writeConfigurationToWpaSupplicantConf()
|
D | WifiConfigurationTestUtil.java | 321 configuration.wepKeys = TEST_WEP_KEYS; in createWepNetwork() 336 configuration.wepKeys[0] = TEST_WEP_KEYS[0]; in createWepNetworkWithSingleKey() 495 && WifiConfigurationUtil.hasAnyValidWepKey(configuration.wepKeys)) { in getScanResultCapsForNetwork() 553 assertEquals(expected.wepKeys, actual.wepKeys); in assertCommonConfigurationElementsEqual() 654 assertEquals(expected.wepKeys, actual.wepKeys); in assertConfigurationEqualForSupplicant()
|
D | WifiConfigManagerTest.java | 1375 String[] wepKeys = in testMultipleUpdatesSingleNetwork() local 1379 assertAndSetNetworkWepKeysAndTxIndex(network, wepKeys, wepTxKeyIdx); in testMultipleUpdatesSingleNetwork() 1386 for (int i = 1; i < network.wepKeys.length; i++) { in testMultipleUpdatesSingleNetwork() 1387 wepKeys[i] = ""; in testMultipleUpdatesSingleNetwork() 1390 assertAndSetNetworkWepKeysAndTxIndex(network, wepKeys, wepTxKeyIdx); in testMultipleUpdatesSingleNetwork() 1398 wepKeys[0] = ""; in testMultipleUpdatesSingleNetwork() 1400 assertAndSetNetworkWepKeysAndTxIndex(network, wepKeys, wepTxKeyIdx); in testMultipleUpdatesSingleNetwork() 1755 assertFalse(wepNetwork.wepKeys[0].equals("newpassword")); in testUpdateWepKeysClearsHasEverConnected() 1756 wepNetwork.wepKeys[0] = "newpassword"; in testUpdateWepKeysClearsHasEverConnected() 1912 someRandomNetworkWithAllMaskedFields.wepKeys = WifiConfigurationTestUtil.TEST_WEP_KEYS; in testUpdateIgnoresMaskedPasswords() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiBackupDataV1Parser.java | 311 populateWepKeysFromXmlValue(value, configuration.wepKeys); in parseWifiConfigurationFromXmlInternal() 384 private static void populateWepKeysFromXmlValue(Object value, String[] wepKeys) in populateWepKeysFromXmlValue() argument 390 if (wepKeysInData.length != wepKeys.length) { in populateWepKeysFromXmlValue() 394 for (int i = 0; i < wepKeys.length; i++) { in populateWepKeysFromXmlValue() 396 wepKeys[i] = null; in populateWepKeysFromXmlValue() 398 wepKeys[i] = wepKeysInData[i]; in populateWepKeysFromXmlValue()
|
D | WifiConfigurationUtil.java | 110 public static boolean hasAnyValidWepKey(String[] wepKeys) { in hasAnyValidWepKey() argument 111 for (int i = 0; i < wepKeys.length; i++) { in hasAnyValidWepKey() 112 if (wepKeys[i] != null) { in hasAnyValidWepKey() 160 && hasAnyValidWepKey(config.wepKeys)); in isConfigForWepNetwork() 316 if (!Arrays.equals(existingConfig.wepKeys, newConfig.wepKeys)) { in hasCredentialChanged()
|
D | WifiBackupRestore.java | 630 configuration.wepKeys[0] = in createWifiConfiguration() 634 configuration.wepKeys[1] = in createWifiConfiguration() 638 configuration.wepKeys[2] = in createWifiConfiguration() 642 configuration.wepKeys[3] = in createWifiConfiguration()
|
D | WifiConfigManager.java | 585 if (configuration.wepKeys != null) { in maskPasswordsInWifiConfiguration() 586 for (int i = 0; i < configuration.wepKeys.length; i++) { in maskPasswordsInWifiConfiguration() 587 if (!TextUtils.isEmpty(configuration.wepKeys[i])) { in maskPasswordsInWifiConfiguration() 588 configuration.wepKeys[i] = PASSWORD_MASK; in maskPasswordsInWifiConfiguration() 968 if (externalConfig.wepKeys != null) { in mergeWithInternalWifiConfiguration() 970 for (int i = 0; i < internalConfig.wepKeys.length; i++) { in mergeWithInternalWifiConfiguration() 971 if (externalConfig.wepKeys[i] != null in mergeWithInternalWifiConfiguration() 972 && !externalConfig.wepKeys[i].equals(PASSWORD_MASK)) { in mergeWithInternalWifiConfiguration() 973 internalConfig.wepKeys[i] = externalConfig.wepKeys[i]; in mergeWithInternalWifiConfiguration()
|
D | SupplicantStaNetworkHal.java | 204 config.wepKeys[i] = null; in loadWifiConfiguration() 206 config.wepKeys[i] = NativeUtil.bytesToHexOrQuotedString(mWepKey); in loadWifiConfiguration() 318 if (config.wepKeys != null) { in saveWifiConfiguration() 319 for (int i = 0; i < config.wepKeys.length; i++) { in saveWifiConfiguration() 320 if (config.wepKeys[i] != null) { in saveWifiConfiguration() 322 i, NativeUtil.hexOrQuotedStringToBytes(config.wepKeys[i]))) { in saveWifiConfiguration()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | XmlUtil.java | 363 private static void writeWepKeysToXml(XmlSerializer out, String[] wepKeys) in writeWepKeysToXml() argument 365 String[] wepKeysToWrite = new String[wepKeys.length]; in writeWepKeysToXml() 367 for (int i = 0; i < wepKeys.length; i++) { in writeWepKeysToXml() 368 if (wepKeys[i] == null) { in writeWepKeysToXml() 371 wepKeysToWrite[i] = wepKeys[i]; in writeWepKeysToXml() 428 writeWepKeysToXml(out, configuration.wepKeys); in writeCommonElementsToXml() 524 private static void populateWepKeysFromXmlValue(Object value, String[] wepKeys) in populateWepKeysFromXmlValue() argument 530 if (wepKeysInData.length != wepKeys.length) { in populateWepKeysFromXmlValue() 534 for (int i = 0; i < wepKeys.length; i++) { in populateWepKeysFromXmlValue() 536 wepKeys[i] = null; in populateWepKeysFromXmlValue() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiConfiguration.java | 526 public String[] wepKeys; field in WifiConfiguration 962 if (wepKeys != null) { in isOpenNetwork() 963 for (int i = 0; i < wepKeys.length; i++) { in isOpenNetwork() 964 if (wepKeys[i] != null) { in isOpenNetwork() 1775 wepKeys = new String[4]; in WifiConfiguration() 1776 for (int i = 0; i < wepKeys.length; i++) { in WifiConfiguration() 1777 wepKeys[i] = null; in WifiConfiguration() 2222 } else if (wepKeys[0] != null) { in getSsidAndSecurityTypeString() 2380 wepKeys = new String[4]; in WifiConfiguration() 2381 for (int i = 0; i < wepKeys.length; i++) { in WifiConfiguration() [all …]
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | WifiConfigurationHelper.java | 76 config.wepKeys[0] = password; in createWepConfig() 78 config.wepKeys[0] = quotedString(password); in createWepConfig()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | AccessPoint.java | 1761 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/non-updatable-api/ |
D | current.txt | 29917 field @Deprecated public String[] wepKeys;
|
/frameworks/base/api/ |
D | current.txt | 30061 field @Deprecated public String[] wepKeys;
|