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 android.support.v7.app.MediaRouteControllerDialog$FetchArtTask.openInputStreamByScheme() calling method java.net.URL.<init>()


    private java.io.InputStream openInputStreamByScheme(android.net.Uri p6)
    {
        java.io.InputStream v2;
        String v1 = p6.getScheme().toLowerCase();
        if ((!"android.resource".equals(v1)) && ((!"content".equals(v1)) && (!"file".equals(v1)))) {
            java.net.URLConnection v0 = new java.net.URL(p6.toString()).openConnection();
            v0.setConnectTimeout(android.support.v7.app.MediaRouteControllerDialog.CONNECTION_TIMEOUT_MILLIS);
            v0.setReadTimeout(android.support.v7.app.MediaRouteControllerDialog.CONNECTION_TIMEOUT_MILLIS);
            v2 = v0.getInputStream();
        } else {
            v2 = this.this$0.mContext.getContentResolver().openInputStream(p6);
        }
        java.io.BufferedInputStream v4_11;
        if (v2 != null) {
            v4_11 = new java.io.BufferedInputStream(v2);
        } else {
            v4_11 = 0;
        }
        return v4_11;
    }

Method com.android.volley.toolbox.HurlStack.performRequest() calling method java.net.URL.<init>()


    public org.apache.http.HttpResponse performRequest(com.android.volley.Request p20, java.util.Map p21)
    {
        String v14 = p20.getUrl();
        java.util.HashMap v7_1 = new java.util.HashMap();
        v7_1.putAll(p20.getHeaders());
        v7_1.putAll(p21);
        if (this.mUrlRewriter != null) {
            String v13 = this.mUrlRewriter.rewriteUrl(v14);
            if (v13 != null) {
                v14 = v13;
            } else {
                String v15_5;
                String v16_0 = new java.io.IOException;
                String v15_3 = String.valueOf(v14);
                if (v15_3.length() == 0) {
                    v15_5 = new String("URL blocked by rewriter: ");
                } else {
                    v15_5 = "URL blocked by rewriter: ".concat(v15_3);
                }
                v16_0(v15_5);
                throw v16_0;
            }
        }
        java.net.HttpURLConnection v2 = this.openConnection(new java.net.URL(v14), p20);
        java.util.Iterator v6_0 = v7_1.keySet().iterator();
        while (v6_0.hasNext()) {
            String v5_1 = ((String) v6_0.next());
            v2.addRequestProperty(v5_1, ((String) v7_1.get(v5_1)));
        }
        com.android.volley.toolbox.HurlStack.setConnectionParametersForRequest(v2, p20);
        org.apache.http.ProtocolVersion v9_1 = new org.apache.http.ProtocolVersion("HTTP", 1, 1);
        if (v2.getResponseCode() != -1) {
            org.apache.http.message.BasicStatusLine v12_1 = new org.apache.http.message.BasicStatusLine(v9_1, v2.getResponseCode(), v2.getResponseMessage());
            org.apache.http.message.BasicHttpResponse v10_1 = new org.apache.http.message.BasicHttpResponse(v12_1);
            if (com.android.volley.toolbox.HurlStack.hasResponseBody(p20.getMethod(), v12_1.getStatusCode())) {
                v10_1.setEntity(com.android.volley.toolbox.HurlStack.entityFromConnection(v2));
            }
            java.util.Iterator v6_1 = v2.getHeaderFields().entrySet().iterator();
            while (v6_1.hasNext()) {
                java.util.Map$Entry v4_1 = ((java.util.Map$Entry) v6_1.next());
                if (v4_1.getKey() != null) {
                    v10_1.addHeader(new org.apache.http.message.BasicHeader(((String) v4_1.getKey()), ((String) ((java.util.List) v4_1.getValue()).get(0))));
                }
            }
            return v10_1;
        } else {
            throw new java.io.IOException("Could not retrieve response code from HttpUrlConnection.");
        }
    }

Method com.bumptech.glide.load.data.HttpUrlFetcher.loadDataWithRedirects() calling method java.net.URL.<init>()


    private java.io.InputStream loadDataWithRedirects(java.net.URL p10, int p11, java.net.URL p12, java.util.Map p13)
    {
        if (p11 < 5) {
            try {
                if ((p12 != null) && (p10.toURI().equals(p12.toURI()))) {
                    throw new java.io.IOException("In re-direct loop");
                }
            } catch (java.io.IOException v5) {
            }
            this.urlConnection = this.connectionFactory.build(p10);
            java.util.Iterator v1 = p13.entrySet().iterator();
            while (v1.hasNext()) {
                java.util.Map$Entry v0_1 = ((java.util.Map$Entry) v1.next());
                this.urlConnection.addRequestProperty(((String) v0_1.getKey()), ((String) v0_1.getValue()));
            }
            java.io.IOException v5_29;
            this.urlConnection.setConnectTimeout(2500);
            this.urlConnection.setReadTimeout(2500);
            this.urlConnection.setUseCaches(0);
            this.urlConnection.setDoInput(1);
            this.urlConnection.connect();
            if (!this.isCancelled) {
                int v4 = this.urlConnection.getResponseCode();
                if ((v4 / 100) != 2) {
                    if ((v4 / 100) != 3) {
                        if (v4 != -1) {
                            throw new java.io.IOException(new StringBuilder().append("Request failed ").append(v4).append(": ").append(this.urlConnection.getResponseMessage()).toString());
                        } else {
                            throw new java.io.IOException("Unable to retrieve response code from HttpUrlConnection.");
                        }
                    } else {
                        String v3 = this.urlConnection.getHeaderField("Location");
                        if (!android.text.TextUtils.isEmpty(v3)) {
                            v5_29 = this.loadDataWithRedirects(new java.net.URL(p10, v3), (p11 + 1), p10, p13);
                        } else {
                            throw new java.io.IOException("Received empty or null redirect url");
                        }
                    }
                } else {
                    v5_29 = this.getStreamForSuccessfulRequest(this.urlConnection);
                }
            } else {
                v5_29 = 0;
            }
            return v5_29;
        } else {
            throw new java.io.IOException("Too many (> 5) redirects!");
        }
    }

Method com.bumptech.glide.load.model.GlideUrl.getSafeUrl() calling method java.net.URL.<init>()


    private java.net.URL getSafeUrl()
    {
        if (this.safeUrl == null) {
            this.safeUrl = new java.net.URL(this.getSafeStringUrl());
        }
        return this.safeUrl;
    }

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


    public final void run()
    {
        new com.google.android.gms.ads.identifier.zzb();
        String v2_0 = this.zzsD;
        try {
            RuntimeException v0_5 = ((java.net.HttpURLConnection) new java.net.URL(v2_0).openConnection());
        } catch (RuntimeException v0_6) {
            String v3_6 = String.valueOf(v0_6.getMessage());
            v2_0 = new StringBuilder(((String.valueOf(v2_0).length() + 32) + String.valueOf(v3_6).length())).append("Error while parsing ping URL: ").append(v2_0).append(". ").append(v3_6).toString();
            android.util.Log.w("HttpUrlPinger", v2_0, v0_6);
            return;
        } catch (RuntimeException v0_3) {
            String v3_4 = String.valueOf(v0_3.getMessage());
            v2_0 = new StringBuilder(((String.valueOf(v2_0).length() + 27) + String.valueOf(v3_4).length())).append("Error while pinging URL: ").append(v2_0).append(". ").append(v3_4).toString();
            android.util.Log.w("HttpUrlPinger", v2_0, v0_3);
            return;
        } catch (RuntimeException v0_3) {
        }
        String v1_7 = v0_5.getResponseCode();
        if ((v1_7 < 200) || (v1_7 >= 300)) {
            android.util.Log.w("HttpUrlPinger", new StringBuilder((String.valueOf(v2_0).length() + 65)).append("Received non-success response code ").append(v1_7).append(" from pinging URL: ").append(v2_0).toString());
        }
        v0_5.disconnect();
        return;
    }

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


    public static com.google.android.gms.internal.zzaai zza(com.google.android.gms.internal.zzaae p13, android.content.Context p14, String p15, String p16, String p17, com.google.android.gms.internal.zzaca p18, com.google.android.gms.internal.zznb p19, com.google.android.gms.internal.zzabl p20)
    {
        try {
            int v4_6;
            if (p19 == null) {
                v4_6 = 0;
                com.google.android.gms.internal.zzaai v2_4;
                com.google.android.gms.internal.zzaby v8_1 = new com.google.android.gms.internal.zzaby(p13, p18.zzgI());
                com.google.android.gms.internal.zzaai 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.zzafr.zzaC(v2_4);
                int v3_27 = new java.net.URL(p16);
                long v10 = com.google.android.gms.ads.internal.zzbs.zzbF().elapsedRealtime();
                String v7_1 = v3_27;
                int v3_11 = 0;
                while(true) {
                    com.google.android.gms.internal.zzaai v2_13 = ((java.net.HttpURLConnection) v7_1.openConnection());
                    com.google.android.gms.ads.internal.zzbs.zzbz().zza(p14, p15, 0, v2_13);
                    if ((!android.text.TextUtils.isEmpty(p17)) && (p18.zzgK())) {
                        v2_13.addRequestProperty("x-afma-drt-cookie", p17);
                    }
                    int v5_12 = p13.zzSW;
                    if (!android.text.TextUtils.isEmpty(v5_12)) {
                        com.google.android.gms.internal.zzafr.zzaC("Sending webview cookie in ad request header.");
                        v2_13.addRequestProperty("Cookie", v5_12);
                    }
                    if ((p18 != null) && (!android.text.TextUtils.isEmpty(p18.zzgJ()))) {
                        v2_13.setDoOutput(1);
                        byte[] v9_0 = p18.zzgJ().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.zzn.closeQuietly(v4_7);
                                throw v3_28;
                            }
                            com.google.android.gms.common.util.zzn.closeQuietly(v5_19);
                        } catch (int v3_28) {
                            v4_7 = 0;
                        }
                    }
                    com.google.android.gms.internal.zzaai 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.zzabm.zza(v7_1.toString(), v12_1, 0, v9_1);
                        if ((v9_1 < 300) || (v9_1 >= 400)) {
                            break;
                        }
                        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.zzbs.zzbL().zzd(com.google.android.gms.internal.zzmo.zzGG)).intValue()) {
                                v8_1.zzh(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.zzafr.zzaT("Too many redirects.");
                                int v3_14 = new com.google.android.gms.internal.zzaai(0);
                                v2_13.disconnect();
                                v2_1 = v3_14;
                            }
                        } else {
                            com.google.android.gms.internal.zzafr.zzaT("No location header to follow redirect.");
                            int v3_17 = new com.google.android.gms.internal.zzaai(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.zzbs.zzbz();
                                String v6_4 = com.google.android.gms.internal.zzagz.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.zzabm.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.zzafr.zzaT(new StringBuilder(46).append("Received error HTTP response code: ").append(v9_1).toString());
                int v3_6 = new com.google.android.gms.internal.zzaai(0);
                v2_13.disconnect();
                v2_1 = v3_6;
            } else {
                v4_6 = p19.zzdS();
            }
        } catch (com.google.android.gms.internal.zzaai v2_5) {
            com.google.android.gms.internal.zzaai v2_7 = String.valueOf(v2_5.getMessage());
            if (v2_7.length() == 0) {
                com.google.android.gms.internal.zzaai 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.zzafr.zzaT(v2_9);
            v2_1 = new com.google.android.gms.internal.zzaai(2);
        }
        return v2_1;
    }

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


    public static com.google.android.gms.internal.zzaai zza(com.google.android.gms.internal.zzaae p13, android.content.Context p14, String p15, String p16, String p17, com.google.android.gms.internal.zzaca p18, com.google.android.gms.internal.zznb p19, com.google.android.gms.internal.zzabl p20)
    {
        try {
            int v4_6;
            if (p19 == null) {
                v4_6 = 0;
                com.google.android.gms.internal.zzaai v2_4;
                com.google.android.gms.internal.zzaby v8_1 = new com.google.android.gms.internal.zzaby(p13, p18.zzgI());
                com.google.android.gms.internal.zzaai 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.zzafr.zzaC(v2_4);
                int v3_27 = new java.net.URL(p16);
                long v10 = com.google.android.gms.ads.internal.zzbs.zzbF().elapsedRealtime();
                String v7_1 = v3_27;
                int v3_11 = 0;
                while(true) {
                    com.google.android.gms.internal.zzaai v2_13 = ((java.net.HttpURLConnection) v7_1.openConnection());
                    com.google.android.gms.ads.internal.zzbs.zzbz().zza(p14, p15, 0, v2_13);
                    if ((!android.text.TextUtils.isEmpty(p17)) && (p18.zzgK())) {
                        v2_13.addRequestProperty("x-afma-drt-cookie", p17);
                    }
                    int v5_12 = p13.zzSW;
                    if (!android.text.TextUtils.isEmpty(v5_12)) {
                        com.google.android.gms.internal.zzafr.zzaC("Sending webview cookie in ad request header.");
                        v2_13.addRequestProperty("Cookie", v5_12);
                    }
                    if ((p18 != null) && (!android.text.TextUtils.isEmpty(p18.zzgJ()))) {
                        v2_13.setDoOutput(1);
                        byte[] v9_0 = p18.zzgJ().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.zzn.closeQuietly(v4_7);
                                throw v3_28;
                            }
                            com.google.android.gms.common.util.zzn.closeQuietly(v5_19);
                        } catch (int v3_28) {
                            v4_7 = 0;
                        }
                    }
                    com.google.android.gms.internal.zzaai 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.zzabm.zza(v7_1.toString(), v12_1, 0, v9_1);
                    if ((v9_1 < 300) || (v9_1 >= 400)) {
                        com.google.android.gms.internal.zzafr.zzaT(new StringBuilder(46).append("Received error HTTP response code: ").append(v9_1).toString());
                        int v3_6 = new com.google.android.gms.internal.zzaai(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.zzbs.zzbL().zzd(com.google.android.gms.internal.zzmo.zzGG)).intValue()) {
                                v8_1.zzh(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.zzafr.zzaT("Too many redirects.");
                                int v3_14 = new com.google.android.gms.internal.zzaai(0);
                                v2_13.disconnect();
                                v2_1 = v3_14;
                            }
                        } else {
                            com.google.android.gms.internal.zzafr.zzaT("No location header to follow redirect.");
                            int v3_17 = new com.google.android.gms.internal.zzaai(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.zzbs.zzbz();
                        String v6_4 = com.google.android.gms.internal.zzagz.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.zzabm.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.zzdS();
            }
        } catch (com.google.android.gms.internal.zzaai v2_5) {
            com.google.android.gms.internal.zzaai v2_7 = String.valueOf(v2_5.getMessage());
            if (v2_7.length() == 0) {
                com.google.android.gms.internal.zzaai 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.zzafr.zzaT(v2_9);
            v2_1 = new com.google.android.gms.internal.zzaai(2);
        }
        return v2_1;
    }

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


    public final void zzaN(String p5)
    {
        try {
            java.net.HttpURLConnection v0_16;
            java.net.HttpURLConnection v0_11 = String.valueOf(p5);
        } catch (java.net.HttpURLConnection v0_3) {
            java.net.HttpURLConnection v0_5 = String.valueOf(v0_3.getMessage());
            com.google.android.gms.internal.zzajc.zzaT(new StringBuilder(((String.valueOf(p5).length() + 32) + String.valueOf(v0_5).length())).append("Error while parsing ping URL: ").append(p5).append(". ").append(v0_5).toString());
            return;
        } catch (java.net.HttpURLConnection v0_19) {
            java.net.HttpURLConnection v0_21 = String.valueOf(v0_19.getMessage());
            com.google.android.gms.internal.zzajc.zzaT(new StringBuilder(((String.valueOf(p5).length() + 27) + String.valueOf(v0_21).length())).append("Error while pinging URL: ").append(p5).append(". ").append(v0_21).toString());
            return;
        } catch (java.net.HttpURLConnection v0_12) {
            java.net.HttpURLConnection v0_14 = String.valueOf(v0_12.getMessage());
            com.google.android.gms.internal.zzajc.zzaT(new StringBuilder(((String.valueOf(p5).length() + 27) + String.valueOf(v0_14).length())).append("Error while pinging URL: ").append(p5).append(". ").append(v0_14).toString());
            return;
        }
        if (v0_11.length() == 0) {
            v0_16 = new String("Pinging URL: ");
        } else {
            v0_16 = "Pinging URL: ".concat(v0_11);
        }
        com.google.android.gms.internal.zzajc.zzaC(v0_16);
        java.net.HttpURLConnection v0_10 = ((java.net.HttpURLConnection) new java.net.URL(p5).openConnection());
        try {
            com.google.android.gms.internal.zzji.zzds();
            com.google.android.gms.internal.zzaiy.zza(1, v0_10, this.zzJP);
            String v1_13 = v0_10.getResponseCode();
        } catch (String v1_18) {
            v0_10.disconnect();
            throw v1_18;
        }
        if ((v1_13 < 200) || (v1_13 >= 300)) {
            com.google.android.gms.internal.zzajc.zzaT(new StringBuilder((String.valueOf(p5).length() + 65)).append("Received non-success response code ").append(v1_13).append(" from pinging URL: ").append(p5).toString());
        }
        v0_10.disconnect();
        return;
    }

Method com.google.android.gms.internal.zzajo.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.zzafr.zzaC(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.zzakb.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.zzaez.zzb(p8, this.zzJH.getContext());
        } catch (android.webkit.WebResourceResponse v0_10) {
            com.google.android.gms.ads.internal.zzbs.zzbD().zza(v0_10, "AdWebViewClient.shouldInterceptRequest");
            v0_4 = 0;
            return v0_4;
        }
        if (v0_8.equals(p8)) {
            android.webkit.WebResourceResponse v0_1 = com.google.android.gms.internal.zzia.zzB(p8);
            if (v0_1 != null) {
                java.io.InputStream v1_1 = com.google.android.gms.ads.internal.zzbs.zzbE().zza(v0_1);
                if ((v1_1 != null) && (v1_1.zzcY())) {
                    v0_4 = new android.webkit.WebResourceResponse("", "", v1_1.zzcZ());
                    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.zzbs.zzbz().zza(this.zzJH.getContext(), this.zzJH.zziz().zzaP, 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.zzre.zzc() calling method java.net.URL.<init>()


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

Method com.zopim.android.sdk.model.Attachment.getThumbnail() calling method java.net.URL.<init>()


    public java.net.URL getThumbnail()
    {
        int v1_1;
        if (this.thumbnail == null) {
            v1_1 = 0;
        } else {
            try {
                v1_1 = new java.net.URL(this.thumbnail);
            } catch (java.net.MalformedURLException v0) {
                Object[] v4_1 = new Object[0];
                com.zendesk.logger.Logger.w("Attachment", "Can not retrieve url. ", v0, v4_1);
                v1_1 = 0;
            }
        }
        return v1_1;
    }

Method com.zopim.android.sdk.model.Attachment.getUrl() calling method java.net.URL.<init>()


    public java.net.URL getUrl()
    {
        int v1_1;
        if (this.url == null) {
            v1_1 = 0;
        } else {
            try {
                v1_1 = new java.net.URL(this.url);
            } catch (java.net.MalformedURLException v0) {
                Object[] v4_1 = new Object[0];
                com.zendesk.logger.Logger.w("Attachment", "Can not retrieve url. ", v0, v4_1);
                v1_1 = 0;
            }
        }
        return v1_1;
    }

Method com.zopim.android.sdk.model.ChatLog.getUploadUrl() calling method java.net.URL.<init>()


    public java.net.URL getUploadUrl()
    {
        int v1_1;
        if (this.uploadUrl == null) {
            v1_1 = 0;
        } else {
            try {
                v1_1 = new java.net.URL(this.uploadUrl);
            } catch (java.net.MalformedURLException v0) {
                Object[] v4_1 = new Object[0];
                com.zendesk.logger.Logger.w("ChatLog", "Can not retrieve url. ", v0, v4_1);
                v1_1 = 0;
            }
        }
        return v1_1;
    }

Method 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) {
            throw new RuntimeException(v0);
        }
    }

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


    public final java.io.InputStream zzfU(String p4)
    {
        String v0_10 = ((java.net.HttpURLConnection) new java.net.URL(p4).openConnection());
        v0_10.setReadTimeout(20000);
        v0_10.setConnectTimeout(20000);
        this.zzbKR = v0_10;
        String v0_11 = this.zzbKR;
        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.da(v0_6);
                }
            } else {
                throw new java.io.FileNotFoundException(v0_6);
            }
        } else {
            this.zzbKS = v0_11.getInputStream();
            return this.zzbKS;
        }
    }

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


    public final java.io.InputStream zzfU(String p4)
    {
        String v0_10 = ((java.net.HttpURLConnection) new java.net.URL(p4).openConnection());
        v0_10.setReadTimeout(20000);
        v0_10.setConnectTimeout(20000);
        this.zzbKR = v0_10;
        String v0_11 = this.zzbKR;
        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.et(v0_6);
                }
            } else {
                throw new java.io.FileNotFoundException(v0_6);
            }
        } else {
            this.zzbKS = v0_11.getInputStream();
            return this.zzbKS;
        }
    }

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.zzaB == null) {
            v0_6 = v1_10;
        } else {
            v0_6 = this.zzaB.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.internal.zzaoe.zzb() calling method java.net.URL.<init>()


    private final java.net.URL zzb(com.google.android.gms.internal.zzanx p5, String p6)
    {
        String v1_2;
        if (!p5.zzlI()) {
            int v0_9 = String.valueOf(com.google.android.gms.internal.zzank.zzlv());
            String v1_0 = String.valueOf(com.google.android.gms.internal.zzank.zzlw());
            v1_2 = new StringBuilder((((String.valueOf(v0_9).length() + 1) + String.valueOf(v1_0).length()) + String.valueOf(p6).length())).append(v0_9).append(v1_0).append("?").append(p6).toString();
        } else {
            int v0_8 = String.valueOf(com.google.android.gms.internal.zzank.zzlu());
            String v1_4 = String.valueOf(com.google.android.gms.internal.zzank.zzlw());
            v1_2 = new StringBuilder((((String.valueOf(v0_8).length() + 1) + String.valueOf(v1_4).length()) + String.valueOf(p6).length())).append(v0_8).append(v1_4).append("?").append(p6).toString();
        }
        try {
            int v0_16 = new java.net.URL(v1_2);
        } catch (int v0_17) {
            this.zze("Error trying to parse the hardcoded host url", v0_17);
            v0_16 = 0;
        }
        return v0_16;
    }

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


    private final java.net.URL zzd(com.google.android.gms.internal.zzanx p4)
    {
        String v1_0;
        if (!p4.zzlI()) {
            int v0_3;
            String v1_3 = String.valueOf(com.google.android.gms.internal.zzank.zzlv());
            int v0_1 = String.valueOf(com.google.android.gms.internal.zzank.zzlw());
            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.zzank.zzlu());
            int v0_6 = String.valueOf(com.google.android.gms.internal.zzank.zzlw());
            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.zzaoe.zzlR() calling method java.net.URL.<init>()


    private final java.net.URL zzlR()
    {
        int v0_2;
        String v1_3 = String.valueOf(com.google.android.gms.internal.zzank.zzlu());
        int v0_8 = String.valueOf(((String) com.google.android.gms.internal.zzans.zzahx.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.internal.zzcgl.zzb() calling method java.net.URL.<init>()


    private final void zzb(com.google.android.gms.internal.zzceg p8)
    {
        android.support.v4.util.ArrayMap v3_0 = 0;
        this.zzwE().zzjC();
        if (!android.text.TextUtils.isEmpty(p8.getGmpAppId())) {
            String v0_10;
            com.google.android.gms.internal.zzcfn v1_0 = p8.getGmpAppId();
            String v2_1 = p8.getAppInstanceId();
            String v4_2 = new android.net.Uri$Builder();
            com.google.android.gms.internal.zzcgp v5_4 = v4_2.scheme(((String) com.google.android.gms.internal.zzcfb.zzbpZ.get())).encodedAuthority(((String) com.google.android.gms.internal.zzcfb.zzbqa.get()));
            String v0_8 = String.valueOf(v1_0);
            if (v0_8.length() == 0) {
                v0_10 = new String("config/app/");
            } else {
                v0_10 = "config/app/".concat(v0_8);
            }
            v5_4.path(v0_10).appendQueryParameter("app_instance_id", v2_1).appendQueryParameter("platform", "android").appendQueryParameter("gmp_version", "11020");
            String v0_16 = v4_2.build().toString();
            try {
                com.google.android.gms.internal.zzcfn v1_7 = new java.net.URL(v0_16);
                this.zzwF().zzyD().zzj("Fetching remote configuration", p8.zzhl());
                String v2_7 = this.zzwC().zzeh(p8.zzhl());
                String v4_6 = this.zzwC().zzei(p8.zzhl());
            } catch (com.google.android.gms.internal.zzcfn v1) {
                this.zzwF().zzyx().zze("Failed to parse config URL. Not fetching. appId", com.google.android.gms.internal.zzcfl.zzdZ(p8.zzhl()), v0_16);
            }
            if ((v2_7 != null) && (!android.text.TextUtils.isEmpty(v4_6))) {
                v3_0 = new android.support.v4.util.ArrayMap();
                v3_0.put("If-Modified-Since", v4_6);
            }
            this.zzbsU = 1;
            this.zzyU().zza(p8.zzhl(), v1_7, v3_0, new com.google.android.gms.internal.zzcgp(this));
        } else {
            this.zzb(p8.zzhl(), 204, 0, 0, 0);
        }
        return;
    }

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


    public final void zzza()
    {
        int v4_0 = 1;
        this.zzwE().zzjC();
        this.zzkD();
        this.zzbsW = 1;
        try {
            com.google.android.gms.internal.zzcem.zzxE();
            com.google.android.gms.internal.zzcfp v0_13 = this.zzwG().zzyI();
        } catch (com.google.android.gms.internal.zzcfp v0_70) {
            this.zzbsW = 0;
            this.zzzg();
            throw v0_70;
        }
        if (v0_13 != null) {
            if (!v0_13.booleanValue()) {
                if (this.zzbsT <= 0) {
                    com.google.android.gms.internal.zzcfp v0_62;
                    this.zzwE().zzjC();
                    if (this.zzbsO == null) {
                        v0_62 = 0;
                    } else {
                        v0_62 = 1;
                    }
                    if (v0_62 == null) {
                        if (this.zzyU().zzlQ()) {
                            String v8_1 = this.zzvw.currentTimeMillis();
                            this.zzg(0, (v8_1 - com.google.android.gms.internal.zzcem.zzxP()));
                            com.google.android.gms.internal.zzcfp v0_86 = this.zzwG().zzbrk.get();
                            if (v0_86 != 0) {
                                this.zzwF().zzyC().zzj("Uploading events. Elapsed time since last upload attempt (ms)", Long.valueOf(Math.abs((v8_1 - v0_86))));
                            }
                            Object v1_5 = this.zzwz().zzyc();
                            if (android.text.TextUtils.isEmpty(v1_5)) {
                                this.zzbsS = -1;
                                com.google.android.gms.internal.zzcfp v0_95 = this.zzwz().zzaa((v8_1 - com.google.android.gms.internal.zzcem.zzxP()));
                                if (!android.text.TextUtils.isEmpty(v0_95)) {
                                    com.google.android.gms.internal.zzcfp v0_96 = this.zzwz().zzdQ(v0_95);
                                    if (v0_96 != null) {
                                        this.zzb(v0_96);
                                    }
                                }
                            } else {
                                if (this.zzbsS == -1) {
                                    this.zzbsS = this.zzwz().zzyj();
                                }
                                String v2_2 = this.zzwz().zzl(v1_5, this.zzbsn.zzb(v1_5, com.google.android.gms.internal.zzcfb.zzbqb), Math.max(0, this.zzbsn.zzb(v1_5, com.google.android.gms.internal.zzcfb.zzbqc)));
                                if (!v2_2.isEmpty()) {
                                    com.google.android.gms.internal.zzcgo v5_1 = v2_2.iterator();
                                    while (v5_1.hasNext()) {
                                        com.google.android.gms.internal.zzcfp v0_6 = ((com.google.android.gms.internal.zzcjz) ((android.util.Pair) v5_1.next()).first);
                                        if (!android.text.TextUtils.isEmpty(v0_6.zzbvR)) {
                                            String v7_1 = v0_6.zzbvR;
                                        }
                                        String v7_4;
                                        if (v7_1 == null) {
                                            v7_4 = v2_2;
                                        } else {
                                            com.google.android.gms.internal.zzcgo v5_2 = 0;
                                            while (v5_2 < v2_2.size()) {
                                                com.google.android.gms.internal.zzcfp v0_12 = ((com.google.android.gms.internal.zzcjz) ((android.util.Pair) v2_2.get(v5_2)).first);
                                                if ((android.text.TextUtils.isEmpty(v0_12.zzbvR)) || (v0_12.zzbvR.equals(v7_1))) {
                                                    v5_2++;
                                                } else {
                                                    v7_4 = v2_2.subList(0, v5_2);
                                                }
                                            }
                                        }
                                        String v2_3;
                                        boolean v10_4 = new com.google.android.gms.internal.zzcjy();
                                        com.google.android.gms.internal.zzcfp v0_20 = new com.google.android.gms.internal.zzcjz[v7_4.size()];
                                        v10_4.zzbvB = v0_20;
                                        java.util.ArrayList v11_1 = new java.util.ArrayList(v7_4.size());
                                        if ((!com.google.android.gms.internal.zzcem.zzyb()) || (!this.zzbsn.zzdO(v1_5))) {
                                            v2_3 = 0;
                                        } else {
                                            v2_3 = 1;
                                        }
                                        com.google.android.gms.internal.zzcgo v5_3 = 0;
                                        while (v5_3 < v10_4.zzbvB.length) {
                                            v10_4.zzbvB[v5_3] = ((com.google.android.gms.internal.zzcjz) ((android.util.Pair) v7_4.get(v5_3)).first);
                                            v11_1.add(((Long) ((android.util.Pair) v7_4.get(v5_3)).second));
                                            v10_4.zzbvB[v5_3].zzbvQ = Long.valueOf(com.google.android.gms.internal.zzcem.zzwP());
                                            v10_4.zzbvB[v5_3].zzbvG = Long.valueOf(v8_1);
                                            v10_4.zzbvB[v5_3].zzbvW = Boolean.valueOf(com.google.android.gms.internal.zzcem.zzxE());
                                            if (v2_3 == null) {
                                                v10_4.zzbvB[v5_3].zzbwd = 0;
                                            }
                                            v5_3++;
                                        }
                                        com.google.android.gms.internal.zzcgo v5_4;
                                        if (!this.zzwF().zzz(2)) {
                                            v5_4 = 0;
                                        } else {
                                            v5_4 = this.zzwA().zza(v10_4);
                                        }
                                        byte[] v3_0 = this.zzwB().zzb(v10_4);
                                        String v7_5 = com.google.android.gms.internal.zzcem.zzxO();
                                        try {
                                            String v2_6 = new java.net.URL(v7_5);
                                        } catch (com.google.android.gms.internal.zzcfp v0) {
                                            this.zzwF().zzyx().zze("Failed to parse upload URL. Not uploading. appId", com.google.android.gms.internal.zzcfl.zzdZ(v1_5), v7_5);
                                        }
                                        if (v11_1.isEmpty()) {
                                            v4_0 = 0;
                                        }
                                        com.google.android.gms.common.internal.zzbo.zzaf(v4_0);
                                        if (this.zzbsO == null) {
                                            this.zzbsO = new java.util.ArrayList(v11_1);
                                        } else {
                                            this.zzwF().zzyx().log("Set uploading progress before finishing the previous upload");
                                        }
                                        this.zzwG().zzbrl.set(v8_1);
                                        com.google.android.gms.internal.zzcfp v0_43 = "?";
                                        if (v10_4.zzbvB.length > 0) {
                                            v0_43 = v10_4.zzbvB[0].zzaH;
                                        }
                                        this.zzwF().zzyD().zzd("Uploading data. app, uncompressed size, data", v0_43, Integer.valueOf(v3_0.length), v5_4);
                                        this.zzbsV = 1;
                                        this.zzyU().zza(v1_5, v2_6, v3_0, 0, new com.google.android.gms.internal.zzcgo(this));
                                    }
                                    v7_1 = 0;
                                }
                            }
                            this.zzbsW = 0;
                            this.zzzg();
                        } else {
                            this.zzwF().zzyD().log("Network not connected, ignoring upload request");
                            this.zzzc();
                            this.zzbsW = 0;
                            this.zzzg();
                        }
                    } else {
                        this.zzwF().zzyD().log("Uploading requested multiple times");
                        this.zzbsW = 0;
                        this.zzzg();
                    }
                } else {
                    this.zzzc();
                    this.zzbsW = 0;
                    this.zzzg();
                }
            } else {
                this.zzwF().zzyx().log("Upload called in the client side when service should be used");
                this.zzbsW = 0;
                this.zzzg();
            }
        } else {
            this.zzwF().zzyz().log("Upload data called on the client side before use of service was decided");
            this.zzbsW = 0;
            this.zzzg();
        }
        return;
    }

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


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

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.zzBo());
        } 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.gson.internal.bind.TypeAdapters$21.read() calling method java.net.URL.<init>()


    public java.net.URL read(com.google.gson.stream.JsonReader p5)
    {
        java.net.URL v1_0 = 0;
        if (p5.peek() != com.google.gson.stream.JsonToken.NULL) {
            String v0 = p5.nextString();
            if (!"null".equals(v0)) {
                v1_0 = new java.net.URL(v0);
            }
        } else {
            p5.nextNull();
        }
        return v1_0;
    }

Method com.squareup.picasso.UrlConnectionDownloader.openConnection() calling method java.net.URL.<init>()


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

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;
    }

Method io.socket.client.Url.extractId() calling method java.net.URL.<init>()


    public static String extractId(String p1)
    {
        return io.socket.client.Url.extractId(new java.net.URL(p1));
    }

Method io.socket.client.Url.parse() calling method java.net.URL.<init>()


    public static java.net.URL parse(java.net.URI p12)
    {
        String v4 = p12.getScheme();
        if ((v4 == null) || (!v4.matches("^https?|wss?$"))) {
            v4 = "https";
        }
        int v3 = p12.getPort();
        if (v3 == -1) {
            if (!io.socket.client.Url.PATTERN_HTTP.matcher(v4).matches()) {
                if (io.socket.client.Url.PATTERN_HTTPS.matcher(v4).matches()) {
                    v3 = 443;
                }
            } else {
                v3 = 80;
            }
        }
        String v2 = p12.getRawPath();
        if ((v2 == null) || (v2.length() == 0)) {
            v2 = "/";
        }
        String v6 = p12.getRawUserInfo();
        String v5 = p12.getRawQuery();
        String v1 = p12.getRawFragment();
        try {
            String v7_17;
            StringBuilder v9_1 = new StringBuilder().append(v4).append("://");
        } catch (java.net.MalformedURLException v0) {
            throw new RuntimeException(v0);
        }
        if (v6 == null) {
            v7_17 = "";
        } else {
            v7_17 = new StringBuilder().append(v6).append("@").toString();
        }
        String v7_24;
        StringBuilder v9_3 = v9_1.append(v7_17).append(p12.getHost());
        if (v3 == -1) {
            v7_24 = "";
        } else {
            v7_24 = new StringBuilder().append(":").append(v3).toString();
        }
        String v7_30;
        StringBuilder v9_4 = v9_3.append(v7_24).append(v2);
        if (v5 == null) {
            v7_30 = "";
        } else {
            v7_30 = new StringBuilder().append("?").append(v5).toString();
        }
        String v7_1;
        StringBuilder v9_5 = v9_4.append(v7_30);
        if (v1 == null) {
            v7_1 = "";
        } else {
            v7_1 = new StringBuilder().append("#").append(v1).toString();
        }
        return new java.net.URL(v9_5.append(v7_1).toString());
    }

Method javax.mail.URLName.getURL() calling method java.net.URL.<init>()


    public java.net.URL getURL()
    {
        return new java.net.URL(this.getProtocol(), this.getHost(), this.getPort(), this.getFile());
    }

Method org.apache.harmony.awt.datatransfer.DataProxy.getURL() calling method java.net.URL.<init>()


    private Object getURL(java.awt.datatransfer.DataFlavor p5)
    {
        if (this.data.isNativeFormatAvailable("application/x-java-url")) {
            String v0 = this.data.getURL();
            if (v0 != null) {
                Object v1_0 = new java.net.URL(v0);
                if (!p5.getRepresentationClass().isAssignableFrom(java.net.URL)) {
                    if (!p5.isFlavorTextType()) {
                        throw new java.awt.datatransfer.UnsupportedFlavorException(p5);
                    } else {
                        v1_0 = this.getTextRepresentation(v1_0.toString(), p5);
                    }
                }
                return v1_0;
            } else {
                throw new java.io.IOException(org.apache.harmony.awt.internal.nls.Messages.getString("awt.4F"));
            }
        } else {
            throw new java.awt.datatransfer.UnsupportedFlavorException(p5);
        }
    }

Method org.apache.harmony.awt.datatransfer.DataSource.getURL() calling method java.net.URL.<init>()


    public String getURL()
    {
        try {
            int v1_1 = ((java.net.URL) this.contents.getTransferData(org.apache.harmony.awt.datatransfer.DataSource.urlFlavor)).toString();
        } catch (int v1) {
            try {
                v1_1 = ((java.net.URL) this.contents.getTransferData(org.apache.harmony.awt.datatransfer.DataSource.uriFlavor)).toString();
            } catch (int v1) {
                try {
                    v1_1 = new java.net.URL(this.getText()).toString();
                } catch (int v1) {
                    v1_1 = 0;
                }
            }
        }
        return v1_1;
    }