Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/net/
DProxyInfo.java40 public class ProxyInfo implements Parcelable { class
65 public static ProxyInfo buildDirectProxy(String host, int port) { in buildDirectProxy()
66 return new ProxyInfo(host, port, null); in buildDirectProxy()
78 public static ProxyInfo buildDirectProxy(String host, int port, List<String> exclList) { in buildDirectProxy()
80 return new ProxyInfo(host, port, TextUtils.join(",", array), array); in buildDirectProxy()
87 public static ProxyInfo buildPacProxy(Uri pacUri) { in buildPacProxy()
88 return new ProxyInfo(pacUri); in buildPacProxy()
96 public ProxyInfo(String host, int port, String exclList) { in ProxyInfo() method in ProxyInfo
108 public ProxyInfo(Uri pacFileUrl) { in ProxyInfo() method in ProxyInfo
123 public ProxyInfo(String pacFileUrl) { in ProxyInfo() method in ProxyInfo
[all …]
DIpConfiguration.java68 public ProxyInfo httpProxy;
73 ProxyInfo httpProxy) { in init()
79 null : new ProxyInfo(httpProxy); in init()
90 ProxyInfo httpProxy) { in IpConfiguration()
126 public ProxyInfo getHttpProxy() { in getHttpProxy()
130 public void setHttpProxy(ProxyInfo httpProxy) { in setHttpProxy()
DIConnectivityManager.aidl31 import android.net.ProxyInfo;
119 ProxyInfo getGlobalProxy(); in getGlobalProxy()
121 void setGlobalProxy(in ProxyInfo p); in setGlobalProxy()
123 ProxyInfo getProxyForNetwork(in Network nework); in getProxyForNetwork()
DProxyInfo.aidl20 @JavaOnlyStableParcelable parcelable ProxyInfo;
DLinkProperties.java66 private ProxyInfo mHttpProxy;
189 mHttpProxy = (source.mHttpProxy == null) ? null : new ProxyInfo(source.mHttpProxy); in LinkProperties()
744 public void setHttpProxy(@Nullable ProxyInfo proxy) { in setHttpProxy()
753 public @Nullable ProxyInfo getHttpProxy() { in getHttpProxy()
DProxy.java245 public static final void setHttpProxySystemProperty(ProxyInfo p) { in setHttpProxySystemProperty()
DNetwork.java333 final ProxyInfo proxyInfo = cm.getProxyForNetwork(this); in openConnection()
DVpnService.java535 public Builder setHttpProxy(@NonNull ProxyInfo proxyInfo) { in setHttpProxy()
DConnectivityManager.java2971 public void setGlobalProxy(ProxyInfo p) { in setGlobalProxy()
2986 public ProxyInfo getGlobalProxy() { in getGlobalProxy()
3008 public ProxyInfo getProxyForNetwork(Network network) { in getProxyForNetwork()
3026 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/net/java/android/net/shared/
DLinkPropertiesParcelableUtil.java21 import android.net.ProxyInfo;
44 public static ProxyInfo toStableParcelable(@Nullable ProxyInfo info) { in toStableParcelable()
/frameworks/base/services/net/java/android/net/ip/
DIIpClient.aidl18 import android.net.ProxyInfo;
32 void setHttpProxy(in ProxyInfo proxyInfo); in setHttpProxy()
DIpClientManager.java21 import android.net.ProxyInfo;
181 public boolean setHttpProxy(ProxyInfo proxyInfo) { in setHttpProxy()
/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/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/core/java/com/android/internal/net/
DVpnProfile.java21 import android.net.ProxyInfo;
77 public ProxyInfo proxy = null; // 15~18
169 profile.proxy = new ProxyInfo(host, port.isEmpty() ? in decode()
172 profile.proxy = new ProxyInfo(pacFileUrl); in decode()
DVpnConfig.java31 import android.net.ProxyInfo;
109 public ProxyInfo proxyInfo;
/frameworks/base/services/net/aidl/networkstack/1/android/net/ip/
DIIpClient.aidl10 oneway void setHttpProxy(in android.net.ProxyInfo proxyInfo); in setHttpProxy()
/frameworks/base/services/net/aidl/networkstack/2/android/net/ip/
DIIpClient.aidl10 oneway void setHttpProxy(in android.net.ProxyInfo proxyInfo); in setHttpProxy()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiBackupDataV1Parser.java24 import android.net.ProxyInfo;
552 new ProxyInfo(proxyHost, proxyPort, proxyExclusionList)); in parseIpConfigurationFromXml()
559 ipConfiguration.setHttpProxy(new ProxyInfo(proxyPacFile)); in parseIpConfigurationFromXml()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java28 import android.net.ProxyInfo;
2288 public ProxyInfo getHttpProxy() { in getHttpProxy()
2292 return new ProxyInfo(mIpConfiguration.httpProxy); in getHttpProxy()
2306 public void setHttpProxy(ProxyInfo httpProxy) { in setHttpProxy()
2312 ProxyInfo httpProxyCopy; in setHttpProxy()
2317 httpProxyCopy = new ProxyInfo(httpProxy.getPacFileUrl(), httpProxy.getPort()); in setHttpProxy()
2321 httpProxyCopy = new ProxyInfo(httpProxy.getHost(), httpProxy.getPort(), in setHttpProxy()
2333 public void setProxy(ProxySettings settings, ProxyInfo proxy) { in setProxy()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java24 import android.net.ProxyInfo;
189 ProxyInfo proxyInfo = null; in generateIpConfig()
222 proxyInfo = new ProxyInfo(proxyHost, proxyPort, proxyExclusionList); in generateIpConfig()
225 proxyInfo = new ProxyInfo(pacProxyPath); in generateIpConfig()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java25 import android.net.ProxyInfo;
876 new ProxyInfo(proxyHost, proxyPort, proxyExclusionList)); in parseFromXml()
881 ipConfiguration.setHttpProxy(new ProxyInfo(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()

12