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>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,128 @@
package com.mbridge.msdk.e;
import android.text.TextUtils;
import com.ironsource.adapters.mintegral.MintegralAdapter;
import com.ironsource.mediationsdk.logger.IronSourceError;
/* loaded from: classes4.dex */
public final class a {
public static int a(int i, String str) {
try {
if (TextUtils.isEmpty(str)) {
return i;
}
if (str.startsWith("errorCode: ") && str.length() > 16) {
return Integer.parseInt(str.substring(11, 15));
}
if (str.equals("do not have sorceList")) {
return i + IronSourceError.ERROR_BN_LOAD_AFTER_LONG_INITIATION;
}
if (str.equals("Network error,UnknownHostException")) {
return i + IronSourceError.ERROR_BN_INIT_FAILED_AFTER_LOAD;
}
if (str.equals("v3 is timeout")) {
return i + IronSourceError.ERROR_BN_LOAD_WHILE_LONG_INITIATION;
}
if (!str.equals("Current unit is loading!") && !str.equals("current unit is loading")) {
if (str.equals("Network error,I/O exception response null")) {
return i + IronSourceError.ERROR_BN_LOAD_EXCEPTION;
}
if (str.equals("Network error,ConnectException")) {
return i + 606;
}
if (str.equals("Network error,socket timeout exception")) {
return i + IronSourceError.ERROR_BN_INSTANCE_INIT_TIMEOUT;
}
if (str.equals("Network error,disconnected network exception")) {
return i + 608;
}
if (str.equals("Network error,timeout exception")) {
return i + IronSourceError.ERROR_BN_INSTANCE_RELOAD_TIMEOUT;
}
if (str.startsWith("Network error,please check state code")) {
return i + 610;
}
if (str.equals("Network error,I/O exception contents null")) {
return i + IronSourceError.ERROR_BN_INSTANCE_LOAD_EMPTY_ADAPTER;
}
if (str.equals("Network unknown error")) {
return i + IronSourceError.ERROR_BN_INSTANCE_INIT_EXCEPTION;
}
if (str.equals("Network error,I/O exception")) {
return i + IronSourceError.ERROR_BN_RELOAD_SKIP_INVISIBLE;
}
if (str.equals("web env is not support")) {
return i + IronSourceError.ERROR_BN_RELOAD_SKIP_BACKGROUND;
}
if (str.equals("Network error,unknown")) {
return i + IronSourceError.ERROR_BN_LOAD_NO_CONFIG;
}
if (str.equals("Network errorsslp exception")) {
return i + IronSourceError.ERROR_BN_UNSUPPORTED_SIZE;
}
if (str.startsWith("Cast exception, return data")) {
return i + IronSourceError.ERROR_BN_BANNER_CONTAINER_IS_NULL;
}
if (str.equals("REQUEST_TIMEOUT")) {
return i + IronSourceError.ERROR_NT_LOAD_AFTER_LONG_INITIATION;
}
if (str.startsWith("The server returns an exception")) {
return i + IronSourceError.ERROR_NT_INIT_FAILED_AFTER_LOAD;
}
if (!str.equals("APP ALREADY INSTALLED") && !str.equals("Need show campaign list is NULL!")) {
if (str.startsWith("load no ad")) {
return i + IronSourceError.ERROR_NT_LOAD_PLACEMENT_CAPPED;
}
if (str.equals("EXCEPTION_UNIT_NOT_FOUND_IN_APP")) {
return i + IronSourceError.ERROR_NT_LOAD_EXCEPTION;
}
if (str.equals("EXCEPTION_UNIT_BIDDING_TYPE_ERROR")) {
return i + IronSourceError.ERROR_NT_LOAD_NO_FILL;
}
if (str.equals("No video campaign")) {
return i + IronSourceError.ERROR_NT_INSTANCE_INIT_TIMEOUT;
}
if (str.equals(MintegralAdapter.MINTERGRAL_NO_FILL_EXCEPTION_RETURN_EMPTY)) {
return i + IronSourceError.ERROR_NT_INSTANCE_LOAD_TIMEOUT;
}
if (str.equals("EXCEPTION_APP_PLATFORM_ERROR")) {
return i + 709;
}
if (str.equals("EXCEPTION_SERVICE_REQUEST_OS_VERSION_REQUIRED")) {
return i + 710;
}
if (str.equals("banner res load failed")) {
return i + 801;
}
if (str.equals("resource load timeout is tpl: false")) {
return i + 802;
}
if (str.startsWith("resource download failed")) {
return i + 803;
}
if (str.equals("temp preload success but isReady false")) {
return i + 804;
}
if (str.equals("temp resource download failed")) {
return i + 805;
}
if (str.equals("tpl temp resource download failed")) {
return i + 806;
}
if (str.equals("resource load timeout is tpl: true")) {
return i + 807;
}
if (!str.startsWith("https://") && !str.startsWith("http://")) {
return str.equals("mraid resource write fail") ? i + 809 : str.startsWith("data save failed:") ? i + 810 : str.equals("resource load timeout") ? i + 811 : str.startsWith("tpl temp preload failed") ? i + 812 : i;
}
return i + 808;
}
return i + IronSourceError.ERROR_NT_LOAD_WHILE_LONG_INITIATION;
}
return i + IronSourceError.ERROR_BN_LOAD_PLACEMENT_CAPPED;
} catch (Exception e) {
e.printStackTrace();
return i;
}
}
}

View File

@@ -0,0 +1,8 @@
package com.mbridge.msdk.e.a;
/* loaded from: classes4.dex */
public interface a {
void onFinish();
void onTick(long j);
}

View File

@@ -0,0 +1,82 @@
package com.mbridge.msdk.e.a;
import android.os.CountDownTimer;
/* loaded from: classes4.dex */
public final class b {
private com.mbridge.msdk.e.a.a a;
private long b;
private a c;
private long d = 0;
public final b a(long j) {
if (j < 0) {
j = 1000;
}
this.b = j;
return this;
}
public final b a(com.mbridge.msdk.e.a.a aVar) {
this.a = aVar;
return this;
}
public final b b(long j) {
this.d = j;
return this;
}
public final void a() {
a aVar = this.c;
if (aVar != null) {
aVar.cancel();
this.c = null;
}
}
public static class a extends CountDownTimer {
private com.mbridge.msdk.e.a.a a;
public final void a(com.mbridge.msdk.e.a.a aVar) {
this.a = aVar;
}
public a(long j, long j2) {
super(j, j2);
}
@Override // android.os.CountDownTimer
public final void onTick(long j) {
com.mbridge.msdk.e.a.a aVar = this.a;
if (aVar != null) {
aVar.onTick(j);
}
}
@Override // android.os.CountDownTimer
public final void onFinish() {
com.mbridge.msdk.e.a.a aVar = this.a;
if (aVar != null) {
aVar.onFinish();
}
}
}
public final void b() {
a aVar = this.c;
if (aVar == null) {
if (aVar != null) {
aVar.cancel();
this.c = null;
}
if (this.b <= 0) {
this.b = this.d + 1000;
}
a aVar2 = new a(this.d, this.b);
this.c = aVar2;
aVar2.a(this.a);
}
this.c.start();
}
}

View File

@@ -0,0 +1,41 @@
package com.mbridge.msdk.e;
import com.mbridge.msdk.MBridgeConstans;
import com.mbridge.msdk.foundation.tools.af;
import com.mbridge.msdk.out.MBConfiguration;
/* loaded from: classes4.dex */
public final class b {
private static volatile Boolean a;
private static volatile Boolean b;
public static boolean a() {
if (a == null) {
try {
Boolean valueOf = Boolean.valueOf(Integer.parseInt(String.valueOf(MBConfiguration.SDK_VERSION.charAt(10))) == 2);
a = valueOf;
return valueOf.booleanValue();
} catch (Exception e) {
if (MBridgeConstans.DEBUG) {
af.b("CommonUtils", "isChina", e);
}
}
}
return a != null && a.booleanValue();
}
public static boolean b() {
if (b == null) {
try {
Boolean valueOf = Boolean.valueOf(Integer.parseInt(String.valueOf(MBConfiguration.SDK_VERSION.charAt(10))) == 1);
b = valueOf;
return valueOf.booleanValue();
} catch (Exception e) {
if (MBridgeConstans.DEBUG) {
af.b("CommonUtils", "isOversea", e);
}
}
}
return b != null && b.booleanValue();
}
}

View File

@@ -0,0 +1,68 @@
package com.mbridge.msdk.e;
import android.content.Context;
import android.text.TextUtils;
import android.util.Pair;
import com.google.android.gms.common.GoogleApiAvailability;
import com.mbridge.msdk.foundation.tools.af;
import com.mbridge.msdk.foundation.tools.ah;
import java.util.ArrayList;
import java.util.Iterator;
/* loaded from: classes4.dex */
public final class c {
public static String a = "";
private static boolean b = false;
private static String b() {
ArrayList arrayList = new ArrayList();
arrayList.add(Pair.create(1, "org.chromium.net.impl.JavaCronetProvider"));
arrayList.add(Pair.create(2, "org.chromium.net.impl.NativeCronetProvider"));
arrayList.add(Pair.create(3, "com.google.android.gms.net.PlayServicesCronetProvider"));
arrayList.add(Pair.create(4, "com.google.android.gms.net.GmsCoreCronetProvider"));
try {
StringBuilder sb = new StringBuilder();
ClassLoader classLoader = com.mbridge.msdk.foundation.controller.c.m().c().getClassLoader();
Iterator it = arrayList.iterator();
while (it.hasNext()) {
Pair pair = (Pair) it.next();
try {
if (!TextUtils.isEmpty(classLoader.loadClass((String) pair.second).getConstructor(Context.class).newInstance(com.mbridge.msdk.foundation.controller.c.m().c()).getClass().getName())) {
if (sb.length() > 0) {
sb.append(",");
}
sb.append(pair.first);
}
} catch (Throwable th) {
af.b("CronetEnvCheckUtil", th.getMessage());
}
}
return sb.toString();
} catch (Throwable th2) {
af.b("CronetEnvCheckUtil", th2.getMessage());
return "";
}
}
public static void a() {
if (ah.a().a("cronet_env_check", false)) {
try {
GoogleApiAvailability.getInstance().getApkVersion(com.mbridge.msdk.foundation.controller.c.m().c());
GoogleApiAvailability.getInstance().verifyGooglePlayServicesIsAvailable(com.mbridge.msdk.foundation.controller.c.m().c(), 11925000);
try {
String b2 = b();
boolean z = !TextUtils.isEmpty(b2);
b = z;
if (z) {
a = b2;
}
} catch (Throwable th) {
af.b("CronetEnvCheckUtil", th.getMessage());
}
} catch (Throwable th2) {
af.b("CronetEnvCheckUtil", th2.getMessage());
b = false;
}
}
}
}

View File

@@ -0,0 +1,20 @@
package com.mbridge.msdk.e;
import android.database.sqlite.SQLiteDatabase;
/* loaded from: classes4.dex */
public final class d {
public static boolean a(SQLiteDatabase sQLiteDatabase) {
if (sQLiteDatabase == null) {
return false;
}
try {
if (sQLiteDatabase.isOpen()) {
return !sQLiteDatabase.isReadOnly();
}
return false;
} catch (Exception unused) {
return false;
}
}
}

View File

@@ -0,0 +1,7 @@
package com.mbridge.msdk.e;
/* loaded from: classes4.dex */
public final class e {
public static boolean a = false;
public static boolean b = false;
}