Home
last modified time | relevance | path

Searched refs:ProxyInfo (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/core/java/android/net/
DProxyInfo.java41 public class ProxyInfo implements Parcelable { class
66 public static ProxyInfo buildDirectProxy(String host, int port) { in buildDirectProxy()
67 return new ProxyInfo(host, port, null); in buildDirectProxy()
79 public static ProxyInfo buildDirectProxy(String host, int port, List<String> exclList) { in buildDirectProxy()
81 return new ProxyInfo(host, port, TextUtils.join(",", array), array); in buildDirectProxy()
88 public static ProxyInfo buildPacProxy(Uri pacUri) { in buildPacProxy()
89 return new ProxyInfo(pacUri); in buildPacProxy()
97 public static ProxyInfo buildPacProxy(@NonNull Uri pacUrl, int port) { in buildPacProxy()
98 return new ProxyInfo(pacUrl, port); in buildPacProxy()
106 public ProxyInfo(String host, int port, String exclList) { in ProxyInfo() method in ProxyInfo
[all …]
DIpConfiguration.java82 public ProxyInfo httpProxy;
87 ProxyInfo httpProxy) { in init()
93 null : new ProxyInfo(httpProxy); in init()
105 ProxyInfo httpProxy) { in IpConfiguration()
141 public @Nullable ProxyInfo getHttpProxy() { in getHttpProxy()
145 public void setHttpProxy(@Nullable ProxyInfo httpProxy) { in setHttpProxy()
DIConnectivityManager.aidl32 import android.net.ProxyInfo;
115 ProxyInfo getGlobalProxy(); in getGlobalProxy()
117 void setGlobalProxy(in ProxyInfo p); in setGlobalProxy()
119 ProxyInfo getProxyForNetwork(in Network nework); in getProxyForNetwork()
DProxyInfo.aidl20 @JavaOnlyStableParcelable parcelable ProxyInfo;
DIkev2VpnProfile.java101 @Nullable private final ProxyInfo mProxyInfo;
118 @Nullable ProxyInfo proxyInfo, in Ikev2VpnProfile()
139 mProxyInfo = new ProxyInfo(proxyInfo); in Ikev2VpnProfile()
312 public ProxyInfo getProxyInfo() { in getProxyInfo()
639 @Nullable private ProxyInfo mProxyInfo;
793 public Builder setProxy(@Nullable ProxyInfo proxy) { in setProxy()
DLinkProperties.java69 private ProxyInfo mHttpProxy;
194 mHttpProxy = (source.mHttpProxy == null) ? null : new ProxyInfo(source.mHttpProxy); in LinkProperties()
793 public void setHttpProxy(@Nullable ProxyInfo proxy) { in setHttpProxy()
802 public @Nullable ProxyInfo getHttpProxy() { in getHttpProxy()
DProxy.java245 public static final void setHttpProxySystemProperty(ProxyInfo p) { in setHttpProxySystemProperty()
DNetwork.java326 final ProxyInfo proxyInfo = cm.getProxyForNetwork(this); in openConnection()
DVpnService.java535 public Builder setHttpProxy(@NonNull ProxyInfo proxyInfo) { in setHttpProxy()
DConnectivityManager.java3003 public void setGlobalProxy(ProxyInfo p) { in setGlobalProxy()
3018 public ProxyInfo getGlobalProxy() { in getGlobalProxy()
3040 public ProxyInfo getProxyForNetwork(Network network) { in getProxyForNetwork()
3058 public ProxyInfo getDefaultProxy() { in getDefaultProxy()
/frameworks/base/services/core/java/com/android/server/connectivity/
DProxyTracker.java31 import android.net.ProxyInfo;
63 private ProxyInfo mGlobalProxy = null;
71 private volatile ProxyInfo mDefaultProxy = null;
93 private static ProxyInfo canonicalizeProxyInfo(@Nullable final ProxyInfo proxy) { in canonicalizeProxyInfo()
110 public static boolean proxyInfoEqual(@Nullable final ProxyInfo a, @Nullable final ProxyInfo b) { in proxyInfoEqual()
111 final ProxyInfo pa = canonicalizeProxyInfo(a); in proxyInfoEqual()
112 final ProxyInfo pb = canonicalizeProxyInfo(b); in proxyInfoEqual()
129 public ProxyInfo getDefaultProxy() { in getDefaultProxy()
144 public ProxyInfo getGlobalProxy() { in getGlobalProxy()
164 ProxyInfo proxyProperties; in loadGlobalProxy()
[all …]
DPacManager.java28 import android.net.ProxyInfo;
180 synchronized boolean setCurrentProxyScriptUrl(ProxyInfo proxy) { in setCurrentProxyScriptUrl()
384 private void sendPacBroadcast(ProxyInfo proxy) { in sendPacBroadcast()
393 sendPacBroadcast(new ProxyInfo(mPacUrl, mLastPort)); in sendProxyIfNeeded()
/frameworks/base/services/core/java/com/android/server/net/
DIpConfigStore.java24 import android.net.ProxyInfo;
125 ProxyInfo proxyProperties = config.httpProxy; in writeConfig()
140 ProxyInfo proxyPacProperties = config.httpProxy; in writeConfig()
370 ProxyInfo proxyInfo = in readIpConfigurations()
371 new ProxyInfo(proxyHost, proxyPort, exclusionList); in readIpConfigurations()
376 ProxyInfo proxyPacProperties = new ProxyInfo(Uri.parse(pacFileUrl)); in readIpConfigurations()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DIpConfigStoreTest.java28 import android.net.ProxyInfo;
85 ProxyInfo proxyInfo = new ProxyInfo("10.10.10.10", 88, "host1,host2"); in staticIpMultiNetworks()
/frameworks/base/services/net/java/android/net/ip/
DIpClientManager.java22 import android.net.ProxyInfo;
184 public boolean setHttpProxy(ProxyInfo proxyInfo) { in setHttpProxy()
/frameworks/base/core/java/com/android/internal/net/
DVpnProfile.java23 import android.net.ProxyInfo;
127 public ProxyInfo proxy = null; // 15~18
288 profile.proxy = new ProxyInfo(host, port.isEmpty() ? in decode()
291 profile.proxy = new ProxyInfo(Uri.parse(pacFileUrl)); in decode()
DVpnConfig.java31 import android.net.ProxyInfo;
110 public ProxyInfo proxyInfo;
/frameworks/libs/net/common/tests/unit/src/android/net/util/
DLinkPropertiesUtilsTest.java27 import android.net.ProxyInfo;
77 lp.setHttpProxy(ProxyInfo.buildDirectProxy("test", 8888)); in createTestObject()
159 target.setHttpProxy(ProxyInfo.buildDirectProxy("hello", 8888)); in testLinkPropertiesIdenticalEqual()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java28 import android.net.ProxyInfo;
2297 public ProxyInfo getHttpProxy() { in getHttpProxy()
2301 return new ProxyInfo(mIpConfiguration.httpProxy); in getHttpProxy()
2315 public void setHttpProxy(ProxyInfo httpProxy) { in setHttpProxy()
2321 ProxyInfo httpProxyCopy; in setHttpProxy()
2326 httpProxyCopy = new ProxyInfo(httpProxy.getPacFileUrl(), httpProxy.getPort()); in setHttpProxy()
2330 httpProxyCopy = new ProxyInfo(httpProxy.getHost(), httpProxy.getPort(), in setHttpProxy()
2342 public void setProxy(ProxySettings settings, ProxyInfo proxy) { in setProxy()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiBackupDataV1Parser.java24 import android.net.ProxyInfo;
553 new ProxyInfo(proxyHost, proxyPort, proxyExclusionList)); in parseIpConfigurationFromXml()
561 ProxyInfo.buildPacProxy(Uri.parse(proxyPacFile))); in parseIpConfigurationFromXml()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java24 import android.net.ProxyInfo;
190 ProxyInfo proxyInfo = null; in generateIpConfig()
223 proxyInfo = new ProxyInfo(proxyHost, proxyPort, proxyExclusionList); in generateIpConfig()
226 proxyInfo = ProxyInfo.buildPacProxy(Uri.parse(pacProxyPath)); in generateIpConfig()
/frameworks/base/tests/net/java/android/net/
DIkev2VpnProfileTest.java70 private final ProxyInfo mProxy = new ProxyInfo(SERVER_ADDR_STRING, -1, EXCL_LIST);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java26 import android.net.ProxyInfo;
944 new ProxyInfo(proxyHost, proxyPort, proxyExclusionList)); in parseFromXml()
950 ProxyInfo.buildPacProxy(Uri.parse(proxyPacFile))); in parseFromXml()
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl34 import android.net.ProxyInfo;
107 void setRecommendedGlobalProxy(in ComponentName admin, in ProxyInfo proxyInfo); in setRecommendedGlobalProxy()
/frameworks/base/tests/net/common/java/android/net/
DLinkPropertiesTest.java154 lp.setHttpProxy(ProxyInfo.buildDirectProxy("test", 8888)); in makeTestObject()
1023 source.setHttpProxy(ProxyInfo.buildDirectProxy("test", 8888)); in makeLinkPropertiesForParceling()
1165 assertTrue(lp.getHttpProxy().equals(ProxyInfo.buildDirectProxy("test", 8888))); in testHttpProxy()

12