MT Manager v2.15.3版本的 MD5 值为:27f0d62ac7123fbbaefff319fdab9f13
以下内容为反编译后的 C4849.java 源代码,内容仅作参考
package l;
import android.content.Context;
import android.os.Build;
import android.text.TextUtils;
import com.alipay.sdk.m.p0.c;
import com.umeng.analytics.pro.am;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.concurrent.Executor;
public final class C4849 {
public static C4849 f14766;
public boolean f14774;
public String f14767 = "";
public String f14773 = "";
public String f14777 = "";
public String f14769 = "";
public String f14771 = "";
public String f14776 = "";
public String f14768 = "";
public List f14772 = Collections.synchronizedList(new ArrayList());
public List f14775 = Collections.synchronizedList(new ArrayList());
public Executor f14770 = C1200.m3836();
public static void m12148(C4849 c4849) {
c4849.getClass();
C10884.m24184("AttaReporter", "attaReportAtSubThread");
boolean z = c4849.f14774;
List list = c4849.f14772;
if (!z) {
List synchronizedList = Collections.synchronizedList(new ArrayList());
c4849.f14774 = synchronizedList.isEmpty();
list.addAll(synchronizedList);
Iterator it = synchronizedList.iterator();
while (it.hasNext()) {
C10884.m24184("AttaReporter", "attaReportAtSubThread from db = " + ((Serializable) it.next()));
}
}
ArrayList arrayList = new ArrayList();
while (true) {
int i = 1;
int i2 = 0;
if (list.isEmpty()) {
break;
}
C5691 c5691 = (C5691) list.remove(0);
while (true) {
i2 += i;
try {
C10884.m24184("AttaReporter", "doAttaReportItem post " + c5691);
if (C7375.m17569().m17571("https://h.trace.qq.com/kv", c5691.f17451).d() == 200) {
}
} catch (Exception e) {
C10884.m24181(e);
if (i2 >= 2) {
break;
}
}
}
}
if (!arrayList.isEmpty()) {
C10884.m24184("AttaReporter", "attaReportAtSubThread fail size=" + arrayList.size());
Iterator it2 = arrayList.iterator();
while (it2.hasNext()) {
C10884.m24184("AttaReporter", "attaReportAtSubThread fail cache to db, " + ((C5691) ((Serializable) it2.next())));
}
c4849.f14774 = false;
return;
}
if (c4849.f14774) {
return;
}
C10884.m24184("AttaReporter", "attaReportAtSubThread clear db");
c4849.f14774 = true;
}
public static synchronized C4849 m12146() {
C4849 c4849;
synchronized (C4849.class) {
if (f14766 == null) {
f14766 = new C4849();
}
c4849 = f14766;
}
return c4849;
}
public final void m12149(Context context) {
C10884.m24184("AttaReporter", "init");
this.f14767 = "101492915";
this.f14773 = C2042.m5931(context);
this.f14769 = C11305.m24730(context, C3680.m10017());
this.f14771 = C3680.m10017();
this.f14776 = C2042.m5937(context) ? "1" : "0";
this.f14768 = C11305.m24728(context);
while (true) {
List list = this.f14775;
if (list.isEmpty()) {
break;
}
C5691 c5691 = (C5691) list.remove(0);
c5691.f17451.put(c.d, this.f14767);
HashMap hashMap = c5691.f17451;
hashMap.put("app_name", this.f14773);
hashMap.put("app_ver", this.f14769);
hashMap.put("pkg_name", this.f14771);
hashMap.put("qq_install", this.f14776);
hashMap.put("qq_ver", this.f14768);
hashMap.put("openid", this.f14777);
hashMap.put("time_appid_openid", ((String) hashMap.get("time")) + "_" + this.f14767 + "_" + this.f14777);
StringBuilder sb = new StringBuilder("fixDirtyData--------------------------");
sb.append(c5691);
C10884.m24184("AttaReporter", sb.toString());
this.f14772.add(c5691);
}
Context m10014 = C3680.m10014();
if (m10014 == null) {
return;
}
m10014.deleteDatabase("sdk_report.db");
}
public final void m12150(String str) {
C10884.m24184("AttaReporter", "updateOpenId");
if (str == null) {
str = "";
}
this.f14777 = str;
}
public final void m12151(String str, String str2, Object obj) {
long currentTimeMillis = System.currentTimeMillis();
HashMap hashMap = new HashMap();
hashMap.put("attaid", "09400051119");
hashMap.put("token", "9389887874");
hashMap.put("time_appid_openid", currentTimeMillis + "_" + this.f14767 + "_" + this.f14777);
hashMap.put("time", String.valueOf(currentTimeMillis));
hashMap.put("openid", this.f14777);
hashMap.put(c.d, this.f14767);
hashMap.put("app_name", this.f14773);
hashMap.put("app_ver", this.f14769);
hashMap.put("pkg_name", this.f14771);
hashMap.put(am.x, "AND");
hashMap.put("os_ver", Build.VERSION.RELEASE);
hashMap.put("sdk_ver", "3.5.14.lite");
hashMap.put("model_name", C9575.m22037().m22042());
hashMap.put("interface_name", str);
hashMap.put("interface_data", str2);
hashMap.put("interface_result", obj == null ? "" : obj.toString());
hashMap.put("qq_install", this.f14776);
hashMap.put("qq_ver", this.f14768);
C5691 c5691 = new C5691(hashMap);
if (TextUtils.isEmpty(this.f14767) || TextUtils.isEmpty(this.f14773) || C3680.m10014() == null) {
C10884.m24184("AttaReporter", "attaReport cancel appid=" + this.f14767 + ", mAppName=" + this.f14773 + ", context=" + C3680.m10014() + ", " + c5691);
this.f14775.add(c5691);
return;
}
this.f14770.execute(new RunnableC13270(this, c5691));
}
public static String m12147() {
return m12146().f14767;
}
}