Info Call to Socket API

Description

List of all calls to Server Socket API.

Recommendation

This entry is informative, no recommendations applicable.

Technical details

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


    public void x()
    {
        String v2_0 = 0;
        this.u();
        this.a();
        if (this.d().C()) {
            if (!this.z()) {
                if (this.m().b()) {
                    com.google.android.gms.measurement.internal.ab v0_42 = this.e().c.a();
                    if (v0_42 != 0) {
                        this.f().s().a("Uploading events. Elapsed time since last upload attempt (ms)", Long.valueOf(Math.abs((this.o().a() - v0_42))));
                    }
                    com.google.android.gms.measurement.internal.ab v0_48 = this.l().r();
                    if (!android.text.TextUtils.isEmpty(v0_48)) {
                        com.google.android.gms.measurement.internal.ac v3_10 = this.l().a(v0_48, this.d().I(), this.d().J());
                        if (!v3_10.isEmpty()) {
                            com.google.android.gms.measurement.internal.at v4_9 = v3_10.iterator();
                            while (v4_9.hasNext()) {
                                com.google.android.gms.measurement.internal.ab v0_55 = ((com.google.android.gms.b.u) ((android.util.Pair) v4_9.next()).first);
                                if (!android.text.TextUtils.isEmpty(v0_55.s)) {
                                    com.google.android.gms.measurement.internal.at v4_10 = v0_55.s;
                                }
                                java.util.List v1_0;
                                if (v4_10 == null) {
                                    v1_0 = v3_10;
                                } else {
                                    java.util.List v1_3 = 0;
                                    while (v1_3 < v3_10.size()) {
                                        com.google.android.gms.measurement.internal.ab v0_62 = ((com.google.android.gms.b.u) ((android.util.Pair) v3_10.get(v1_3)).first);
                                        if ((android.text.TextUtils.isEmpty(v0_62.s)) || (v0_62.s.equals(v4_10))) {
                                            v1_3++;
                                        } else {
                                            v1_0 = v3_10.subList(0, v1_3);
                                        }
                                    }
                                }
                                com.google.android.gms.measurement.internal.ac v3_1 = new com.google.android.gms.b.t();
                                com.google.android.gms.measurement.internal.ab v0_5 = new com.google.android.gms.b.u[v1_0.size()];
                                v3_1.a = v0_5;
                                com.google.android.gms.measurement.internal.at v4_1 = new java.util.ArrayList(v1_0.size());
                                long v6_0 = this.o().a();
                                while (v2_0 < v3_1.a.length) {
                                    v3_1.a[v2_0] = ((com.google.android.gms.b.u) ((android.util.Pair) v1_0.get(v2_0)).first);
                                    v4_1.add(((android.util.Pair) v1_0.get(v2_0)).second);
                                    v3_1.a[v2_0].r = Long.valueOf(this.d().B());
                                    v3_1.a[v2_0].d = Long.valueOf(v6_0);
                                    v3_1.a[v2_0].z = Boolean.valueOf(this.d().C());
                                    v2_0++;
                                }
                                com.google.android.gms.measurement.internal.ab v0_11 = this.k().a(v3_1);
                                java.util.List v1_2 = this.d().K();
                                try {
                                    String v2_2 = new java.net.URL(v1_2);
                                    this.a(v4_1);
                                    this.e().d.a(this.o().a());
                                    this.m().a(v2_2, v0_11, new com.google.android.gms.measurement.internal.at(this));
                                } catch (com.google.android.gms.measurement.internal.ab v0) {
                                    this.f().b().a("Failed to parse upload URL. Not uploading", v1_2);
                                }
                            }
                            v4_10 = 0;
                        }
                    }
                } else {
                    this.f().o().a("Network not connected, ignoring upload request");
                    this.B();
                }
            } else {
                this.f().o().a("Uploading requested multiple times");
            }
        } else {
            com.google.android.gms.measurement.internal.ab v0_3 = this.e().q();
            if (v0_3 != null) {
                if (!v0_3.booleanValue()) {
                } else {
                    this.f().b().a("Upload called in the client side when service should be used");
                }
            } else {
                this.f().o().a("Upload data called on the client side before use of service was decided");
            }
        }
        return;
    }