Lines Matching defs:proxyInfo
74 import android.net.ProxyInfo;
429 private volatile ProxyInfo mDefaultProxy = null;
434 ProxyInfo mGlobalProxy = null;
2911 handleApplyDefaultProxy((ProxyInfo)msg.obj);
3186 private ProxyInfo getDefaultProxy() {
3192 ProxyInfo ret = mGlobalProxy;
3199 public ProxyInfo getProxyForNetwork(Network network) {
3201 final ProxyInfo globalProxy = getGlobalProxy();
3209 final ProxyInfo proxyInfo = nai.linkProperties.getHttpProxy();
3210 if (proxyInfo == null) return null;
3211 return new ProxyInfo(proxyInfo);
3215 // Convert empty ProxyInfo's to null as null-checks are used to determine if proxies are present
3218 private ProxyInfo canonicalizeProxyInfo(ProxyInfo proxy) {
3226 // ProxyInfo equality function with a couple modifications over ProxyInfo.equals() to make it
3230 // 2. Make sure all parts of the ProxyInfo's compare true, including the host when a PAC URL
3233 // actually uses the PAC to resolve; this results in ProxyInfo's with PAC URL, host and port
3235 private boolean proxyInfoEqual(ProxyInfo a, ProxyInfo b) {
3238 // ProxyInfo.equals() doesn't check hosts when PAC URLs are present, but we need to check
3243 public void setGlobalProxy(ProxyInfo proxyProperties) {
3262 mGlobalProxy = new ProxyInfo(proxyProperties);
3299 ProxyInfo proxyProperties;
3301 proxyProperties = new ProxyInfo(pacFileUrl);
3303 proxyProperties = new ProxyInfo(host, port, exclList);
3316 public ProxyInfo getGlobalProxy() {
3326 private void handleApplyDefaultProxy(ProxyInfo proxy) {
3366 ProxyInfo newProxyInfo = newLp == null ? null : newLp.getHttpProxy();
3367 ProxyInfo oldProxyInfo = oldLp == null ? null : oldLp.getHttpProxy();
3392 ProxyInfo p = new ProxyInfo(data[0], proxyPort, "");
3397 private void sendProxyBroadcast(ProxyInfo proxy) {
3398 if (proxy == null) proxy = new ProxyInfo("", 0, "");