Lines Matching refs:configuration

104      * Verify that a single open network configuration is serialized & deserialized correctly.
119 * Verify that a single open hidden network configuration is serialized & deserialized
135 * Verify that a single PSK network configuration is serialized & deserialized correctly.
150 * Verify that a single PSK hidden network configuration is serialized & deserialized correctly.
165 * Verify that a single WEP network configuration is serialized & deserialized correctly.
180 * Verify that a single WEP network configuration with only 1 key is serialized & deserialized
196 * Verify that a single enterprise network configuration is not serialized.
212 * Verify that a single PSK network configuration with static ip/proxy settings is serialized &
231 * Verify that a single PSK network configuration with static ip & PAC proxy settings is
250 * Verify that a single PSK network configuration with DHCP ip & PAC proxy settings is
269 * Verify that a single PSK network configuration with partial static ip settings is serialized
413 * Verify that a single open network configuration is serialized & deserialized correctly from
431 * Verify that a single open hidden network configuration is serialized & deserialized
449 * Verify that a single PSK network configuration is serialized & deserialized correctly from
467 * Verify that a single PSK hidden network configuration is serialized & deserialized correctly
485 * Verify that a single WEP network configuration is serialized & deserialized correctly from
503 * Verify that a single WEP network configuration with only 1 key is serialized & deserialized
521 * Verify that a single enterprise network configuration is not serialized from old backups.
569 * Verify that a single open network configuration is serialized & deserialized correctly from
704 for (WifiConfiguration configuration : configurations) {
705 writeConfigurationToWpaSupplicantConf(out, configuration);
720 OutputStreamWriter out, WifiConfiguration configuration)
723 out.write(" " + "ssid=" + configuration.SSID + "\n");
725 if (configuration.hiddenSSID) {
728 if (configuration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE)) {
731 if (configuration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)) {
734 if (configuration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP)) {
737 if (configuration.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.IEEE8021X)) {
741 if (configuration.preSharedKey != null) {
742 out.write(" " + "psk=" + configuration.preSharedKey + "\n");
744 if (configuration.wepKeys[0] != null) {
745 out.write(" " + "wep_key0=" + configuration.wepKeys[0] + "\n");
747 if (configuration.wepKeys[1] != null) {
748 out.write(" " + "wep_key1=" + configuration.wepKeys[1] + "\n");
750 if (configuration.wepKeys[2] != null) {
751 out.write(" " + "wep_key2=" + configuration.wepKeys[2] + "\n");
753 if (configuration.wepKeys[3] != null) {
754 out.write(" " + "wep_key3=" + configuration.wepKeys[3] + "\n");
756 if (configuration.wepKeys[0] != null || configuration.wepKeys[1] != null
757 || configuration.wepKeys[2] != null || configuration.wepKeys[3] != null) {
758 out.write(" " + "wep_tx_keyidx=" + configuration.wepTxKeyIndex + "\n");
761 extras.put(SupplicantStaNetworkHal.ID_STRING_KEY_CONFIG_KEY, configuration.configKey());
763 Integer.toString(configuration.creatorUid));
781 for (WifiConfiguration configuration : configurations) {
782 IpConfigStore.writeConfig(out, configuration.configKey().hashCode(),
783 configuration.getIpConfiguration());