- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
489 lines
11 KiB
Java
489 lines
11 KiB
Java
package com.mbridge.msdk.foundation.entity;
|
|
|
|
import android.content.Context;
|
|
import android.text.TextUtils;
|
|
import androidx.annotation.NonNull;
|
|
import com.ironsource.nb;
|
|
import com.ironsource.v8;
|
|
import com.mbridge.msdk.foundation.tools.ab;
|
|
import java.io.UnsupportedEncodingException;
|
|
import java.net.URLEncoder;
|
|
import java.util.HashMap;
|
|
import java.util.Map;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public final class n {
|
|
public static int a = 1;
|
|
public static int b;
|
|
private String A;
|
|
private String B;
|
|
private String C;
|
|
private String D;
|
|
private int E;
|
|
private String F;
|
|
private String G;
|
|
private String I;
|
|
private String J;
|
|
private String K;
|
|
private int L;
|
|
private long M;
|
|
private String N;
|
|
private int O;
|
|
private String d;
|
|
private int e;
|
|
private int g;
|
|
private String h;
|
|
private String i;
|
|
private String j;
|
|
private String k;
|
|
private String l;
|
|
private String m;
|
|
private String n;
|
|
private String o;
|
|
private String p;
|
|
private String q;
|
|
private int r;
|
|
private String s;
|
|
private String t;
|
|
private String u;
|
|
private int w;
|
|
private String x;
|
|
private String y;
|
|
private String z;
|
|
private Map<String, String> c = null;
|
|
private int f = 0;
|
|
private int v = 0;
|
|
private int H = 0;
|
|
|
|
public final int A() {
|
|
return this.O;
|
|
}
|
|
|
|
public final int B() {
|
|
return this.v;
|
|
}
|
|
|
|
public final int C() {
|
|
return this.g;
|
|
}
|
|
|
|
public final String D() {
|
|
return this.I;
|
|
}
|
|
|
|
public final String E() {
|
|
return this.n;
|
|
}
|
|
|
|
public final int F() {
|
|
return this.H;
|
|
}
|
|
|
|
public final String a() {
|
|
return this.s;
|
|
}
|
|
|
|
public final void a(int i) {
|
|
this.w = i;
|
|
}
|
|
|
|
public final void a(String str) {
|
|
this.s = str;
|
|
}
|
|
|
|
public final String b() {
|
|
return this.C;
|
|
}
|
|
|
|
public final void b(int i) {
|
|
this.E = i;
|
|
}
|
|
|
|
public final void b(String str) {
|
|
this.C = str;
|
|
}
|
|
|
|
public final String c() {
|
|
return this.K;
|
|
}
|
|
|
|
public final void c(int i) {
|
|
this.e = i;
|
|
}
|
|
|
|
public final void c(String str) {
|
|
this.K = str;
|
|
}
|
|
|
|
public final String d() {
|
|
return this.d;
|
|
}
|
|
|
|
public final void d(int i) {
|
|
this.v = i;
|
|
}
|
|
|
|
public final void d(String str) {
|
|
this.d = str;
|
|
}
|
|
|
|
public final String e() {
|
|
return this.h;
|
|
}
|
|
|
|
public final void e(int i) {
|
|
this.H = i;
|
|
}
|
|
|
|
public final void e(String str) {
|
|
this.h = str;
|
|
}
|
|
|
|
public final String f() {
|
|
return this.A;
|
|
}
|
|
|
|
public final void f(String str) {
|
|
this.A = str;
|
|
}
|
|
|
|
public final String g() {
|
|
return this.B;
|
|
}
|
|
|
|
public final void g(String str) {
|
|
this.B = str;
|
|
}
|
|
|
|
public final void h(String str) {
|
|
this.z = str;
|
|
}
|
|
|
|
public final String i() {
|
|
return this.i;
|
|
}
|
|
|
|
public final String j() {
|
|
return this.j;
|
|
}
|
|
|
|
public final void j(String str) {
|
|
this.j = str;
|
|
}
|
|
|
|
public final int k() {
|
|
return this.w;
|
|
}
|
|
|
|
public final void k(String str) {
|
|
this.x = str;
|
|
}
|
|
|
|
public final String l() {
|
|
return this.x;
|
|
}
|
|
|
|
public final void l(String str) {
|
|
this.k = str;
|
|
}
|
|
|
|
public final int m() {
|
|
return this.E;
|
|
}
|
|
|
|
public final String n() {
|
|
return this.k;
|
|
}
|
|
|
|
public final long o() {
|
|
return this.M;
|
|
}
|
|
|
|
public final void o(String str) {
|
|
this.l = str;
|
|
}
|
|
|
|
public final int p() {
|
|
return this.L;
|
|
}
|
|
|
|
public final String q() {
|
|
return this.N;
|
|
}
|
|
|
|
public final String r() {
|
|
return this.y;
|
|
}
|
|
|
|
public final void r(String str) {
|
|
this.n = str;
|
|
}
|
|
|
|
public final String s() {
|
|
return this.m;
|
|
}
|
|
|
|
public final void s(String str) {
|
|
this.u = str;
|
|
}
|
|
|
|
public final String t() {
|
|
return this.l;
|
|
}
|
|
|
|
public final void t(String str) {
|
|
this.D = str;
|
|
}
|
|
|
|
public final int u() {
|
|
return this.e;
|
|
}
|
|
|
|
public final void u(String str) {
|
|
this.F = str;
|
|
}
|
|
|
|
public final String v() {
|
|
return this.o;
|
|
}
|
|
|
|
public final void v(String str) {
|
|
this.G = str;
|
|
}
|
|
|
|
public final String w() {
|
|
return this.J;
|
|
}
|
|
|
|
public final String x() {
|
|
return this.t;
|
|
}
|
|
|
|
public final String y() {
|
|
return this.q;
|
|
}
|
|
|
|
public final int z() {
|
|
return this.r;
|
|
}
|
|
|
|
public n(String str, int i, int i2, int i3, int i4, String str2, String str3, int i5, String str4, int i6, String str5) {
|
|
this.s = str;
|
|
this.w = i;
|
|
this.x = str5;
|
|
this.r = i2;
|
|
this.O = i3;
|
|
this.L = i4;
|
|
try {
|
|
if (!TextUtils.isEmpty(str2)) {
|
|
this.y = URLEncoder.encode(str2, nb.N);
|
|
}
|
|
} catch (UnsupportedEncodingException e) {
|
|
e.printStackTrace();
|
|
}
|
|
this.z = str3;
|
|
this.E = i5;
|
|
this.k = str4;
|
|
this.M = i6;
|
|
}
|
|
|
|
public n() {
|
|
}
|
|
|
|
public n(String str, int i, String str2, String str3, String str4) {
|
|
this.s = str;
|
|
this.x = str4;
|
|
this.w = i;
|
|
if (!TextUtils.isEmpty(str2)) {
|
|
try {
|
|
this.y = URLEncoder.encode(str2, nb.N);
|
|
} catch (UnsupportedEncodingException e) {
|
|
e.printStackTrace();
|
|
}
|
|
}
|
|
this.z = str3;
|
|
}
|
|
|
|
public n(String str, int i, int i2, String str2, int i3, String str3, int i4, String str4) {
|
|
this.s = str;
|
|
this.w = i;
|
|
this.x = str4;
|
|
this.L = i2;
|
|
if (!TextUtils.isEmpty(str2)) {
|
|
try {
|
|
this.y = URLEncoder.encode(str2, nb.N);
|
|
} catch (UnsupportedEncodingException e) {
|
|
e.printStackTrace();
|
|
}
|
|
}
|
|
this.E = i3;
|
|
this.k = str3;
|
|
this.M = i4;
|
|
}
|
|
|
|
public n(Context context, CampaignEx campaignEx, int i, String str, long j, int i2) {
|
|
if (i2 == 1 || i2 == 287 || i2 == 94) {
|
|
this.s = "m_download_end";
|
|
} else if (i2 == 95) {
|
|
this.s = "2000025";
|
|
}
|
|
int m = ab.m(context);
|
|
this.w = m;
|
|
this.x = ab.a(context, m);
|
|
this.L = campaignEx.getVideoLength();
|
|
this.A = campaignEx.getRequestId();
|
|
this.B = campaignEx.getRequestIdNotice();
|
|
if (!TextUtils.isEmpty(this.y)) {
|
|
try {
|
|
this.y = URLEncoder.encode(campaignEx.getNoticeUrl() == null ? campaignEx.getClickURL() : campaignEx.getNoticeUrl(), nb.N);
|
|
} catch (UnsupportedEncodingException e) {
|
|
e.printStackTrace();
|
|
}
|
|
}
|
|
this.E = i;
|
|
this.k = str;
|
|
this.M = j == 0 ? campaignEx.getVideoSize() : j;
|
|
}
|
|
|
|
public n(String str, String str2, String str3, String str4, String str5, String str6, int i, String str7) {
|
|
this.s = str;
|
|
this.o = str2;
|
|
this.J = str3;
|
|
this.t = str4;
|
|
this.K = str5;
|
|
this.h = str6;
|
|
this.w = i;
|
|
this.x = str7;
|
|
}
|
|
|
|
public n(String str) {
|
|
this.p = str;
|
|
}
|
|
|
|
public n(String str, int i, String str2, String str3, String str4, String str5, String str6, String str7) {
|
|
this.s = str;
|
|
this.E = i;
|
|
this.k = str2;
|
|
try {
|
|
if (!TextUtils.isEmpty(str3)) {
|
|
this.m = URLEncoder.encode(str3, nb.N);
|
|
}
|
|
} catch (UnsupportedEncodingException e) {
|
|
e.printStackTrace();
|
|
}
|
|
this.h = str4;
|
|
this.K = str5;
|
|
this.z = str6;
|
|
this.l = str7;
|
|
if (Integer.valueOf(str2).intValue() > com.mbridge.msdk.foundation.same.a.L) {
|
|
this.E = 2;
|
|
}
|
|
}
|
|
|
|
public n(String str, String str2, String str3, String str4, String str5, int i) {
|
|
this.s = str;
|
|
this.h = str2;
|
|
this.A = str3;
|
|
this.B = str4;
|
|
this.K = str5;
|
|
this.w = i;
|
|
}
|
|
|
|
public n(String str, String str2, String str3, String str4, String str5, int i, int i2, String str6) {
|
|
this.s = str;
|
|
this.h = str2;
|
|
this.A = str3;
|
|
this.B = str4;
|
|
this.K = str5;
|
|
this.w = i;
|
|
this.z = str6;
|
|
this.g = i2;
|
|
}
|
|
|
|
public final String h() {
|
|
return TextUtils.isEmpty(this.z) ? "" : this.z;
|
|
}
|
|
|
|
public final void i(String str) {
|
|
if (TextUtils.isEmpty(str)) {
|
|
return;
|
|
}
|
|
this.i = URLEncoder.encode(str);
|
|
}
|
|
|
|
public final void m(String str) {
|
|
try {
|
|
if (TextUtils.isEmpty(str)) {
|
|
return;
|
|
}
|
|
this.N = URLEncoder.encode(str, nb.N);
|
|
} catch (Exception e) {
|
|
e.printStackTrace();
|
|
}
|
|
}
|
|
|
|
public final void n(String str) {
|
|
try {
|
|
if (TextUtils.isEmpty(str)) {
|
|
return;
|
|
}
|
|
this.m = URLEncoder.encode(str, nb.N);
|
|
} catch (Exception e) {
|
|
e.printStackTrace();
|
|
}
|
|
}
|
|
|
|
public final void p(String str) {
|
|
try {
|
|
if (TextUtils.isEmpty(str)) {
|
|
return;
|
|
}
|
|
this.q = URLEncoder.encode(str, nb.N);
|
|
} catch (Exception e) {
|
|
e.printStackTrace();
|
|
}
|
|
}
|
|
|
|
public final void q(String str) {
|
|
try {
|
|
if (TextUtils.isEmpty(str)) {
|
|
return;
|
|
}
|
|
this.I = URLEncoder.encode(str, nb.N);
|
|
} catch (UnsupportedEncodingException e) {
|
|
e.printStackTrace();
|
|
}
|
|
}
|
|
|
|
public final void a(String str, String str2) {
|
|
if (TextUtils.isEmpty(str) || TextUtils.isEmpty(str2)) {
|
|
return;
|
|
}
|
|
if (this.c == null) {
|
|
this.c = new HashMap();
|
|
}
|
|
try {
|
|
this.c.put(str, str2);
|
|
} catch (Exception unused) {
|
|
}
|
|
}
|
|
|
|
public final String b(String str, String str2) {
|
|
Map<String, String> map;
|
|
if (TextUtils.isEmpty(str) || (map = this.c) == null) {
|
|
return str2;
|
|
}
|
|
try {
|
|
String str3 = map.get(str);
|
|
return TextUtils.isEmpty(str3) ? str2 : str3;
|
|
} catch (Exception unused) {
|
|
return str2;
|
|
}
|
|
}
|
|
|
|
@NonNull
|
|
public final String toString() {
|
|
return "RewardReportData [key=" + this.s + ", networkType=" + this.w + ", isCompleteView=" + this.r + ", watchedMillis=" + this.O + ", videoLength=" + this.L + ", offerUrl=" + this.y + ", reason=" + this.z + ", result=" + this.E + ", duration=" + this.k + ", videoSize=" + this.M + v8.i.e;
|
|
}
|
|
}
|