Home
last modified time | relevance | path

Searched refs:ProxyInfo (Results 1 – 25 of 41) 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;
114 ProxyInfo getGlobalProxy(); in getGlobalProxy()
116 void setGlobalProxy(in ProxyInfo p); in setGlobalProxy()
118 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()
DVpnService.java535 public Builder setHttpProxy(@NonNull ProxyInfo proxyInfo) { in setHttpProxy()
DConnectivityManager.java2964 public void setGlobalProxy(ProxyInfo p) { in setGlobalProxy()
2979 public ProxyInfo getGlobalProxy() { in getGlobalProxy()
3001 public ProxyInfo getProxyForNetwork(Network network) { in getProxyForNetwork()
3019 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;
90 private static ProxyInfo canonicalizeProxyInfo(@Nullable final ProxyInfo proxy) { in canonicalizeProxyInfo()
107 public static boolean proxyInfoEqual(@Nullable final ProxyInfo a, @Nullable final ProxyInfo b) { in proxyInfoEqual()
108 final ProxyInfo pa = canonicalizeProxyInfo(a); in proxyInfoEqual()
109 final ProxyInfo pb = canonicalizeProxyInfo(b); in proxyInfoEqual()
126 public ProxyInfo getDefaultProxy() { in getDefaultProxy()
141 public ProxyInfo getGlobalProxy() { in getGlobalProxy()
158 ProxyInfo proxyProperties; in loadGlobalProxy()
[all …]
DPacManager.java28 import android.net.ProxyInfo;
180 synchronized boolean setCurrentProxyScriptUrl(ProxyInfo proxy) { in setCurrentProxyScriptUrl()
395 private void sendPacBroadcast(ProxyInfo proxy) { in sendPacBroadcast()
404 sendPacBroadcast(new ProxyInfo(mPacUrl, mLastPort)); in sendProxyIfNeeded()
/frameworks/base/services/core/java/com/android/server/net/
DIpConfigStore.java24 import android.net.ProxyInfo;
124 ProxyInfo proxyProperties = config.httpProxy; in writeConfig()
139 ProxyInfo proxyPacProperties = config.httpProxy; in writeConfig()
369 ProxyInfo proxyInfo = in readIpConfigurations()
370 new ProxyInfo(proxyHost, proxyPort, exclusionList); in readIpConfigurations()
375 ProxyInfo proxyPacProperties = new ProxyInfo(pacFileUrl); in readIpConfigurations()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DIpConfigStore.java26 import android.net.ProxyInfo;
206 ProxyInfo proxyInfo = ProxyInfo.buildDirectProxy( in readIpConfigurations()
213 ProxyInfo proxyPacProperties = in readIpConfigurations()
214 ProxyInfo.buildPacProxy(Uri.parse(pacFileUrl)); in readIpConfigurations()
DXmlUtil.java27 import android.net.ProxyInfo;
975 ProxyInfo.buildDirectProxy( in parseFromXml()
983 ProxyInfo.buildPacProxy(Uri.parse(proxyPacFile))); in parseFromXml()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DIpConfigStoreTestWriter.java21 import android.net.ProxyInfo;
93 ProxyInfo proxyProperties = config.httpProxy; in writeConfig()
108 ProxyInfo proxyPacProperties = config.httpProxy; in writeConfig()
DWifiConfigurationTestUtil.java24 import android.net.ProxyInfo;
211 ProxyInfo proxyInfo = null; in generateIpConfig()
244 proxyInfo = new ProxyInfo(proxyHost, proxyPort, proxyExclusionList); in generateIpConfig()
247 proxyInfo = new ProxyInfo(pacProxyPath); in generateIpConfig()
/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;
126 public ProxyInfo proxy = null; // 15~18
287 profile.proxy = new ProxyInfo(host, port.isEmpty() ? in decode()
290 profile.proxy = new ProxyInfo(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/opt/net/wifi/service/java/com/android/server/wifi/
DWifiBackupDataV1Parser.java25 import android.net.ProxyInfo;
579 ProxyInfo.buildDirectProxy( in parseIpConfigurationFromXml()
589 ProxyInfo.buildPacProxy(Uri.parse(proxyPacFile))); in parseIpConfigurationFromXml()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java29 import android.net.ProxyInfo;
2646 public ProxyInfo getHttpProxy() { in getHttpProxy()
2650 return new ProxyInfo(mIpConfiguration.getHttpProxy()); in getHttpProxy()
2664 public void setHttpProxy(ProxyInfo httpProxy) { in setHttpProxy()
2670 ProxyInfo httpProxyCopy; in setHttpProxy()
2675 httpProxyCopy = ProxyInfo.buildPacProxy(httpProxy.getPacFileUrl(), httpProxy.getPort()); in setHttpProxy()
2679 httpProxyCopy = ProxyInfo.buildDirectProxy(httpProxy.getHost(), httpProxy.getPort(), in setHttpProxy()
2694 public void setProxy(@NonNull ProxySettings settings, @NonNull ProxyInfo proxy) { in setProxy()
/frameworks/base/tests/net/java/android/net/
DIkev2VpnProfileTest.java70 private final ProxyInfo mProxy = new ProxyInfo(SERVER_ADDR_STRING, -1, EXCL_LIST);
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl35 import android.net.ProxyInfo;
115 void setRecommendedGlobalProxy(in ComponentName admin, in ProxyInfo proxyInfo); in setRecommendedGlobalProxy()

12