Files
rr3-apk/decompiled/sources/com/mbridge/msdk/foundation/tools/d.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

119 lines
4.9 KiB
Java

package com.mbridge.msdk.foundation.tools;
import android.content.Context;
import com.fyber.inneractive.sdk.external.InneractiveMediationDefs;
import com.mbridge.msdk.MBridgeConstans;
import com.mbridge.msdk.foundation.download.core.DownloadCommon;
import com.mbridge.msdk.foundation.same.DomainNameUtils;
import org.json.JSONException;
import org.json.JSONObject;
/* loaded from: classes4.dex */
public class d {
public int a;
public int b;
public String c;
public String d;
public String e;
public String f;
public String g;
public String h;
public String j;
public String k;
public int m;
public String n;
public String o;
public String p;
public String r;
public String s;
public String t;
public String v;
public String q = "android";
public String i = ab.m();
public String u = ab.w();
public String l = f.c();
public d(Context context) {
int m = ab.m(context);
this.n = String.valueOf(m);
this.o = ab.a(context, m);
this.j = ab.g(context);
this.e = com.mbridge.msdk.foundation.controller.c.m().b();
this.d = com.mbridge.msdk.foundation.controller.c.m().k();
this.t = String.valueOf(ak.f(context));
this.s = String.valueOf(ak.e(context));
this.r = String.valueOf(ak.d(context));
this.v = com.mbridge.msdk.foundation.controller.c.m().i().toString();
this.g = ab.x();
this.m = ak.a();
if (context.getResources().getConfiguration().orientation == 2) {
this.p = "landscape";
} else {
this.p = "portrait";
}
this.f = com.mbridge.msdk.foundation.same.a.V;
this.h = com.mbridge.msdk.foundation.same.a.g;
this.k = ab.n();
this.c = f.d();
this.a = f.a();
this.b = com.mbridge.msdk.foundation.controller.authoritycontroller.b.b() ? 1 : 0;
}
public JSONObject a() {
JSONObject jSONObject = new JSONObject();
try {
if (com.mbridge.msdk.foundation.controller.authoritycontroller.c.j().c(MBridgeConstans.AUTHORITY_GENERAL_DATA)) {
jSONObject.put("device", this.i);
jSONObject.put("system_version", this.u);
jSONObject.put("network_type", this.n);
jSONObject.put("network_type_str", this.o);
jSONObject.put("device_ua", this.j);
jSONObject.put("has_wx", ab.v(com.mbridge.msdk.foundation.controller.c.m().c()));
jSONObject.put("integrated_wx", ab.z());
jSONObject.put("opensdk_ver", ab.u() + "");
jSONObject.put("wx_api_ver", ab.c(com.mbridge.msdk.foundation.controller.c.m().h()) + "");
jSONObject.put("brand", this.g);
jSONObject.put("mnc", ab.l(com.mbridge.msdk.foundation.controller.c.m().c()));
jSONObject.put("mcc", ab.k(com.mbridge.msdk.foundation.controller.c.m().c()));
jSONObject.put("adid_limit", this.a);
jSONObject.put("adid_limit_dev", this.b);
}
jSONObject.put("plantform", this.q);
if (com.mbridge.msdk.foundation.controller.authoritycontroller.c.j().c(MBridgeConstans.AUTHORITY_DEVICE_ID)) {
jSONObject.put("google_ad_id", this.l);
jSONObject.put("az_aid_info", this.c);
}
jSONObject.put("appkey", this.e);
jSONObject.put("appId", this.d);
jSONObject.put("screen_width", this.t);
jSONObject.put("screen_height", this.s);
jSONObject.put("orientation", this.p);
jSONObject.put("scale", this.r);
jSONObject.put(DownloadCommon.DOWNLOAD_REPORT_FIND_FILE_RESULT_VALUE_B, this.f);
jSONObject.put("c", this.h);
jSONObject.put("web_env", this.v);
jSONObject.put(InneractiveMediationDefs.GENDER_FEMALE, this.k);
jSONObject.put("misk_spt", this.m);
if (ab.q() != 0) {
jSONObject.put("tun", ab.q());
}
jSONObject.put(com.mbridge.msdk.foundation.same.net.f.e.c, com.mbridge.msdk.foundation.controller.authoritycontroller.c.j().f() + "");
if (com.mbridge.msdk.foundation.controller.authoritycontroller.c.j().c(MBridgeConstans.AUTHORITY_GENERAL_DATA)) {
JSONObject jSONObject2 = new JSONObject();
jSONObject2.put("adid_limit", this.a);
jSONObject2.put("adid_limit_dev", this.b);
jSONObject.put("dvi", z.b(jSONObject2.toString()));
}
if (!com.mbridge.msdk.foundation.controller.authoritycontroller.b.a()) {
jSONObject.put("dev_source", "2");
}
if (DomainNameUtils.getInstance().isExcludeCNDomain()) {
jSONObject.put("re_domain", "1");
}
} catch (JSONException e) {
e.printStackTrace();
}
return jSONObject;
}
}