Home
last modified time | relevance | path

Searched refs:proxyInfo (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/connectivity/
DProxyTracker.java222 final ProxyInfo proxyInfo = null != defaultProxy ? defaultProxy : new ProxyInfo("", 0, ""); in sendProxyBroadcast() local
223 if (mPacManager.setCurrentProxyScriptUrl(proxyInfo) == PacManager.DONT_SEND_BROADCAST) { in sendProxyBroadcast()
226 if (DBG) Slog.d(TAG, "sending Proxy Broadcast for " + proxyInfo); in sendProxyBroadcast()
230 intent.putExtra(Proxy.EXTRA_PROXY_INFO, proxyInfo); in sendProxyBroadcast()
244 public void setGlobalProxy(@Nullable ProxyInfo proxyInfo) { in setGlobalProxy() argument
247 if (proxyInfo == mGlobalProxy) return; in setGlobalProxy()
248 if (proxyInfo != null && proxyInfo.equals(mGlobalProxy)) return; in setGlobalProxy()
249 if (mGlobalProxy != null && mGlobalProxy.equals(proxyInfo)) return; in setGlobalProxy()
255 if (proxyInfo != null && (!TextUtils.isEmpty(proxyInfo.getHost()) || in setGlobalProxy()
256 !Uri.EMPTY.equals(proxyInfo.getPacFileUrl()))) { in setGlobalProxy()
[all …]
DVpn.java1040 lp.setHttpProxy(mConfig.proxyInfo);
2043 config.proxyInfo = profile.proxy;
3047 mConfig.proxyInfo = profile.proxy;
/frameworks/base/core/java/com/android/internal/net/
DVpnConfig.java110 public ProxyInfo proxyInfo; field in VpnConfig
176 out.writeParcelable(proxyInfo, flags); in writeToParcel()
203 config.proxyInfo = in.readParcelable(null);
235 .append(", proxyInfo=").append(proxyInfo) in toString()
/frameworks/base/services/net/java/android/net/ip/
DIpClientManager.java184 public boolean setHttpProxy(ProxyInfo proxyInfo) { in setHttpProxy() argument
187 mIpClient.setHttpProxy(proxyInfo); in setHttpProxy()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DIpConfigStoreTest.java85 ProxyInfo proxyInfo = new ProxyInfo("10.10.10.10", 88, "host1,host2"); in staticIpMultiNetworks() local
88 ProxySettings.STATIC, staticIpConfiguration, proxyInfo); in staticIpMultiNetworks()
/frameworks/base/core/java/android/net/
DNetwork.java326 final ProxyInfo proxyInfo = cm.getProxyForNetwork(this); in openConnection() local
328 if (proxyInfo != null) { in openConnection()
329 proxy = proxyInfo.makeProxy(); in openConnection()
DVpnService.java535 public Builder setHttpProxy(@NonNull ProxyInfo proxyInfo) { in setHttpProxy() argument
536 mConfig.proxyInfo = proxyInfo; in setHttpProxy()
DIkev2VpnProfile.java118 @Nullable ProxyInfo proxyInfo, in Ikev2VpnProfile() argument
139 mProxyInfo = new ProxyInfo(proxyInfo); in Ikev2VpnProfile()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java190 ProxyInfo proxyInfo = null; in generateIpConfig() local
223 proxyInfo = new ProxyInfo(proxyHost, proxyPort, proxyExclusionList); in generateIpConfig()
226 proxyInfo = ProxyInfo.buildPacProxy(Uri.parse(pacProxyPath)); in generateIpConfig()
231 return new IpConfiguration(ipAssignment, proxySettings, staticIpConfiguration, proxyInfo); in generateIpConfig()
/frameworks/base/services/core/java/com/android/server/net/
DIpConfigStore.java370 ProxyInfo proxyInfo = in readIpConfigurations() local
373 config.httpProxy = proxyInfo; in readIpConfigurations()
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl107 void setRecommendedGlobalProxy(in ComponentName admin, in ProxyInfo proxyInfo); in setRecommendedGlobalProxy() argument
DDevicePolicyManager.java4281 proxyInfo) { in setRecommendedGlobalProxy() argument
4285 mService.setRecommendedGlobalProxy(admin, proxyInfo); in setRecommendedGlobalProxy()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java6973 public void setRecommendedGlobalProxy(ComponentName who, ProxyInfo proxyInfo) { in setRecommendedGlobalProxy() argument
6977 mInjector.getConnectivityManager().setGlobalProxy(proxyInfo); in setRecommendedGlobalProxy()