Files
rr3-apk/decompiled/sources/com/mbridge/msdk/foundation/entity/e.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

180 lines
5.3 KiB
Java

package com.mbridge.msdk.foundation.entity;
import android.text.TextUtils;
import com.ironsource.v8;
import com.mbridge.msdk.MBridgeConstans;
import com.mbridge.msdk.foundation.tools.af;
import com.mbridge.msdk.mbbid.common.BidResponsedEx;
import java.util.ArrayList;
import java.util.List;
import org.json.JSONObject;
/* loaded from: classes4.dex */
public final class e {
private String a;
private String b;
private String c;
private int d;
private int e;
private String f;
private String g;
private String h;
private int i;
private String j;
private int k;
private String l;
private int m;
private String n;
private String o;
private int p;
private String q;
public final void a(int i) {
this.m = i;
}
public final void a(String str) {
this.q = str;
}
public final void b(int i) {
this.d = i;
}
public final void b(String str) {
this.n = str;
}
public final void c(int i) {
this.p = i;
}
public final void c(String str) {
this.l = str;
}
public final void d(int i) {
this.i = i;
}
public final void d(String str) {
this.g = str;
}
public final void e(int i) {
this.k = i;
}
public final void e(String str) {
this.c = str;
}
public final void f(int i) {
this.e = i;
}
public final void f(String str) {
this.h = str;
}
public final void g(String str) {
this.f = str;
}
public final void h(String str) {
this.j = str;
}
public final void i(String str) {
this.b = str;
}
public final void j(String str) {
this.a = str;
}
public final void k(String str) {
this.o = str;
}
public static ArrayList<JSONObject> a(List<e> list) {
if (list == null || list.isEmpty()) {
return null;
}
ArrayList<JSONObject> arrayList = new ArrayList<>();
for (e eVar : list) {
try {
JSONObject jSONObject = new JSONObject();
jSONObject.put("rid", eVar.n);
jSONObject.put("rid_n", eVar.o);
jSONObject.put(BidResponsedEx.KEY_CID, eVar.a);
jSONObject.put("click_type", eVar.d);
jSONObject.put("type", eVar.p);
jSONObject.put("click_duration", eVar.b);
jSONObject.put("key", "2000013");
jSONObject.put(MBridgeConstans.PROPERTIES_UNIT_ID, eVar.q);
jSONObject.put("last_url", eVar.j);
jSONObject.put("content", eVar.f);
jSONObject.put("code", eVar.e);
jSONObject.put("exception", eVar.g);
jSONObject.put("header", eVar.h);
jSONObject.put(CampaignEx.JSON_KEY_LANDING_TYPE, eVar.i);
jSONObject.put(CampaignEx.JSON_KEY_LINK_TYPE, eVar.k);
jSONObject.put("click_time", eVar.c);
if (com.mbridge.msdk.foundation.controller.authoritycontroller.c.j().c(MBridgeConstans.AUTHORITY_GENERAL_DATA)) {
jSONObject.put("network_type", eVar.m);
jSONObject.put("network_str", eVar.l);
}
String str = eVar.q;
if (!TextUtils.isEmpty(str)) {
String str2 = com.mbridge.msdk.foundation.controller.a.b.get(str);
if (str2 == null) {
str2 = "";
}
jSONObject.put("u_stid", str2);
}
arrayList.add(jSONObject);
} catch (Throwable th) {
af.b("ClickTime", th.getMessage());
}
}
return arrayList;
}
public final String toString() {
return "ClickTime [campaignId=" + this.a + ", click_duration=" + this.b + ", lastUrl=" + this.j + ", code=" + this.e + ", excepiton=" + this.g + ", header=" + this.h + ", content=" + this.f + ", type=" + this.p + ", click_type=" + this.d + v8.i.e;
}
public static JSONObject a(e eVar) {
if (eVar == null) {
return null;
}
String str = eVar.j;
try {
JSONObject jSONObject = new JSONObject();
jSONObject.put("rid", eVar.n);
jSONObject.put("rid_n", eVar.o);
jSONObject.put("click_type", eVar.d);
jSONObject.put("type", eVar.p);
jSONObject.put(BidResponsedEx.KEY_CID, eVar.a);
jSONObject.put("click_duration", eVar.b);
jSONObject.put("key", "2000012");
jSONObject.put(MBridgeConstans.PROPERTIES_UNIT_ID, eVar.q);
jSONObject.put("last_url", str);
jSONObject.put("code", eVar.e);
jSONObject.put("exception", eVar.g);
jSONObject.put(CampaignEx.JSON_KEY_LANDING_TYPE, eVar.i);
jSONObject.put(CampaignEx.JSON_KEY_LINK_TYPE, eVar.k);
jSONObject.put("click_time", eVar.c);
if (com.mbridge.msdk.foundation.controller.authoritycontroller.c.j().c(MBridgeConstans.AUTHORITY_GENERAL_DATA)) {
jSONObject.put("network_type", eVar.m);
jSONObject.put("network_str", eVar.l);
}
return jSONObject;
} catch (Throwable th) {
af.b("ClickTime", th.getMessage());
return null;
}
}
}