MT Manager v2.15.3版本的 MD5 值为:1cbd6ee7afdac97645dd3a8c4751ecf0
以下内容为反编译后的 C13470.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 C13470 {
public static C13470 f39568;
public boolean f39577;
public String f39572 = "";
public String f39574 = "";
public String f39573 = "";
public String f39569 = "";
public String f39571 = "";
public String f39579 = "";
public String f39575 = "";
public List f39578 = Collections.synchronizedList(new ArrayList());
public List f39576 = Collections.synchronizedList(new ArrayList());
public Executor f39570 = C6827.m16911();
public static void m28730(C13470 c13470) {
c13470.getClass();
C14358.m30098("AttaReporter", "attaReportAtSubThread");
boolean z = c13470.f39577;
List list = c13470.f39578;
if (!z) {
List synchronizedList = Collections.synchronizedList(new ArrayList());
c13470.f39577 = synchronizedList.isEmpty();
list.addAll(synchronizedList);
Iterator it = synchronizedList.iterator();
while (it.hasNext()) {
C14358.m30098("AttaReporter", "attaReportAtSubThread from db = " + ((Serializable) it.next()));
}
}
ArrayList arrayList = new ArrayList();
while (true) {
int i = 1;
int i2 = 0;
if (list.isEmpty()) {
break;
}
C0837 c0837 = (C0837) list.remove(0);
while (true) {
i2 += i;
try {
C14358.m30098("AttaReporter", "doAttaReportItem post " + c0837);
if (C10102.m23145().m23147("https://h.trace.qq.com/kv", c0837.f2766).d() == 200) {
}
} catch (Exception e) {
C14358.m30100(e);
if (i2 >= 2) {
break;
}
}
}
}
if (!arrayList.isEmpty()) {
C14358.m30098("AttaReporter", "attaReportAtSubThread fail size=" + arrayList.size());
Iterator it2 = arrayList.iterator();
while (it2.hasNext()) {
C14358.m30098("AttaReporter", "attaReportAtSubThread fail cache to db, " + ((C0837) ((Serializable) it2.next())));
}
c13470.f39577 = false;
return;
}
if (c13470.f39577) {
return;
}
C14358.m30098("AttaReporter", "attaReportAtSubThread clear db");
c13470.f39577 = true;
}
public static synchronized C13470 m28728() {
C13470 c13470;
synchronized (C13470.class) {
if (f39568 == null) {
f39568 = new C13470();
}
c13470 = f39568;
}
return c13470;
}
public final void m28731(Context context) {
C14358.m30098("AttaReporter", "init");
this.f39572 = "101492915";
this.f39574 = C0930.m3346(context);
this.f39569 = C7669.m18584(context, C11739.m25899());
this.f39571 = C11739.m25899();
this.f39579 = C0930.m3352(context) ? "1" : "0";
this.f39575 = C7669.m18588(context);
while (true) {
List list = this.f39576;
if (list.isEmpty()) {
break;
}
C0837 c0837 = (C0837) list.remove(0);
c0837.f2766.put(c.d, this.f39572);
HashMap hashMap = c0837.f2766;
hashMap.put("app_name", this.f39574);
hashMap.put("app_ver", this.f39569);
hashMap.put("pkg_name", this.f39571);
hashMap.put("qq_install", this.f39579);
hashMap.put("qq_ver", this.f39575);
hashMap.put("openid", this.f39573);
hashMap.put("time_appid_openid", ((String) hashMap.get("time")) + "_" + this.f39572 + "_" + this.f39573);
StringBuilder sb = new StringBuilder("fixDirtyData--------------------------");
sb.append(c0837);
C14358.m30098("AttaReporter", sb.toString());
this.f39578.add(c0837);
}
Context m25896 = C11739.m25896();
if (m25896 == null) {
return;
}
m25896.deleteDatabase("sdk_report.db");
}
public final void m28732(String str) {
C14358.m30098("AttaReporter", "updateOpenId");
if (str == null) {
str = "";
}
this.f39573 = str;
}
public final void m28733(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.f39572 + "_" + this.f39573);
hashMap.put("time", String.valueOf(currentTimeMillis));
hashMap.put("openid", this.f39573);
hashMap.put(c.d, this.f39572);
hashMap.put("app_name", this.f39574);
hashMap.put("app_ver", this.f39569);
hashMap.put("pkg_name", this.f39571);
hashMap.put(am.x, "AND");
hashMap.put("os_ver", Build.VERSION.RELEASE);
hashMap.put("sdk_ver", "3.5.14.lite");
hashMap.put("model_name", C2474.m7141().m7145());
hashMap.put("interface_name", str);
hashMap.put("interface_data", str2);
hashMap.put("interface_result", obj == null ? "" : obj.toString());
hashMap.put("qq_install", this.f39579);
hashMap.put("qq_ver", this.f39575);
C0837 c0837 = new C0837(hashMap);
if (TextUtils.isEmpty(this.f39572) || TextUtils.isEmpty(this.f39574) || C11739.m25896() == null) {
C14358.m30098("AttaReporter", "attaReport cancel appid=" + this.f39572 + ", mAppName=" + this.f39574 + ", context=" + C11739.m25896() + ", " + c0837);
this.f39576.add(c0837);
return;
}
this.f39570.execute(new RunnableC15154(this, c0837));
}
public static String m28729() {
return m28728().f39572;
}
}