Home
last modified time | relevance | path

Searched refs:wepTxKeyIndex (Results 1 – 19 of 19) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigurationUtil.java419 if (existingConfig.wepTxKeyIndex != newConfig.wepTxKeyIndex) { in hasCredentialChanged()
575 private static boolean validateWepKeys(String[] wepKeys, int wepTxKeyIndex, boolean isAdd) { in validateWepKeys() argument
616 if (wepTxKeyIndex >= wepKeys.length) { in validateWepKeys()
617 Log.e(TAG, "validateWepKeys: invalid wep tx key index " + wepTxKeyIndex in validateWepKeys()
764 && !validateWepKeys(config.wepKeys, config.wepTxKeyIndex, isAdd)) { in validate()
DSupplicantStaNetworkHalAidlImpl.java238 config.wepTxKeyIndex = -1; in loadWifiConfiguration()
240 config.wepTxKeyIndex = mWepTxKeyIdx; in loadWifiConfiguration()
474 if (!setWepTxKeyIdx(config.wepTxKeyIndex)) { in saveWifiConfiguration()
475 Log.e(TAG, "failed to set wep_tx_keyidx: " + config.wepTxKeyIndex); in saveWifiConfiguration()
DWifiBackupDataV1Parser.java374 configuration.wepTxKeyIndex = (int) value; in parseWifiConfigurationFromXmlInternal()
DWifiBackupRestore.java709 configuration.wepTxKeyIndex = in createWifiConfiguration()
DSupplicantStaNetworkHalHidlImpl.java207 config.wepTxKeyIndex = -1; in loadWifiConfiguration()
209 config.wepTxKeyIndex = mWepTxKeyIdx; in loadWifiConfiguration()
427 if (!setWepTxKeyIdx(config.wepTxKeyIndex)) { in saveWifiConfiguration()
428 Log.e(TAG, "failed to set wep_tx_keyidx: " + config.wepTxKeyIndex); in saveWifiConfiguration()
DWifiConfigManager.java1217 internalConfig.wepTxKeyIndex = externalConfig.wepTxKeyIndex; in mergeWithInternalWifiConfiguration()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java401 configuration.wepTxKeyIndex = TEST_WEP_TX_KEY_INDEX; in createWepNetwork()
416 configuration.wepTxKeyIndex = 0; in createWepNetworkWithSingleKey()
725 assertEquals(expected.wepTxKeyIndex, actual.wepTxKeyIndex); in assertCommonConfigurationElementsEqual()
852 assertEquals(expected.wepTxKeyIndex, actual.wepTxKeyIndex); in assertConfigurationEqualForSupplicant()
DWifiBackupRestoreTest.java485 config.wepTxKeyIndex = 0; in createNetworkForConfigurationWithUnsupportedTag()
538 config.wepTxKeyIndex = 0; in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore()
1240 config.wepTxKeyIndex = 0; in createNetworkForConfigurationWithV1_0Data()
1376 out.write(" " + "wep_tx_keyidx=" + configuration.wepTxKeyIndex + "\n"); in writeConfigurationToWpaSupplicantConf()
DWifiConfigManagerTest.java2437 wepNetwork.wepTxKeyIndex = 0; in testUpdateWepKeysClearsHasEverConnected()
2451 assertFalse(wepNetwork.wepTxKeyIndex == 3); in testUpdateWepTxKeyClearsHasEverConnected()
2452 wepNetwork.wepTxKeyIndex = 3; in testUpdateWepTxKeyClearsHasEverConnected()
5866 assertNotEquals(wepTxKeyIdx, configuration.wepTxKeyIndex); in assertAndSetNetworkWepKeysAndTxIndex()
5868 configuration.wepTxKeyIndex = wepTxKeyIdx; in assertAndSetNetworkWepKeysAndTxIndex()
DWifiConfigurationUtilTest.java589 config.wepTxKeyIndex = config.wepKeys.length; in testValidateNegativeCases_BadWepTxKeysIndex()
DSupplicantStaIfaceHalAidlImplTest.java2986 config.wepTxKeyIndex = 0; in executeAndValidateConnectSequenceWithKeyMgmt()
DSupplicantStaIfaceHalHidlImplTest.java3297 config.wepTxKeyIndex = 0; in executeAndValidateConnectSequenceWithKeyMgmt()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiConfigurationTest.java476 config.wepTxKeyIndex = 2; in testGetSsidAndSecurityTypeString()
483 config.wepTxKeyIndex = 0; in testGetSsidAndSecurityTypeString()
489 config.wepTxKeyIndex = 0; in testGetSsidAndSecurityTypeString()
560 config.wepTxKeyIndex = 2; in testGetNetworkKeyString()
567 config.wepTxKeyIndex = 0; in testGetNetworkKeyString()
573 config.wepTxKeyIndex = 0; in testGetNetworkKeyString()
919 config.wepTxKeyIndex = 2; in testGetProfileKeyString()
931 config.wepTxKeyIndex = 0; in testGetProfileKeyString()
942 config.wepTxKeyIndex = 0; in testGetProfileKeyString()
/packages/apps/Settings/src/com/android/settings/wifi/addappnetworks/
DAddAppNetworksFragment.java320 return (config.wepTxKeyIndex >= 0 && config.wepTxKeyIndex < config.wepKeys.length) in getWepKey()
321 ? config.wepKeys[config.wepTxKeyIndex] : null; in getWepKey()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiConfiguration.java1215 public int wepTxKeyIndex; field in WifiConfiguration
4080 wepTxKeyIndex = source.wepTxKeyIndex; in WifiConfiguration()
4195 dest.writeInt(wepTxKeyIndex); in writeToParcel()
4298 config.wepTxKeyIndex = in.readInt();
4589 } else if (wepTxKeyIndex >= 0 && wepTxKeyIndex < wepKeys.length in getDefaultSecurityType()
4590 && wepKeys[wepTxKeyIndex] != null) { in getDefaultSecurityType()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppUtils.java155 .wepKeys[privilegedWifiConfiguration.wepTxKeyIndex]; in getPresharedKey()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java266 wifiConf.wepTxKeyIndex = 0; in updateForWEPConfiguration()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java580 XmlUtil.writeNextValue(out, XML_TAG_WEP_TX_KEY_INDEX, configuration.wepTxKeyIndex); in writeCommonElementsToXml()
907 configuration.wepTxKeyIndex = (int) value; in parseFromXml()
/packages/modules/Wifi/framework/api/
Dcurrent.txt212 field @Deprecated public int wepTxKeyIndex;