Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DIpConfiguration.java49 public enum ProxySettings { enum in IpConfiguration
65 public ProxySettings proxySettings;
71 ProxySettings proxySettings, in init()
83 init(IpAssignment.UNASSIGNED, ProxySettings.UNASSIGNED, null, null); in IpConfiguration()
88 ProxySettings proxySettings, in IpConfiguration()
118 public ProxySettings getProxySettings() { in getProxySettings()
122 public void setProxySettings(ProxySettings proxySettings) { in setProxySettings()
197 config.proxySettings = ProxySettings.valueOf(in.readString());
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DIpConfigStoreTest.java25 import android.net.IpConfiguration.ProxySettings;
56 ProxySettings.NONE, null, null); in backwardCompatibility2to3()
88 ProxySettings.STATIC, staticIpConfiguration, proxyInfo); in staticIpMultiNetworks()
/frameworks/base/services/core/java/com/android/server/net/
DIpConfigStore.java21 import android.net.IpConfiguration.ProxySettings;
265 ProxySettings proxySettings = ProxySettings.NONE; in readIpConfigurations()
326 proxySettings = ProxySettings.valueOf(in.readUTF()); in readIpConfigurations()
384 config.proxySettings = ProxySettings.NONE; in readIpConfigurations()
388 config.proxySettings = ProxySettings.UNASSIGNED; in readIpConfigurations()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DWifiConfigurationHelper.java20 import android.net.IpConfiguration.ProxySettings;
151 config.setProxySettings(ProxySettings.NONE); in createGenericConfig()
256 config.setProxySettings(ProxySettings.NONE); in getWifiConfiguration()
/frameworks/opt/net/ethernet/tests/java/com/android/server/ethernet/
DEthernetTrackerTest.java24 import android.net.IpConfiguration.ProxySettings;
100 ProxySettings.NONE, expectedStaticIpConfig, null); in assertStaticConfiguration()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java25 import android.net.IpConfiguration.ProxySettings;
2273 public IpConfiguration.ProxySettings getProxySettings() { in getProxySettings()
2279 public void setProxySettings(IpConfiguration.ProxySettings proxySettings) { in setProxySettings()
2289 if (mIpConfiguration.proxySettings == IpConfiguration.ProxySettings.NONE) { in getHttpProxy()
2308 mIpConfiguration.setProxySettings(IpConfiguration.ProxySettings.NONE); in setHttpProxy()
2313 ProxySettings proxySettingCopy; in setHttpProxy()
2315 proxySettingCopy = IpConfiguration.ProxySettings.PAC; in setHttpProxy()
2319 proxySettingCopy = IpConfiguration.ProxySettings.STATIC; in setHttpProxy()
2333 public void setProxy(ProxySettings settings, ProxyInfo proxy) { in setProxy()
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetTracker.java25 import android.net.IpConfiguration.ProxySettings;
455 return new IpConfiguration(IpAssignment.STATIC, ProxySettings.NONE, ipConfig, null); in parseStaticIpConfiguration()
459 return new IpConfiguration(IpAssignment.DHCP, ProxySettings.NONE, null, null); in createDefaultIpConfiguration()
DEthernetNetworkFactory.java28 import android.net.IpConfiguration.ProxySettings;
555 if (config.getProxySettings() == ProxySettings.STATIC || in provisionIpClient()
556 config.getProxySettings() == ProxySettings.PAC) { in provisionIpClient()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiBackupDataV1Parser.java21 import android.net.IpConfiguration.ProxySettings;
535 ProxySettings proxySettings = ProxySettings.valueOf(proxySettingsString); in parseIpConfigurationFromXml()
DWifiConfigManager.java947 IpConfiguration.ProxySettings proxySettings = externalConfig.getProxySettings(); in mergeWithInternalWifiConfiguration()
948 if (proxySettings != IpConfiguration.ProxySettings.UNASSIGNED) { in mergeWithInternalWifiConfiguration()
950 if (proxySettings == IpConfiguration.ProxySettings.PAC in mergeWithInternalWifiConfiguration()
951 || proxySettings == IpConfiguration.ProxySettings.STATIC) { in mergeWithInternalWifiConfiguration()
997 configuration.setProxySettings(IpConfiguration.ProxySettings.NONE); in setDefaultsInWifiConfiguration()
DWifiConfigurationUtil.java205 return newConfig.getProxySettings() != IpConfiguration.ProxySettings.NONE; in hasProxyChanged()
DSupplicantStaIfaceHal.java948 config.setProxySettings(IpConfiguration.ProxySettings.NONE); in loadNetworks()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java191 IpConfiguration.ProxySettings proxySettings = IpConfiguration.ProxySettings.UNASSIGNED; in generateIpConfig()
223 proxySettings = IpConfiguration.ProxySettings.STATIC; in generateIpConfig()
226 proxySettings = IpConfiguration.ProxySettings.PAC; in generateIpConfig()
228 proxySettings = IpConfiguration.ProxySettings.NONE; in generateIpConfig()
DWifiBackupRestoreTest.java355 ipConfiguration.setProxySettings(IpConfiguration.ProxySettings.NONE); in createNetworkForConfigurationWithUnsupportedTag()
408 ipConfiguration.setProxySettings(IpConfiguration.ProxySettings.NONE); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore()
986 ipConfiguration.setProxySettings(IpConfiguration.ProxySettings.NONE); in createNetworkForConfigurationWithV1_0Data()
DSupplicantStaIfaceHalTest.java471 assertEquals(IpConfiguration.ProxySettings.NONE, config.getProxySettings()); in testLoadNetworks()
547 assertEquals(IpConfiguration.ProxySettings.NONE, config.getProxySettings()); in testLoadNetworksRemovesDuplicates()
DWifiConfigManagerTest.java4602 if (configuration.getProxySettings() == IpConfiguration.ProxySettings.UNASSIGNED) { in setDefaults()
4603 configuration.setProxySettings(IpConfiguration.ProxySettings.NONE); in setDefaults()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java21 import android.net.IpConfiguration.ProxySettings;
864 ProxySettings proxySettings = ProxySettings.valueOf(proxySettingsString); in parseFromXml()
/frameworks/base/config/
Ddirty-image-objects122 android.net.IpConfiguration$ProxySettings
Dpreloaded-classes2520 android.net.IpConfiguration$ProxySettings