Home
last modified time | relevance | path

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

12

/packages/modules/Connectivity/framework/src/android/net/
DIpConfiguration.java65 public enum ProxySettings { enum in IpConfiguration
81 public ProxySettings proxySettings;
88 ProxySettings proxySettings, in init()
102 init(IpAssignment.UNASSIGNED, ProxySettings.UNASSIGNED, null, null); in IpConfiguration()
108 ProxySettings proxySettings, in IpConfiguration()
154 public @NonNull ProxySettings getProxySettings() { in getProxySettings()
160 public void setProxySettings(@NonNull ProxySettings proxySettings) { in setProxySettings()
243 config.proxySettings = ProxySettings.valueOf(in.readString());
296 config.setProxySettings(ProxySettings.NONE); in build()
299 mProxyInfo.getPacFileUrl() == null ? ProxySettings.STATIC in build()
[all …]
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIpConfigurationTest.java86 ipConfig.setProxySettings(IpConfiguration.ProxySettings.PAC); in testConstructor()
90 ipConfig.setProxySettings(IpConfiguration.ProxySettings.STATIC); in testConstructor()
94 ipConfig.setProxySettings(IpConfiguration.ProxySettings.PAC); in testConstructor()
98 ipConfig.setProxySettings(IpConfiguration.ProxySettings.PAC); in testConstructor()
102 ipConfig.setProxySettings(IpConfiguration.ProxySettings.STATIC); in testConstructor()
106 ipConfig.setProxySettings(IpConfiguration.ProxySettings.NONE); in testConstructor()
129 assertEquals(IpConfiguration.ProxySettings.UNASSIGNED, in checkEmpty()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DIpConfigStoreTest.java27 import android.net.IpConfiguration.ProxySettings;
91 newIpConfiguration(IpAssignment.DHCP, ProxySettings.NONE, null, null); in backwardCompatibility2to3()
109 ProxySettings.STATIC, STATIC_IP_CONFIG_1, PROXY_INFO); in staticIpMultiNetworks()
111 ProxySettings.STATIC, STATIC_IP_CONFIG_2, PROXY_INFO); in staticIpMultiNetworks()
148 ProxySettings.STATIC, STATIC_IP_CONFIG_1, PROXY_INFO); in readIpConfigurationFromFilePath()
178 ProxySettings proxySettings, StaticIpConfiguration staticIpConfig, ProxyInfo info) { in newIpConfiguration()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DIpConfigStore.java23 import android.net.IpConfiguration.ProxySettings;
103 ProxySettings proxySettings = ProxySettings.NONE; in readIpConfigurations()
161 proxySettings = ProxySettings.valueOf(in.readUTF()); in readIpConfigurations()
223 config.setProxySettings(ProxySettings.NONE); in readIpConfigurations()
227 config.setProxySettings(ProxySettings.UNASSIGNED); in readIpConfigurations()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProviderTest.java118 assertEquals(IpConfiguration.ProxySettings.UNASSIGNED, in testWpa()
129 assertEquals(IpConfiguration.ProxySettings.UNASSIGNED, in testWep()
140 assertEquals(IpConfiguration.ProxySettings.UNASSIGNED, in testWep2()
151 assertEquals(IpConfiguration.ProxySettings.UNASSIGNED, in testNone()
162 assertEquals(IpConfiguration.ProxySettings.UNASSIGNED, in testNull()
171 assertEquals(IpConfiguration.ProxySettings.PAC, in testPac()
180 assertEquals(IpConfiguration.ProxySettings.STATIC, in testStaticProxy()
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DIpConfigStore.java22 import android.net.IpConfiguration.ProxySettings;
281 ProxySettings proxySettings = ProxySettings.NONE; in readIpConfigurations()
352 proxySettings = ProxySettings.valueOf(in.readUTF()); in readIpConfigurations()
417 config.setProxySettings(ProxySettings.NONE); in readIpConfigurations()
421 config.setProxySettings(ProxySettings.UNASSIGNED); in readIpConfigurations()
/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/
DEthernetConfigStoreTest.java27 import android.net.IpConfiguration.ProxySettings;
61 new IpConfiguration(IpAssignment.DHCP, ProxySettings.NONE, null, null);
63 new IpConfiguration(IpAssignment.STATIC, ProxySettings.STATIC, STATIC_IP_CONFIG,
DEthernetTrackerTest.java37 import android.net.IpConfiguration.ProxySettings;
162 expectedIpConfiguration.setProxySettings(ProxySettings.NONE); in assertStaticConfiguration()
DEthernetNetworkFactoryTest.java206 ipConfig.setProxySettings(IpConfiguration.ProxySettings.NONE); in createDefaultIpConfig()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/
DProxySettingsPreferenceController.java61 IpConfiguration.ProxySettings proxySettings = in update()
63 mPreferenceCompat.setSummary(proxySettings == IpConfiguration.ProxySettings.NONE in update()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiDetailsFragment.java24 import android.net.IpConfiguration.ProxySettings;
181 ProxySettings proxySettings = wifiConfiguration.getIpConfiguration().getProxySettings(); in update()
182 mProxySettingsPref.setSummary(proxySettings == ProxySettings.NONE in update()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
DAdvancedOptionsFlowUtil.java62 ? IpConfiguration.ProxySettings.STATIC : IpConfiguration.ProxySettings.NONE); in processProxySettings()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java24 import android.net.IpConfiguration.ProxySettings;
329 ipConfig.setProxySettings(ProxySettings.STATIC); in updateForProxy()
333 ipConfig.setProxySettings(ProxySettings.PAC); in updateForProxy()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java234 IpConfiguration.ProxySettings proxySettings = IpConfiguration.ProxySettings.UNASSIGNED; in generateIpConfig()
266 proxySettings = IpConfiguration.ProxySettings.STATIC; in generateIpConfig()
269 proxySettings = IpConfiguration.ProxySettings.PAC; in generateIpConfig()
271 proxySettings = IpConfiguration.ProxySettings.NONE; in generateIpConfig()
DWifiBackupRestoreTest.java502 ipConfiguration.setProxySettings(IpConfiguration.ProxySettings.NONE); in createNetworkForConfigurationWithUnsupportedTag()
555 ipConfiguration.setProxySettings(IpConfiguration.ProxySettings.NONE); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore()
1257 ipConfiguration.setProxySettings(IpConfiguration.ProxySettings.NONE); in createNetworkForConfigurationWithV1_0Data()
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/
DEthernetNetworkFactory.java27 import android.net.IpConfiguration.ProxySettings;
498 if (mIpConfig.getProxySettings() == ProxySettings.STATIC in start()
499 || mIpConfig.getProxySettings() == ProxySettings.PAC) { in start()
DEthernetTracker.java35 import android.net.IpConfiguration.ProxySettings;
934 ret.setProxySettings(ProxySettings.NONE); in getOrCreateIpConfiguration()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiBackupDataV1Parser.java23 import android.net.IpConfiguration.ProxySettings;
699 ProxySettings proxySettings = ProxySettings.valueOf(proxySettingsString); in parseIpConfigurationFromXml()
DWifiConfigManager.java1243 IpConfiguration.ProxySettings proxySettings = externalConfig.getProxySettings(); in mergeWithInternalWifiConfiguration()
1244 if (proxySettings != IpConfiguration.ProxySettings.UNASSIGNED) { in mergeWithInternalWifiConfiguration()
1246 if (proxySettings == IpConfiguration.ProxySettings.PAC in mergeWithInternalWifiConfiguration()
1247 || proxySettings == IpConfiguration.ProxySettings.STATIC) { in mergeWithInternalWifiConfiguration()
1304 configuration.setProxySettings(IpConfiguration.ProxySettings.NONE); in setDefaultsInWifiConfiguration()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController.java24 import android.net.IpConfiguration.ProxySettings;
211 private ProxySettings mProxySettings = ProxySettings.UNASSIGNED;
358 ProxySettings proxySettings = config.getIpConfiguration().getProxySettings(); in initWifiConfigController()
359 if (proxySettings == ProxySettings.STATIC) { in initWifiConfigController()
362 } else if (proxySettings == ProxySettings.PAC) { in initWifiConfigController()
882 mProxySettings = ProxySettings.NONE; in ipAndProxyFieldsAreValid()
885 mProxySettings = ProxySettings.STATIC; in ipAndProxyFieldsAreValid()
904 mProxySettings = ProxySettings.PAC; in ipAndProxyFieldsAreValid()
DWifiConfigController2.java26 import android.net.IpConfiguration.ProxySettings;
222 private ProxySettings mProxySettings = ProxySettings.UNASSIGNED;
377 ProxySettings proxySettings = config.getIpConfiguration().getProxySettings(); in initWifiConfigController2()
378 if (proxySettings == ProxySettings.STATIC) { in initWifiConfigController2()
381 } else if (proxySettings == ProxySettings.PAC) { in initWifiConfigController2()
895 mProxySettings = ProxySettings.NONE; in ipAndProxyFieldsAreValid()
898 mProxySettings = ProxySettings.STATIC; in ipAndProxyFieldsAreValid()
917 mProxySettings = ProxySettings.PAC; in ipAndProxyFieldsAreValid()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiConfiguration.java29 import android.net.IpConfiguration.ProxySettings;
3972 public IpConfiguration.ProxySettings getProxySettings() { in getProxySettings()
3978 public void setProxySettings(IpConfiguration.ProxySettings proxySettings) { in setProxySettings()
3988 if (mIpConfiguration.getProxySettings() == IpConfiguration.ProxySettings.NONE) { in getHttpProxy()
4006 mIpConfiguration.setProxySettings(IpConfiguration.ProxySettings.NONE); in setHttpProxy()
4011 ProxySettings proxySettingCopy; in setHttpProxy()
4013 proxySettingCopy = IpConfiguration.ProxySettings.PAC; in setHttpProxy()
4017 proxySettingCopy = IpConfiguration.ProxySettings.STATIC; in setHttpProxy()
4038 public void setProxy(@NonNull ProxySettings settings, @NonNull ProxyInfo proxy) { in setProxy()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt133 method @NonNull public android.net.IpConfiguration.ProxySettings getProxySettings();
136 method public void setProxySettings(@NonNull android.net.IpConfiguration.ProxySettings);
146 public enum IpConfiguration.ProxySettings {
147 enum_constant public static final android.net.IpConfiguration.ProxySettings NONE;
148 enum_constant public static final android.net.IpConfiguration.ProxySettings PAC;
149 enum_constant public static final android.net.IpConfiguration.ProxySettings STATIC;
150 enum_constant public static final android.net.IpConfiguration.ProxySettings UNASSIGNED;
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt385 Landroid/net/IpConfiguration$ProxySettings;->PAC:Landroid/net/IpConfiguration$ProxySettings;
386 Landroid/net/IpConfiguration$ProxySettings;->STATIC:Landroid/net/IpConfiguration$ProxySettings;
387 Landroid/net/IpConfiguration$ProxySettings;->UNASSIGNED:Landroid/net/IpConfiguration$ProxySettings;
388 Landroid/net/IpConfiguration$ProxySettings;->valueOf(Ljava/lang/String;)Landroid/net/IpConfiguratio…
389 Landroid/net/IpConfiguration$ProxySettings;->values()[Landroid/net/IpConfiguration$ProxySettings;
395 Landroid/net/IpConfiguration;->getProxySettings()Landroid/net/IpConfiguration$ProxySettings;
397 …android/net/IpConfiguration$IpAssignment;Landroid/net/IpConfiguration$ProxySettings;Landroid/net/S…
399 Landroid/net/IpConfiguration;->proxySettings:Landroid/net/IpConfiguration$ProxySettings;
402 Landroid/net/IpConfiguration;->setProxySettings(Landroid/net/IpConfiguration$ProxySettings;)V
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DProxySettingsState.java140 == IpConfiguration.ProxySettings.NONE) { in onViewCreated()

12