Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/net/
DProxyInfo.java39 public class ProxyInfo implements Parcelable { class
64 public static ProxyInfo buildDirectProxy(String host, int port) { in buildDirectProxy()
65 return new ProxyInfo(host, port, null); in buildDirectProxy()
77 public static ProxyInfo buildDirectProxy(String host, int port, List<String> exclList) { in buildDirectProxy()
79 return new ProxyInfo(host, port, TextUtils.join(",", array), array); in buildDirectProxy()
86 public static ProxyInfo buildPacProxy(Uri pacUri) { in buildPacProxy()
87 return new ProxyInfo(pacUri); in buildPacProxy()
94 public ProxyInfo(String host, int port, String exclList) { in ProxyInfo() method in ProxyInfo
105 public ProxyInfo(Uri pacFileUrl) { in ProxyInfo() method in ProxyInfo
119 public ProxyInfo(String pacFileUrl) { in ProxyInfo() method in ProxyInfo
[all …]
DIpConfiguration.java64 public ProxyInfo httpProxy;
69 ProxyInfo httpProxy) { in init()
75 null : new ProxyInfo(httpProxy); in init()
85 ProxyInfo httpProxy) { in IpConfiguration()
121 public ProxyInfo getHttpProxy() { in getHttpProxy()
125 public void setHttpProxy(ProxyInfo httpProxy) { in setHttpProxy()
DIConnectivityManager.aidl28 import android.net.ProxyInfo;
106 ProxyInfo getGlobalProxy(); in getGlobalProxy()
108 void setGlobalProxy(in ProxyInfo p); in setGlobalProxy()
110 ProxyInfo getProxyForNetwork(in Network nework); in getProxyForNetwork()
DProxyInfo.aidl20 parcelable ProxyInfo;
DLinkProperties.java55 private ProxyInfo mHttpProxy;
156 null : new ProxyInfo(source.getHttpProxy()); in LinkProperties()
537 public void setHttpProxy(ProxyInfo proxy) { in setHttpProxy()
546 public ProxyInfo getHttpProxy() { in getHttpProxy()
1185 netProp.setHttpProxy((ProxyInfo)in.readParcelable(null));
DProxy.java242 public static final void setHttpProxySystemProperty(ProxyInfo p) { in setHttpProxySystemProperty()
DNetwork.java256 final ProxyInfo proxyInfo = cm.getProxyForNetwork(this); in openConnection()
DConnectivityManager.java2407 public void setGlobalProxy(ProxyInfo p) { in setGlobalProxy()
2422 public ProxyInfo getGlobalProxy() { in getGlobalProxy()
2444 public ProxyInfo getProxyForNetwork(Network network) { in getProxyForNetwork()
2461 public ProxyInfo getDefaultProxy() { in getDefaultProxy()
/frameworks/base/services/core/java/com/android/server/net/
DIpConfigStore.java24 import android.net.ProxyInfo;
119 ProxyInfo proxyProperties = config.httpProxy; in writeConfig()
134 ProxyInfo proxyPacProperties = config.httpProxy; in writeConfig()
307 ProxyInfo proxyInfo = in readIpAndProxyConfigurations()
308 new ProxyInfo(proxyHost, proxyPort, exclusionList); in readIpAndProxyConfigurations()
313 ProxyInfo proxyPacProperties = new ProxyInfo(pacFileUrl); in readIpAndProxyConfigurations()
/frameworks/base/services/core/java/com/android/server/connectivity/
DPacManager.java28 import android.net.ProxyInfo;
178 public synchronized boolean setCurrentProxyScriptUrl(ProxyInfo proxy) { in setCurrentProxyScriptUrl()
394 private void sendPacBroadcast(ProxyInfo proxy) { in sendPacBroadcast()
403 sendPacBroadcast(new ProxyInfo(mPacUrl, mLastPort)); in sendProxyIfNeeded()
DNetworkMonitor.java34 import android.net.ProxyInfo;
782 final ProxyInfo proxyInfo = mNetworkAgentInfo.linkProperties.getHttpProxy(); in isCaptivePortal()
818 private CaptivePortalProbeResult sendDnsAndHttpProbes(ProxyInfo proxy, URL url, int probeType) { in sendDnsAndHttpProbes()
936 ProxyInfo proxy, URL httpsUrl, URL httpUrl) { in sendParallelHttpProbes()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcAsyncChannel.java21 import android.net.ProxyInfo;
289 public void reqSetLinkPropertiesHttpProxy(ProxyInfo proxy) { in reqSetLinkPropertiesHttpProxy()
297 public void setLinkPropertiesHttpProxySync(ProxyInfo proxy) { in setLinkPropertiesHttpProxySync()
DDataConnection.java27 import android.net.ProxyInfo;
278 void setLinkPropertiesHttpProxy(ProxyInfo proxy) { in setLinkPropertiesHttpProxy()
1143 ProxyInfo proxy = (ProxyInfo) msg.obj; in processMessage()
DDcTracker.java40 import android.net.ProxyInfo;
2942 ProxyInfo proxy = new ProxyInfo(apn.proxy, in onDataSetupComplete()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java23 import android.net.ProxyInfo;
1983 public ProxyInfo getHttpProxy() { in getHttpProxy()
1987 return new ProxyInfo(mIpConfiguration.httpProxy); in getHttpProxy()
1997 public void setHttpProxy(ProxyInfo httpProxy) { in setHttpProxy()
2003 ProxyInfo httpProxyCopy; in setHttpProxy()
2008 httpProxyCopy = new ProxyInfo(httpProxy.getPacFileUrl(), httpProxy.getPort()); in setHttpProxy()
2012 httpProxyCopy = new ProxyInfo(httpProxy.getHost(), httpProxy.getPort(), in setHttpProxy()
2023 public void setProxy(ProxySettings settings, ProxyInfo proxy) { in setProxy()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DConnectivityServiceMock.java36 import android.net.ProxyInfo;
606 public ProxyInfo getProxyForNetwork(Network network) { in getProxyForNetwork()
610 public void setGlobalProxy(ProxyInfo proxyProperties) { in setGlobalProxy()
614 public ProxyInfo getGlobalProxy() { in getGlobalProxy()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java69 import android.net.ProxyInfo;
416 private volatile ProxyInfo mDefaultProxy = null;
421 private ProxyInfo mGlobalProxy = null;
2800 handleApplyDefaultProxy((ProxyInfo)msg.obj); in handleMessage()
3133 private ProxyInfo getDefaultProxy() { in getDefaultProxy()
3139 ProxyInfo ret = mGlobalProxy; in getDefaultProxy()
3146 public ProxyInfo getProxyForNetwork(Network network) { in getProxyForNetwork()
3148 final ProxyInfo globalProxy = getGlobalProxy(); in getProxyForNetwork()
3156 final ProxyInfo proxyInfo = nai.linkProperties.getHttpProxy(); in getProxyForNetwork()
3158 return new ProxyInfo(proxyInfo); in getProxyForNetwork()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java24 import android.net.ProxyInfo;
170 ProxyInfo proxyInfo = null; in generateIpConfig()
203 proxyInfo = new ProxyInfo(proxyHost, proxyPort, proxyExclusionList); in generateIpConfig()
206 proxyInfo = new ProxyInfo(pacProxyPath); in generateIpConfig()
/frameworks/base/services/net/java/android/net/ip/
DIpManager.java30 import android.net.ProxyInfo;
584 private ProxyInfo mHttpProxy;
774 public void setHttpProxy(ProxyInfo proxyInfo) { in setHttpProxy()
1369 mHttpProxy = (ProxyInfo) msg.obj; in processMessage()
1632 mHttpProxy = (ProxyInfo) msg.obj; in processMessage()
DIpReachabilityMonitor.java25 import android.net.ProxyInfo;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java24 import android.net.ProxyInfo;
838 new ProxyInfo(proxyHost, proxyPort, proxyExclusionList)); in parseFromXml()
843 ipConfiguration.setHttpProxy(new ProxyInfo(proxyPacFile)); in parseFromXml()
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl32 import android.net.ProxyInfo;
101 void setRecommendedGlobalProxy(in ComponentName admin, in ProxyInfo proxyInfo); in setRecommendedGlobalProxy()
DDevicePolicyManager.java47 import android.net.ProxyInfo;
3256 public void setRecommendedGlobalProxy(@NonNull ComponentName admin, @Nullable ProxyInfo in setRecommendedGlobalProxy()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java28 import android.net.ProxyInfo;
833 internalConfig.setHttpProxy(new ProxyInfo(externalConfig.getHttpProxy())); in mergeWithInternalWifiConfiguration()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java115 import android.net.ProxyInfo;
5763 public void setRecommendedGlobalProxy(ComponentName who, ProxyInfo proxyInfo) { in setRecommendedGlobalProxy()
5808 ProxyInfo proxyProperties = new ProxyInfo(data[0], proxyPort, exclusionList); in saveGlobalProxyLocked()

12