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 | 73 * Checks if the provided |wepKeys| array contains any non-null value; 75 public static boolean hasAnyValidWepKey(String[] wepKeys) { argument 76 for (int i = 0; i < wepKeys.length; i++) { 77 if (wepKeys[i] != null) { 104 && hasAnyValidWepKey(config.wepKeys)); 221 if (!Arrays.equals(existingConfig.wepKeys, newConfig.wepKeys)) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
H A D | XmlUtil.java | 354 private static void writeWepKeysToXml(XmlSerializer out, String[] wepKeys) argument 356 String[] wepKeysToWrite = new String[wepKeys.length]; 358 for (int i = 0; i < wepKeys.length; i++) { 359 if (wepKeys[i] == null) { 362 wepKeysToWrite[i] = wepKeys[i]; 387 writeWepKeysToXml(out, configuration.wepKeys); 465 * Populate wepKeys array elements only if they were non-empty in the backup data. 469 private static void populateWepKeysFromXmlValue(Object value, String[] wepKeys) argument 475 if (wepKeysInData.length != wepKeys.length) { 479 for (int i = 0; i < wepKeys [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | WifiConfigManagerTest.java | 891 * addition. The fields being reset in this test are the |preSharedKey| and |wepKeys|. 902 // Now add |wepKeys| to the network. We don't need to update the |allowedKeyManagement| 904 String[] wepKeys = 908 assertAndSetNetworkWepKeysAndTxIndex(network, wepKeys, wepTxKeyIdx); 914 // Now empty out 3 of the |wepKeys[]| and ensure that those keys have been reset correctly. 915 for (int i = 1; i < network.wepKeys.length; i++) { 916 wepKeys[i] = ""; 919 assertAndSetNetworkWepKeysAndTxIndex(network, wepKeys, wepTxKeyIdx); 927 wepKeys[0] = ""; 929 assertAndSetNetworkWepKeysAndTxIndex(network, wepKeys, wepTxKeyId 3374 assertAndSetNetworkWepKeysAndTxIndex( WifiConfiguration configuration, String[] wepKeys, int wepTxKeyIdx) argument [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiConfiguration.java | 305 public String[] wepKeys; field in class:WifiConfiguration 1415 wepKeys = new String[4]; 1416 for (int i = 0; i < wepKeys.length; i++) { 1417 wepKeys[i] = null; 1811 } else if (wepKeys[0] != null) { 1953 wepKeys = new String[4]; 1954 for (int i = 0; i < wepKeys.length; i++) { 1955 wepKeys[i] = source.wepKeys[i]; 2034 for (String wepKey : wepKeys) { [all...] |
Completed in 1315 milliseconds