Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DIpConfiguration.java62 public enum ProxySettings { enum in IpConfiguration
78 public ProxySettings proxySettings;
85 ProxySettings proxySettings, in init()
97 init(IpAssignment.UNASSIGNED, ProxySettings.UNASSIGNED, null, null); in IpConfiguration()
103 ProxySettings proxySettings, in IpConfiguration()
133 public @NonNull ProxySettings getProxySettings() { in getProxySettings()
137 public void setProxySettings(@NonNull ProxySettings proxySettings) { in setProxySettings()
212 config.proxySettings = ProxySettings.valueOf(in.readString());
/frameworks/base/services/core/java/com/android/server/net/
DIpConfigStore.java21 import android.net.IpConfiguration.ProxySettings;
266 ProxySettings proxySettings = ProxySettings.NONE; in readIpConfigurations()
327 proxySettings = ProxySettings.valueOf(in.readUTF()); in readIpConfigurations()
385 config.proxySettings = ProxySettings.NONE; in readIpConfigurations()
389 config.proxySettings = ProxySettings.UNASSIGNED; in readIpConfigurations()
/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/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DWifiConfigurationHelper.java21 import android.net.IpConfiguration.ProxySettings;
154 ipConfiguration.setProxySettings(ProxySettings.NONE); in createGenericConfig()
261 ipConfiguration.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;
2282 public IpConfiguration.ProxySettings getProxySettings() { in getProxySettings()
2288 public void setProxySettings(IpConfiguration.ProxySettings proxySettings) { in setProxySettings()
2298 if (mIpConfiguration.proxySettings == IpConfiguration.ProxySettings.NONE) { in getHttpProxy()
2317 mIpConfiguration.setProxySettings(IpConfiguration.ProxySettings.NONE); in setHttpProxy()
2322 ProxySettings proxySettingCopy; in setHttpProxy()
2324 proxySettingCopy = IpConfiguration.ProxySettings.PAC; in setHttpProxy()
2328 proxySettingCopy = IpConfiguration.ProxySettings.STATIC; in setHttpProxy()
2342 public void setProxy(ProxySettings settings, ProxyInfo proxy) { in setProxy()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java192 IpConfiguration.ProxySettings proxySettings = IpConfiguration.ProxySettings.UNASSIGNED; in generateIpConfig()
224 proxySettings = IpConfiguration.ProxySettings.STATIC; in generateIpConfig()
227 proxySettings = IpConfiguration.ProxySettings.PAC; in generateIpConfig()
229 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.java4697 if (configuration.getProxySettings() == IpConfiguration.ProxySettings.UNASSIGNED) { in setDefaults()
4698 configuration.setProxySettings(IpConfiguration.ProxySettings.NONE); in setDefaults()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiBackupDataV1Parser.java21 import android.net.IpConfiguration.ProxySettings;
536 ProxySettings proxySettings = ProxySettings.valueOf(proxySettingsString); in parseIpConfigurationFromXml()
DWifiConfigManager.java1033 IpConfiguration.ProxySettings proxySettings = externalConfig.getProxySettings(); in mergeWithInternalWifiConfiguration()
1034 if (proxySettings != IpConfiguration.ProxySettings.UNASSIGNED) { in mergeWithInternalWifiConfiguration()
1036 if (proxySettings == IpConfiguration.ProxySettings.PAC in mergeWithInternalWifiConfiguration()
1037 || proxySettings == IpConfiguration.ProxySettings.STATIC) { in mergeWithInternalWifiConfiguration()
1083 configuration.setProxySettings(IpConfiguration.ProxySettings.NONE); in setDefaultsInWifiConfiguration()
DWifiConfigurationUtil.java205 return newConfig.getProxySettings() != IpConfiguration.ProxySettings.NONE; in hasProxyChanged()
DSupplicantStaIfaceHal.java972 config.setProxySettings(IpConfiguration.ProxySettings.NONE); in loadNetworks()
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java28 import android.net.IpConfiguration.ProxySettings;
552 if (config.getProxySettings() == ProxySettings.STATIC || in provisionIpClient()
553 config.getProxySettings() == ProxySettings.PAC) { in provisionIpClient()
DEthernetTracker.java28 import android.net.IpConfiguration.ProxySettings;
610 return new IpConfiguration(IpAssignment.STATIC, ProxySettings.NONE, ipConfig, null); in parseStaticIpConfiguration()
614 return new IpConfiguration(IpAssignment.DHCP, ProxySettings.NONE, null, null); in createDefaultIpConfiguration()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java22 import android.net.IpConfiguration.ProxySettings;
932 ProxySettings proxySettings = ProxySettings.valueOf(proxySettingsString); in parseFromXml()
/frameworks/base/config/
Ddirty-image-objects122 android.net.IpConfiguration$ProxySettings
Dpreloaded-classes2520 android.net.IpConfiguration$ProxySettings
Dboot-image-profile.txt10071 HSPLandroid/net/IpConfiguration$ProxySettings;-><init>(Ljava/lang/String;I)V
10072 HSPLandroid/net/IpConfiguration$ProxySettings;->valueOf(Ljava/lang/String;)Landroid/net/IpConfigura…
10073 HSPLandroid/net/IpConfiguration$ProxySettings;->values()[Landroid/net/IpConfiguration$ProxySettings;
34862 Landroid/net/IpConfiguration$ProxySettings;
Dhiddenapi-greylist-max-o.txt43558 Landroid/net/IpConfiguration$ProxySettings;->PAC:Landroid/net/IpConfiguration$ProxySettings;
43559 Landroid/net/IpConfiguration$ProxySettings;->STATIC:Landroid/net/IpConfiguration$ProxySettings;
43560 Landroid/net/IpConfiguration$ProxySettings;->UNASSIGNED:Landroid/net/IpConfiguration$ProxySettings;
43561 Landroid/net/IpConfiguration$ProxySettings;->valueOf(Ljava/lang/String;)Landroid/net/IpConfiguratio…
43562 Landroid/net/IpConfiguration$ProxySettings;->values()[Landroid/net/IpConfiguration$ProxySettings;
43568 Landroid/net/IpConfiguration;->getProxySettings()Landroid/net/IpConfiguration$ProxySettings;
43570 …android/net/IpConfiguration$IpAssignment;Landroid/net/IpConfiguration$ProxySettings;Landroid/net/S…
43572 Landroid/net/IpConfiguration;->proxySettings:Landroid/net/IpConfiguration$ProxySettings;
43575 Landroid/net/IpConfiguration;->setProxySettings(Landroid/net/IpConfiguration$ProxySettings;)V
/frameworks/base/api/
Dsystem-current.txt4404 method @NonNull public android.net.IpConfiguration.ProxySettings getProxySettings();
4408 method public void setProxySettings(@NonNull android.net.IpConfiguration.ProxySettings);
4420 public enum IpConfiguration.ProxySettings {
4421 enum_constant public static final android.net.IpConfiguration.ProxySettings NONE;
4422 enum_constant public static final android.net.IpConfiguration.ProxySettings PAC;
4423 enum_constant public static final android.net.IpConfiguration.ProxySettings STATIC;
4424 enum_constant public static final android.net.IpConfiguration.ProxySettings UNASSIGNED;
/frameworks/base/non-updatable-api/
Dsystem-current.txt4404 method @NonNull public android.net.IpConfiguration.ProxySettings getProxySettings();
4408 method public void setProxySettings(@NonNull android.net.IpConfiguration.ProxySettings);
4420 public enum IpConfiguration.ProxySettings {
4421 enum_constant public static final android.net.IpConfiguration.ProxySettings NONE;
4422 enum_constant public static final android.net.IpConfiguration.ProxySettings PAC;
4423 enum_constant public static final android.net.IpConfiguration.ProxySettings STATIC;
4424 enum_constant public static final android.net.IpConfiguration.ProxySettings UNASSIGNED;