导航菜单

页面标题

页面副标题

Chaupal v3.2 - d.java 源代码

正在查看: Chaupal v3.2 应用的 d.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package wb;

import android.app.Activity;
import android.app.Application;
import android.content.Context;
import android.content.pm.PackageManager;
import android.os.Build;
import android.os.Bundle;
import android.util.Log;
import com.yupptv.analytics.plugin.events.EventQueueManager;
import com.yupptv.analytics.plugin.impl.StateMachine;
import com.yupptv.analytics.plugin.utils.HeartbeatManager;
import com.yupptv.plugin.vplayer.events.ContextKeys;
import com.yupptv.plugin.vplayer.events.EventContextKeys;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
import org.json.JSONException;
import org.json.JSONObject;
import yb.a;
import yb.e;

public class d extends wb.a {
    String d;
    String e;
    private EventQueueManager f;
    private Map<String, String> h;
    private Context i;
    private xb.b j;
    private StateMachine k;
    private xb.c l;
    String c = "20";
    private Long g = null;
    yb.d m = new a();
    boolean n = false;
    String o = "";
    private ScheduledExecutorService a = Executors.newScheduledThreadPool(1, new vb.a());
    private final HeartbeatManager b = HeartbeatManager.g();

    class a implements yb.d {
        a() {
        }

        @Override
        public void a(String str) {
            String str2;
            try {
                JSONObject jSONObject = new JSONObject(str);
                if (jSONObject.has("hb_rate")) {
                    d.this.c = jSONObject.getString("hb_rate");
                }
                d dVar = d.this;
                if (jSONObject.has("collector_api")) {
                    str2 = "http://" + jSONObject.getString("collector_api");
                } else {
                    str2 = "";
                }
                dVar.d = str2;
                if (!tb.a.f) {
                    Log.e("Player Analytics", "Is Activity exists?" + d.this.n);
                }
                if (d.this.i == null) {
                    if (d.this.l != null) {
                        d.this.l.onError("init failed");
                        return;
                    }
                    return;
                }
                yb.b.d(d.this.i, yb.b.a, ub.a.b, d.this.d);
                yb.b.d(d.this.i, yb.b.a, ub.a.a, d.this.c);
                d dVar2 = d.this;
                dVar2.T(dVar2.O());
                if (d.this.l != null) {
                    d.this.l.onSuccess();
                }
            } catch (JSONException unused) {
                d dVar3 = d.this;
                dVar3.c = "20";
                dVar3.d = "http://ace.api.yuppcdn.net/analytics/partner";
                yb.b.d(dVar3.i, yb.b.a, ub.a.b, d.this.d);
                yb.b.d(d.this.i, yb.b.a, ub.a.a, d.this.c);
                d dVar4 = d.this;
                dVar4.T(dVar4.O());
                if (d.this.l != null) {
                    d.this.l.onSuccess();
                }
            }
        }
    }

    class b implements Application.ActivityLifecycleCallbacks {
        b() {
        }

        @Override
        public void onActivityCreated(Activity activity, Bundle bundle) {
            d.this.n = true;
        }

        @Override
        public void onActivityDestroyed(Activity activity) {
            d.this.n = false;
        }

        @Override
        public void onActivityPaused(Activity activity) {
            if (d.this.b != null) {
                d.this.b.j();
            }
            if (!tb.a.f) {
                Log.e("TAG", "Stopped Heart beat:");
            }
            d.this.n = false;
        }

        @Override
        public void onActivityResumed(Activity activity) {
            d.this.n = true;
        }

        @Override
        public void onActivitySaveInstanceState(Activity activity, Bundle bundle) {
        }

        @Override
        public void onActivityStarted(Activity activity) {
            d.this.n = true;
        }

        @Override
        public void onActivityStopped(Activity activity) {
            if (d.this.b != null) {
                d.this.b.j();
            }
            if (!tb.a.f) {
                Log.e("TAG", "Stopped Heart beat:");
            }
            d.this.n = false;
        }
    }

    class c implements xb.b {
        c() {
        }

        @Override
        public Long a() {
            return Long.valueOf(Long.parseLong(d.this.c));
        }

        @Override
        public String b() {
            return d.this.d;
        }

        @Override
        public String c() {
            return d.this.e;
        }
    }

    class RunnableC0194d implements Runnable {
        final Map a;

        RunnableC0194d(Map map) {
            this.a = map;
        }

        @Override
        public void run() {
            try {
                if (d.this.g == null || "".equals(d.this.g) || d.this.a == null) {
                    return;
                }
                d.this.b.h(d.this.j, d.this.k, d.this.g, this.a);
            } catch (Throwable unused) {
            }
        }
    }

    public d(Context context, StateMachine stateMachine) {
        this.i = context;
        this.k = stateMachine;
        S(context);
    }

    private void A(Map<String, String> map) {
        try {
            map.put(ContextKeys.ANALYTICS_ID.getParamKey(), URLEncoder.encode(tb.a.b(), "UTF-8"));
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
        }
    }

    private void B(Map<String, String> map) {
        map.put(ContextKeys.ANALYTICS_VERSION.getParamKey(), tb.a.a);
        map.put(ContextKeys.APP_VERSION.getParamKey(), L());
    }

    private void C(Map<String, String> map) {
        map.put(ContextKeys.ANALYTICS_VERSION.getParamKey(), tb.a.a);
        map.put(ContextKeys.DEVICE_OS.getParamKey(), tb.a.b);
        map.put(ContextKeys.CONNECTION_TYPE.getParamKey(), e.d(this.i));
        map.put(ContextKeys.VIDEO_LENGTH.getParamKey(), "-1");
        map.put(ContextKeys.BIT_RATE.getParamKey(), "-1");
        map.put(ContextKeys.END_TIME_POSITION.getParamKey(), "-1");
        map.put(ContextKeys.PLAYER_POSITION.getParamKey(), "-1");
        map.put(ContextKeys.EVENT_MESSAGE.getParamKey(), "-1");
        map.put(ContextKeys.START_TIME_POSITION.getParamKey(), "-1");
        map.put(ContextKeys.CARRIER.getParamKey(), e.e(this.i));
        map.put(ContextKeys.PLAYER_NAME.getParamKey(), this.k.f());
        map.put(ContextKeys.PLAYER_VERSION.getParamKey(), this.k.i());
    }

    private void D(Map<String, String> map) {
        map.put(ContextKeys.DEVICE_OS_VERSION.getParamKey(), Build.VERSION.RELEASE);
        map.put(ContextKeys.DEVICE_BRAND.getParamKey(), Build.MANUFACTURER);
        map.put(ContextKeys.DEVICE_MODEL.getParamKey(), Build.MODEL);
        ContextKeys contextKeys = ContextKeys.DEVICE_TYPE;
        map.put(contextKeys.getParamKey(), M(this.h.get(contextKeys.getParamKey())));
        ContextKeys contextKeys2 = ContextKeys.DEVICE_CLIENT;
        map.put(contextKeys2.getParamKey(), M(this.h.get(contextKeys2.getParamKey())));
        ContextKeys contextKeys3 = ContextKeys.BOX_ID;
        map.put(contextKeys3.getParamKey(), M(this.h.get(contextKeys3.getParamKey())));
    }

    private void E(Map<String, String> map, boolean z) {
        if (z) {
            this.b.f().set(0);
        }
        map.put(ContextKeys.EVENT_COUNTER.getParamKey(), String.valueOf(this.b.f().incrementAndGet()));
    }

    private void F(Map<String, String> map) {
        map.put(ContextKeys.PLAYER_STATE.getParamKey(), this.k.c());
    }

    private void G(Map<String, String> map) {
        ContextKeys contextKeys = ContextKeys.PROFILE_ID;
        map.put(contextKeys.getParamKey(), M(this.h.get(contextKeys.getParamKey())));
    }

    private void H(Map<String, String> map) {
        ContextKeys contextKeys = ContextKeys.PRODUCT_NAME;
        map.put(contextKeys.getParamKey(), M(this.h.get(contextKeys.getParamKey())));
        ContextKeys contextKeys2 = ContextKeys.VENDOR_ID;
        map.put(contextKeys2.getParamKey(), M(this.h.get(contextKeys2.getParamKey())));
        ContextKeys contextKeys3 = ContextKeys.USER_ID;
        map.put(contextKeys3.getParamKey(), M(this.h.get(contextKeys3.getParamKey())));
        ContextKeys contextKeys4 = ContextKeys.CONTENT_TYPE;
        map.put(contextKeys4.getParamKey(), M(this.h.get(contextKeys4.getParamKey())));
        ContextKeys contextKeys5 = ContextKeys.CHANNEL_ID;
        map.put(contextKeys5.getParamKey(), M(this.h.get(contextKeys5.getParamKey())));
        ContextKeys contextKeys6 = ContextKeys.PROGRAM_ID;
        map.put(contextKeys6.getParamKey(), M(this.h.get(contextKeys6.getParamKey())));
        ContextKeys contextKeys7 = ContextKeys.METADATA_ID;
        map.put(contextKeys7.getParamKey(), M(this.h.get(contextKeys7.getParamKey())));
        ContextKeys contextKeys8 = ContextKeys.CUSTOM_METADATA;
        map.put(contextKeys8.getParamKey(), M(this.h.get(contextKeys8.getParamKey())));
        ContextKeys contextKeys9 = ContextKeys.EPG_START_TIME;
        map.put(contextKeys9.getParamKey(), M(this.h.get(contextKeys9.getParamKey())));
        ContextKeys contextKeys10 = ContextKeys.EPG_END_TIME;
        map.put(contextKeys10.getParamKey(), M(this.h.get(contextKeys10.getParamKey())));
        ContextKeys contextKeys11 = ContextKeys.IS_PROMOTIONAL;
        map.put(contextKeys11.getParamKey(), M(this.h.get(contextKeys11.getParamKey())));
        ContextKeys contextKeys12 = ContextKeys.VOD_STREAM_POSITION;
        map.put(contextKeys12.getParamKey(), M(this.h.get(contextKeys12.getParamKey())));
        map.put(contextKeys12.getParamKey(), M(this.h.get(contextKeys12.getParamKey())));
    }

    private void I(Map<String, String> map) {
        Long l = this.g;
        if (l != null && !"".equals(l)) {
            map.put(ContextKeys.PLAY_SESSION_KEY.getParamKey(), String.valueOf(this.g));
        }
        map.put(ContextKeys.TIME_STAMP.getParamKey(), String.valueOf(System.currentTimeMillis()));
        if (this.j != null) {
            map.put(ContextKeys.SESSION_KEY.getParamKey(), String.valueOf(this.j.c()));
        }
    }

    private void J(Map<String, String> map) {
        ContextKeys contextKeys = ContextKeys.SYNDICATE_PARTNER;
        map.put(contextKeys.getParamKey(), M(this.h.get(contextKeys.getParamKey())));
    }

    private void K(Map<String, String> map) {
        tb.a.g(M(map.get(ContextKeys.ANALYTICS_ID.getParamKey())));
        EventQueueManager eventQueueManager = this.f;
        if (eventQueueManager != null) {
            eventQueueManager.i(tb.a.b());
        }
    }

    private void N(Map<String, String> map) {
        ContextKeys contextKeys = ContextKeys.SESSION_KEY;
        if (map.containsKey(contextKeys.getParamKey())) {
            this.e = M(map.get(contextKeys.getParamKey()));
            T(O());
        }
    }

    public xb.b O() {
        return new c();
    }

    private void P(EventContextKeys eventContextKeys, Map<String, String> map) {
        if (!tb.a.f) {
            Log.e("PlayerAnalytics", " Event Type :: " + eventContextKeys.getParamKey());
        }
        map.put(EventContextKeys.EVENT_TYPE.getParamKey(), eventContextKeys.getParamKey());
        I(map);
        B(map);
        A(map);
        D(map);
        F(map);
        if (eventContextKeys.getParamKey().equalsIgnoreCase("1")) {
            E(map, true);
        } else {
            E(map, false);
        }
        H(map);
        G(map);
        J(map);
        if (this.g != null) {
            this.k.m(this.f.d(map));
        }
    }

    private Map R(Map<String, String> map) {
        K(map);
        N(map);
        ContextKeys contextKeys = ContextKeys.IS_SUBSCRIBED;
        map.put(contextKeys.getParamKey(), M(map.get(contextKeys.getParamKey())));
        ContextKeys contextKeys2 = ContextKeys.SEASON_NUMBER;
        map.put(contextKeys2.getParamKey(), M(map.get(contextKeys2.getParamKey())));
        ContextKeys contextKeys3 = ContextKeys.PARTNER_ID;
        map.put(contextKeys3.getParamKey(), M(map.get(contextKeys3.getParamKey())));
        ContextKeys contextKeys4 = ContextKeys.PARTNER_NAME;
        map.put(contextKeys4.getParamKey(), M(map.get(contextKeys4.getParamKey())));
        ContextKeys contextKeys5 = ContextKeys.METADATA_ID;
        map.put(contextKeys5.getParamKey(), M(map.get(contextKeys5.getParamKey())));
        ContextKeys contextKeys6 = ContextKeys.COUNTRY;
        map.put(contextKeys6.getParamKey(), M(map.get(contextKeys6.getParamKey())));
        ContextKeys contextKeys7 = ContextKeys.STATE;
        map.put(contextKeys7.getParamKey(), M(map.get(contextKeys7.getParamKey())));
        ContextKeys contextKeys8 = ContextKeys.CITY;
        map.put(contextKeys8.getParamKey(), M(map.get(contextKeys8.getParamKey())));
        ContextKeys contextKeys9 = ContextKeys.AD_TYPE;
        map.put(contextKeys9.getParamKey(), M(map.get(contextKeys9.getParamKey())));
        ContextKeys contextKeys10 = ContextKeys.CHANNEL_NAME;
        map.put(contextKeys10.getParamKey(), M(map.get(contextKeys10.getParamKey())));
        ContextKeys contextKeys11 = ContextKeys.PROGRAM_ID;
        map.put(contextKeys11.getParamKey(), M(map.get(contextKeys11.getParamKey())));
        ContextKeys contextKeys12 = ContextKeys.CHANNEL_ID;
        map.put(contextKeys12.getParamKey(), M(map.get(contextKeys12.getParamKey())));
        ContextKeys contextKeys13 = ContextKeys.PROGRAM_NAME;
        map.put(contextKeys13.getParamKey(), M(map.get(contextKeys13.getParamKey())));
        ContextKeys contextKeys14 = ContextKeys.SUB_CATEGORY;
        map.put(contextKeys14.getParamKey(), M(map.get(contextKeys14.getParamKey())));
        ContextKeys contextKeys15 = ContextKeys.AUTO_PLAY;
        map.put(contextKeys15.getParamKey(), M(map.get(contextKeys15.getParamKey())));
        ContextKeys contextKeys16 = ContextKeys.ANALYTICS_ID;
        map.put(contextKeys16.getParamKey(), M(map.get(contextKeys16.getParamKey())));
        ContextKeys contextKeys17 = ContextKeys.VENDOR_ID;
        map.put(contextKeys17.getParamKey(), M(map.get(contextKeys17.getParamKey())));
        ContextKeys contextKeys18 = ContextKeys.ATTRIBUTE1;
        map.put(contextKeys18.getParamKey(), M(map.get(contextKeys18.getParamKey())));
        ContextKeys contextKeys19 = ContextKeys.ATTRIBUTE2;
        map.put(contextKeys19.getParamKey(), M(map.get(contextKeys19.getParamKey())));
        ContextKeys contextKeys20 = ContextKeys.ATTRIBUTE3;
        map.put(contextKeys20.getParamKey(), M(map.get(contextKeys20.getParamKey())));
        ContextKeys contextKeys21 = ContextKeys.INTERNET_PROVIDER;
        map.put(contextKeys21.getParamKey(), M(map.get(contextKeys21.getParamKey())));
        ContextKeys contextKeys22 = ContextKeys.STREAM_URL;
        map.put(contextKeys22.getParamKey(), M(map.get(contextKeys22.getParamKey())));
        ContextKeys contextKeys23 = ContextKeys.LANGUAGE;
        map.put(contextKeys23.getParamKey(), M(map.get(contextKeys23.getParamKey())));
        ContextKeys contextKeys24 = ContextKeys.NAVIGATION_FROM;
        map.put(contextKeys24.getParamKey(), M(map.get(contextKeys24.getParamKey())));
        ContextKeys contextKeys25 = ContextKeys.BOX_ID;
        map.put(contextKeys25.getParamKey(), e.a(this.i, map.get(contextKeys25.getParamKey())));
        map.put(ContextKeys.CONTENT_DELIVERY_NETWORK.getParamKey(), e.c(M(map.get(contextKeys22.getParamKey()))));
        map.put(ContextKeys.APP_VERSION.getParamKey(), e.b(this.i));
        ContextKeys contextKeys26 = ContextKeys.USER_ID;
        map.put(contextKeys26.getParamKey(), M(map.get(contextKeys26.getParamKey())));
        ContextKeys contextKeys27 = ContextKeys.DEVICE_CLIENT;
        map.put(contextKeys27.getParamKey(), M(map.get(contextKeys27.getParamKey())));
        ContextKeys contextKeys28 = ContextKeys.EPISODE_NUMBER;
        map.put(contextKeys28.getParamKey(), M(map.get(contextKeys28.getParamKey())));
        ContextKeys contextKeys29 = ContextKeys.DEVICE_ID;
        map.put(contextKeys29.getParamKey(), M(map.get(contextKeys29.getParamKey())));
        ContextKeys contextKeys30 = ContextKeys.DEVICE_TYPE;
        map.put(contextKeys30.getParamKey(), M(map.get(contextKeys30.getParamKey())));
        ContextKeys contextKeys31 = ContextKeys.CONTENT_TYPE;
        map.put(contextKeys31.getParamKey(), M(map.get(contextKeys31.getParamKey())));
        ContextKeys contextKeys32 = ContextKeys.PRODUCT_NAME;
        map.put(contextKeys32.getParamKey(), M(map.get(contextKeys32.getParamKey())));
        ContextKeys contextKeys33 = ContextKeys.VIDEO_LIST;
        map.put(contextKeys33.getParamKey(), M(map.get(contextKeys33.getParamKey())));
        ContextKeys contextKeys34 = ContextKeys.CLIENT_IP;
        map.put(contextKeys34.getParamKey(), M(map.get(contextKeys34.getParamKey())));
        ContextKeys contextKeys35 = ContextKeys.GENRE;
        map.put(contextKeys35.getParamKey(), M(map.get(contextKeys35.getParamKey())));
        ContextKeys contextKeys36 = ContextKeys.CUSTOM_METADATA;
        map.put(contextKeys36.getParamKey(), M(map.get(contextKeys36.getParamKey())));
        ContextKeys contextKeys37 = ContextKeys.PROFILE_ID;
        map.put(contextKeys37.getParamKey(), M(map.get(contextKeys37.getParamKey())));
        ContextKeys contextKeys38 = ContextKeys.SYNDICATE_PARTNER;
        map.put(contextKeys38.getParamKey(), M(map.get(contextKeys38.getParamKey())));
        return map;
    }

    private void S(Context context) {
        if (context instanceof Activity) {
            ((Activity) context).getApplication().registerActivityLifecycleCallbacks(new b());
        }
    }

    public void T(xb.b bVar) {
        Log.e("Analytics", "url" + bVar.b());
        tb.a.i(bVar.b());
        tb.a.f(bVar.c());
        this.f = EventQueueManager.f().j();
        this.k.u();
        this.j = bVar;
    }

    public String L() {
        if (this.i == null) {
            return "";
        }
        if (this.o.length() != 0) {
            return this.o;
        }
        try {
            this.o = this.i.getPackageManager().getPackageInfo(this.i.getPackageName(), 0).versionName;
        } catch (PackageManager.NameNotFoundException e) {
            e.printStackTrace();
        }
        return this.o;
    }

    public String M(String str) {
        return (str == null || str.length() <= 0) ? "-1" : str;
    }

    public xb.d<String, String> Q(boolean z, String str, String str2, xb.c cVar) {
        this.e = str2;
        this.l = cVar;
        tb.a.f = z;
        tb.a.h("POST");
        this.d = yb.b.b(this.i, yb.b.a, ub.a.b, "");
        this.c = yb.b.b(this.i, yb.b.a, ub.a.a, "0");
        Long valueOf = Long.valueOf(yb.b.a(this.i, yb.b.a, "date_firstlaunch", 0L));
        if (valueOf.longValue() == 0) {
            yb.b.c(this.i, yb.b.a, "date_firstlaunch", Long.valueOf(System.currentTimeMillis()).longValue());
            a.c cVar2 = new a.c(this.m);
            String[] strArr = new String[1];
            StringBuilder sb2 = new StringBuilder();
            sb2.append(z ? tb.a.d : tb.a.c);
            sb2.append(str);
            strArr[0] = sb2.toString();
            cVar2.execute(strArr);
            return this;
        }
        if (System.currentTimeMillis() >= valueOf.longValue() + (ub.a.c * 24 * 60 * 60 * 1000)) {
            a.c cVar3 = new a.c(this.m);
            String[] strArr2 = new String[1];
            StringBuilder sb3 = new StringBuilder();
            sb3.append(z ? tb.a.d : tb.a.c);
            sb3.append(str);
            strArr2[0] = sb3.toString();
            cVar3.execute(strArr2);
        } else {
            String str3 = this.d;
            if (str3 == null || str3.length() <= 0) {
                a.c cVar4 = new a.c(this.m);
                String[] strArr3 = new String[1];
                StringBuilder sb4 = new StringBuilder();
                sb4.append(z ? tb.a.d : tb.a.c);
                sb4.append(str);
                strArr3[0] = sb4.toString();
                cVar4.execute(strArr3);
            } else {
                String str4 = this.c;
                if (str4 != null && str4.length() < 2) {
                    this.c = "20";
                }
                this.l.onSuccess();
                T(O());
            }
        }
        return this;
    }

    @Override
    public void a(Map<String, String> map) {
        P(EventContextKeys.BUFFER_END, map);
    }

    @Override
    public void b(Map<String, String> map) {
        P(EventContextKeys.BUFFER_START, map);
    }

    @Override
    public void c(Map<String, String> map) {
        P(EventContextKeys.PLAYBACK_END, map);
        this.b.i();
        this.g = null;
        ScheduledExecutorService scheduledExecutorService = this.a;
        if (scheduledExecutorService != null) {
            scheduledExecutorService.shutdownNow();
            this.a = null;
        }
    }

    @Override
    public void d(Map<String, String> map) {
        this.h = R(map);
    }

    @Override
    public void e(Map<String, String> map) {
        P(EventContextKeys.ERROR, map);
    }

    @Override
    public void f(Map<String, String> map) {
        P(EventContextKeys.ADENDEDUSER, map);
    }

    @Override
    public void g(Map<String, String> map) {
        P(EventContextKeys.PLAYBACK_RESUME, map);
    }

    @Override
    public void h(Map<String, String> map) {
        P(EventContextKeys.PLAYBACK_ENDUSER, map);
        this.b.i();
        this.g = null;
        ScheduledExecutorService scheduledExecutorService = this.a;
        if (scheduledExecutorService != null) {
            scheduledExecutorService.shutdownNow();
            this.a = null;
        }
    }

    @Override
    public void i(Map<String, String> map) {
        P(EventContextKeys.PLAYERLOAD, map);
    }

    @Override
    public void j(Map<String, String> map) {
        P(EventContextKeys.ADENDED, map);
    }

    @Override
    public void k(Map<String, String> map) {
        P(EventContextKeys.SEEK, map);
    }

    @Override
    public void l(Map<String, String> map) {
        P(EventContextKeys.ADSTARTED, map);
    }

    @Override
    public void m(Map<String, String> map) {
        P(EventContextKeys.PLAYBACK_STARTED, map);
    }

    @Override
    public void n(Map<String, String> map) {
        P(EventContextKeys.PLAYBACK_PAUSE, map);
    }

    @Override
    public void o(Map<String, String> map) {
        P(EventContextKeys.ADSKIPED, map);
    }

    @Override
    public void p() {
        this.k.u();
        this.k.w(this);
        if (this.a == null) {
            this.a = Executors.newScheduledThreadPool(1, new vb.a());
        }
        EventQueueManager eventQueueManager = this.f;
        if (eventQueueManager != null) {
            eventQueueManager.j();
            LinkedHashMap linkedHashMap = new LinkedHashMap();
            this.g = Long.valueOf(System.currentTimeMillis());
            linkedHashMap.putAll(this.h);
            C(linkedHashMap);
            D(linkedHashMap);
            P(EventContextKeys.SESSION_INIT, linkedHashMap);
            Map<String, String> g = this.k.g(-1L, -1L, -1L);
            I(g);
            H(g);
            G(g);
            D(g);
            J(g);
            B(g);
            A(g);
            this.a.schedule(new RunnableC0194d(g), this.j.a() == null ? 120L : this.j.a().longValue(), TimeUnit.SECONDS);
        }
    }

    @Override
    public void q() {
        this.i = null;
    }
}