Home
last modified time | relevance | path

Searched refs:proxySettings (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/net/
DIpConfiguration.java65 public ProxySettings proxySettings; field in IpConfiguration
71 ProxySettings proxySettings, in init() argument
75 this.proxySettings = proxySettings; in init()
88 ProxySettings proxySettings, in IpConfiguration() argument
91 init(ipAssignment, proxySettings, staticIpConfiguration, httpProxy); in IpConfiguration()
97 init(source.ipAssignment, source.proxySettings, in IpConfiguration()
119 return proxySettings; in getProxySettings()
122 public void setProxySettings(ProxySettings proxySettings) { in setProxySettings() argument
123 this.proxySettings = proxySettings; in setProxySettings()
143 sbuf.append("Proxy settings: " + proxySettings.toString()); in toString()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DIpConfigStore.java122 switch (config.proxySettings) { in writeConfig()
127 out.writeUTF(config.proxySettings.toString()); in writeConfig()
141 out.writeUTF(config.proxySettings.toString()); in writeConfig()
148 out.writeUTF(config.proxySettings.toString()); in writeConfig()
265 ProxySettings proxySettings = ProxySettings.NONE; in readIpConfigurations() local
326 proxySettings = ProxySettings.valueOf(in.readUTF()); in readIpConfigurations()
367 switch (proxySettings) { in readIpConfigurations()
371 config.proxySettings = proxySettings; in readIpConfigurations()
376 config.proxySettings = proxySettings; in readIpConfigurations()
380 config.proxySettings = proxySettings; in readIpConfigurations()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiBackupDataV1Parser.java535 ProxySettings proxySettings = ProxySettings.valueOf(proxySettingsString); in parseIpConfigurationFromXml() local
536 ipConfiguration.setProxySettings(proxySettings); in parseIpConfigurationFromXml()
537 switch (proxySettings) { in parseIpConfigurationFromXml()
566 "Unknown proxy settings type: " + proxySettings); in parseIpConfigurationFromXml()
DWifiConfigManager.java947 IpConfiguration.ProxySettings proxySettings = externalConfig.getProxySettings(); in mergeWithInternalWifiConfiguration() local
948 if (proxySettings != IpConfiguration.ProxySettings.UNASSIGNED) { in mergeWithInternalWifiConfiguration()
949 internalConfig.setProxySettings(proxySettings); in mergeWithInternalWifiConfiguration()
950 if (proxySettings == IpConfiguration.ProxySettings.PAC in mergeWithInternalWifiConfiguration()
951 || proxySettings == IpConfiguration.ProxySettings.STATIC) { in mergeWithInternalWifiConfiguration()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java764 ipConfiguration.proxySettings.toString()); in writeToXml()
765 switch (ipConfiguration.proxySettings) { in writeToXml()
864 ProxySettings proxySettings = ProxySettings.valueOf(proxySettingsString); in parseFromXml() local
865 ipConfiguration.setProxySettings(proxySettings); in parseFromXml()
866 switch (proxySettings) { in parseFromXml()
888 "Unknown proxy settings type: " + proxySettings); in parseFromXml()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java191 IpConfiguration.ProxySettings proxySettings = IpConfiguration.ProxySettings.UNASSIGNED; in generateIpConfig() local
223 proxySettings = IpConfiguration.ProxySettings.STATIC; in generateIpConfig()
226 proxySettings = IpConfiguration.ProxySettings.PAC; in generateIpConfig()
228 proxySettings = IpConfiguration.ProxySettings.NONE; in generateIpConfig()
230 return new IpConfiguration(ipAssignment, proxySettings, staticIpConfiguration, proxyInfo); in generateIpConfig()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java2274 return mIpConfiguration.proxySettings; in getProxySettings()
2279 public void setProxySettings(IpConfiguration.ProxySettings proxySettings) { in setProxySettings() argument
2280 mIpConfiguration.proxySettings = proxySettings; in setProxySettings()
2289 if (mIpConfiguration.proxySettings == IpConfiguration.ProxySettings.NONE) { in getHttpProxy()
2334 mIpConfiguration.proxySettings = settings; in setProxy()