- 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
47 lines
1.5 KiB
Java
47 lines
1.5 KiB
Java
package com.fyber.inneractive.sdk.cache.session;
|
|
|
|
import java.util.Iterator;
|
|
import java.util.Map;
|
|
import org.json.JSONArray;
|
|
import org.json.JSONObject;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class d {
|
|
public f a = new f();
|
|
public final Object c = new Object();
|
|
public final Object d = new Object();
|
|
public final a b = new a();
|
|
|
|
public static JSONObject a(d dVar) {
|
|
dVar.getClass();
|
|
JSONObject jSONObject = new JSONObject();
|
|
try {
|
|
jSONObject.put("currentSession", dVar.a.a());
|
|
for (Map.Entry<com.fyber.inneractive.sdk.cache.session.enums.b, h> entry : dVar.b.entrySet()) {
|
|
JSONArray jSONArray = new JSONArray();
|
|
com.fyber.inneractive.sdk.cache.session.enums.b key = entry.getKey();
|
|
Iterator<e> it = entry.getValue().iterator();
|
|
while (it.hasNext()) {
|
|
jSONArray.put(it.next().a(true, true));
|
|
}
|
|
jSONObject.put(key.name(), jSONArray);
|
|
}
|
|
} catch (Exception unused) {
|
|
}
|
|
return jSONObject;
|
|
}
|
|
|
|
public final void a(com.fyber.inneractive.sdk.cache.session.enums.b bVar, e eVar) {
|
|
synchronized (this.d) {
|
|
try {
|
|
h hVar = this.b.get(bVar);
|
|
if (hVar != null) {
|
|
hVar.add(eVar);
|
|
}
|
|
} catch (Throwable th) {
|
|
throw th;
|
|
}
|
|
}
|
|
}
|
|
}
|