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,182 @@
package com.mbridge.msdk.foundation.a.a;
import com.mbridge.msdk.MBridgeConstans;
import com.mbridge.msdk.foundation.controller.c;
import com.mbridge.msdk.foundation.same.b.e;
import com.mbridge.msdk.foundation.tools.FastKV;
import com.mbridge.msdk.foundation.tools.af;
/* loaded from: classes4.dex */
public class a {
public static final String a = "a";
private static a c;
FastKV b;
private a() {
}
public static synchronized a a() {
a aVar;
synchronized (a.class) {
try {
if (c == null) {
c = new a();
}
aVar = c;
} catch (Throwable th) {
throw th;
}
}
return aVar;
}
public final String a(String str) {
try {
} catch (Exception e) {
if (MBridgeConstans.DEBUG) {
af.a(a, "get error: " + e.getMessage());
}
}
if (c.m().c() == null) {
return null;
}
b();
FastKV fastKV = this.b;
if (fastKV != null) {
try {
return fastKV.getString(str, "");
} catch (Exception unused) {
return "";
}
}
return null;
}
public final int a(String str, int i) {
try {
} catch (Exception e) {
if (MBridgeConstans.DEBUG) {
af.a(a, "getInt error: " + e.getMessage());
}
}
if (c.m().c() == null) {
return i;
}
b();
FastKV fastKV = this.b;
if (fastKV != null) {
try {
return fastKV.getInt(str, i);
} catch (Exception unused) {
return i;
}
}
return i;
}
public final Long b(String str) {
try {
} catch (Exception e) {
if (MBridgeConstans.DEBUG) {
af.a(a, "getLong error: " + e.getMessage());
}
}
if (c.m().c() == null) {
af.b(a, "context is null in get");
return 0L;
}
b();
FastKV fastKV = this.b;
if (fastKV != null) {
try {
return Long.valueOf(fastKV.getLong(str, 0L));
} catch (Exception unused) {
return 0L;
}
}
return 0L;
}
public final void a(String str, String str2) {
try {
if (c.m().c() == null) {
return;
}
b();
FastKV fastKV = this.b;
if (fastKV != null) {
try {
fastKV.putString(str, str2);
} catch (Exception unused) {
}
}
} catch (Exception e) {
if (MBridgeConstans.DEBUG) {
af.a(a, "put error: " + e.getMessage());
}
}
}
public final void b(String str, int i) {
try {
if (c.m().c() == null) {
return;
}
b();
FastKV fastKV = this.b;
if (fastKV != null) {
try {
fastKV.putInt(str, i);
} catch (Exception unused) {
}
}
} catch (Exception e) {
e.printStackTrace();
}
}
public final void a(String str, long j) {
try {
if (c.m().c() == null) {
af.b(a, "context is null in put");
return;
}
b();
FastKV fastKV = this.b;
if (fastKV != null) {
try {
fastKV.putLong(str, j);
} catch (Exception unused) {
}
}
} catch (Exception e) {
if (MBridgeConstans.DEBUG) {
af.a(a, "putLong error: " + e.getMessage());
}
}
}
public final void c(String str) {
if (c.m().c() == null) {
return;
}
b();
FastKV fastKV = this.b;
if (fastKV != null) {
try {
fastKV.remove(str);
} catch (Exception unused) {
}
}
}
private void b() {
if (this.b == null) {
try {
this.b = new FastKV.Builder(e.a(com.mbridge.msdk.foundation.same.b.c.MBRIDGE_700_CONFIG), "mbridge").build();
} catch (Exception unused) {
this.b = null;
}
}
}
}