Step Record v1.1.5版本的 MD5 值为:5797275f89198878d2f00ee92d534382
以下内容为反编译后的 r2.java 源代码,内容仅作参考
package com.chartboost.sdk.impl;
import com.anythink.core.common.c.j;
import com.chartboost.sdk.impl.j2;
import java.util.concurrent.TimeUnit;
import org.json.JSONObject;
public final class r2 extends j2 {
public final JSONObject r;
public final JSONObject s;
public final JSONObject t;
public final JSONObject u;
public r2(String str, f9 f9Var, k8 k8Var, j2.a aVar) {
this("POST", "https://live.chartboost.com", str, f9Var, k8Var, null, aVar);
}
public void b(String str, Object obj) {
a2.a(this.u, str, obj);
a("ad", this.u);
}
public void c(String str, Object obj) {
a2.a(this.r, str, obj);
a("sdk", this.r);
}
@Override
public void f() {
a2.a(this.s, "app", this.q.h);
a2.a(this.s, "bundle", this.q.e);
a2.a(this.s, "bundle_id", this.q.f);
a2.a(this.s, com.anythink.expressad.foundation.g.a.bx, "");
a2.a(this.s, "ui", -1);
JSONObject jSONObject = this.s;
Boolean bool = Boolean.FALSE;
a2.a(jSONObject, "test_mode", bool);
a("app", this.s);
boolean z = false;
a2.a(this.t, "carrier", a2.a(a2.a("carrier_name", this.q.m.optString("carrier-name")), a2.a("mobile_country_code", this.q.m.optString("mobile-country-code")), a2.a("mobile_network_code", this.q.m.optString("mobile-network-code")), a2.a("iso_country_code", this.q.m.optString("iso-country-code")), a2.a("phone_type", Integer.valueOf(this.q.m.optInt("phone-type")))));
a2.a(this.t, "model", this.q.a);
a2.a(this.t, "make", this.q.k);
a2.a(this.t, "device_type", this.q.j);
a2.a(this.t, "actual_device_type", this.q.l);
a2.a(this.t, "os", this.q.b);
a2.a(this.t, "country", this.q.c);
a2.a(this.t, "language", this.q.d);
a2.a(this.t, "timestamp", String.valueOf(TimeUnit.MILLISECONDS.toSeconds(this.q.j().getCurrentTimeMillis())));
a2.a(this.t, "reachability", this.q.g().getConnectionTypeFromActiveNetwork());
a2.a(this.t, "is_portrait", Boolean.valueOf(this.q.b().getIsPortrait()));
a2.a(this.t, "scale", Float.valueOf(this.q.b().getScale()));
a2.a(this.t, "timezone", this.q.o);
a2.a(this.t, "connectiontype", Integer.valueOf(this.q.g().getOpenRTBConnectionType().getValue()));
a2.a(this.t, "dw", Integer.valueOf(this.q.b().getDeviceWidth()));
a2.a(this.t, "dh", Integer.valueOf(this.q.b().getDeviceHeight()));
a2.a(this.t, "dpi", this.q.b().getDpi());
a2.a(this.t, com.anythink.core.common.w.a, Integer.valueOf(this.q.b().getWidth()));
a2.a(this.t, "h", Integer.valueOf(this.q.b().getHeight()));
a2.a(this.t, "user_agent", gb.a.a());
a2.a(this.t, "device_family", "");
a2.a(this.t, "retina", bool);
n5 c = this.q.c();
if (c != null) {
a2.a(this.t, "identity", c.getIdentifiers());
ua trackingState = c.getTrackingState();
if (trackingState != ua.TRACKING_UNKNOWN) {
if (trackingState == ua.TRACKING_LIMITED) {
z = true;
}
a2.a(this.t, "limit_ad_tracking", Boolean.valueOf(z));
}
Integer setIdScope = c.getSetIdScope();
if (setIdScope != null) {
a2.a(this.t, "appsetidscope", setIdScope);
}
} else {
z6.e("CBWebViewRequest", "Missing identity in the CB SDK. This will affect ads performance.");
}
m8 f = this.q.f();
String tcfString = f.getTcfString();
if (tcfString != null) {
a2.a(this.t, "consent", tcfString);
}
a2.a(this.t, "pidatauseconsent", f.getPiDataUseConsent());
a2.a(this.t, "privacy", f.getPrivacyListAsJson());
a("device", this.t);
a2.a(this.r, "sdk", this.q.g);
if (this.q.d() != null) {
a2.a(this.r, "mediation", this.q.d().getMediationName());
a2.a(this.r, "mediation_version", this.q.d().getLibraryVersion());
a2.a(this.r, "adapter_version", this.q.d().getAdapterVersion());
}
a2.a(this.r, "commit_hash", "bfe995dfe7a2792ccf7718abbff0597da17f40c3");
String configVariant = this.q.a().getConfigVariant();
if (!w0.b().a(configVariant)) {
a2.a(this.r, "config_variant", configVariant);
}
a("sdk", this.r);
a2.a(this.u, "session", Integer.valueOf(this.q.i()));
if (this.u.isNull("cache")) {
a2.a(this.u, "cache", bool);
}
if (this.u.isNull("amount")) {
a2.a(this.u, "amount", 0);
}
if (this.u.isNull(j.b.h)) {
a2.a(this.u, j.b.h, 0);
}
if (this.u.isNull("location")) {
a2.a(this.u, "location", "");
}
a("ad", this.u);
}
public r2(String str, String str2, String str3, f9 f9Var, k8 k8Var, String str4, j2.a aVar) {
super(str, str2, str3, f9Var, k8Var, str4, aVar);
this.r = new JSONObject();
this.s = new JSONObject();
this.t = new JSONObject();
this.u = new JSONObject();
}
}