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 com.google.android.gms.internal.zzabt.zza() calling method java.net.URL.<init>()


    public static com.google.android.gms.internal.zzaap zza(com.google.android.gms.internal.zzaal p13, android.content.Context p14, String p15, String p16, String p17, com.google.android.gms.internal.zzach p18, com.google.android.gms.internal.zzna p19, com.google.android.gms.internal.zzabs p20)
    {
        try {
            int v4_6;
            if (p19 == null) {
                v4_6 = 0;
                com.google.android.gms.internal.zzaap v2_4;
                com.google.android.gms.internal.zzacf v8_1 = new com.google.android.gms.internal.zzacf(p13, p18.zzoo());
                com.google.android.gms.internal.zzaap 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.zzafy.zzca(v2_4);
                int v5_8 = new java.net.URL(p16);
                long v10 = com.google.android.gms.ads.internal.zzbv.zzeg().elapsedRealtime();
                int v3_11 = 0;
                String v7_1 = v5_8;
                while(true) {
                    com.google.android.gms.internal.zzaap 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.zzoq())) {
                        v2_13.addRequestProperty("x-afma-drt-cookie", p17);
                    }
                    int v5_13 = p13.zzcpd;
                    if (!android.text.TextUtils.isEmpty(v5_13)) {
                        com.google.android.gms.internal.zzafy.zzca("Sending webview cookie in ad request header.");
                        v2_13.addRequestProperty("Cookie", v5_13);
                    }
                    if ((p18 != null) && (!android.text.TextUtils.isEmpty(p18.zzop()))) {
                        v2_13.setDoOutput(1);
                        byte[] v9_0 = p18.zzop().getBytes();
                        v2_13.setFixedLengthStreamingMode(v9_0.length);
                        try {
                            int v5_20 = new java.io.BufferedOutputStream(v2_13.getOutputStream());
                            try {
                                v5_20.write(v9_0);
                            } catch (int v3_27) {
                                int v4_7 = v5_20;
                                com.google.android.gms.common.util.zzn.closeQuietly(v4_7);
                                throw v3_27;
                            }
                            com.google.android.gms.common.util.zzn.closeQuietly(v5_20);
                        } catch (int v3_27) {
                            v4_7 = 0;
                        }
                    }
                    com.google.android.gms.internal.zzaap 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.zzabt.zza(v7_1.toString(), v12_1, 0, v9_1);
                        if ((v9_1 < 300) || (v9_1 >= 400)) {
                            com.google.android.gms.internal.zzafy.zzcr(new StringBuilder(46).append("Received error HTTP response code: ").append(v9_1).toString());
                            int v3_6 = new com.google.android.gms.internal.zzaap(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.zzmn.zzbpg)).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.zzafy.zzcr("No location header to follow redirect.");
                                int v3_17 = new com.google.android.gms.internal.zzaap(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.zzahg.zza(v5_5);
                            } catch (int v3_19) {
                                int v4_4 = v5_5;
                                com.google.android.gms.common.util.zzn.closeQuietly(v4_4);
                                throw v3_19;
                            }
                            com.google.android.gms.common.util.zzn.closeQuietly(v5_5);
                            com.google.android.gms.internal.zzabt.zza(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.zzafy.zzcr("Too many redirects.");
                int v3_14 = new com.google.android.gms.internal.zzaap(0);
                v2_13.disconnect();
                v2_1 = v3_14;
            } else {
                v4_6 = p19.zziv();
            }
        } catch (com.google.android.gms.internal.zzaap v2_5) {
            com.google.android.gms.internal.zzaap v2_7 = String.valueOf(v2_5.getMessage());
            if (v2_7.length() == 0) {
                com.google.android.gms.internal.zzaap 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.zzafy.zzcr(v2_9);
            v2_1 = new com.google.android.gms.internal.zzaap(2);
        }
        return v2_1;
    }

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


    public final void zzcl(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.zzajj.zzcr(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.zzajj.zzcr(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.zzajj.zzcr(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.zzajj.zzca(v0_14);
        java.net.HttpURLConnection v0_9 = ((java.net.HttpURLConnection) new java.net.URL(p5).openConnection());
        try {
            com.google.android.gms.internal.zzjh.zzhu();
            com.google.android.gms.internal.zzajf.zza(1, v0_9, this.zzbwi);
            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.zzajj.zzcr(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.zzaop.zzyy() calling method java.net.URL.<init>()


    private final java.net.URL zzyy()
    {
        int v0_2;
        String v1_3 = String.valueOf(com.google.android.gms.internal.zzanv.zzyb());
        int v0_8 = String.valueOf(((String) com.google.android.gms.internal.zzaod.zzdrs.get()));
        if (v0_8.length() == 0) {
            v0_2 = new String(v1_3);
        } else {
            v0_2 = v1_3.concat(v0_8);
        }
        try {
            int v0_3 = new java.net.URL(v0_2);
        } catch (int v0_4) {
            this.zze("Error trying to parse the hardcoded host url", v0_4);
            v0_3 = 0;
        }
        return v0_3;
    }

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.google.android.gms.internal.zzabt.zza() calling method java.net.URL.<init>()


    public static com.google.android.gms.internal.zzaap zza(com.google.android.gms.internal.zzaal p13, android.content.Context p14, String p15, String p16, String p17, com.google.android.gms.internal.zzach p18, com.google.android.gms.internal.zzna p19, com.google.android.gms.internal.zzabs p20)
    {
        try {
            int v4_6;
            if (p19 == null) {
                v4_6 = 0;
                com.google.android.gms.internal.zzaap v2_4;
                com.google.android.gms.internal.zzacf v8_1 = new com.google.android.gms.internal.zzacf(p13, p18.zzoo());
                com.google.android.gms.internal.zzaap 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.zzafy.zzca(v2_4);
                int v5_8 = new java.net.URL(p16);
                long v10 = com.google.android.gms.ads.internal.zzbv.zzeg().elapsedRealtime();
                int v3_11 = 0;
                String v7_1 = v5_8;
                while(true) {
                    com.google.android.gms.internal.zzaap 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.zzoq())) {
                        v2_13.addRequestProperty("x-afma-drt-cookie", p17);
                    }
                    int v5_13 = p13.zzcpd;
                    if (!android.text.TextUtils.isEmpty(v5_13)) {
                        com.google.android.gms.internal.zzafy.zzca("Sending webview cookie in ad request header.");
                        v2_13.addRequestProperty("Cookie", v5_13);
                    }
                    if ((p18 != null) && (!android.text.TextUtils.isEmpty(p18.zzop()))) {
                        v2_13.setDoOutput(1);
                        byte[] v9_0 = p18.zzop().getBytes();
                        v2_13.setFixedLengthStreamingMode(v9_0.length);
                        try {
                            int v5_20 = new java.io.BufferedOutputStream(v2_13.getOutputStream());
                            try {
                                v5_20.write(v9_0);
                            } catch (int v3_27) {
                                int v4_7 = v5_20;
                                com.google.android.gms.common.util.zzn.closeQuietly(v4_7);
                                throw v3_27;
                            }
                            com.google.android.gms.common.util.zzn.closeQuietly(v5_20);
                        } catch (int v3_27) {
                            v4_7 = 0;
                        }
                    }
                    com.google.android.gms.internal.zzaap 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.zzabt.zza(v7_1.toString(), v12_1, 0, v9_1);
                    if ((v9_1 < 300) || (v9_1 >= 400)) {
                        com.google.android.gms.internal.zzafy.zzcr(new StringBuilder(46).append("Received error HTTP response code: ").append(v9_1).toString());
                        int v3_6 = new com.google.android.gms.internal.zzaap(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.zzmn.zzbpg)).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.zzafy.zzcr("Too many redirects.");
                                int v3_14 = new com.google.android.gms.internal.zzaap(0);
                                v2_13.disconnect();
                                v2_1 = v3_14;
                            }
                        } else {
                            com.google.android.gms.internal.zzafy.zzcr("No location header to follow redirect.");
                            int v3_17 = new com.google.android.gms.internal.zzaap(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.zzahg.zza(v5_5);
                    } catch (int v3_19) {
                        int v4_4 = v5_5;
                        com.google.android.gms.common.util.zzn.closeQuietly(v4_4);
                        throw v3_19;
                    }
                    com.google.android.gms.common.util.zzn.closeQuietly(v5_5);
                    com.google.android.gms.internal.zzabt.zza(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.zziv();
            }
        } catch (com.google.android.gms.internal.zzaap v2_5) {
            com.google.android.gms.internal.zzaap v2_7 = String.valueOf(v2_5.getMessage());
            if (v2_7.length() == 0) {
                com.google.android.gms.internal.zzaap 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.zzafy.zzcr(v2_9);
            v2_1 = new com.google.android.gms.internal.zzaap(2);
        }
        return v2_1;
    }

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


    public static java.net.HttpURLConnection zzb(String p7, int p8)
    {
        java.net.URL v1_1 = new java.net.URL(p7);
        String v0_2 = 0;
        while(true) {
            String v3_0 = (v0_2 + 1);
            if (v3_0 > 20) {
                throw new java.io.IOException("Too many redirects (20)");
            } else {
                String v0_0 = v1_1.openConnection();
                v0_0.setConnectTimeout(p8);
                v0_0.setReadTimeout(p8);
                if ((v0_0 instanceof java.net.HttpURLConnection)) {
                    String v0_1 = ((java.net.HttpURLConnection) v0_0);
                    v0_1.setInstanceFollowRedirects(0);
                    if ((v0_1.getResponseCode() / 100) != 3) {
                        return v0_1;
                    } else {
                        int v5_1 = v0_1.getHeaderField("Location");
                        if (v5_1 != 0) {
                            java.net.URL v4_5 = new java.net.URL(v1_1, v5_1);
                            java.net.URL v1_2 = v4_5.getProtocol();
                            if (v1_2 != null) {
                                if ((!v1_2.equals("http")) && (!v1_2.equals("https"))) {
                                    break;
                                }
                                java.net.URL v1_5;
                                java.net.URL v1_3 = String.valueOf(v5_1);
                                if (v1_3.length() == 0) {
                                    v1_5 = new String("Redirecting to ");
                                } else {
                                    v1_5 = "Redirecting to ".concat(v1_3);
                                }
                                com.google.android.gms.internal.zzafy.zzca(v1_5);
                                v0_1.disconnect();
                                v0_2 = v3_0;
                                v1_1 = 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_6;
        String v0_4 = String.valueOf(v1_2);
        if (v0_4.length() == 0) {
            v0_6 = new String("Unsupported scheme: ");
        } else {
            v0_6 = "Unsupported scheme: ".concat(v0_4);
        }
        throw new java.io.IOException(v0_6);
    }

Method com.google.android.gms.internal.zzakm.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.zzafd.zzb(p8, this.zzbwa.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.zzhs.zzz(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.zzbwa.getContext(), this.zzbwa.zzsh().zzcq, 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.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.zzcc == null) {
            v0_6 = v1_10;
        } else {
            v0_6 = this.zzcc.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.zza(v0_20, p8);
                break;
            case 2:
                v0_20.setRequestMethod("PUT");
                com.google.android.gms.internal.zzao.zza(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.zza(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.zza(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.tagmanager.zzfv.zzd() calling method java.net.URL.<init>()


    private static java.net.URL zzd(com.google.android.gms.tagmanager.zzbx p2)
    {
        try {
            int v0_1 = new java.net.URL(p2.zzbdt());
        } catch (int v0) {
            com.google.android.gms.tagmanager.zzdj.e("Error trying to parse the GTM url.");
            v0_1 = 0;
        }
        return v0_1;
    }

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


    private final java.net.URL zzb(com.google.android.gms.internal.zzaoi p5, String p6)
    {
        String v1_1;
        if (!p5.zzyp()) {
            int v0_7 = com.google.android.gms.internal.zzanv.zzyc();
            String v1_3 = com.google.android.gms.internal.zzanv.zzyd();
            v1_1 = new StringBuilder((((String.valueOf(v0_7).length() + 1) + String.valueOf(v1_3).length()) + String.valueOf(p6).length())).append(v0_7).append(v1_3).append("?").append(p6).toString();
        } else {
            int v0_6 = com.google.android.gms.internal.zzanv.zzyb();
            String v1_2 = com.google.android.gms.internal.zzanv.zzyd();
            v1_1 = new StringBuilder((((String.valueOf(v0_6).length() + 1) + String.valueOf(v1_2).length()) + String.valueOf(p6).length())).append(v0_6).append(v1_2).append("?").append(p6).toString();
        }
        try {
            int v0_14 = new java.net.URL(v1_1);
        } catch (int v0_15) {
            this.zze("Error trying to parse the hardcoded host url", v0_15);
            v0_14 = 0;
        }
        return v0_14;
    }

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


    private final java.net.URL zzd(com.google.android.gms.internal.zzaoi p4)
    {
        String v1_0;
        if (!p4.zzyp()) {
            int v0_3;
            String v1_3 = String.valueOf(com.google.android.gms.internal.zzanv.zzyc());
            int v0_1 = String.valueOf(com.google.android.gms.internal.zzanv.zzyd());
            if (v0_1.length() == 0) {
                v0_3 = new String(v1_3);
            } else {
                v0_3 = v1_3.concat(v0_1);
            }
            v1_0 = v0_3;
        } else {
            int v0_8;
            String v1_1 = String.valueOf(com.google.android.gms.internal.zzanv.zzyb());
            int v0_6 = String.valueOf(com.google.android.gms.internal.zzanv.zzyd());
            if (v0_6.length() == 0) {
                v0_8 = new String(v1_1);
            } else {
                v0_8 = v1_1.concat(v0_6);
            }
            v1_0 = v0_8;
        }
        try {
            int v0_10 = new java.net.URL(v1_0);
        } catch (int v0_11) {
            this.zze("Error trying to parse the hardcoded host url", v0_11);
            v0_10 = 0;
        }
        return v0_10;
    }

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


    private final void zzb(com.google.android.gms.internal.zzcar p11)
    {
        this.zzauk().zzuj();
        if (!android.text.TextUtils.isEmpty(p11.getGmpAppId())) {
            com.google.android.gms.internal.zzcce v0_12;
            com.google.android.gms.internal.zzcca v1_0 = p11.getGmpAppId();
            String v2_2 = p11.getAppInstanceId();
            int v4_3 = new android.net.Uri$Builder();
            android.support.v4.util.ArrayMap v5_2 = v4_3.scheme(((String) com.google.android.gms.internal.zzcbm.zziof.get())).encodedAuthority(((String) com.google.android.gms.internal.zzcbm.zziog.get()));
            com.google.android.gms.internal.zzcce 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", "11400");
            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.zzaul().zzayj().zzj("Fetching remote configuration", p11.getAppId());
                com.google.android.gms.internal.zzcce v0_21 = this.zzaui().zzjn(p11.getAppId());
                com.google.android.gms.internal.zzcca v1_9 = this.zzaui().zzjo(p11.getAppId());
            } catch (com.google.android.gms.internal.zzcce v0) {
                this.zzaul().zzayd().zze("Failed to parse config URL. Not fetching. appId", com.google.android.gms.internal.zzcbw.zzjf(p11.getAppId()), 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.zzitz = 1;
            com.google.android.gms.internal.zzcca v1_11 = this.zzaza();
            String v2_0 = p11.getAppId();
            com.google.android.gms.internal.zzcda v6_1 = new com.google.android.gms.internal.zzcda(this);
            v1_11.zzuj();
            v1_11.zzwk();
            com.google.android.gms.common.internal.zzbp.zzu(v8_1);
            com.google.android.gms.common.internal.zzbp.zzu(v6_1);
            v1_11.zzauk().zzh(new com.google.android.gms.internal.zzcce(v1_11, v2_0, v8_1, 0, v5_3, v6_1));
        } else {
            this.zzb(p11.getAppId(), 204, 0, 0, 0);
        }
        return;
    }

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


    public final void zzazg()
    {
        int v5_0 = 1;
        this.zzauk().zzuj();
        this.zzwk();
        this.zziub = 1;
        try {
            com.google.android.gms.internal.zzcax.zzawk();
            com.google.android.gms.internal.zzcce v0_13 = this.zzaum().zzayo();
        } catch (com.google.android.gms.internal.zzcce v0_71) {
            this.zziub = 0;
            this.zzazm();
            throw v0_71;
        }
        if (v0_13 != null) {
            if (!v0_13.booleanValue()) {
                if (this.zzity <= 0) {
                    com.google.android.gms.internal.zzcce v0_57;
                    this.zzauk().zzuj();
                    if (this.zzitt == null) {
                        v0_57 = 0;
                    } else {
                        v0_57 = 1;
                    }
                    if (v0_57 == null) {
                        if (this.zzaza().zzyx()) {
                            com.google.android.gms.internal.zzccr v8_3 = this.zzasc.currentTimeMillis();
                            this.zzg(0, (v8_3 - com.google.android.gms.internal.zzcax.zzawv()));
                            com.google.android.gms.internal.zzcce v0_87 = this.zzaum().zziqp.get();
                            if (v0_87 != 0) {
                                this.zzaul().zzayi().zzj("Uploading events. Elapsed time since last upload attempt (ms)", Long.valueOf(Math.abs((v8_3 - v0_87))));
                            }
                            Object v2_5 = this.zzauf().zzaxi();
                            if (android.text.TextUtils.isEmpty(v2_5)) {
                                this.zzitx = -1;
                                com.google.android.gms.internal.zzcce v0_96 = this.zzauf().zzba((v8_3 - com.google.android.gms.internal.zzcax.zzawv()));
                                if (!android.text.TextUtils.isEmpty(v0_96)) {
                                    com.google.android.gms.internal.zzcce v0_97 = this.zzauf().zziw(v0_96);
                                    if (v0_97 != null) {
                                        this.zzb(v0_97);
                                    }
                                }
                            } else {
                                if (this.zzitx == -1) {
                                    this.zzitx = this.zzauf().zzaxp();
                                }
                                com.google.android.gms.internal.zzcca v1_2 = this.zzauf().zzl(v2_5, this.zziss.zzb(v2_5, com.google.android.gms.internal.zzcbm.zzioh), Math.max(0, this.zziss.zzb(v2_5, com.google.android.gms.internal.zzcbm.zzioi)));
                                if (!v1_2.isEmpty()) {
                                    byte[] v4_1 = v1_2.iterator();
                                    while (v4_1.hasNext()) {
                                        com.google.android.gms.internal.zzcce v0_6 = ((com.google.android.gms.internal.zzcgk) ((android.util.Pair) v4_1.next()).first);
                                        if (!android.text.TextUtils.isEmpty(v0_6.zzizs)) {
                                            com.google.android.gms.internal.zzccz v6_1 = v0_6.zzizs;
                                        }
                                        com.google.android.gms.internal.zzccz 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.zzcce v0_12 = ((com.google.android.gms.internal.zzcgk) ((android.util.Pair) v1_2.get(v4_2)).first);
                                                if ((android.text.TextUtils.isEmpty(v0_12.zzizs)) || (v0_12.zzizs.equals(v6_1))) {
                                                    v4_2++;
                                                } else {
                                                    v6_4 = v1_2.subList(0, v4_2);
                                                }
                                            }
                                        }
                                        com.google.android.gms.internal.zzcca v1_3;
                                        boolean v10_4 = new com.google.android.gms.internal.zzcgj();
                                        com.google.android.gms.internal.zzcce v0_20 = new com.google.android.gms.internal.zzcgk[v6_4.size()];
                                        v10_4.zzizc = v0_20;
                                        java.util.ArrayList v11_1 = new java.util.ArrayList(v6_4.size());
                                        if ((!com.google.android.gms.internal.zzcax.zzaxh()) || (!this.zziss.zziu(v2_5))) {
                                            v1_3 = 0;
                                        } else {
                                            v1_3 = 1;
                                        }
                                        byte[] v4_3 = 0;
                                        while (v4_3 < v10_4.zzizc.length) {
                                            v10_4.zzizc[v4_3] = ((com.google.android.gms.internal.zzcgk) ((android.util.Pair) v6_4.get(v4_3)).first);
                                            v11_1.add(((Long) ((android.util.Pair) v6_4.get(v4_3)).second));
                                            v10_4.zzizc[v4_3].zzizr = Long.valueOf(com.google.android.gms.internal.zzcax.zzauv());
                                            v10_4.zzizc[v4_3].zzizh = Long.valueOf(v8_3);
                                            v10_4.zzizc[v4_3].zzizx = Boolean.valueOf(com.google.android.gms.internal.zzcax.zzawk());
                                            if (v1_3 == null) {
                                                v10_4.zzizc[v4_3].zzjaf = 0;
                                            }
                                            v4_3++;
                                        }
                                        com.google.android.gms.internal.zzcca v1_5;
                                        if (!this.zzaul().zzad(2)) {
                                            v1_5 = 0;
                                        } else {
                                            v1_5 = this.zzaug().zza(v10_4);
                                        }
                                        byte[] v4_4 = this.zzauh().zzb(v10_4);
                                        String v12_1 = com.google.android.gms.internal.zzcax.zzawu();
                                        try {
                                            java.net.URL v3_1 = new java.net.URL(v12_1);
                                        } catch (com.google.android.gms.internal.zzcce v0) {
                                            this.zzaul().zzayd().zze("Failed to parse upload URL. Not uploading. appId", com.google.android.gms.internal.zzcbw.zzjf(v2_5), v12_1);
                                        }
                                        if (v11_1.isEmpty()) {
                                            v5_0 = 0;
                                        }
                                        com.google.android.gms.common.internal.zzbp.zzbh(v5_0);
                                        if (this.zzitt == null) {
                                            this.zzitt = new java.util.ArrayList(v11_1);
                                        } else {
                                            this.zzaul().zzayd().log("Set uploading progress before finishing the previous upload");
                                        }
                                        this.zzaum().zziqq.set(v8_3);
                                        com.google.android.gms.internal.zzcce v0_43 = "?";
                                        if (v10_4.zzizc.length > 0) {
                                            v0_43 = v10_4.zzizc[0].zzci;
                                        }
                                        this.zzaul().zzayj().zzd("Uploading data. app, uncompressed size, data", v0_43, Integer.valueOf(v4_4.length), v1_5);
                                        this.zziua = 1;
                                        com.google.android.gms.internal.zzcca v1_6 = this.zzaza();
                                        com.google.android.gms.internal.zzccz v6_7 = new com.google.android.gms.internal.zzccz(this);
                                        v1_6.zzuj();
                                        v1_6.zzwk();
                                        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.zzauk().zzh(new com.google.android.gms.internal.zzcce(v1_6, v2_5, v3_1, v4_4, 0, v6_7));
                                    }
                                    v6_1 = 0;
                                }
                            }
                            this.zziub = 0;
                            this.zzazm();
                        } else {
                            this.zzaul().zzayj().log("Network not connected, ignoring upload request");
                            this.zzazi();
                            this.zziub = 0;
                            this.zzazm();
                        }
                    } else {
                        this.zzaul().zzayj().log("Uploading requested multiple times");
                        this.zziub = 0;
                        this.zzazm();
                    }
                } else {
                    this.zzazi();
                    this.zziub = 0;
                    this.zzazm();
                }
            } else {
                this.zzaul().zzayd().log("Upload called in the client side when service should be used");
                this.zziub = 0;
                this.zzazm();
            }
        } else {
            this.zzaul().zzayf().log("Upload data called on the client side before use of service was decided");
            this.zziub = 0;
            this.zzazm();
        }
        return;
    }

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


    public final java.io.InputStream zznb(String p4)
    {
        String v0_10 = ((java.net.HttpURLConnection) new java.net.URL(p4).openConnection());
        v0_10.setReadTimeout(20000);
        v0_10.setConnectTimeout(20000);
        this.zzkdu = v0_10;
        String v0_11 = this.zzkdu;
        java.io.IOException v1_1 = v0_11.getResponseCode();
        if (v1_1 != 200) {
            String v0_6 = new StringBuilder(25).append("Bad response: ").append(v1_1).toString();
            if (v1_1 != 404) {
                if (v1_1 != 503) {
                    throw new java.io.IOException(v0_6);
                } else {
                    throw new com.google.android.gms.internal.zzdcb(v0_6);
                }
            } else {
                throw new java.io.FileNotFoundException(v0_6);
            }
        } else {
            this.zzkdv = v0_11.getInputStream();
            return this.zzkdv;
        }
    }

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


    private static com.google.android.gms.internal.zzrl zzc(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.zzafy.zzb("Error constructing http request.", v0_3);
            v0_2 = 0;
        }
        java.util.ArrayList v5_1 = new java.util.ArrayList();
        com.google.android.gms.internal.zzrl 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.zzrk(v6_1.optString("key"), v6_1.optString("value")));
            }
            v2_1++;
        }
        return new com.google.android.gms.internal.zzrl(v3, v0_2, v5_1, v4);
    }

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


    public HttpRequest(CharSequence p4, String p5)
    {
        this.connection = 0;
        this.ignoreCloseExceptions = 1;
        this.uncompress = 0;
        this.bufferSize = 8192;
        try {
            this.url = new java.net.URL(p4.toString());
            this.requestMethod = p5;
            return;
        } catch (java.net.MalformedURLException v0) {
            throw new io.fabric.sdk.android.services.network.HttpRequest$HttpRequestException(v0);
        }
    }

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


    public static String encode(CharSequence p12)
    {
        try {
            java.net.URL v10_1 = new java.net.URL(p12.toString());
            String v2 = v10_1.getHost();
            int v11 = v10_1.getPort();
        } catch (java.net.URISyntaxException v6_0) {
            throw new io.fabric.sdk.android.services.network.HttpRequest$HttpRequestException(v6_0);
        }
        if (v11 != -1) {
            v2 = new StringBuilder().append(v2).append(58).append(Integer.toString(v11)).toString();
        }
        try {
            String v7 = new java.net.URI(v10_1.getProtocol(), v2, v10_1.getPath(), v10_1.getQuery(), 0).toASCIIString();
            int v9 = v7.indexOf(63);
        } catch (java.net.URISyntaxException v6_1) {
            java.io.IOException v8_1 = new java.io.IOException("Parsing URI failed");
            v8_1.initCause(v6_1);
            throw new io.fabric.sdk.android.services.network.HttpRequest$HttpRequestException(v8_1);
        }
        if ((v9 > 0) && ((v9 + 1) < v7.length())) {
            v7 = new StringBuilder().append(v7.substring(0, (v9 + 1))).append(v7.substring((v9 + 1)).replace("+", "%2B")).toString();
        }
        return v7;
    }