Info Call to Socket API

Description

List of all calls to Server Socket API.

Recommendation

This entry is informative, no recommendations applicable.

Technical details

Method io.intercom.okhttp3.HttpUrl.url() calling method java.net.URL.<init>()


    public java.net.URL url()
    {
        try {
            return new java.net.URL(this.url);
        } catch (java.net.MalformedURLException v0_2) {
            throw new RuntimeException(v0_2);
        }
    }

Method io.intercom.com.google.gson.b.a.n$14.a() calling method java.net.URL.<init>()


    public java.net.URL a(io.intercom.com.google.gson.stream.a p4)
    {
        java.net.URL v0_0 = 0;
        if (p4.f() != io.intercom.com.google.gson.stream.b.i) {
            String v1_1 = p4.h();
            if (!"null".equals(v1_1)) {
                v0_0 = new java.net.URL(v1_1);
            }
        } else {
            p4.j();
        }
        return v0_0;
    }

Method io.intercom.com.bumptech.glide.load.c.d.d() calling method java.net.URL.<init>()


    private java.net.URL d()
    {
        if (this.e == null) {
            this.e = new java.net.URL(this.e());
        }
        return this.e;
    }

Method io.intercom.com.bumptech.glide.load.a.f.a() calling method java.net.URL.<init>()


    private java.io.InputStream a(java.net.URL p6, int p7, java.net.URL p8, java.util.Map p9)
    {
        if (p7 < 5) {
            try {
                if ((p8 != null) && (p6.toURI().equals(p8.toURI()))) {
                    throw new java.io.IOException("In re-direct loop");
                }
            } catch (String v0) {
            }
            this.d = this.c.a(p6);
            String v2_0 = p9.entrySet().iterator();
            while (v2_0.hasNext()) {
                String v0_35 = ((java.util.Map$Entry) v2_0.next());
                this.d.addRequestProperty(((String) v0_35.getKey()), ((String) v0_35.getValue()));
            }
            String v0_29;
            this.d.setConnectTimeout(2500);
            this.d.setReadTimeout(2500);
            this.d.setUseCaches(0);
            this.d.setDoInput(1);
            this.d.connect();
            if (!this.f) {
                String v0_18 = this.d.getResponseCode();
                if ((v0_18 / 100) != 2) {
                    if ((v0_18 / 100) != 3) {
                        if (v0_18 != -1) {
                            throw new java.io.IOException(new StringBuilder().append("Request failed ").append(v0_18).append(": ").append(this.d.getResponseMessage()).toString());
                        } else {
                            throw new java.io.IOException("Unable to retrieve response code from HttpUrlConnection.");
                        }
                    } else {
                        String v0_27 = this.d.getHeaderField("Location");
                        if (!android.text.TextUtils.isEmpty(v0_27)) {
                            v0_29 = this.a(new java.net.URL(p6, v0_27), (p7 + 1), p6, p9);
                        } else {
                            throw new java.io.IOException("Received empty or null redirect url");
                        }
                    }
                } else {
                    v0_29 = this.a(this.d);
                }
            } else {
                v0_29 = 0;
            }
            return v0_29;
        } else {
            throw new java.io.IOException("Too many (> 5) redirects!");
        }
    }

Method io.fabric.sdk.android.services.network.HttpRequest.a() calling method java.net.URL.<init>()


    public static String a(CharSequence p6)
    {
        try {
            int v4_1 = new java.net.URL(p6.toString());
            StringBuilder v2_1 = v4_1.getHost();
            String v0_12 = v4_1.getPort();
        } catch (String v0_0) {
            throw new ark>io.fabric.sdk.android.services.network.HttpRequestark>$HttpRequestException(v0_0);
        }
        if (v0_12 != -1) {
            v2_1 = new StringBuilder().append(v2_1).append(58).append(Integer.toString(v0_12)).toString();
        }
        try {
            String v0_6 = new java.net.URI(v4_1.getProtocol(), v2_1, v4_1.getPath(), v4_1.getQuery(), 0).toASCIIString();
            String v1_8 = v0_6.indexOf(63);
        } catch (String v0_7) {
            String v1_10 = new java.io.IOException("Parsing URI failed");
            v1_10.initCause(v0_7);
            throw new ark>io.fabric.sdk.android.services.network.HttpRequestark>$HttpRequestException(v1_10);
        }
        if ((v1_8 > null) && ((v1_8 + 1) < v0_6.length())) {
            v0_6 = new StringBuilder().append(v0_6.substring(0, (v1_8 + 1))).append(v0_6.substring((v1_8 + 1)).replace("+", "%2B")).toString();
        }
        return v0_6;
    }

Method io.fabric.sdk.android.services.network.HttpRequest.<init>() calling method java.net.URL.<init>()


    public HttpRequest(CharSequence p3, String p4)
    {
        this.d = 0;
        this.h = 1;
        this.i = 0;
        this.j = 8192;
        try {
            this.a = new java.net.URL(p3.toString());
            this.e = p4;
            return;
        } catch (java.net.MalformedURLException v0_2) {
            throw new io.fabric.sdk.android.services.network.HttpRequest$HttpRequestException(v0_2);
        }
    }

Method com.squareup.picasso.ae.a() calling method java.net.URL.<init>()


    protected java.net.HttpURLConnection a(android.net.Uri p3)
    {
        java.net.HttpURLConnection v0_3 = ((java.net.HttpURLConnection) new java.net.URL(p3.toString()).openConnection());
        v0_3.setConnectTimeout(15000);
        v0_3.setReadTimeout(20000);
        return v0_3;
    }

Method com.squareup.okhttp.r.a() calling method java.net.URL.<init>()


    public java.net.URL a()
    {
        try {
            return new java.net.URL(this.j);
        } catch (java.net.MalformedURLException v0_2) {
            throw new RuntimeException(v0_2);
        }
    }

Method com.mixpanel.android.util.c.a() calling method java.net.URL.<init>()


    public byte[] a(String p14, java.util.Map p15, javax.net.ssl.SSLSocketFactory p16)
    {
        com.mixpanel.android.util.e.a("MixpanelAPI.Message", new StringBuilder().append("Attempting request to ").append(p14).toString());
        Throwable v9_0 = 0;
        int v5 = 0;
        java.io.IOException v4_3 = 0;
        while ((v5 < 3) && (v4_3 == null)) {
            java.io.BufferedOutputStream v8 = 0;
            Throwable v7 = 0;
            Throwable v6_0 = 0;
            int v2_2 = 0;
            try {
                int v1_14 = ((java.net.HttpURLConnection) new java.net.URL(p14).openConnection());
                try {
                    if ((p16 != null) && ((v1_14 instanceof javax.net.ssl.HttpsURLConnection))) {
                        ((javax.net.ssl.HttpsURLConnection) v1_14).setSSLSocketFactory(p16);
                    }
                    v1_14.setConnectTimeout(2000);
                    v1_14.setReadTimeout(10000);
                    if (p15 != null) {
                        String v10_1 = new android.net.Uri$Builder();
                        java.util.Iterator v11 = p15.entrySet().iterator();
                        while (v11.hasNext()) {
                            int v2_10 = ((java.util.Map$Entry) v11.next());
                            v10_1.appendQueryParameter(((String) v2_10.getKey()), v2_10.getValue().toString());
                        }
                        String v10_2 = v10_1.build().getEncodedQuery();
                        v1_14.setFixedLengthStreamingMode(v10_2.getBytes().length);
                        v1_14.setDoOutput(1);
                        v1_14.setRequestMethod("POST");
                        Throwable v3_10 = v1_14.getOutputStream();
                        try {
                            int v2_27 = new java.io.BufferedOutputStream(v3_10);
                            try {
                                v2_27.write(v10_2.getBytes("UTF-8"));
                                v2_27.flush();
                                v2_27.close();
                                try {
                                    v3_10.close();
                                    v7 = 0;
                                    v6_0 = 0;
                                } catch (java.io.IOException v4_2) {
                                    v6_0 = 0;
                                    v7 = v3_10;
                                    v2_2 = v1_14;
                                    int v1_1 = v4_2;
                                    if (v6_0 != null) {
                                        try {
                                            v6_0.close();
                                        } catch (Throwable v3) {
                                        }
                                    }
                                    if (v7 != null) {
                                        try {
                                            v7.close();
                                        } catch (Throwable v3) {
                                        }
                                    }
                                    if (v8 != null) {
                                        try {
                                            v8.close();
                                        } catch (Throwable v3) {
                                        }
                                    }
                                    if (v2_2 != 0) {
                                        v2_2.disconnect();
                                    }
                                    throw v1_1;
                                } catch (Throwable v6) {
                                    v6_0 = 0;
                                    v7 = v3_10;
                                    Throwable v3_0 = v1_14;
                                    int v2_1 = v9_0;
                                    try {
                                        com.mixpanel.android.util.e.b("MixpanelAPI.Message", "Failure to connect, likely caused by a known issue with Android lib. Retrying.");
                                        int v1_8 = (v5 + 1);
                                    } catch (int v1_1) {
                                        v2_2 = v3_0;
                                    }
                                    if (v6_0 != null) {
                                        try {
                                            v6_0.close();
                                        } catch (int v5) {
                                        }
                                    }
                                    if (v7 != null) {
                                        try {
                                            v7.close();
                                        } catch (int v5) {
                                        }
                                    }
                                    if (v8 != null) {
                                        try {
                                            v8.close();
                                        } catch (int v5) {
                                        }
                                    }
                                    if (v3_0 == null) {
                                        Throwable v3_1 = v2_1;
                                        int v2_6 = v1_8;
                                        int v1_10 = v4_3;
                                        v4_3 = v1_10;
                                        v5 = v2_6;
                                        v9_0 = v3_1;
                                    } else {
                                        v3_0.disconnect();
                                        v3_1 = v2_1;
                                        v2_6 = v1_8;
                                        v1_10 = v4_3;
                                    }
                                } catch (java.io.IOException v4_1) {
                                    v6_0 = 0;
                                    v7 = v3_10;
                                    v2_2 = v1_14;
                                    int v1_2 = v4_1;
                                    if (v2_2.getResponseCode() >= 500) {
                                        if (v2_2.getResponseCode() <= 599) {
                                            throw new com.mixpanel.android.util.RemoteService$ServiceUnavailableException("Service Unavailable", v2_2.getHeaderField("Retry-After"));
                                        }
                                    }
                                    throw v1_2;
                                }
                            } catch (java.io.IOException v4_0) {
                                v6_0 = 0;
                                v7 = v3_10;
                                v2_2 = v1_14;
                                v1_1 = v4_0;
                            } catch (Throwable v6) {
                                v6_0 = 0;
                                v7 = v3_10;
                                v3_0 = v1_14;
                                v2_1 = v9_0;
                            } catch (java.io.IOException v4_8) {
                                v6_0 = 0;
                                v7 = v3_10;
                                v2_2 = v1_14;
                                v1_2 = v4_8;
                            }
                        } catch (int v2_29) {
                            v7 = v3_10;
                            v1_1 = v2_29;
                            v2_2 = v1_14;
                        } catch (int v2) {
                            v7 = v3_10;
                            v2_1 = v9_0;
                            v3_0 = v1_14;
                        } catch (int v2_28) {
                            v7 = v3_10;
                            v1_2 = v2_28;
                            v2_2 = v1_14;
                        }
                    }
                    int v2_3 = v1_14.getInputStream();
                    try {
                        v3_1 = ark>com.mixpanel.android.util.cark>.a(v2_3);
                        try {
                            v2_3.close();
                            v4_3 = 0;
                            v2_3 = 1;
                        } catch (java.io.BufferedOutputStream v8) {
                            v8 = 1;
                            v2_1 = v3_1;
                            v3_0 = v1_14;
                        }
                        if (v6_0 != null) {
                            try {
                                v6_0.close();
                            } catch (Throwable v6) {
                            }
                        }
                        if (v7 != null) {
                            try {
                                v7.close();
                            } catch (Throwable v6) {
                            }
                        }
                        if (0 != 0) {
                            try {
                                0.close();
                            } catch (java.io.IOException v4) {
                            }
                        }
                        if (v1_14 == 0) {
                            v1_10 = 1;
                            v2_6 = v5;
                        } else {
                            v1_14.disconnect();
                            v1_10 = 1;
                            v2_6 = v5;
                        }
                    } catch (Throwable v3_6) {
                        v8 = v2_3;
                        v2_2 = v1_14;
                        v1_1 = v3_6;
                    } catch (Throwable v3) {
                        v3_0 = v1_14;
                        v8 = v2_3;
                        v2_1 = v9_0;
                    } catch (Throwable v3_2) {
                        v8 = v2_3;
                        v2_2 = v1_14;
                        v1_2 = v3_2;
                    }
                } catch (int v2_5) {
                    v2_2 = v1_14;
                    v1_1 = v2_5;
                } catch (int v2) {
                    v3_0 = v1_14;
                    v2_1 = v9_0;
                } catch (int v2_4) {
                    v2_2 = v1_14;
                    v1_2 = v2_4;
                }
            } catch (int v1_1) {
            } catch (int v1) {
                v3_0 = 0;
                v2_1 = v9_0;
            } catch (int v1_2) {
            }
        }
        if (v5 >= 3) {
            com.mixpanel.android.util.e.a("MixpanelAPI.Message", "Could not connect to Mixpanel service after three retries.");
        }
        return v9_0;
    }

Method com.google.gson.b.a.n$14.a() calling method java.net.URL.<init>()


    public java.net.URL a(com.google.gson.stream.a p4)
    {
        java.net.URL v0_0 = 0;
        if (p4.f() != com.google.gson.stream.b.i) {
            String v1_1 = p4.h();
            if (!"null".equals(v1_1)) {
                v0_0 = new java.net.URL(v1_1);
            }
        } else {
            p4.j();
        }
        return v0_0;
    }

Method com.google.android.gms.internal.zzro.a() calling method java.net.URL.<init>()


    private static com.google.android.gms.internal.rg a(org.json.JSONObject p9)
    {
        String v3 = p9.optString("http_request_id");
        int v2_2 = p9.optString("url");
        String v4 = p9.optString("post_body", 0);
        try {
            int v0_2 = new java.net.URL(v2_2);
        } catch (int v0_3) {
            com.google.android.gms.internal.zzafx.zzb("Error constructing http request.", v0_3);
            v0_2 = 0;
        }
        java.util.ArrayList v5_1 = new java.util.ArrayList();
        com.google.android.gms.internal.rg v1_2 = p9.optJSONArray("headers");
        if (v1_2 == null) {
            v1_2 = new org.json.JSONArray();
        }
        int v2_1 = 0;
        while (v2_1 < v1_2.length()) {
            String v6_1 = v1_2.optJSONObject(v2_1);
            if (v6_1 != null) {
                v5_1.add(new com.google.android.gms.internal.rf(v6_1.optString("key"), v6_1.optString("value")));
            }
            v2_1++;
        }
        return new com.google.android.gms.internal.rg(v3, v0_2, v5_1, v4);
    }

Method com.google.android.gms.internal.zzcco.zzazf() calling method java.net.URL.<init>()


    public final void zzazf()
    {
        int v5_0 = 1;
        this.zzauj().zzug();
        this.a();
        this.N = 1;
        try {
            com.google.android.gms.internal.zzcap.zzawj();
            com.google.android.gms.internal.gn v0_13 = this.zzaul().d();
        } catch (com.google.android.gms.internal.gn v0_71) {
            this.N = 0;
            this.p();
            throw v0_71;
        }
        if (v0_13 != null) {
            if (!v0_13.booleanValue()) {
                if (this.K <= 0) {
                    com.google.android.gms.internal.gn v0_57;
                    this.zzauj().zzug();
                    if (this.F == null) {
                        v0_57 = 0;
                    } else {
                        v0_57 = 1;
                    }
                    if (v0_57 == null) {
                        if (this.zzayz().zzyu()) {
                            com.google.android.gms.internal.zzccj v8_3 = this.p.currentTimeMillis();
                            this.a(0, (v8_3 - com.google.android.gms.internal.zzcap.zzawu()));
                            com.google.android.gms.internal.gn v0_87 = this.zzaul().c.get();
                            if (v0_87 != 0) {
                                this.zzauk().zzayh().zzj("Uploading events. Elapsed time since last upload attempt (ms)", Long.valueOf(Math.abs((v8_3 - v0_87))));
                            }
                            Object v2_5 = this.zzaue().f();
                            if (android.text.TextUtils.isEmpty(v2_5)) {
                                this.J = -1;
                                com.google.android.gms.internal.gn v0_96 = this.zzaue().a((v8_3 - com.google.android.gms.internal.zzcap.zzawu()));
                                if (!android.text.TextUtils.isEmpty(v0_96)) {
                                    com.google.android.gms.internal.gn v0_97 = this.zzaue().b(v0_96);
                                    if (v0_97 != null) {
                                        this.a(v0_97);
                                    }
                                }
                            } else {
                                if (this.J == -1) {
                                    this.J = this.zzaue().m();
                                }
                                com.google.android.gms.internal.zzcbs v1_2 = this.zzaue().a(v2_5, this.c.zzb(v2_5, com.google.android.gms.internal.zzcbe.zziny), Math.max(0, this.c.zzb(v2_5, com.google.android.gms.internal.zzcbe.zzinz)));
                                if (!v1_2.isEmpty()) {
                                    byte[] v4_1 = v1_2.iterator();
                                    while (v4_1.hasNext()) {
                                        com.google.android.gms.internal.gn v0_6 = ((com.google.android.gms.internal.zzcgc) ((android.util.Pair) v4_1.next()).first);
                                        if (!android.text.TextUtils.isEmpty(v0_6.zzizn)) {
                                            com.google.android.gms.internal.ha v6_1 = v0_6.zzizn;
                                        }
                                        com.google.android.gms.internal.ha v6_4;
                                        if (v6_1 == null) {
                                            v6_4 = v1_2;
                                        } else {
                                            byte[] v4_2 = 0;
                                            while (v4_2 < v1_2.size()) {
                                                com.google.android.gms.internal.gn v0_12 = ((com.google.android.gms.internal.zzcgc) ((android.util.Pair) v1_2.get(v4_2)).first);
                                                if ((android.text.TextUtils.isEmpty(v0_12.zzizn)) || (v0_12.zzizn.equals(v6_1))) {
                                                    v4_2++;
                                                } else {
                                                    v6_4 = v1_2.subList(0, v4_2);
                                                }
                                            }
                                        }
                                        com.google.android.gms.internal.zzcbs v1_3;
                                        boolean v10_4 = new com.google.android.gms.internal.zzcgb();
                                        com.google.android.gms.internal.gn v0_20 = new com.google.android.gms.internal.zzcgc[v6_4.size()];
                                        v10_4.zziyx = v0_20;
                                        java.util.ArrayList v11_1 = new java.util.ArrayList(v6_4.size());
                                        if ((!com.google.android.gms.internal.zzcap.zzaxg()) || (!this.c.zziu(v2_5))) {
                                            v1_3 = 0;
                                        } else {
                                            v1_3 = 1;
                                        }
                                        byte[] v4_3 = 0;
                                        while (v4_3 < v10_4.zziyx.length) {
                                            v10_4.zziyx[v4_3] = ((com.google.android.gms.internal.zzcgc) ((android.util.Pair) v6_4.get(v4_3)).first);
                                            v11_1.add(((Long) ((android.util.Pair) v6_4.get(v4_3)).second));
                                            v10_4.zziyx[v4_3].zzizm = Long.valueOf(com.google.android.gms.internal.zzcap.zzauu());
                                            v10_4.zziyx[v4_3].zzizc = Long.valueOf(v8_3);
                                            v10_4.zziyx[v4_3].zzizs = Boolean.valueOf(com.google.android.gms.internal.zzcap.zzawj());
                                            if (v1_3 == null) {
                                                v10_4.zziyx[v4_3].zzizz = 0;
                                            }
                                            v4_3++;
                                        }
                                        com.google.android.gms.internal.zzcbs v1_5;
                                        if (!this.zzauk().a(2)) {
                                            v1_5 = 0;
                                        } else {
                                            v1_5 = this.zzauf().a(v10_4);
                                        }
                                        byte[] v4_4 = this.zzaug().zzb(v10_4);
                                        String v12_1 = com.google.android.gms.internal.zzcap.zzawt();
                                        try {
                                            java.net.URL v3_1 = new java.net.URL(v12_1);
                                        } catch (com.google.android.gms.internal.gn v0) {
                                            this.zzauk().zzayc().zze("Failed to parse upload URL. Not uploading. appId", com.google.android.gms.internal.zzcbo.a(v2_5), v12_1);
                                        }
                                        if (v11_1.isEmpty()) {
                                            v5_0 = 0;
                                        }
                                        com.google.android.gms.common.internal.zzbp.zzbh(v5_0);
                                        if (this.F == null) {
                                            this.F = new java.util.ArrayList(v11_1);
                                        } else {
                                            this.zzauk().zzayc().log("Set uploading progress before finishing the previous upload");
                                        }
                                        this.zzaul().d.set(v8_3);
                                        com.google.android.gms.internal.gn v0_43 = "?";
                                        if (v10_4.zziyx.length > 0) {
                                            v0_43 = v10_4.zziyx[0].zzch;
                                        }
                                        this.zzauk().zzayi().zzd("Uploading data. app, uncompressed size, data", v0_43, Integer.valueOf(v4_4.length), v1_5);
                                        this.M = 1;
                                        com.google.android.gms.internal.zzcbs v1_6 = this.zzayz();
                                        com.google.android.gms.internal.ha v6_7 = new com.google.android.gms.internal.ha(this);
                                        v1_6.zzug();
                                        v1_6.t();
                                        com.google.android.gms.common.internal.zzbp.zzu(v3_1);
                                        com.google.android.gms.common.internal.zzbp.zzu(v4_4);
                                        com.google.android.gms.common.internal.zzbp.zzu(v6_7);
                                        v1_6.zzauj().zzh(new com.google.android.gms.internal.gn(v1_6, v2_5, v3_1, v4_4, 0, v6_7));
                                    }
                                    v6_1 = 0;
                                }
                            }
                            this.N = 0;
                            this.p();
                        } else {
                            this.zzauk().zzayi().log("Network not connected, ignoring upload request");
                            this.n();
                            this.N = 0;
                            this.p();
                        }
                    } else {
                        this.zzauk().zzayi().log("Uploading requested multiple times");
                        this.N = 0;
                        this.p();
                    }
                } else {
                    this.n();
                    this.N = 0;
                    this.p();
                }
            } else {
                this.zzauk().zzayc().log("Upload called in the client side when service should be used");
                this.N = 0;
                this.p();
            }
        } else {
            this.zzauk().zzaye().log("Upload data called on the client side before use of service was decided");
            this.N = 0;
            this.p();
        }
        return;
    }

Method com.google.android.gms.internal.zzcco.a() calling method java.net.URL.<init>()


    private final void a(com.google.android.gms.internal.fx p11)
    {
        this.zzauj().zzug();
        if (!android.text.TextUtils.isEmpty(p11.d())) {
            com.google.android.gms.internal.gn v0_12;
            com.google.android.gms.internal.zzcbs v1_0 = p11.d();
            String v2_2 = p11.c();
            int v4_3 = new android.net.Uri$Builder();
            android.support.v4.util.ArrayMap v5_2 = v4_3.scheme(((String) com.google.android.gms.internal.zzcbe.zzinw.get())).encodedAuthority(((String) com.google.android.gms.internal.zzcbe.zzinx.get()));
            com.google.android.gms.internal.gn v0_10 = String.valueOf(v1_0);
            if (v0_10.length() == 0) {
                v0_12 = new String("config/app/");
            } else {
                v0_12 = "config/app/".concat(v0_10);
            }
            v5_2.path(v0_12).appendQueryParameter("app_instance_id", v2_2).appendQueryParameter("platform", "android").appendQueryParameter("gmp_version", "11200");
            String v7 = v4_3.build().toString();
            try {
                android.support.v4.util.ArrayMap v5_3;
                java.net.URL v8_1 = new java.net.URL(v7);
                this.zzauk().zzayi().zzj("Fetching remote configuration", p11.b());
                com.google.android.gms.internal.gn v0_21 = this.zzauh().a(p11.b());
                com.google.android.gms.internal.zzcbs v1_9 = this.zzauh().b(p11.b());
            } catch (com.google.android.gms.internal.gn v0) {
                this.zzauk().zzayc().zze("Failed to parse config URL. Not fetching. appId", com.google.android.gms.internal.zzcbo.a(p11.b()), v7);
            }
            if ((v0_21 == null) || (android.text.TextUtils.isEmpty(v1_9))) {
                v5_3 = 0;
            } else {
                java.net.URL v3_3 = new android.support.v4.util.ArrayMap();
                v3_3.put("If-Modified-Since", v1_9);
                v5_3 = v3_3;
            }
            this.L = 1;
            com.google.android.gms.internal.zzcbs v1_11 = this.zzayz();
            String v2_0 = p11.b();
            com.google.android.gms.internal.hb v6_1 = new com.google.android.gms.internal.hb(this);
            v1_11.zzug();
            v1_11.t();
            com.google.android.gms.common.internal.zzbp.zzu(v8_1);
            com.google.android.gms.common.internal.zzbp.zzu(v6_1);
            v1_11.zzauj().zzh(new com.google.android.gms.internal.gn(v1_11, v2_0, v8_1, 0, v5_3, v6_1));
        } else {
            this.a(p11.b(), 204, 0, 0, 0);
        }
        return;
    }

Method com.google.android.gms.internal.zzao.zza() calling method java.net.URL.<init>()


    public final org.apache.http.HttpResponse zza(com.google.android.gms.internal.zzp p8, java.util.Map p9)
    {
        String v0_6;
        String v1_10 = p8.getUrl();
        org.apache.http.message.BasicHttpResponse v5_1 = new java.util.HashMap();
        v5_1.putAll(p8.getHeaders());
        v5_1.putAll(p9);
        if (this.a == null) {
            v0_6 = v1_10;
        } else {
            v0_6 = this.a.zzg(v1_10);
            if (v0_6 == null) {
                String v0_18;
                String v0_16 = String.valueOf(v1_10);
                if (v0_16.length() == 0) {
                    v0_18 = new String("URL blocked by rewriter: ");
                } else {
                    v0_18 = "URL blocked by rewriter: ".concat(v0_16);
                }
                throw new java.io.IOException(v0_18);
            }
        }
        String v1_9 = new java.net.URL(v0_6);
        String v0_20 = ((java.net.HttpURLConnection) v1_9.openConnection());
        v0_20.setInstanceFollowRedirects(java.net.HttpURLConnection.getFollowRedirects());
        java.util.Iterator v2_6 = p8.zzi();
        v0_20.setConnectTimeout(v2_6);
        v0_20.setReadTimeout(v2_6);
        v0_20.setUseCaches(0);
        v0_20.setDoInput(1);
        "https".equals(v1_9.getProtocol());
        int v6_0 = v5_1.keySet().iterator();
        while (v6_0.hasNext()) {
            String v1_6 = ((String) v6_0.next());
            v0_20.addRequestProperty(v1_6, ((String) v5_1.get(v1_6)));
        }
        switch (p8.getMethod()) {
            case -1:
                break;
            case 0:
                v0_20.setRequestMethod("GET");
                break;
            case 1:
                v0_20.setRequestMethod("POST");
                com.google.android.gms.internal.zzao.a(v0_20, p8);
                break;
            case 2:
                v0_20.setRequestMethod("PUT");
                com.google.android.gms.internal.zzao.a(v0_20, p8);
                break;
            case 3:
                v0_20.setRequestMethod("DELETE");
                break;
            case 4:
                v0_20.setRequestMethod("HEAD");
                break;
            case 5:
                v0_20.setRequestMethod("OPTIONS");
                break;
            case 6:
                v0_20.setRequestMethod("TRACE");
                break;
            case 7:
                v0_20.setRequestMethod("PATCH");
                com.google.android.gms.internal.zzao.a(v0_20, p8);
                break;
            default:
                throw new IllegalStateException("Unknown method type.");
        }
        String v1_24 = new org.apache.http.ProtocolVersion("HTTP", 1, 1);
        if (v0_20.getResponseCode() != -1) {
            String v1_30;
            java.util.Iterator v2_11 = new org.apache.http.message.BasicStatusLine(v1_24, v0_20.getResponseCode(), v0_20.getResponseMessage());
            org.apache.http.message.BasicHttpResponse v5_5 = new org.apache.http.message.BasicHttpResponse(v2_11);
            String v1_25 = p8.getMethod();
            java.util.Iterator v2_12 = v2_11.getStatusCode();
            if (((v1_25 == 4) || ((100 <= v2_12) && (v2_12 < 200))) || ((v2_12 == 204) || (v2_12 == 304))) {
                v1_30 = 0;
            } else {
                v1_30 = 1;
            }
            if (v1_30 != null) {
                v5_5.setEntity(com.google.android.gms.internal.zzao.a(v0_20));
            }
            java.util.Iterator v2_0 = v0_20.getHeaderFields().entrySet().iterator();
            while (v2_0.hasNext()) {
                String v0_5 = ((java.util.Map$Entry) v2_0.next());
                if (v0_5.getKey() != null) {
                    v5_5.addHeader(new org.apache.http.message.BasicHeader(((String) v0_5.getKey()), ((String) ((java.util.List) v0_5.getValue()).get(0))));
                }
            }
            return v5_5;
        } else {
            throw new java.io.IOException("Could not retrieve response code from HttpUrlConnection.");
        }
    }

Method com.google.android.gms.internal.zzakl.shouldInterceptRequest() calling method java.net.URL.<init>()


    public android.webkit.WebResourceResponse shouldInterceptRequest(android.webkit.WebView p7, String p8)
    {
        try {
            android.webkit.WebResourceResponse v0_4;
            android.webkit.WebResourceResponse v0_8 = com.google.android.gms.internal.zzafc.zzb(p8, this.a.getContext());
        } catch (android.webkit.WebResourceResponse v0_10) {
            com.google.android.gms.ads.internal.zzbv.zzee().zza(v0_10, "AdWebViewClient.shouldInterceptRequest");
            v0_4 = 0;
            return v0_4;
        } catch (android.webkit.WebResourceResponse v0_10) {
        }
        if (v0_8.equals(p8)) {
            android.webkit.WebResourceResponse v0_1 = com.google.android.gms.internal.zzie.zzaa(p8);
            if (v0_1 != null) {
                java.io.InputStream v1_1 = com.google.android.gms.ads.internal.zzbv.zzef().zza(v0_1);
                if ((v1_1 != null) && (v1_1.zzgz())) {
                    v0_4 = new android.webkit.WebResourceResponse("", "", v1_1.zzha());
                    return v0_4;
                } else {
                    v0_4 = 0;
                    return v0_4;
                }
            } else {
                v0_4 = 0;
                return v0_4;
            }
        } else {
            android.webkit.WebResourceResponse v0_7 = ((java.net.HttpURLConnection) new java.net.URL(v0_8).openConnection());
            com.google.android.gms.ads.internal.zzbv.zzea().zza(this.a.getContext(), this.a.zzse().zzcp, 1, v0_7);
            v0_4 = new android.webkit.WebResourceResponse(v0_7.getContentType(), v0_7.getHeaderField("encoding"), v0_7.getInputStream());
            return v0_4;
        }
    }

Method com.google.android.gms.internal.zzajy.zzb() calling method java.net.URL.<init>()


    public static java.net.HttpURLConnection zzb(String p7, int p8)
    {
        java.net.URL v1_0 = new java.net.URL(p7);
        String v0_5 = 0;
        while(true) {
            String v3_0 = (v0_5 + 1);
            if (v3_0 > 20) {
                throw new java.io.IOException("Too many redirects (20)");
            } else {
                String v0_2 = v1_0.openConnection();
                v0_2.setConnectTimeout(p8);
                v0_2.setReadTimeout(p8);
                if ((v0_2 instanceof java.net.HttpURLConnection)) {
                    String v0_3 = ((java.net.HttpURLConnection) v0_2);
                    v0_3.setInstanceFollowRedirects(0);
                    if ((v0_3.getResponseCode() / 100) != 3) {
                        return v0_3;
                    } else {
                        int v5_1 = v0_3.getHeaderField("Location");
                        if (v5_1 != 0) {
                            java.net.URL v4_5 = new java.net.URL(v1_0, v5_1);
                            java.net.URL v1_1 = v4_5.getProtocol();
                            if (v1_1 != null) {
                                if ((!v1_1.equals("http")) && (!v1_1.equals("https"))) {
                                    break;
                                }
                                java.net.URL v1_4;
                                java.net.URL v1_2 = String.valueOf(v5_1);
                                if (v1_2.length() == 0) {
                                    v1_4 = new String("Redirecting to ");
                                } else {
                                    v1_4 = "Redirecting to ".concat(v1_2);
                                }
                                com.google.android.gms.internal.zzafx.zzcb(v1_4);
                                v0_3.disconnect();
                                v0_5 = v3_0;
                                v1_0 = v4_5;
                            } else {
                                throw new java.io.IOException("Protocol is null");
                            }
                        } else {
                            throw new java.io.IOException("Missing Location header in redirect");
                        }
                    }
                } else {
                    throw new java.io.IOException("Invalid protocol.");
                }
            }
        }
        String v0_9;
        String v0_7 = String.valueOf(v1_1);
        if (v0_7.length() == 0) {
            v0_9 = new String("Unsupported scheme: ");
        } else {
            v0_9 = "Unsupported scheme: ".concat(v0_7);
        }
        throw new java.io.IOException(v0_9);
    }

Method com.google.android.gms.internal.zzajj.zzcm() calling method java.net.URL.<init>()


    public final void zzcm(String p5)
    {
        try {
            java.net.HttpURLConnection v0_14;
            java.net.HttpURLConnection v0_10 = String.valueOf(p5);
        } catch (java.net.HttpURLConnection v0_2) {
            java.net.HttpURLConnection v0_3 = v0_2.getMessage();
            com.google.android.gms.internal.zzaji.zzcs(new StringBuilder(((String.valueOf(p5).length() + 32) + String.valueOf(v0_3).length())).append("Error while parsing ping URL: ").append(p5).append(". ").append(v0_3).toString());
            return;
        } catch (java.net.HttpURLConnection v0_17) {
            java.net.HttpURLConnection v0_18 = v0_17.getMessage();
            com.google.android.gms.internal.zzaji.zzcs(new StringBuilder(((String.valueOf(p5).length() + 27) + String.valueOf(v0_18).length())).append("Error while pinging URL: ").append(p5).append(". ").append(v0_18).toString());
            return;
        } catch (java.net.HttpURLConnection v0_11) {
            java.net.HttpURLConnection v0_12 = v0_11.getMessage();
            com.google.android.gms.internal.zzaji.zzcs(new StringBuilder(((String.valueOf(p5).length() + 27) + String.valueOf(v0_12).length())).append("Error while pinging URL: ").append(p5).append(". ").append(v0_12).toString());
            return;
        }
        if (v0_10.length() == 0) {
            v0_14 = new String("Pinging URL: ");
        } else {
            v0_14 = "Pinging URL: ".concat(v0_10);
        }
        com.google.android.gms.internal.zzaji.zzcb(v0_14);
        java.net.HttpURLConnection v0_9 = ((java.net.HttpURLConnection) new java.net.URL(p5).openConnection());
        try {
            com.google.android.gms.internal.zzjo.zzhu();
            com.google.android.gms.internal.zzaje.zza(1, v0_9, this.a);
            String v1_11 = v0_9.getResponseCode();
        } catch (String v1_16) {
            v0_9.disconnect();
            throw v1_16;
        }
        if ((v1_11 < 200) || (v1_11 >= 300)) {
            com.google.android.gms.internal.zzaji.zzcs(new StringBuilder((String.valueOf(p5).length() + 65)).append("Received non-success response code ").append(v1_11).append(" from pinging URL: ").append(p5).toString());
        }
        v0_9.disconnect();
        return;
    }

Method com.google.android.gms.internal.zzabs.zza() calling method java.net.URL.<init>()


    public static com.google.android.gms.internal.zzaao zza(com.google.android.gms.internal.zzaak p13, android.content.Context p14, String p15, String p16, String p17, com.google.android.gms.internal.zzacg p18, com.google.android.gms.internal.zznh p19, com.google.android.gms.internal.zzabr p20)
    {
        try {
            int v4_6;
            if (p19 == null) {
                v4_6 = 0;
                com.google.android.gms.internal.zzaao v2_4;
                com.google.android.gms.internal.zzace v8_1 = new com.google.android.gms.internal.zzace(p13, p18.zzol());
                com.google.android.gms.internal.zzaao v2_2 = String.valueOf(p16);
                if (v2_2.length() == 0) {
                    v2_4 = new String("AdRequestServiceImpl: Sending request: ");
                } else {
                    v2_4 = "AdRequestServiceImpl: Sending request: ".concat(v2_2);
                }
                com.google.android.gms.internal.zzafx.zzcb(v2_4);
                int v3_27 = new java.net.URL(p16);
                long v10 = com.google.android.gms.ads.internal.zzbv.zzeg().elapsedRealtime();
                String v7_1 = v3_27;
                int v3_11 = 0;
                while(true) {
                    com.google.android.gms.internal.zzaao v2_13 = ((java.net.HttpURLConnection) v7_1.openConnection());
                    com.google.android.gms.ads.internal.zzbv.zzea().zza(p14, p15, 0, v2_13);
                    if ((!android.text.TextUtils.isEmpty(p17)) && (p18.zzon())) {
                        v2_13.addRequestProperty("x-afma-drt-cookie", p17);
                    }
                    int v5_12 = p13.zzcot;
                    if (!android.text.TextUtils.isEmpty(v5_12)) {
                        com.google.android.gms.internal.zzafx.zzcb("Sending webview cookie in ad request header.");
                        v2_13.addRequestProperty("Cookie", v5_12);
                    }
                    if ((p18 != null) && (!android.text.TextUtils.isEmpty(p18.zzom()))) {
                        v2_13.setDoOutput(1);
                        byte[] v9_0 = p18.zzom().getBytes();
                        v2_13.setFixedLengthStreamingMode(v9_0.length);
                        try {
                            int v5_19 = new java.io.BufferedOutputStream(v2_13.getOutputStream());
                            try {
                                v5_19.write(v9_0);
                            } catch (int v3_28) {
                                int v4_7 = v5_19;
                                com.google.android.gms.common.util.zzm.closeQuietly(v4_7);
                                throw v3_28;
                            }
                            com.google.android.gms.common.util.zzm.closeQuietly(v5_19);
                        } catch (int v3_28) {
                            v4_7 = 0;
                        }
                    }
                    com.google.android.gms.internal.zzaao v2_1;
                    byte[] v9_1 = v2_13.getResponseCode();
                    java.io.OutputStream v12_1 = v2_13.getHeaderFields();
                    if ((v9_1 >= 200) && (v9_1 < 300)) {
                        break;
                    }
                    com.google.android.gms.internal.zzabs.a(v7_1.toString(), v12_1, 0, v9_1);
                    if ((v9_1 < 300) || (v9_1 >= 400)) {
                        com.google.android.gms.internal.zzafx.zzcs(new StringBuilder(46).append("Received error HTTP response code: ").append(v9_1).toString());
                        int v3_6 = new com.google.android.gms.internal.zzaao(0);
                        v2_13.disconnect();
                        v2_1 = v3_6;
                    } else {
                        int v5_1 = v2_13.getHeaderField("Location");
                        if (!android.text.TextUtils.isEmpty(v5_1)) {
                            String v6_2 = new java.net.URL(v5_1);
                            int v5_2 = (v3_11 + 1);
                            if (v5_2 <= ((Integer) com.google.android.gms.ads.internal.zzbv.zzen().zzd(com.google.android.gms.internal.zzmu.zzbpl)).intValue()) {
                                v8_1.zzi(v12_1);
                                v2_13.disconnect();
                                if (p20 == null) {
                                    v3_11 = v5_2;
                                    v7_1 = v6_2;
                                } else {
                                    v3_11 = v5_2;
                                    v7_1 = v6_2;
                                }
                            } else {
                                com.google.android.gms.internal.zzafx.zzcs("Too many redirects.");
                                int v3_14 = new com.google.android.gms.internal.zzaao(0);
                                v2_13.disconnect();
                                v2_1 = v3_14;
                            }
                        } else {
                            com.google.android.gms.internal.zzafx.zzcs("No location header to follow redirect.");
                            int v3_17 = new com.google.android.gms.internal.zzaao(0);
                            v2_13.disconnect();
                            v2_1 = v3_17;
                        }
                    }
                }
                int v3_18 = v7_1.toString();
                try {
                    int v5_5 = new java.io.InputStreamReader(v2_13.getInputStream());
                    try {
                        com.google.android.gms.ads.internal.zzbv.zzea();
                        String v6_4 = com.google.android.gms.internal.zzahf.zza(v5_5);
                    } catch (int v3_19) {
                        int v4_4 = v5_5;
                        com.google.android.gms.common.util.zzm.closeQuietly(v4_4);
                        throw v3_19;
                    }
                    com.google.android.gms.common.util.zzm.closeQuietly(v5_5);
                    com.google.android.gms.internal.zzabs.a(v3_18, v12_1, v6_4, v9_1);
                    v8_1.zza(v3_18, v12_1, v6_4);
                    if (p19 != null) {
                        int v3_21 = new String[1];
                        v3_21[0] = "ufe";
                        p19.zza(v4_6, v3_21);
                    }
                    int v3_23 = v8_1.zze(v10);
                    v2_13.disconnect();
                    v2_1 = v3_23;
                } catch (int v3_19) {
                    v4_4 = 0;
                }
            } else {
                v4_6 = p19.zziu();
            }
        } catch (com.google.android.gms.internal.zzaao v2_5) {
            com.google.android.gms.internal.zzaao v2_7 = String.valueOf(v2_5.getMessage());
            if (v2_7.length() == 0) {
                com.google.android.gms.internal.zzaao v2_9 = new String("Error while connecting to ad server: ");
            } else {
                v2_9 = "Error while connecting to ad server: ".concat(v2_7);
            }
            com.google.android.gms.internal.zzafx.zzcs(v2_9);
            v2_1 = new com.google.android.gms.internal.zzaao(2);
        }
        return v2_1;
    }

Method com.google.android.gms.internal.zzabs.zza() calling method java.net.URL.<init>()


    public static com.google.android.gms.internal.zzaao zza(com.google.android.gms.internal.zzaak p13, android.content.Context p14, String p15, String p16, String p17, com.google.android.gms.internal.zzacg p18, com.google.android.gms.internal.zznh p19, com.google.android.gms.internal.zzabr p20)
    {
        try {
            int v4_6;
            if (p19 == null) {
                v4_6 = 0;
                com.google.android.gms.internal.zzaao v2_4;
                com.google.android.gms.internal.zzace v8_1 = new com.google.android.gms.internal.zzace(p13, p18.zzol());
                com.google.android.gms.internal.zzaao v2_2 = String.valueOf(p16);
                if (v2_2.length() == 0) {
                    v2_4 = new String("AdRequestServiceImpl: Sending request: ");
                } else {
                    v2_4 = "AdRequestServiceImpl: Sending request: ".concat(v2_2);
                }
                com.google.android.gms.internal.zzafx.zzcb(v2_4);
                int v3_27 = new java.net.URL(p16);
                long v10 = com.google.android.gms.ads.internal.zzbv.zzeg().elapsedRealtime();
                String v7_1 = v3_27;
                int v3_11 = 0;
                while(true) {
                    com.google.android.gms.internal.zzaao v2_13 = ((java.net.HttpURLConnection) v7_1.openConnection());
                    com.google.android.gms.ads.internal.zzbv.zzea().zza(p14, p15, 0, v2_13);
                    if ((!android.text.TextUtils.isEmpty(p17)) && (p18.zzon())) {
                        v2_13.addRequestProperty("x-afma-drt-cookie", p17);
                    }
                    int v5_12 = p13.zzcot;
                    if (!android.text.TextUtils.isEmpty(v5_12)) {
                        com.google.android.gms.internal.zzafx.zzcb("Sending webview cookie in ad request header.");
                        v2_13.addRequestProperty("Cookie", v5_12);
                    }
                    if ((p18 != null) && (!android.text.TextUtils.isEmpty(p18.zzom()))) {
                        v2_13.setDoOutput(1);
                        byte[] v9_0 = p18.zzom().getBytes();
                        v2_13.setFixedLengthStreamingMode(v9_0.length);
                        try {
                            int v5_19 = new java.io.BufferedOutputStream(v2_13.getOutputStream());
                            try {
                                v5_19.write(v9_0);
                            } catch (int v3_28) {
                                int v4_7 = v5_19;
                                com.google.android.gms.common.util.zzm.closeQuietly(v4_7);
                                throw v3_28;
                            }
                            com.google.android.gms.common.util.zzm.closeQuietly(v5_19);
                        } catch (int v3_28) {
                            v4_7 = 0;
                        }
                    }
                    com.google.android.gms.internal.zzaao v2_1;
                    byte[] v9_1 = v2_13.getResponseCode();
                    java.io.OutputStream v12_1 = v2_13.getHeaderFields();
                    if ((v9_1 < 200) || (v9_1 >= 300)) {
                        com.google.android.gms.internal.zzabs.a(v7_1.toString(), v12_1, 0, v9_1);
                        if ((v9_1 < 300) || (v9_1 >= 400)) {
                            com.google.android.gms.internal.zzafx.zzcs(new StringBuilder(46).append("Received error HTTP response code: ").append(v9_1).toString());
                            int v3_6 = new com.google.android.gms.internal.zzaao(0);
                            v2_13.disconnect();
                            v2_1 = v3_6;
                        } else {
                            int v5_1 = v2_13.getHeaderField("Location");
                            if (!android.text.TextUtils.isEmpty(v5_1)) {
                                String v6_2 = new java.net.URL(v5_1);
                                int v5_2 = (v3_11 + 1);
                                if (v5_2 > ((Integer) com.google.android.gms.ads.internal.zzbv.zzen().zzd(com.google.android.gms.internal.zzmu.zzbpl)).intValue()) {
                                    break;
                                }
                                v8_1.zzi(v12_1);
                                v2_13.disconnect();
                                if (p20 == null) {
                                    v3_11 = v5_2;
                                    v7_1 = v6_2;
                                } else {
                                    v3_11 = v5_2;
                                    v7_1 = v6_2;
                                }
                            } else {
                                com.google.android.gms.internal.zzafx.zzcs("No location header to follow redirect.");
                                int v3_17 = new com.google.android.gms.internal.zzaao(0);
                                v2_13.disconnect();
                                v2_1 = v3_17;
                            }
                        }
                    } else {
                        int v3_18 = v7_1.toString();
                        try {
                            int v5_5 = new java.io.InputStreamReader(v2_13.getInputStream());
                            try {
                                com.google.android.gms.ads.internal.zzbv.zzea();
                                String v6_4 = com.google.android.gms.internal.zzahf.zza(v5_5);
                            } catch (int v3_19) {
                                int v4_4 = v5_5;
                                com.google.android.gms.common.util.zzm.closeQuietly(v4_4);
                                throw v3_19;
                            }
                            com.google.android.gms.common.util.zzm.closeQuietly(v5_5);
                            com.google.android.gms.internal.zzabs.a(v3_18, v12_1, v6_4, v9_1);
                            v8_1.zza(v3_18, v12_1, v6_4);
                            if (p19 != null) {
                                int v3_21 = new String[1];
                                v3_21[0] = "ufe";
                                p19.zza(v4_6, v3_21);
                            }
                            int v3_23 = v8_1.zze(v10);
                            v2_13.disconnect();
                            v2_1 = v3_23;
                        } catch (int v3_19) {
                            v4_4 = 0;
                        }
                    }
                }
                com.google.android.gms.internal.zzafx.zzcs("Too many redirects.");
                int v3_14 = new com.google.android.gms.internal.zzaao(0);
                v2_13.disconnect();
                v2_1 = v3_14;
            } else {
                v4_6 = p19.zziu();
            }
        } catch (com.google.android.gms.internal.zzaao v2_5) {
            com.google.android.gms.internal.zzaao v2_7 = String.valueOf(v2_5.getMessage());
            if (v2_7.length() == 0) {
                com.google.android.gms.internal.zzaao v2_9 = new String("Error while connecting to ad server: ");
            } else {
                v2_9 = "Error while connecting to ad server: ".concat(v2_7);
            }
            com.google.android.gms.internal.zzafx.zzcs(v2_9);
            v2_1 = new com.google.android.gms.internal.zzaao(2);
        }
        return v2_1;
    }

Method com.google.android.gms.ads.identifier.zze.zzb() calling method java.net.URL.<init>()


    public final void zzb(java.util.Map p7)
    {
        String v2_4 = android.net.Uri.parse("https://pagead2.googlesyndication.com/pagead/gen_204?id=gmob-apps").buildUpon();
        String v3_4 = p7.keySet().iterator();
        while (v3_4.hasNext()) {
            RuntimeException v0_3 = ((String) v3_4.next());
            v2_4.appendQueryParameter(v0_3, ((String) p7.get(v0_3)));
        }
        String v2_3 = v2_4.build().toString();
        try {
            RuntimeException v0_9 = ((java.net.HttpURLConnection) new java.net.URL(v2_3).openConnection());
        } catch (RuntimeException v0_12) {
            String v3_5 = v0_12.getMessage();
            v2_3 = new StringBuilder(((String.valueOf(v2_3).length() + 32) + String.valueOf(v3_5).length())).append("Error while parsing ping URL: ").append(v2_3).append(". ").append(v3_5).toString();
            android.util.Log.w("HttpUrlPinger", v2_3, v0_12);
            return;
        } catch (RuntimeException v0_10) {
            String v3_3 = v0_10.getMessage();
            v2_3 = new StringBuilder(((String.valueOf(v2_3).length() + 27) + String.valueOf(v3_3).length())).append("Error while pinging URL: ").append(v2_3).append(". ").append(v3_3).toString();
            android.util.Log.w("HttpUrlPinger", v2_3, v0_10);
            return;
        } catch (RuntimeException v0_10) {
        }
        String v1_2 = v0_9.getResponseCode();
        if ((v1_2 < 200) || (v1_2 >= 300)) {
            android.util.Log.w("HttpUrlPinger", new StringBuilder((String.valueOf(v2_3).length() + 65)).append("Received non-success response code ").append(v1_2).append(" from pinging URL: ").append(v2_3).toString());
        }
        v0_9.disconnect();
        return;
    }

Method com.appsflyer.h.a() calling method java.net.URL.<init>()


    protected varargs String a(String[] p6)
    {
        try {
            String v0_12 = new java.net.URL(p6[0]);
            com.appsflyer.n.b(new StringBuilder().append("call = ").append(v0_12).append(" parameters = ").append(this.a.toString()).toString());
            String v0_11 = ((javax.net.ssl.HttpsURLConnection) v0_12.openConnection());
            v0_11.setReadTimeout(30000);
            v0_11.setConnectTimeout(30000);
            v0_11.setRequestMethod("POST");
            v0_11.setDoInput(1);
            v0_11.setDoOutput(1);
            v0_11.setRequestProperty("Content-Type", "application/json");
            java.io.BufferedReader v1_15 = v0_11.getOutputStream();
            StringBuilder v2_9 = new java.io.BufferedWriter(new java.io.OutputStreamWriter(v1_15, "UTF-8"));
            v2_9.write(this.d);
            v2_9.flush();
            v2_9.close();
            v1_15.close();
            v0_11.connect();
        } catch (String v0_3) {
            com.appsflyer.b.a(new StringBuilder().append("MalformedURLException: ").append(v0_3.toString()).toString());
            return this.b;
        } catch (String v0_24) {
            com.appsflyer.b.a(new StringBuilder().append("ProtocolException: ").append(v0_24.toString()).toString());
            return this.b;
        } catch (String v0_20) {
            com.appsflyer.b.a(new StringBuilder().append("IOException: ").append(v0_20.toString()).toString());
            return this.b;
        } catch (String v0_16) {
            com.appsflyer.b.a(new StringBuilder().append("Exception: ").append(v0_16.toString()).toString());
            return this.b;
        }
        if (v0_11.getResponseCode() != 200) {
            return this.b;
        } else {
            java.io.BufferedReader v1_20 = new java.io.BufferedReader(new java.io.InputStreamReader(v0_11.getInputStream()));
            while(true) {
                String v0_14 = v1_20.readLine();
                if (v0_14 == null) {
                    break;
                }
                this.b = new StringBuilder().append(this.b).append(v0_14).toString();
            }
            com.appsflyer.b.a("Status 200 ok");
            return this.b;
        }
    }

Method com.appsflyer.f.a() calling method java.net.URL.<init>()


    private void a(String p8, String p9, String p10, ref.WeakReference p11, String p12, boolean p13)
    {
        java.net.URL v1_1 = new java.net.URL(p8);
        com.appsflyer.b.a(new StringBuilder().append("url: ").append(v1_1.toString()).toString());
        this.a("call server.", new StringBuilder().append("\n").append(v1_1.toString()).append("\nPOST:").append(p9).toString(), ((android.content.Context) p11.get()));
        com.appsflyer.n.b(new StringBuilder().append("data: ").append(p9).toString());
        this.a(((android.content.Context) p11.get()), ark>com.appsflyer.fark>.c, "EVENT_DATA", p9);
        try {
            this.a(v1_1, p9, p10, p11, p12, p13);
        } catch (java.net.URL v1_4) {
            if (!com.appsflyer.g.a().b("useHttpFallback", 0)) {
                com.appsflyer.b.a(new StringBuilder().append("failed to send requeset to server. ").append(v1_4.getLocalizedMessage()).toString());
                this.a(((android.content.Context) p11.get()), ark>com.appsflyer.fark>.c, "ERROR", v1_4.getLocalizedMessage());
                throw v1_4;
            } else {
                this.a(new StringBuilder().append("https failed: ").append(v1_4.getLocalizedMessage()).toString(), "", ((android.content.Context) p11.get()));
                this.a(new java.net.URL(p8.replace("https:", "http:")), p9, p10, p11, p12, p13);
            }
        }
        return;
    }

Method com.appsflyer.f$a.run() calling method java.net.URL.<init>()


    public void run()
    {
        java.util.Map v3_0 = 0;
        if ((this.c != null) && (this.c.length() != 0)) {
            this.e.incrementAndGet();
            try {
                java.util.Map v0_9 = ((android.content.Context) this.a.get());
            } catch (java.util.Map v0_17) {
                java.net.HttpURLConnection v1_18 = 0;
                this.e.decrementAndGet();
                if (v1_18 != null) {
                    v1_18.disconnect();
                }
                throw v0_17;
            } catch (java.util.Map v0_15) {
                v1_18 = 0;
                if (com.appsflyer.f.d() != null) {
                    this.a(v0_15.getMessage(), 0);
                }
                com.appsflyer.b.a(v0_15.getMessage(), v0_15);
                this.e.decrementAndGet();
                if (v1_18 == null) {
                    this.d.shutdown();
                    return;
                } else {
                    v1_18.disconnect();
                }
                this.e.decrementAndGet();
                if (v1_18 == null) {
                } else {
                    v1_18.disconnect();
                }
            } catch (java.util.Map v0_17) {
            }
            if (v0_9 != null) {
                int v4_5 = System.currentTimeMillis();
                com.appsflyer.f v2_15 = com.appsflyer.f.a(this.b, v0_9, com.appsflyer.f.b(this.b, v0_9));
                java.net.HttpURLConnection v1_1 = "";
                if (v2_15 != null) {
                    v1_1 = new StringBuilder().append("-").append(v2_15).toString();
                }
                com.appsflyer.f v2_36 = new StringBuilder().append(this.a()).append(v0_9.getPackageName()).append(v1_1).append("?devkey=").append(this.c).append("&device_id=").append(this.b.b(v0_9));
                com.appsflyer.n.b(new StringBuilder().append("Calling server for attribution url: ").append(v2_36.toString()).toString());
                v1_18 = ((java.net.HttpURLConnection) new java.net.URL(v2_36.toString()).openConnection());
                try {
                    v1_18.setRequestMethod("GET");
                    v1_18.setConnectTimeout(10000);
                    v1_18.setRequestProperty("Connection", "close");
                    v1_18.connect();
                } catch (java.util.Map v0_15) {
                }
                if (v1_18.getResponseCode() != 200) {
                    if (com.appsflyer.f.d() != null) {
                        this.a(new StringBuilder().append("Error connection to server: ").append(v1_18.getResponseCode()).toString(), v1_18.getResponseCode());
                    }
                    com.appsflyer.n.b(new StringBuilder().append("AttributionIdFetcher response code: ").append(v1_18.getResponseCode()).append("  url: ").append(v2_36).toString());
                } else {
                    com.appsflyer.f.a(this.b, v0_9, "appsflyerGetConversionDataTiming", ((System.currentTimeMillis() - v4_5) / 1000));
                    String v5_1 = new StringBuilder();
                    try {
                        com.appsflyer.f v2_2 = new java.io.InputStreamReader(v1_18.getInputStream());
                        try {
                            int v4_4 = new java.io.BufferedReader(v2_2);
                            try {
                                while(true) {
                                    java.util.Map v3_6 = v4_4.readLine();
                                    v5_1.append(v3_6).append(10);
                                }
                                if (v4_4 != 0) {
                                    v4_4.close();
                                }
                                if (v2_2 != null) {
                                    v2_2.close();
                                }
                                com.appsflyer.n.b(new StringBuilder().append("Attribution data: ").append(v5_1.toString()).toString());
                                if ((v5_1.length() > 0) && (v0_9 != null)) {
                                    java.util.Map v3_10 = com.appsflyer.f.a(this.b, v5_1.toString());
                                    com.appsflyer.f v2_13 = ((String) v3_10.get("iscache"));
                                    if ((v2_13 != null) && ("false".equals(v2_13))) {
                                        com.appsflyer.f.a(this.b, v0_9, "appsflyerConversionDataCacheExpiration", System.currentTimeMillis());
                                    }
                                    int v4_11 = new org.json.JSONObject(v3_10).toString();
                                    if (v4_11 == 0) {
                                        com.appsflyer.f.a(this.b, v0_9, "attributionId", v5_1.toString());
                                    } else {
                                        com.appsflyer.f.a(this.b, v0_9, "attributionId", v4_11);
                                    }
                                    com.appsflyer.b.b(new StringBuilder().append("iscache=").append(v2_13).append(" caching conversion data").toString());
                                    if ((com.appsflyer.f.d() != null) && (this.e.intValue() <= 1)) {
                                        try {
                                            java.util.Map v0_14 = com.appsflyer.f.c(this.b, v0_9);
                                        } catch (java.util.Map v0) {
                                            v0_14 = v3_10;
                                        }
                                        this.a(v0_14);
                                    }
                                }
                            } catch (java.util.Map v0_13) {
                                v3_0 = v4_4;
                                if (v3_0 != null) {
                                    v3_0.close();
                                }
                                if (v2_2 != null) {
                                    v2_2.close();
                                }
                                throw v0_13;
                            }
                            if (v3_6 == null) {
                            }
                        } catch (java.util.Map v0_13) {
                        }
                    } catch (java.util.Map v0_13) {
                        v2_2 = 0;
                    }
                }
            } else {
                this.e.decrementAndGet();
                if (0 != 0) {
                    0.disconnect();
                }
            }
        }
        return;
    }