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 org.ksoap2.transport.ServiceConnectionSE.<init>() calling method java.net.URL.<init>()


    public ServiceConnectionSE(java.net.Proxy p4, String p5, int p6)
    {
        java.net.HttpURLConnection v0_1;
        if (p4 != null) {
            v0_1 = ((java.net.HttpURLConnection) new java.net.URL(p5).openConnection(p4));
        } else {
            v0_1 = ((java.net.HttpURLConnection) new java.net.URL(p5).openConnection());
        }
        this.connection = v0_1;
        this.connection.setUseCaches(0);
        this.connection.setDoOutput(1);
        this.connection.setDoInput(1);
        this.connection.setConnectTimeout(p6);
        this.connection.setReadTimeout(p6);
        return;
    }

Method org.ksoap2.transport.OkHttpServiceConnectionSE.<init>() calling method java.net.URL.<init>()


    public OkHttpServiceConnectionSE(java.net.Proxy p6, String p7, int p8)
    {
        this.client = new okhttp3.OkHttpClient$Builder().connectTimeout(((long) p8), java.util.concurrent.TimeUnit.MILLISECONDS).readTimeout(((long) p8), java.util.concurrent.TimeUnit.MILLISECONDS).build();
        this.connection = new okhttp3.internal.huc.HttpURLConnectionImpl(new java.net.URL(p7), this.client);
        this.connection.setUseCaches(0);
        this.connection.setDoOutput(1);
        this.connection.setDoInput(1);
        this.connection.setConnectTimeout(p8);
        this.connection.setReadTimeout(p8);
        return;
    }

Method org.ksoap2.transport.HttpsServiceConnectionSE.<init>() calling method java.net.URL.<init>()


    public HttpsServiceConnectionSE(java.net.Proxy p3, String p4, int p5, String p6, int p7)
    {
        if (p3 != null) {
            this.connection = ((javax.net.ssl.HttpsURLConnection) new java.net.URL("https", p4, p5, p6).openConnection(p3));
        } else {
            this.connection = ((javax.net.ssl.HttpsURLConnection) new java.net.URL("https", p4, p5, p6).openConnection());
        }
        this.updateConnectionParameters(p7);
        return;
    }

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.google.android.gms.tagmanager.zzde.zzd() calling method java.net.URL.<init>()


    java.net.URL zzd(com.google.android.gms.tagmanager.zzar p3)
    {
        try {
            int v0_1 = new java.net.URL(p3.zzcbt());
        } catch (int v0) {
            com.google.android.gms.tagmanager.zzbn.e("Error trying to parse the GTM url.");
            v0_1 = 0;
        }
        return v0_1;
    }

Method com.google.android.gms.measurement.internal.zzx.zzbuc() calling method java.net.URL.<init>()


    public void zzbuc()
    {
        com.google.android.gms.measurement.internal.zzx$2 v5_0 = 0;
        byte[] v3_0 = 0;
        this.zzwu();
        this.zzzg();
        if (this.zzbsf().zzabc()) {
            if (!this.zzbub()) {
                if (this.zzbts().zzadj()) {
                    Integer v8_2 = this.zzyw().currentTimeMillis();
                    this.zzbl((v8_2 - this.zzbsf().zzbrl()));
                    com.google.android.gms.measurement.internal.zzq v0_65 = this.zzbse().ajY.get();
                    if (v0_65 != 0) {
                        this.zzbsd().zzbtb().zzj("Uploading events. Elapsed time since last upload attempt (ms)", Long.valueOf(Math.abs((v8_2 - v0_65))));
                    }
                    String v1_9 = this.zzbry().zzbsg();
                    if (android.text.TextUtils.isEmpty(v1_9)) {
                        com.google.android.gms.measurement.internal.zzq v0_73 = this.zzbry().zzbi((v8_2 - this.zzbsf().zzbrl()));
                        if (!android.text.TextUtils.isEmpty(v0_73)) {
                            String v1_13 = this.zzbry().zzln(v0_73);
                            if (v1_13 != null) {
                                java.net.URL v2_16 = this.zzbsf().zzap(v1_13.zzbps(), v1_13.zzawo());
                                try {
                                    byte[] v3_4 = new java.net.URL(v2_16);
                                    this.zzbsd().zzbtc().zzj("Fetching remote configuration", v1_13.zzsh());
                                    int v4_0 = this.zzbsa().zzmb(v1_13.zzsh());
                                    String v1_1 = this.zzbsa().zzmc(v1_13.zzsh());
                                } catch (com.google.android.gms.measurement.internal.zzq v0) {
                                    this.zzbsd().zzbsv().zzj("Failed to parse config URL. Not fetching", v2_16);
                                }
                                if ((v4_0 != 0) && (!android.text.TextUtils.isEmpty(v1_1))) {
                                    v5_0 = new android.support.v4.util.ArrayMap();
                                    v5_0.put("If-Modified-Since", v1_1);
                                }
                                this.zzbts().zza(v0_73, v3_4, v5_0, new com.google.android.gms.measurement.internal.zzx$3(this));
                            }
                        }
                    } else {
                        int v4_6 = this.zzbry().zzn(v1_9, this.zzbsf().zzlj(v1_9), this.zzbsf().zzlk(v1_9));
                        if (!v4_6.isEmpty()) {
                            java.net.URL v2_2 = v4_6.iterator();
                            while (v2_2.hasNext()) {
                                com.google.android.gms.measurement.internal.zzq v0_12 = ((com.google.android.gms.internal.zzuh$zze) ((android.util.Pair) v2_2.next()).first);
                                if (!android.text.TextUtils.isEmpty(v0_12.anI)) {
                                    String v6_1 = v0_12.anI;
                                }
                                java.net.URL v2_4;
                                if (v6_1 == null) {
                                    v2_4 = v4_6;
                                } else {
                                    java.net.URL v2_3 = 0;
                                    while (v2_3 < v4_6.size()) {
                                        com.google.android.gms.measurement.internal.zzq v0_18 = ((com.google.android.gms.internal.zzuh$zze) ((android.util.Pair) v4_6.get(v2_3)).first);
                                        if ((android.text.TextUtils.isEmpty(v0_18.anI)) || (v0_18.anI.equals(v6_1))) {
                                            v2_3++;
                                        } else {
                                            v2_4 = v4_6.subList(0, v2_3);
                                        }
                                    }
                                }
                                String v6_5 = new com.google.android.gms.internal.zzuh$zzd();
                                com.google.android.gms.measurement.internal.zzq v0_24 = new com.google.android.gms.internal.zzuh$zze[v2_4.size()];
                                v6_5.ans = v0_24;
                                int v4_8 = new java.util.ArrayList(v2_4.size());
                                while (v3_0 < v6_5.ans.length) {
                                    v6_5.ans[v3_0] = ((com.google.android.gms.internal.zzuh$zze) ((android.util.Pair) v2_4.get(v3_0)).first);
                                    v4_8.add(((Long) ((android.util.Pair) v2_4.get(v3_0)).second));
                                    v6_5.ans[v3_0].anH = Long.valueOf(this.zzbsf().zzbpz());
                                    v6_5.ans[v3_0].anx = Long.valueOf(v8_2);
                                    v6_5.ans[v3_0].anN = Boolean.valueOf(this.zzbsf().zzabc());
                                    v3_0++;
                                }
                                com.google.android.gms.measurement.internal.zzq v0_30;
                                if (!this.zzbsd().zzaz(2)) {
                                    v0_30 = 0;
                                } else {
                                    v0_30 = com.google.android.gms.measurement.internal.zzal.zzb(v6_5);
                                }
                                byte[] v3_1 = this.zzbrz().zza(v6_5);
                                String v7_2 = this.zzbsf().zzbrk();
                                try {
                                    java.net.URL v2_9 = new java.net.URL(v7_2);
                                    this.zzad(v4_8);
                                    this.zzbse().ajZ.set(v8_2);
                                    int v4_11 = "?";
                                } catch (com.google.android.gms.measurement.internal.zzq v0) {
                                    this.zzbsd().zzbsv().zzj("Failed to parse upload URL. Not uploading", v7_2);
                                }
                                if (v6_5.ans.length > 0) {
                                    v4_11 = v6_5.ans[0].zzck;
                                }
                                this.zzbsd().zzbtc().zzd("Uploading data. app, uncompressed size, data", v4_11, Integer.valueOf(v3_1.length), v0_30);
                                this.zzbts().zza(v1_9, v2_9, v3_1, 0, new com.google.android.gms.measurement.internal.zzx$2(this));
                            }
                            v6_1 = 0;
                        }
                    }
                } else {
                    this.zzbsd().zzbsx().log("Network not connected, ignoring upload request");
                    this.zzbue();
                }
            } else {
                this.zzbsd().zzbsx().log("Uploading requested multiple times");
            }
        } else {
            com.google.android.gms.measurement.internal.zzq v0_2 = this.zzbse().zzbtj();
            if (v0_2 != null) {
                if (!v0_2.booleanValue()) {
                } else {
                    this.zzbsd().zzbsv().log("Upload called in the client side when service should be used");
                }
            } else {
                this.zzbsd().zzbsx().log("Upload data called on the client side before use of service was decided");
            }
        }
        return;
    }

Method org.ksoap2.transport.Transport.getPort() calling method java.net.URL.<init>()


    public int getPort()
    {
        return new java.net.URL(this.url).getPort();
    }

Method org.ksoap2.transport.Transport.getPath() calling method java.net.URL.<init>()


    public String getPath()
    {
        return new java.net.URL(this.url).getPath();
    }

Method org.ksoap2.transport.Transport.getHost() calling method java.net.URL.<init>()


    public String getHost()
    {
        return new java.net.URL(this.url).getHost();
    }

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.zzz.zza() calling method java.net.URL.<init>()


    public org.apache.http.HttpResponse zza(com.google.android.gms.internal.zzk p7, java.util.Map p8)
    {
        String v0_0;
        String v1_2 = p7.getUrl();
        org.apache.http.message.BasicHttpResponse v2_3 = new java.util.HashMap();
        v2_3.putAll(p7.getHeaders());
        v2_3.putAll(p8);
        if (this.zzce == null) {
            v0_0 = v1_2;
        } else {
            v0_0 = this.zzce.zzh(v1_2);
            if (v0_0 == null) {
                String v0_24;
                String v0_21 = String.valueOf(v1_2);
                if (v0_21.length() == 0) {
                    v0_24 = new String("URL blocked by rewriter: ");
                } else {
                    v0_24 = "URL blocked by rewriter: ".concat(v0_21);
                }
                throw new java.io.IOException(v0_24);
            }
        }
        java.util.Iterator v3_0 = this.zza(new java.net.URL(v0_0), p7);
        org.apache.http.message.BasicHeader v4_0 = v2_3.keySet().iterator();
        while (v4_0.hasNext()) {
            String v0_20 = ((String) v4_0.next());
            v3_0.addRequestProperty(v0_20, ((String) v2_3.get(v0_20)));
        }
        com.google.android.gms.internal.zzz.zza(v3_0, p7);
        String v0_5 = new org.apache.http.ProtocolVersion("HTTP", 1, 1);
        if (v3_0.getResponseCode() != -1) {
            org.apache.http.message.BasicHttpResponse v2_5 = new org.apache.http.message.BasicHttpResponse(new org.apache.http.message.BasicStatusLine(v0_5, v3_0.getResponseCode(), v3_0.getResponseMessage()));
            v2_5.setEntity(com.google.android.gms.internal.zzz.zza(v3_0));
            java.util.Iterator v3_1 = v3_0.getHeaderFields().entrySet().iterator();
            while (v3_1.hasNext()) {
                String v0_11 = ((java.util.Map$Entry) v3_1.next());
                if (v0_11.getKey() != null) {
                    v2_5.addHeader(new org.apache.http.message.BasicHeader(((String) v0_11.getKey()), ((String) ((java.util.List) v0_11.getValue()).get(0))));
                }
            }
            return v2_5;
        } else {
            throw new java.io.IOException("Could not retrieve response code from HttpUrlConnection.");
        }
    }

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


    java.net.URL zzd(com.google.android.gms.internal.zzwg p3)
    {
        try {
            int v0_1 = new java.net.URL(p3.zzcbt());
        } catch (int v0) {
            com.google.android.gms.internal.zzwp.e("Error trying to parse the GTM url.");
            v0_1 = 0;
        }
        return v0_1;
    }

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


    public static com.google.android.gms.ads.internal.request.AdResponseParcel zza(com.google.android.gms.ads.internal.request.AdRequestInfoParcel p13, android.content.Context p14, String p15, String p16, String p17, com.google.android.gms.internal.zziu p18, com.google.android.gms.internal.zzdk p19, com.google.android.gms.internal.zzio p20)
    {
        try {
            com.google.android.gms.ads.internal.request.AdResponseParcel v3_15;
            if (p19 == null) {
                v3_15 = 0;
                com.google.android.gms.ads.internal.request.AdResponseParcel v2_7;
                com.google.android.gms.internal.zzis v8_1 = new com.google.android.gms.internal.zzis(p13);
                com.google.android.gms.ads.internal.request.AdResponseParcel v2_1 = String.valueOf(p16);
                if (v2_1.length() == 0) {
                    v2_7 = new String("AdRequestServiceImpl: Sending request: ");
                } else {
                    v2_7 = "AdRequestServiceImpl: Sending request: ".concat(v2_1);
                }
                com.google.android.gms.internal.zzkd.zzcv(v2_7);
                String[] v4_13 = new java.net.URL(p16);
                long v10 = com.google.android.gms.ads.internal.zzu.zzfu().elapsedRealtime();
                String[] v6_1 = 0;
                int v7_0 = v4_13;
                while(true) {
                    if (p20 != null) {
                        p20.zzcdv.zzro();
                    }
                    com.google.android.gms.ads.internal.request.AdResponseParcel v2_20 = ((java.net.HttpURLConnection) v7_0.openConnection());
                    try {
                        com.google.android.gms.ads.internal.zzu.zzfq().zza(p14, p15, 0, v2_20);
                    } catch (com.google.android.gms.ads.internal.request.AdResponseParcel v3_13) {
                        v2_20.disconnect();
                        if (p20 != null) {
                            p20.zzcdv.zzrp();
                        }
                        throw v3_13;
                    }
                    if ((!android.text.TextUtils.isEmpty(p17)) && (p18.zzrl())) {
                        v2_20.addRequestProperty("x-afma-drt-cookie", p17);
                    }
                    String[] v4_19 = p13.zzcbr;
                    if (!android.text.TextUtils.isEmpty(v4_19)) {
                        com.google.android.gms.internal.zzkd.zzcv("Sending webview cookie in ad request header.");
                        v2_20.addRequestProperty("Cookie", v4_19);
                    }
                    if ((p18 != null) && (!android.text.TextUtils.isEmpty(p18.zzrk()))) {
                        v2_20.setDoOutput(1);
                        byte[] v9_0 = p18.zzrk().getBytes();
                        v2_20.setFixedLengthStreamingMode(v9_0.length);
                        try {
                            String[] v4_26 = new java.io.BufferedOutputStream(v2_20.getOutputStream());
                            try {
                                v4_26.write(v9_0);
                            } catch (com.google.android.gms.ads.internal.request.AdResponseParcel v3_18) {
                                com.google.android.gms.common.util.zzo.zzb(v4_26);
                                throw v3_18;
                            }
                            com.google.android.gms.common.util.zzo.zzb(v4_26);
                        } catch (com.google.android.gms.ads.internal.request.AdResponseParcel v3_18) {
                            v4_26 = 0;
                        }
                    }
                    com.google.android.gms.ads.internal.request.AdResponseParcel v2_3;
                    byte[] v9_1 = v2_20.getResponseCode();
                    java.io.OutputStream v12_1 = v2_20.getHeaderFields();
                    if ((v9_1 >= 200) && (v9_1 < 300)) {
                        break;
                    }
                    com.google.android.gms.internal.zzip.zza(v7_0.toString(), v12_1, 0, v9_1);
                    if ((v9_1 < 300) || (v9_1 >= 400)) {
                        com.google.android.gms.internal.zzkd.zzcx(new StringBuilder(46).append("Received error HTTP response code: ").append(v9_1).toString());
                        com.google.android.gms.ads.internal.request.AdResponseParcel v3_5 = new com.google.android.gms.ads.internal.request.AdResponseParcel(0);
                        v2_20.disconnect();
                        if (p20 != null) {
                            p20.zzcdv.zzrp();
                        }
                        v2_3 = v3_5;
                    } else {
                        String[] v4_4 = v2_20.getHeaderField("Location");
                        if (!android.text.TextUtils.isEmpty(v4_4)) {
                            int v5_3 = new java.net.URL(v4_4);
                            String[] v4_5 = (v6_1 + 1);
                            if (v4_5 <= 5) {
                                v8_1.zzj(v12_1);
                                v2_20.disconnect();
                                if (p20 != null) {
                                    p20.zzcdv.zzrp();
                                }
                                v6_1 = v4_5;
                                v7_0 = v5_3;
                            } else {
                                com.google.android.gms.internal.zzkd.zzcx("Too many redirects.");
                                com.google.android.gms.ads.internal.request.AdResponseParcel v3_8 = new com.google.android.gms.ads.internal.request.AdResponseParcel(0);
                                v2_20.disconnect();
                                if (p20 != null) {
                                    p20.zzcdv.zzrp();
                                }
                                v2_3 = v3_8;
                            }
                        } else {
                            com.google.android.gms.internal.zzkd.zzcx("No location header to follow redirect.");
                            com.google.android.gms.ads.internal.request.AdResponseParcel v3_11 = new com.google.android.gms.ads.internal.request.AdResponseParcel(0);
                            v2_20.disconnect();
                            if (p20 != null) {
                                p20.zzcdv.zzrp();
                            }
                            v2_3 = v3_11;
                        }
                    }
                }
                String[] v6_2 = v7_0.toString();
                try {
                    String[] v4_9 = new java.io.InputStreamReader(v2_20.getInputStream());
                    try {
                        int v5_6 = com.google.android.gms.ads.internal.zzu.zzfq().zza(v4_9);
                    } catch (com.google.android.gms.ads.internal.request.AdResponseParcel v3_12) {
                        com.google.android.gms.common.util.zzo.zzb(v4_9);
                        throw v3_12;
                    }
                    com.google.android.gms.common.util.zzo.zzb(v4_9);
                    com.google.android.gms.internal.zzip.zza(v6_2, v12_1, v5_6, v9_1);
                    v8_1.zzb(v6_2, v12_1, v5_6);
                    if (p19 != null) {
                        String[] v4_11 = new String[1];
                        v4_11[0] = "ufe";
                        p19.zza(v3_15, v4_11);
                    }
                    com.google.android.gms.ads.internal.request.AdResponseParcel v3_14 = v8_1.zzj(v10);
                    v2_20.disconnect();
                    if (p20 != null) {
                        p20.zzcdv.zzrp();
                    }
                    v2_3 = v3_14;
                } catch (com.google.android.gms.ads.internal.request.AdResponseParcel v3_12) {
                    v4_9 = 0;
                }
            } else {
                v3_15 = p19.zzkg();
            }
        } catch (com.google.android.gms.ads.internal.request.AdResponseParcel v2_11) {
            com.google.android.gms.ads.internal.request.AdResponseParcel v2_13 = String.valueOf(v2_11.getMessage());
            if (v2_13.length() == 0) {
                com.google.android.gms.ads.internal.request.AdResponseParcel v2_15 = new String("Error while connecting to ad server: ");
            } else {
                v2_15 = "Error while connecting to ad server: ".concat(v2_13);
            }
            com.google.android.gms.internal.zzkd.zzcx(v2_15);
            v2_3 = new com.google.android.gms.ads.internal.request.AdResponseParcel(2);
        }
        return v2_3;
    }

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


    public static com.google.android.gms.ads.internal.request.AdResponseParcel zza(com.google.android.gms.ads.internal.request.AdRequestInfoParcel p13, android.content.Context p14, String p15, String p16, String p17, com.google.android.gms.internal.zziu p18, com.google.android.gms.internal.zzdk p19, com.google.android.gms.internal.zzio p20)
    {
        try {
            com.google.android.gms.ads.internal.request.AdResponseParcel v3_15;
            if (p19 == null) {
                v3_15 = 0;
                com.google.android.gms.ads.internal.request.AdResponseParcel v2_7;
                com.google.android.gms.internal.zzis v8_1 = new com.google.android.gms.internal.zzis(p13);
                com.google.android.gms.ads.internal.request.AdResponseParcel v2_1 = String.valueOf(p16);
                if (v2_1.length() == 0) {
                    v2_7 = new String("AdRequestServiceImpl: Sending request: ");
                } else {
                    v2_7 = "AdRequestServiceImpl: Sending request: ".concat(v2_1);
                }
                com.google.android.gms.internal.zzkd.zzcv(v2_7);
                String[] v4_13 = new java.net.URL(p16);
                long v10 = com.google.android.gms.ads.internal.zzu.zzfu().elapsedRealtime();
                String[] v6_1 = 0;
                int v7_0 = v4_13;
                while(true) {
                    if (p20 != null) {
                        p20.zzcdv.zzro();
                    }
                    com.google.android.gms.ads.internal.request.AdResponseParcel v2_20 = ((java.net.HttpURLConnection) v7_0.openConnection());
                    try {
                        com.google.android.gms.ads.internal.zzu.zzfq().zza(p14, p15, 0, v2_20);
                    } catch (com.google.android.gms.ads.internal.request.AdResponseParcel v3_13) {
                        v2_20.disconnect();
                        if (p20 != null) {
                            p20.zzcdv.zzrp();
                        }
                        throw v3_13;
                    }
                    if ((!android.text.TextUtils.isEmpty(p17)) && (p18.zzrl())) {
                        v2_20.addRequestProperty("x-afma-drt-cookie", p17);
                    }
                    String[] v4_19 = p13.zzcbr;
                    if (!android.text.TextUtils.isEmpty(v4_19)) {
                        com.google.android.gms.internal.zzkd.zzcv("Sending webview cookie in ad request header.");
                        v2_20.addRequestProperty("Cookie", v4_19);
                    }
                    if ((p18 != null) && (!android.text.TextUtils.isEmpty(p18.zzrk()))) {
                        v2_20.setDoOutput(1);
                        byte[] v9_0 = p18.zzrk().getBytes();
                        v2_20.setFixedLengthStreamingMode(v9_0.length);
                        try {
                            String[] v4_26 = new java.io.BufferedOutputStream(v2_20.getOutputStream());
                            try {
                                v4_26.write(v9_0);
                            } catch (com.google.android.gms.ads.internal.request.AdResponseParcel v3_18) {
                                com.google.android.gms.common.util.zzo.zzb(v4_26);
                                throw v3_18;
                            }
                            com.google.android.gms.common.util.zzo.zzb(v4_26);
                        } catch (com.google.android.gms.ads.internal.request.AdResponseParcel v3_18) {
                            v4_26 = 0;
                        }
                    }
                    com.google.android.gms.ads.internal.request.AdResponseParcel v2_3;
                    byte[] v9_1 = v2_20.getResponseCode();
                    java.io.OutputStream v12_1 = v2_20.getHeaderFields();
                    if ((v9_1 < 200) || (v9_1 >= 300)) {
                        com.google.android.gms.internal.zzip.zza(v7_0.toString(), v12_1, 0, v9_1);
                        if ((v9_1 < 300) || (v9_1 >= 400)) {
                            com.google.android.gms.internal.zzkd.zzcx(new StringBuilder(46).append("Received error HTTP response code: ").append(v9_1).toString());
                            com.google.android.gms.ads.internal.request.AdResponseParcel v3_5 = new com.google.android.gms.ads.internal.request.AdResponseParcel(0);
                            v2_20.disconnect();
                            if (p20 != null) {
                                p20.zzcdv.zzrp();
                            }
                            v2_3 = v3_5;
                        } else {
                            String[] v4_4 = v2_20.getHeaderField("Location");
                            if (!android.text.TextUtils.isEmpty(v4_4)) {
                                int v5_3 = new java.net.URL(v4_4);
                                String[] v4_5 = (v6_1 + 1);
                                if (v4_5 > 5) {
                                    break;
                                }
                                v8_1.zzj(v12_1);
                                v2_20.disconnect();
                                if (p20 != null) {
                                    p20.zzcdv.zzrp();
                                }
                                v6_1 = v4_5;
                                v7_0 = v5_3;
                            } else {
                                com.google.android.gms.internal.zzkd.zzcx("No location header to follow redirect.");
                                com.google.android.gms.ads.internal.request.AdResponseParcel v3_11 = new com.google.android.gms.ads.internal.request.AdResponseParcel(0);
                                v2_20.disconnect();
                                if (p20 != null) {
                                    p20.zzcdv.zzrp();
                                }
                                v2_3 = v3_11;
                            }
                        }
                    } else {
                        String[] v6_2 = v7_0.toString();
                        try {
                            String[] v4_9 = new java.io.InputStreamReader(v2_20.getInputStream());
                            try {
                                int v5_6 = com.google.android.gms.ads.internal.zzu.zzfq().zza(v4_9);
                            } catch (com.google.android.gms.ads.internal.request.AdResponseParcel v3_12) {
                                com.google.android.gms.common.util.zzo.zzb(v4_9);
                                throw v3_12;
                            }
                            com.google.android.gms.common.util.zzo.zzb(v4_9);
                            com.google.android.gms.internal.zzip.zza(v6_2, v12_1, v5_6, v9_1);
                            v8_1.zzb(v6_2, v12_1, v5_6);
                            if (p19 != null) {
                                String[] v4_11 = new String[1];
                                v4_11[0] = "ufe";
                                p19.zza(v3_15, v4_11);
                            }
                            com.google.android.gms.ads.internal.request.AdResponseParcel v3_14 = v8_1.zzj(v10);
                            v2_20.disconnect();
                            if (p20 != null) {
                                p20.zzcdv.zzrp();
                            }
                            v2_3 = v3_14;
                        } catch (com.google.android.gms.ads.internal.request.AdResponseParcel v3_12) {
                            v4_9 = 0;
                        }
                    }
                }
                com.google.android.gms.internal.zzkd.zzcx("Too many redirects.");
                com.google.android.gms.ads.internal.request.AdResponseParcel v3_8 = new com.google.android.gms.ads.internal.request.AdResponseParcel(0);
                v2_20.disconnect();
                if (p20 != null) {
                    p20.zzcdv.zzrp();
                }
                v2_3 = v3_8;
            } else {
                v3_15 = p19.zzkg();
            }
        } catch (com.google.android.gms.ads.internal.request.AdResponseParcel v2_11) {
            com.google.android.gms.ads.internal.request.AdResponseParcel v2_13 = String.valueOf(v2_11.getMessage());
            if (v2_13.length() == 0) {
                com.google.android.gms.ads.internal.request.AdResponseParcel v2_15 = new String("Error while connecting to ad server: ");
            } else {
                v2_15 = "Error while connecting to ad server: ".concat(v2_13);
            }
            com.google.android.gms.internal.zzkd.zzcx(v2_15);
            v2_3 = new com.google.android.gms.ads.internal.request.AdResponseParcel(2);
        }
        return v2_3;
    }

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


    public boolean zzaz(String p27)
    {
        com.google.android.gms.internal.zzfg v2_30;
        if (this.zzbjr != null) {
            while (this.zzll() > ((Integer) com.google.android.gms.internal.zzdc.zzaym.get()).intValue()) {
                if (!this.zzlm()) {
                    com.google.android.gms.internal.zzkd.zzcx("Unable to expire stream cache");
                    this.zza(p27, 0, "expireFailed", 0);
                    v2_30 = 0;
                }
            }
            java.io.File v12_1 = new java.io.File(this.zzbjr, this.zzba(p27));
            java.io.File v13 = this.zzb(v12_1);
            if ((!v12_1.isFile()) || (!v13.isFile())) {
                String v8;
                String v3_23 = String.valueOf(this.zzbjr.getAbsolutePath());
                com.google.android.gms.internal.zzfg v2_66 = String.valueOf(p27);
                if (v2_66.length() == 0) {
                    v8 = new String(v3_23);
                } else {
                    v8 = v3_23.concat(v2_66);
                }
                try {
                    if (!com.google.android.gms.internal.zzfg.zzbjp.contains(v8)) {
                        com.google.android.gms.internal.zzfg.zzbjp.add(v8);
                        String v5_6 = 0;
                        String v3_12;
                        String v4_7;
                        String v3_34 = new java.net.URL(p27).openConnection();
                        com.google.android.gms.internal.zzfg v2_115 = ((Integer) com.google.android.gms.internal.zzdc.zzayr.get()).intValue();
                        v3_34.setConnectTimeout(v2_115);
                        v3_34.setReadTimeout(v2_115);
                        if ((v3_34 instanceof java.net.HttpURLConnection)) {
                            com.google.android.gms.internal.zzfg v2_119 = ((java.net.HttpURLConnection) v3_34).getResponseCode();
                            if (v2_119 >= 400) {
                                v4_7 = "badUrl";
                                try {
                                    String v3_28 = String.valueOf(Integer.toString(v2_119));
                                } catch (com.google.android.gms.internal.zzfg v2_48) {
                                    v3_12 = 0;
                                    if ((v2_48 instanceof RuntimeException)) {
                                        com.google.android.gms.ads.internal.zzu.zzft().zzb(v2_48, 1);
                                    }
                                    try {
                                        v5_6.close();
                                    } catch (String v5) {
                                    } catch (String v5) {
                                    }
                                    if (!this.zzbjs) {
                                        com.google.android.gms.internal.zzkd.zzd(new StringBuilder((String.valueOf(p27).length() + 25)).append("Preload failed for URL \"").append(p27).append("\"").toString(), v2_48);
                                    } else {
                                        com.google.android.gms.internal.zzkd.zzcw(new StringBuilder((String.valueOf(p27).length() + 26)).append("Preload aborted for URL \"").append(p27).append("\"").toString());
                                    }
                                    if (v12_1.exists()) {
                                        if (!v12_1.delete()) {
                                            com.google.android.gms.internal.zzfg v2_88 = String.valueOf(v12_1.getAbsolutePath());
                                            if (v2_88.length() == 0) {
                                                com.google.android.gms.internal.zzfg v2_90 = new String("Could not delete partial cache file at ");
                                            } else {
                                                v2_90 = "Could not delete partial cache file at ".concat(v2_88);
                                            }
                                            com.google.android.gms.internal.zzkd.zzcx(v2_90);
                                        }
                                    }
                                    this.zza(p27, v12_1.getAbsolutePath(), v4_7, v3_12);
                                    com.google.android.gms.internal.zzfg.zzbjp.remove(v8);
                                    v2_30 = 0;
                                    return v2_30;
                                } catch (com.google.android.gms.internal.zzfg v2_48) {
                                    v3_12 = 0;
                                }
                                if (v3_28.length() == 0) {
                                    v3_12 = new String("HTTP request failed. Code: ");
                                } else {
                                    v3_12 = "HTTP request failed. Code: ".concat(v3_28);
                                }
                                try {
                                    throw new java.io.IOException(new StringBuilder((String.valueOf(p27).length() + 32)).append("HTTP status code ").append(v2_119).append(" at ").append(p27).toString());
                                } catch (com.google.android.gms.internal.zzfg v2_48) {
                                } catch (com.google.android.gms.internal.zzfg v2_48) {
                                }
                            }
                        }
                        int v6_16 = v3_34.getContentLength();
                        if (v6_16 >= 0) {
                            String v4_19 = com.google.android.gms.internal.zzfg.zzbjq.format(((long) v6_16));
                            int v14_1 = ((Integer) com.google.android.gms.internal.zzdc.zzayn.get()).intValue();
                            if (v6_16 <= v14_1) {
                                com.google.android.gms.internal.zzkd.zzcv(new StringBuilder(((String.valueOf(v4_19).length() + 20) + String.valueOf(p27).length())).append("Caching ").append(v4_19).append(" bytes from ").append(p27).toString());
                                java.nio.channels.ReadableByteChannel v15 = java.nio.channels.Channels.newChannel(v3_34.getInputStream());
                                java.io.FileOutputStream v11_1 = new java.io.FileOutputStream(v12_1);
                                try {
                                    java.nio.channels.FileChannel v16 = v11_1.getChannel();
                                    java.nio.ByteBuffer v17 = java.nio.ByteBuffer.allocate(1048576);
                                    com.google.android.gms.common.util.zze v18 = com.google.android.gms.ads.internal.zzu.zzfu();
                                    String v5_0 = 0;
                                    long v20 = v18.currentTimeMillis();
                                    com.google.android.gms.internal.zzkr v19 = new com.google.android.gms.internal.zzkr;
                                    v19(((Long) com.google.android.gms.internal.zzdc.zzayq.get()).longValue());
                                    long v22 = ((Long) com.google.android.gms.internal.zzdc.zzayp.get()).longValue();
                                } catch (com.google.android.gms.internal.zzfg v2_48) {
                                    v3_12 = 0;
                                    v4_7 = "error";
                                    v5_6 = v11_1;
                                }
                                do {
                                    com.google.android.gms.internal.zzfg v2_18 = v15.read(v17);
                                    if (v2_18 < null) {
                                        v11_1.close();
                                        if (com.google.android.gms.internal.zzkd.zzaz(3)) {
                                            com.google.android.gms.internal.zzfg v2_22 = com.google.android.gms.internal.zzfg.zzbjq.format(((long) v5_0));
                                            com.google.android.gms.internal.zzkd.zzcv(new StringBuilder(((String.valueOf(v2_22).length() + 22) + String.valueOf(p27).length())).append("Preloaded ").append(v2_22).append(" bytes from ").append(p27).toString());
                                        }
                                        v12_1.setReadable(1, 0);
                                        com.google.android.gms.internal.zzfg.zzc(v13);
                                        this.zza(p27, v12_1.getAbsolutePath(), v5_0);
                                        com.google.android.gms.internal.zzfg.zzbjp.remove(v8);
                                        v2_30 = 1;
                                    } else {
                                        v5_0 += v2_18;
                                        try {
                                            if (v5_0 <= v14_1) {
                                                v17.flip();
                                                while (v16.write(v17) > 0) {
                                                }
                                                v17.clear();
                                                if ((v18.currentTimeMillis() - v20) <= (1000 * v22)) {
                                                    if (!this.zzbjs) {
                                                    } else {
                                                        v4_7 = "externalAbort";
                                                        throw new java.io.IOException("abort requested");
                                                    }
                                                } else {
                                                    v4_7 = "downloadTimeout";
                                                    com.google.android.gms.internal.zzfg v2_42 = String.valueOf(Long.toString(v22));
                                                    v3_12 = new StringBuilder((String.valueOf(v2_42).length() + 29)).append("Timeout exceeded. Limit: ").append(v2_42).append(" sec").toString();
                                                    throw new java.io.IOException("stream cache time limit exceeded");
                                                }
                                            } else {
                                                v4_7 = "sizeExceeded";
                                                String v3_14 = String.valueOf(Integer.toString(v5_0));
                                                if (v3_14.length() == 0) {
                                                    v3_12 = new String("File too big for full file cache. Size: ");
                                                } else {
                                                    v3_12 = "File too big for full file cache. Size: ".concat(v3_14);
                                                }
                                                throw new java.io.IOException("stream cache file size limit exceeded");
                                            }
                                        } catch (com.google.android.gms.internal.zzfg v2_48) {
                                            v3_12 = 0;
                                            v5_6 = v11_1;
                                        } catch (com.google.android.gms.internal.zzfg v2_48) {
                                            v3_12 = 0;
                                            v5_6 = v11_1;
                                        } catch (com.google.android.gms.internal.zzfg v2_48) {
                                            v5_6 = v11_1;
                                        } catch (com.google.android.gms.internal.zzfg v2_48) {
                                            v5_6 = v11_1;
                                        }
                                    }
                                } while(!v19.tryAcquire());
                                this.zza(p27, v12_1.getAbsolutePath(), v5_0, v6_16, 0);
                            } else {
                                com.google.android.gms.internal.zzfg v2_63;
                                com.google.android.gms.internal.zzkd.zzcx(new StringBuilder(((String.valueOf(v4_19).length() + 33) + String.valueOf(p27).length())).append("Content length ").append(v4_19).append(" exceeds limit at ").append(p27).toString());
                                com.google.android.gms.internal.zzfg v2_61 = String.valueOf(v4_19);
                                if (v2_61.length() == 0) {
                                    v2_63 = new String("File too big for full file cache. Size: ");
                                } else {
                                    v2_63 = "File too big for full file cache. Size: ".concat(v2_61);
                                }
                                this.zza(p27, v12_1.getAbsolutePath(), "sizeExceeded", v2_63);
                                com.google.android.gms.internal.zzfg.zzbjp.remove(v8);
                                v2_30 = 0;
                            }
                        } else {
                            com.google.android.gms.internal.zzfg v2_68;
                            com.google.android.gms.internal.zzfg v2_65 = String.valueOf(p27);
                            if (v2_65.length() == 0) {
                                v2_68 = new String("Stream cache aborted, missing content-length header at ");
                            } else {
                                v2_68 = "Stream cache aborted, missing content-length header at ".concat(v2_65);
                            }
                            com.google.android.gms.internal.zzkd.zzcx(v2_68);
                            this.zza(p27, v12_1.getAbsolutePath(), "contentLengthMissing", 0);
                            com.google.android.gms.internal.zzfg.zzbjp.remove(v8);
                            v2_30 = 0;
                        }
                    } else {
                        com.google.android.gms.internal.zzfg v2_96;
                        com.google.android.gms.internal.zzfg v2_94 = String.valueOf(p27);
                        if (v2_94.length() == 0) {
                            v2_96 = new String("Stream cache already in progress at ");
                        } else {
                            v2_96 = "Stream cache already in progress at ".concat(v2_94);
                        }
                        com.google.android.gms.internal.zzkd.zzcx(v2_96);
                        this.zza(p27, v12_1.getAbsolutePath(), "inProgress", 0);
                        v2_30 = 0;
                    }
                } catch (com.google.android.gms.internal.zzfg v2_100) {
                    throw v2_100;
                }
            } else {
                com.google.android.gms.internal.zzfg v2_104;
                String v3_31 = ((int) v12_1.length());
                com.google.android.gms.internal.zzfg v2_102 = String.valueOf(p27);
                if (v2_102.length() == 0) {
                    v2_104 = new String("Stream cache hit at ");
                } else {
                    v2_104 = "Stream cache hit at ".concat(v2_102);
                }
                com.google.android.gms.internal.zzkd.zzcv(v2_104);
                this.zza(p27, v12_1.getAbsolutePath(), v3_31);
                v2_30 = 1;
            }
        } else {
            this.zza(p27, 0, "noCacheDir", 0);
            v2_30 = 0;
        }
        return v2_30;
    }

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


    protected com.google.android.gms.internal.zzeq$zzb zzc(org.json.JSONObject p10)
    {
        String v3 = p10.optString("http_request_id");
        int v2_2 = p10.optString("url");
        String v4 = p10.optString("post_body", 0);
        try {
            int v0_2 = new java.net.URL(v2_2);
        } catch (int v0_3) {
            com.google.android.gms.internal.zzkd.zzb("Error constructing http request.", v0_3);
            v0_2 = 0;
        }
        java.util.ArrayList v5_1 = new java.util.ArrayList();
        com.google.android.gms.internal.zzeq$zzb v1_2 = p10.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.zzeq$zza(v6_1.optString("key"), v6_1.optString("value")));
            }
            v2_1++;
        }
        return new com.google.android.gms.internal.zzeq$zzb(v3, v0_2, v5_1, v4);
    }

Method com.google.android.gms.internal.zzaok$10.zzv() calling method java.net.URL.<init>()


    public java.net.URL zzv(com.google.android.gms.internal.zzaom p4)
    {
        java.net.URL v0_0 = 0;
        if (p4.b() != com.google.android.gms.internal.zzaon.bhx) {
            String v1_1 = p4.nextString();
            if (!"null".equals(v1_1)) {
                v0_0 = new java.net.URL(v1_1);
            }
        } else {
            p4.nextNull();
        }
        return v0_0;
    }

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


    java.net.HttpURLConnection zzqk(String p3)
    {
        java.net.HttpURLConnection v0_3 = ((java.net.HttpURLConnection) new java.net.URL(p3).openConnection());
        v0_3.setReadTimeout(20000);
        v0_3.setConnectTimeout(20000);
        return v0_3;
    }

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


    java.net.HttpURLConnection zzqk(String p3)
    {
        java.net.HttpURLConnection v0_3 = ((java.net.HttpURLConnection) new java.net.URL(p3).openConnection());
        v0_3.setReadTimeout(20000);
        v0_3.setConnectTimeout(20000);
        return v0_3;
    }

Method com.google.android.gms.analytics.internal.zzah.zzh() calling method java.net.URL.<init>()


    private java.net.URL zzh(com.google.android.gms.analytics.internal.zzab p4)
    {
        String v1_0;
        if (!p4.zzadb()) {
            int v0_5;
            String v1_3 = String.valueOf(this.zzyy().zzabr());
            int v0_3 = String.valueOf(this.zzyy().zzabs());
            if (v0_3.length() == 0) {
                v0_5 = new String(v1_3);
            } else {
                v0_5 = v1_3.concat(v0_3);
            }
            v1_0 = v0_5;
        } else {
            int v0_12;
            String v1_1 = String.valueOf(this.zzyy().zzabq());
            int v0_10 = String.valueOf(this.zzyy().zzabs());
            if (v0_10.length() == 0) {
                v0_12 = new String(v1_1);
            } else {
                v0_12 = v1_1.concat(v0_10);
            }
            v1_0 = v0_12;
        }
        try {
            int v0_15 = new java.net.URL(v1_0);
        } catch (int v0_16) {
            this.zze("Error trying to parse the hardcoded host url", v0_16);
            v0_15 = 0;
        }
        return v0_15;
    }

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


    private java.net.URL zzb(com.google.android.gms.analytics.internal.zzab p6, String p7)
    {
        String v1_4;
        if (!p6.zzadb()) {
            int v0_14 = String.valueOf(this.zzyy().zzabr());
            String v1_2 = String.valueOf(this.zzyy().zzabs());
            v1_4 = new StringBuilder((((String.valueOf(v0_14).length() + 1) + String.valueOf(v1_2).length()) + String.valueOf(p7).length())).append(v0_14).append(v1_2).append("?").append(p7).toString();
        } else {
            int v0_9 = String.valueOf(this.zzyy().zzabq());
            String v1_7 = String.valueOf(this.zzyy().zzabs());
            v1_4 = new StringBuilder((((String.valueOf(v0_9).length() + 1) + String.valueOf(v1_7).length()) + String.valueOf(p7).length())).append(v0_9).append(v1_7).append("?").append(p7).toString();
        }
        try {
            int v0_18 = new java.net.URL(v1_4);
        } catch (int v0_19) {
            this.zze("Error trying to parse the hardcoded host url", v0_19);
            v0_18 = 0;
        }
        return v0_18;
    }

Method com.google.android.gms.analytics.internal.zzah.zzadk() calling method java.net.URL.<init>()


    private java.net.URL zzadk()
    {
        int v0_3;
        String v1_3 = String.valueOf(this.zzyy().zzabq());
        int v0_1 = String.valueOf(this.zzyy().zzabt());
        if (v0_1.length() == 0) {
            v0_3 = new String(v1_3);
        } else {
            v0_3 = v1_3.concat(v0_1);
        }
        try {
            int v0_4 = new java.net.URL(v0_3);
        } catch (int v0_5) {
            this.zze("Error trying to parse the hardcoded host url", v0_5);
            v0_4 = 0;
        }
        return v0_4;
    }

Method com.google.android.gms.ads.internal.util.client.zzc.zzcr() calling method java.net.URL.<init>()


    public void zzcr(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.ads.internal.util.client.zzb.zzcx(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.ads.internal.util.client.zzb.zzcx(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.ads.internal.util.client.zzb.zzcx(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.ads.internal.util.client.zzb.zzcv(v0_16);
        java.net.HttpURLConnection v0_10 = ((java.net.HttpURLConnection) new java.net.URL(p5).openConnection());
        try {
            com.google.android.gms.ads.internal.client.zzm.zziw().zza(1, v0_10, this.zzbjf);
            String v1_10 = v0_10.getResponseCode();
        } catch (String v1_15) {
            v0_10.disconnect();
            throw v1_15;
        }
        if ((v1_10 < 200) || (v1_10 >= 300)) {
            com.google.android.gms.ads.internal.util.client.zzb.zzcx(new StringBuilder((String.valueOf(p5).length() + 65)).append("Received non-success response code ").append(v1_10).append(" from pinging URL: ").append(p5).toString());
        }
        v0_10.disconnect();
        return;
    }