Searched defs:wepKeys (Results 1 - 4 of 4) sorted by relevance
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiConfigurationUtil.java | 94 * Checks if the provided |wepKeys| array contains any non-null value; 96 public static boolean hasAnyValidWepKey(String[] wepKeys) { argument 97 for (int i = 0; i < wepKeys.length; i++) { 98 if (wepKeys[i] != null) { 125 && hasAnyValidWepKey(config.wepKeys)); 248 if (!Arrays.equals(existingConfig.wepKeys, newConfig.wepKeys)) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
H A D | XmlUtil.java | 355 private static void writeWepKeysToXml(XmlSerializer out, String[] wepKeys) argument 357 String[] wepKeysToWrite = new String[wepKeys.length]; 359 for (int i = 0; i < wepKeys.length; i++) { 360 if (wepKeys[i] == null) { 363 wepKeysToWrite[i] = wepKeys[i]; 388 writeWepKeysToXml(out, configuration.wepKeys); 467 * Populate wepKeys array elements only if they were non-empty in the backup data. 471 private static void populateWepKeysFromXmlValue(Object value, String[] wepKeys) argument 477 if (wepKeysInData.length != wepKeys.length) { 481 for (int i = 0; i < wepKeys [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | WifiConfigManagerTest.java | 888 * addition. The fields being reset in this test are the |preSharedKey| and |wepKeys|. 899 // Now add |wepKeys| to the network. We don't need to update the |allowedKeyManagement| 901 String[] wepKeys = 905 assertAndSetNetworkWepKeysAndTxIndex(network, wepKeys, wepTxKeyIdx); 911 // Now empty out 3 of the |wepKeys[]| and ensure that those keys have been reset correctly. 912 for (int i = 1; i < network.wepKeys.length; i++) { 913 wepKeys[i] = ""; 916 assertAndSetNetworkWepKeysAndTxIndex(network, wepKeys, wepTxKeyIdx); 924 wepKeys[0] = ""; 926 assertAndSetNetworkWepKeysAndTxIndex(network, wepKeys, wepTxKeyId 3504 assertAndSetNetworkWepKeysAndTxIndex( WifiConfiguration configuration, String[] wepKeys, int wepTxKeyIdx) argument [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiConfiguration.java | 306 public String[] wepKeys; field in class:WifiConfiguration 801 if (wepKeys != null) { 802 for (int i = 0; i < wepKeys.length; i++) { 803 if (wepKeys[i] != null) { 1520 wepKeys = new String[4]; 1521 for (int i = 0; i < wepKeys.length; i++) { 1522 wepKeys[i] = null; 1918 } else if (wepKeys[0] != null) { 2060 wepKeys = new String[4]; 2061 for (int i = 0; i < wepKeys [all...] |
Completed in 108 milliseconds