Home
last modified time | relevance | path

Searched refs:buildDirectProxy (Results 1 – 25 of 28) sorted by relevance

12

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DProxyInfoTest.java67 final ProxyInfo proxy1 = ProxyInfo.buildDirectProxy(TEST_HOST, TEST_PORT); in testBuildDirectProxy()
77 final ProxyInfo proxy2 = ProxyInfo.buildDirectProxy(TEST_HOST, TEST_PORT, exclList); in testBuildDirectProxy()
106 final ProxyInfo proxy1 = ProxyInfo.buildDirectProxy(TEST_HOST, TEST_PORT); in testIsValid()
110 final ProxyInfo proxy2 = ProxyInfo.buildDirectProxy("", TEST_PORT); in testIsValid()
113 final ProxyInfo proxy3 = ProxyInfo.buildDirectProxy(".invalid.com", TEST_PORT); in testIsValid()
116 final ProxyInfo proxy4 = ProxyInfo.buildDirectProxy(TEST_HOST, 0); in testIsValid()
119 final ProxyInfo proxy5 = ProxyInfo.buildDirectProxy(TEST_HOST, 65536); in testIsValid()
125 final ProxyInfo proxy6 = ProxyInfo.buildDirectProxy(TEST_HOST, TEST_PORT, exclList); in testIsValid()
DProxyTest.kt79 val info = ProxyInfo.buildDirectProxy( in testSetHttpProxyConfiguration_DirectProxy()
DIpConfigurationTest.java72 mProxy = ProxyInfo.buildDirectProxy("test", 8888); in setUp()
DIkev2VpnTest.java178 ProxyInfo.buildDirectProxy("proxy.cts.android.com", 1234);
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DGlobalHttpProxyPreferenceControllerTest.java54 ProxyInfo.buildDirectProxy("test.com", 43)); in testGlobalProxyNotSet_disablesPreference()
64 ProxyInfo.buildDirectProxy("test.com", 43)); in testGlobalProxyNotSet_disablesPreference_zoneWrite()
74 ProxyInfo.buildDirectProxy("test.com", 43)); in testGlobalProxyNotSet_disablesPreference_zoneRead()
85 ProxyInfo.buildDirectProxy("test.com", 43)); in testGlobalProxyNotSet_disablesPreference_zoneHidden()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DProxyTracker.java199 proxyProperties = ProxyInfo.buildDirectProxy(host, port, in loadGlobalProxy()
239 final ProxyInfo p = ProxyInfo.buildDirectProxy(proxyHost, proxyPort, in loadDeprecatedGlobalHttpProxy()
256 defaultProxy : ProxyInfo.buildDirectProxy("", 0, Collections.emptyList()); in sendProxyBroadcast()
/packages/modules/Connectivity/framework/src/android/net/
DProxyInfo.java71 public static ProxyInfo buildDirectProxy(String host, int port) { in buildDirectProxy() method in ProxyInfo
84 public static ProxyInfo buildDirectProxy(String host, int port, List<String> exclList) { in buildDirectProxy() method in ProxyInfo
DConnectivitySettingsManager.java694 return ProxyInfo.buildDirectProxy( in getGlobalProxy()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DGlobalHttpProxyPreferenceControllerTest.java58 when(mCm.getGlobalProxy()).thenReturn(ProxyInfo.buildDirectProxy("localhost", 123)); in testIsAvailable()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DLinkPropertiesUtilsTest.java82 lp.setHttpProxy(ProxyInfo.buildDirectProxy("test", 8888)); in createTestObject()
172 target.setHttpProxy(ProxyInfo.buildDirectProxy("hello", 8888)); in testLinkPropertiesIdenticalEqual()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java19 import static android.net.ProxyInfo.buildDirectProxy;
330 ipConfig.setHttpProxy(buildDirectProxy(proxyHost, proxyPort, in updateForProxy()
/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/
DEthernetConfigStoreTest.java59 private static final ProxyInfo PROXY_INFO = ProxyInfo.buildDirectProxy("test", 8888);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
DAdvancedOptionsFlowUtil.java76 mIpConfiguration.setHttpProxy(ProxyInfo.buildDirectProxy(host, port, in processProxySettings()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DIpConfigStoreTest.java83 ProxyInfo.buildDirectProxy("10.10.10.10", 88, Arrays.asList("host1", "host2"));
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DIpConfigStore.java206 ProxyInfo proxyInfo = ProxyInfo.buildDirectProxy( in readIpConfigurations()
DXmlUtil.java1388 ProxyInfo.buildDirectProxy( in parseFromXml()
/packages/apps/Settings/src/com/android/settings/
DProxySelector.java235 ProxyInfo p = ProxyInfo.buildDirectProxy( in saveToDb()
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DIpConfigStore.java401 ProxyInfo proxyInfo = ProxyInfo.buildDirectProxy(proxyHost, proxyPort, in readIpConfigurations()
/packages/modules/Connectivity/tests/common/java/android/net/
DLinkPropertiesTest.java158 lp.setHttpProxy(ProxyInfo.buildDirectProxy("test", 8888)); in makeTestObject()
992 source.setHttpProxy(ProxyInfo.buildDirectProxy("test", 8888)); in makeLinkPropertiesForParceling()
1133 assertTrue(lp.getHttpProxy().equals(ProxyInfo.buildDirectProxy("test", 8888))); in testHttpProxy()
/packages/apps/Settings/src/com/android/settings/vpn2/
DConfigDialog.java513 profile.proxy = ProxyInfo.buildDirectProxy(proxyHost, port); in getProfile()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiBackupDataV1Parser.java716 ProxyInfo.buildDirectProxy( in parseIpConfigurationFromXml()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java1395 ProxyInfo testProxyInfo = ProxyInfo.buildDirectProxy("10.0.0.1", 8888); in testSetProxy()
1441 ProxyInfo testProxyInfo = ProxyInfo.buildDirectProxy("10.0.0.1", 8888); in testSetProxyDisallowedApps()
1490 ProxyInfo testProxyInfo = ProxyInfo.buildDirectProxy("10.0.0.1", 8888); in testBindToNetworkWithProxy()
/packages/modules/Connectivity/framework/api/
Dcurrent.txt456 method public static android.net.ProxyInfo buildDirectProxy(String, int);
457 …method public static android.net.ProxyInfo buildDirectProxy(String, int, java.util.List<java.lang.…
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController.java898 mHttpProxy = ProxyInfo.buildDirectProxy( in ipAndProxyFieldsAreValid()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiConfiguration.java4023 httpProxyCopy = ProxyInfo.buildDirectProxy(httpProxy.getHost(), httpProxy.getPort(), in setHttpProxy()

12