Info Call to Socket API

Description

List of all calls to Server Socket API.

Recommendation

This entry is informative, no recommendations applicable.

Technical details

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


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

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


    protected java.net.HttpURLConnection openConnection(android.net.Uri p3)
    {
        java.net.HttpURLConnection v3_2 = this.urlFactory.open(new java.net.URL(p3.toString()));
        v3_2.setConnectTimeout(15000);
        v3_2.setReadTimeout(20000);
        return v3_2;
    }

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


    final void zzlz()
    {
        void v1 = this;
        void v17_1 = this.zzaf();
        v17_1.zzlx();
        this.zzauk = 1;
        try {
            this.zzadp.zzgw();
            com.google.android.gms.measurement.internal.zzbp v3_1 = this.zzadp.zzgl().zzli();
        } catch (com.google.android.gms.measurement.internal.zzfm v0_6) {
            v1.zzauk = 0;
            v17_1.zzmc();
            throw v0_6;
        }
        if (v3_1 != null) {
            if (!v3_1.booleanValue()) {
                if (this.zzaue <= 0) {
                    com.google.android.gms.measurement.internal.zzbp v3_9;
                    v17_1 = v17_1.zzaf();
                    if (this.zzaun == null) {
                        v3_9 = 0;
                    } else {
                        v3_9 = 1;
                    }
                    if (v3_9 == null) {
                        if (v17_1.zzlt().zzfb()) {
                            com.google.android.gms.measurement.internal.zzbp v3_19 = this.zzadp.zzbx().currentTimeMillis();
                            String v9 = 0;
                            this.zzd(0, (v3_19 - com.google.android.gms.measurement.internal.zzo.zzic()));
                            String v7_17 = this.zzadp.zzgu().zzanl.get();
                            if (v7_17 != 0) {
                                this.zzadp.zzgt().zzjn().zzg("Uploading events. Elapsed time since last upload attempt (ms)", Long.valueOf(Math.abs((v3_19 - v7_17))));
                            }
                            long v5_5 = v17_1.zzjt().zzih();
                            if (android.text.TextUtils.isEmpty(v5_5)) {
                                this.zzaup = -1;
                                com.google.android.gms.measurement.internal.zzfm v0_20 = v17_1.zzjt().zzah((v3_19 - com.google.android.gms.measurement.internal.zzo.zzic()));
                                if (!android.text.TextUtils.isEmpty(v0_20)) {
                                    com.google.android.gms.measurement.internal.zzfm v0_21 = v17_1.zzjt().zzbo(v0_20);
                                    if (v0_21 != null) {
                                        v1 = this.zzb(v0_21);
                                    }
                                }
                            } else {
                                if (this.zzaup == -1) {
                                    this.zzaup = v17_1.zzjt().zzio();
                                }
                                String v6_2 = v17_1.zzjt().zzb(v5_5, this.zzadp.zzgv().zzb(v5_5, com.google.android.gms.measurement.internal.zzag.zzajm), Math.max(0, this.zzadp.zzgv().zzb(v5_5, com.google.android.gms.measurement.internal.zzag.zzajn)));
                                if (!v6_2.isEmpty()) {
                                    String v7_6 = v6_2.iterator();
                                    while (v7_6.hasNext()) {
                                        Integer v8_6 = ((com.google.android.gms.internal.measurement.zzgl) ((android.util.Pair) v7_6.next()).first);
                                        if (!android.text.TextUtils.isEmpty(v8_6.zzayh)) {
                                            String v7_7 = v8_6.zzayh;
                                        }
                                        if (v7_7 != null) {
                                            Integer v8_7 = 0;
                                            while (v8_7 < v6_2.size()) {
                                                com.google.android.gms.measurement.internal.zzay v10_6 = ((com.google.android.gms.internal.measurement.zzgl) ((android.util.Pair) v6_2.get(v8_7)).first);
                                                if ((android.text.TextUtils.isEmpty(v10_6.zzayh)) || (v10_6.zzayh.equals(v7_7))) {
                                                    v8_7++;
                                                } else {
                                                    v6_2 = v6_2.subList(0, v8_7);
                                                    break;
                                                }
                                            }
                                        }
                                        com.google.android.gms.measurement.internal.zzay v10_14;
                                        String v7_9 = new com.google.android.gms.internal.measurement.zzgk();
                                        Integer v8_9 = new com.google.android.gms.internal.measurement.zzgl[v6_2.size()];
                                        v7_9.zzaxr = v8_9;
                                        Integer v8_11 = new java.util.ArrayList(v6_2.size());
                                        if ((!com.google.android.gms.measurement.internal.zzo.zzie()) || (!this.zzadp.zzgv().zzau(v5_5))) {
                                            v10_14 = 0;
                                        } else {
                                            v10_14 = 1;
                                        }
                                        com.google.android.gms.measurement.internal.zzau v11_2 = 0;
                                        while (v11_2 < v7_9.zzaxr.length) {
                                            v7_9.zzaxr[v11_2] = ((com.google.android.gms.internal.measurement.zzgl) ((android.util.Pair) v6_2.get(v11_2)).first);
                                            v8_11.add(((Long) ((android.util.Pair) v6_2.get(v11_2)).second));
                                            v7_9.zzaxr[v11_2].zzayg = Long.valueOf(this.zzadp.zzgv().zzhh());
                                            v7_9.zzaxr[v11_2].zzaxw = Long.valueOf(v3_19);
                                            long v12_13 = v7_9.zzaxr[v11_2];
                                            this.zzadp.zzgw();
                                            v12_13.zzayl = Boolean.valueOf(0);
                                            if (v10_14 == null) {
                                                v7_9.zzaxr[v11_2].zzayt = 0;
                                            }
                                            v11_2++;
                                        }
                                        if (this.zzadp.zzgt().isLoggable(2)) {
                                            v9 = v17_1.zzjr().zzb(v7_9);
                                        }
                                        byte[] v14 = v17_1.zzjr().zza(v7_9);
                                        String v6_10 = ((String) com.google.android.gms.measurement.internal.zzag.zzajw.get());
                                        java.net.URL v13_1 = new java.net.URL(v6_10);
                                        com.google.android.gms.common.internal.Preconditions.checkArgument((v8_11.isEmpty() ^ 1));
                                        if (this.zzaun == null) {
                                            this.zzaun = new java.util.ArrayList(v8_11);
                                        } else {
                                            this.zzadp.zzgt().zzjg().zzca("Set uploading progress before finishing the previous upload");
                                        }
                                        this.zzadp.zzgu().zzanm.set(v3_19);
                                        com.google.android.gms.measurement.internal.zzbp v3_5 = "?";
                                        if (v7_9.zzaxr.length > 0) {
                                            v3_5 = v7_9.zzaxr[0].zztt;
                                        }
                                        this.zzadp.zzgt().zzjo().zzd("Uploading data. app, uncompressed size, data", v3_5, Integer.valueOf(v14.length), v9);
                                        this.zzauj = 1;
                                        com.google.android.gms.measurement.internal.zzau v11_3 = v17_1.zzlt();
                                        com.google.android.gms.measurement.internal.zzfm v0_4 = new com.google.android.gms.measurement.internal.zzfm(this, v5_5);
                                        v11_3.zzaf();
                                        v11_3.zzcl();
                                        com.google.android.gms.common.internal.Preconditions.checkNotNull(v13_1);
                                        com.google.android.gms.common.internal.Preconditions.checkNotNull(v14);
                                        com.google.android.gms.common.internal.Preconditions.checkNotNull(v0_4);
                                        com.google.android.gms.measurement.internal.zzbp v3_10 = v11_3.zzgs();
                                        com.google.android.gms.measurement.internal.zzay v4_6 = new com.google.android.gms.measurement.internal.zzay;
                                        v4_6(v11_3, v5_5, v13_1, v14, 0, v0_4);
                                        v3_10.zzd(v4_6);
                                    }
                                    v7_7 = 0;
                                }
                            }
                            v1.zzauk = 0;
                            v17_1.zzmc();
                            return;
                        } else {
                            this.zzadp.zzgt().zzjo().zzca("Network not connected, ignoring upload request");
                            void v17_2 = v17_1.zzmb();
                            this.zzauk = 0;
                            v17_2.zzmc();
                            return;
                        }
                    } else {
                        this.zzadp.zzgt().zzjo().zzca("Uploading requested multiple times");
                        this.zzauk = 0;
                        v17_1.zzmc();
                        return;
                    }
                } else {
                    void v17_3 = v17_1.zzmb();
                    this.zzauk = 0;
                    v17_3.zzmc();
                    return;
                }
            } else {
                this.zzadp.zzgt().zzjg().zzca("Upload called in the client side when service should be used");
                this.zzauk = 0;
                v17_1.zzmc();
                return;
            }
        } else {
            this.zzadp.zzgt().zzjj().zzca("Upload data called on the client side before use of service was decided");
            this.zzauk = 0;
            v17_1.zzmc();
            return;
        }
    }

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


    private final void zzb(com.google.android.gms.measurement.internal.zzg p11)
    {
        this.zzaf();
        if ((!android.text.TextUtils.isEmpty(p11.getGmpAppId())) || ((com.google.android.gms.measurement.internal.zzo.zzig()) && (!android.text.TextUtils.isEmpty(p11.zzhb())))) {
            String v0_3 = this.zzadp.zzgv();
            com.google.android.gms.measurement.internal.zzay v1_9 = new android.net.Uri$Builder();
            com.google.android.gms.measurement.internal.zzau v2_4 = p11.getGmpAppId();
            if ((android.text.TextUtils.isEmpty(v2_4)) && (com.google.android.gms.measurement.internal.zzo.zzig())) {
                v2_4 = p11.zzhb();
            }
            com.google.android.gms.measurement.internal.zzau v2_7;
            String v3_8 = v1_9.scheme(((String) com.google.android.gms.measurement.internal.zzag.zzajk.get())).encodedAuthority(((String) com.google.android.gms.measurement.internal.zzag.zzajl.get()));
            com.google.android.gms.measurement.internal.zzau v2_5 = String.valueOf(v2_4);
            if (v2_5.length() == 0) {
                v2_7 = new String("config/app/");
            } else {
                v2_7 = "config/app/".concat(v2_5);
            }
            v3_8.path(v2_7).appendQueryParameter("app_instance_id", p11.getAppInstanceId()).appendQueryParameter("platform", "android").appendQueryParameter("gmp_version", String.valueOf(v0_3.zzhh()));
            String v0_9 = v1_9.build().toString();
            try {
                android.support.v4.util.ArrayMap v6_0;
                java.net.URL v4_9 = new java.net.URL(v0_9);
                this.zzadp.zzgt().zzjo().zzg("Fetching remote configuration", p11.zzal());
                com.google.android.gms.measurement.internal.zzay v1_14 = this.zzls().zzci(p11.zzal());
                String v3_14 = this.zzls().zzcj(p11.zzal());
            } catch (java.net.MalformedURLException) {
                this.zzadp.zzgt().zzjg().zze("Failed to parse config URL. Not fetching. appId", com.google.android.gms.measurement.internal.zzaq.zzby(p11.zzal()), v0_9);
                return;
            }
            if ((v1_14 == null) || (android.text.TextUtils.isEmpty(v3_14))) {
                v6_0 = 0;
            } else {
                com.google.android.gms.measurement.internal.zzay v1_1 = new android.support.v4.util.ArrayMap();
                v1_1.put("If-Modified-Since", v3_14);
                v6_0 = v1_1;
            }
            this.zzaui = 1;
            com.google.android.gms.measurement.internal.zzau v2_2 = this.zzlt();
            String v3_0 = p11.zzal();
            com.google.android.gms.measurement.internal.zzfn v7_1 = new com.google.android.gms.measurement.internal.zzfn(this);
            v2_2.zzaf();
            v2_2.zzcl();
            com.google.android.gms.common.internal.Preconditions.checkNotNull(v4_9);
            com.google.android.gms.common.internal.Preconditions.checkNotNull(v7_1);
            com.google.android.gms.measurement.internal.zzbp v8 = v2_2.zzgs();
            com.google.android.gms.measurement.internal.zzay v9 = new com.google.android.gms.measurement.internal.zzay;
            v9(v2_2, v3_0, v4_9, 0, v6_0, v7_1);
            v8.zzd(v9);
            return;
        } else {
            this.zzb(p11.zzal(), 204, 0, 0, 0);
            return;
        }
    }

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


    public org.apache.http.HttpResponse performRequest(com.dimelo.volley.Request p5, java.util.Map p6)
    {
        String v6_1;
        String v0_0 = p5.getUrl();
        org.apache.http.message.BasicHeader v1_2 = new java.util.HashMap();
        v1_2.putAll(p5.getHeaders());
        v1_2.putAll(p6);
        if (this.mUrlRewriter == null) {
            v6_1 = v0_0;
        } else {
            v6_1 = this.mUrlRewriter.rewriteUrl(v0_0);
            if (v6_1 == null) {
                String v6_4 = new StringBuilder();
                v6_4.append("URL blocked by rewriter: ");
                v6_4.append(v0_0);
                throw new java.io.IOException(v6_4.toString());
            }
        }
        String v6_6 = this.openConnection(new java.net.URL(v6_1), p5);
        String v0_4 = v1_2.keySet().iterator();
        while (v0_4.hasNext()) {
            String v2_6 = ((String) v0_4.next());
            v6_6.addRequestProperty(v2_6, ((String) v1_2.get(v2_6)));
        }
        com.dimelo.volley.toolbox.HurlStack.setConnectionParametersForRequest(v6_6, p5);
        java.io.IOException v5_4 = new org.apache.http.ProtocolVersion("HTTP", 1, 1);
        if (v6_6.getResponseCode() == -1) {
            throw new java.io.IOException("Could not retrieve response code from HttpUrlConnection.");
        } else {
            java.io.IOException v5_8 = new org.apache.http.message.BasicHttpResponse(new org.apache.http.message.BasicStatusLine(v5_4, v6_6.getResponseCode(), v6_6.getResponseMessage()));
            v5_8.setEntity(com.dimelo.volley.toolbox.HurlStack.entityFromConnection(v6_6));
            String v6_10 = v6_6.getHeaderFields().entrySet().iterator();
            while (v6_10.hasNext()) {
                String v0_12 = ((java.util.Map$Entry) v6_10.next());
                if (v0_12.getKey() != null) {
                    v5_8.addHeader(new org.apache.http.message.BasicHeader(((String) v0_12.getKey()), ((String) ((java.util.List) v0_12.getValue()).get(0))));
                }
            }
            return v5_8;
        }
    }

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

Couldn't retrieve source code

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

Method com.google.firebase.storage.network.NetworkRequest.createConnection() calling method java.net.URL.<init>()


    private java.net.HttpURLConnection createConnection()
    {
        java.net.HttpURLConnection v0_1;
        java.net.HttpURLConnection v0_0 = this.getQueryParameters();
        if (!android.text.TextUtils.isEmpty(v0_0)) {
            java.net.URL v1_4 = new StringBuilder();
            v1_4.append(this.getURL());
            v1_4.append("?");
            v1_4.append(v0_0);
            v0_1 = v1_4.toString();
        } else {
            v0_1 = this.getURL();
        }
        return com.google.firebase.storage.network.NetworkRequest.connectionFactory.createInstance(new java.net.URL(v0_1));
    }

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.zzc();
        String v0_3 = this.zzl;
        java.io.IOException v1_7 = android.net.Uri.parse("https://pagead2.googlesyndication.com/pagead/gen_204?id=gmob-apps").buildUpon();
        String v2_0 = v0_3.keySet().iterator();
        while (v2_0.hasNext()) {
            String v3_6 = ((String) v2_0.next());
            v1_7.appendQueryParameter(v3_6, ((String) v0_3.get(v3_6)));
        }
        String v0_2 = v1_7.build().toString();
        try {
            java.io.IOException v1_3 = ((java.net.HttpURLConnection) new java.net.URL(v0_2).openConnection());
        } catch (java.io.IOException v1_6) {
            String v2_5 = "HttpUrlPinger";
            String v3_4 = v1_6.getMessage();
            StringBuilder v5_5 = new StringBuilder(((String.valueOf(v0_2).length() + 32) + String.valueOf(v3_4).length()));
            String v4_9 = "Error while parsing ping URL: ";
            v5_5.append(v4_9);
            v5_5.append(v0_2);
            v5_5.append(". ");
            v5_5.append(v3_4);
            android.util.Log.w(v2_5, v5_5.toString(), v1_6);
            return;
        } catch (java.io.IOException v1_6) {
            v2_5 = "HttpUrlPinger";
            v3_4 = v1_6.getMessage();
            v5_5 = new StringBuilder(((String.valueOf(v0_2).length() + 27) + String.valueOf(v3_4).length()));
            v4_9 = "Error while pinging URL: ";
            v5_5.append(v4_9);
            v5_5.append(v0_2);
            v5_5.append(". ");
            v5_5.append(v3_4);
            android.util.Log.w(v2_5, v5_5.toString(), v1_6);
            return;
        }
        String v2_1 = v1_3.getResponseCode();
        if ((v2_1 < 200) || (v2_1 >= 300)) {
            StringBuilder v5_1 = new StringBuilder((String.valueOf(v0_2).length() + 65));
            v5_1.append("Received non-success response code ");
            v5_1.append(v2_1);
            v5_1.append(" from pinging URL: ");
            v5_1.append(v0_2);
            android.util.Log.w("HttpUrlPinger", v5_1.toString());
        }
        v1_3.disconnect();
        return;
    }

Method com.dimelo.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;
    }