Home
last modified time | relevance | path

Searched refs:ProxyInfo (Results 1 – 25 of 34) 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;
104 ProxyInfo getGlobalProxy(); in getGlobalProxy()
106 void setGlobalProxy(in ProxyInfo p); in setGlobalProxy()
108 ProxyInfo getProxyForNetwork(in Network nework); in getProxyForNetwork()
DProxyInfo.aidl20 parcelable ProxyInfo;
DLinkProperties.java21 import android.net.ProxyInfo;
56 private ProxyInfo mHttpProxy;
157 null : new ProxyInfo(source.getHttpProxy()); in LinkProperties()
527 public void setHttpProxy(ProxyInfo proxy) { in setHttpProxy()
536 public ProxyInfo getHttpProxy() { in getHttpProxy()
1175 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.java2349 public void setGlobalProxy(ProxyInfo p) { in setGlobalProxy()
2364 public ProxyInfo getGlobalProxy() { in getGlobalProxy()
2386 public ProxyInfo getProxyForNetwork(Network network) { in getProxyForNetwork()
2403 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.java33 import android.net.ProxyInfo;
741 final ProxyInfo proxyInfo = mNetworkAgentInfo.linkProperties.getHttpProxy(); in isCaptivePortal()
777 private CaptivePortalProbeResult sendDnsAndHttpProbes(ProxyInfo proxy, URL url, int probeType) { in sendDnsAndHttpProbes()
895 ProxyInfo proxy, URL httpsUrl, URL httpUrl) { in sendParallelHttpProbes()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcAsyncChannel.java21 import android.net.ProxyInfo;
287 public void reqSetLinkPropertiesHttpProxy(ProxyInfo proxy) { in reqSetLinkPropertiesHttpProxy()
295 public void setLinkPropertiesHttpProxySync(ProxyInfo proxy) { in setLinkPropertiesHttpProxySync()
DDataConnection.java27 import android.net.ProxyInfo;
278 void setLinkPropertiesHttpProxy(ProxyInfo proxy) { in setLinkPropertiesHttpProxy()
1147 ProxyInfo proxy = (ProxyInfo) msg.obj; in processMessage()
DDcTracker.java40 import android.net.ProxyInfo;
3003 ProxyInfo proxy = new ProxyInfo(apn.proxy, in onDataSetupComplete()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java68 import android.net.ProxyInfo;
409 private volatile ProxyInfo mDefaultProxy = null;
414 private ProxyInfo mGlobalProxy = null;
2800 handleApplyDefaultProxy((ProxyInfo)msg.obj); in handleMessage()
3084 private ProxyInfo getDefaultProxy() { in getDefaultProxy()
3090 ProxyInfo ret = mGlobalProxy; in getDefaultProxy()
3097 public ProxyInfo getProxyForNetwork(Network network) { in getProxyForNetwork()
3099 final ProxyInfo globalProxy = getGlobalProxy(); in getProxyForNetwork()
3107 final ProxyInfo proxyInfo = nai.linkProperties.getHttpProxy(); in getProxyForNetwork()
3109 return new ProxyInfo(proxyInfo); in getProxyForNetwork()
[all …]
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java23 import android.net.ProxyInfo;
1876 public ProxyInfo getHttpProxy() { in getHttpProxy()
1880 return new ProxyInfo(mIpConfiguration.httpProxy); in getHttpProxy()
1890 public void setHttpProxy(ProxyInfo httpProxy) { in setHttpProxy()
1896 ProxyInfo httpProxyCopy; in setHttpProxy()
1901 httpProxyCopy = new ProxyInfo(httpProxy.getPacFileUrl(), httpProxy.getPort()); in setHttpProxy()
1905 httpProxyCopy = new ProxyInfo(httpProxy.getHost(), httpProxy.getPort(), in setHttpProxy()
1916 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;
600 public ProxyInfo getProxyForNetwork(Network network) { in getProxyForNetwork()
604 public void setGlobalProxy(ProxyInfo proxyProperties) { in setGlobalProxy()
608 public ProxyInfo getGlobalProxy() { in getGlobalProxy()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java24 import android.net.ProxyInfo;
169 ProxyInfo proxyInfo = null; in generateIpConfig()
202 proxyInfo = new ProxyInfo(proxyHost, proxyPort, proxyExclusionList); in generateIpConfig()
205 proxyInfo = new ProxyInfo(pacProxyPath); in generateIpConfig()
/frameworks/base/services/net/java/android/net/ip/
DIpManager.java30 import android.net.ProxyInfo;
418 private ProxyInfo mHttpProxy;
595 public void setHttpProxy(ProxyInfo proxyInfo) { in setHttpProxy()
1139 mHttpProxy = (ProxyInfo) msg.obj; in processMessage()
1390 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;
833 new ProxyInfo(proxyHost, proxyPort, proxyExclusionList)); in parseFromXml()
838 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;
3230 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;
816 internalConfig.setHttpProxy(new ProxyInfo(externalConfig.getHttpProxy())); in mergeWithInternalWifiConfiguration()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java113 import android.net.ProxyInfo;
5720 public void setRecommendedGlobalProxy(ComponentName who, ProxyInfo proxyInfo) { in setRecommendedGlobalProxy()
5765 ProxyInfo proxyProperties = new ProxyInfo(data[0], proxyPort, exclusionList); in saveGlobalProxyLocked()

12