Files
rr3-apk/decompiled/sources/com/ironsource/vb.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

85 lines
2.4 KiB
Java

package com.ironsource;
import android.util.Pair;
import java.security.InvalidParameterException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
/* loaded from: classes2.dex */
public class vb {
private static final String e = "EventsTracker";
private td a;
private pb b;
private ke c;
private ExecutorService d;
public class a implements Runnable {
final /* synthetic */ String a;
public a(String str) {
this.a = str;
}
@Override // java.lang.Runnable
public void run() {
try {
vo voVar = new vo();
ArrayList<Pair<String, String>> d = vb.this.b.d();
if ("POST".equals(vb.this.b.e())) {
voVar = ff.b(vb.this.b.b(), this.a, d);
} else if ("GET".equals(vb.this.b.e())) {
voVar = ff.a(vb.this.b.b(), this.a, d);
}
vb.this.a("response status code: " + voVar.a);
} catch (Exception e) {
i9.d().a(e);
}
}
}
public vb(pb pbVar, td tdVar) {
if (pbVar == null) {
throw new InvalidParameterException("Null configuration not supported ");
}
if (pbVar.c() == null) {
throw new InvalidParameterException("Null formatter not supported ");
}
this.b = pbVar;
this.a = tdVar;
this.c = pbVar.c();
this.d = Executors.newSingleThreadExecutor();
}
/* JADX INFO: Access modifiers changed from: private */
public void a(String str) {
this.b.f();
}
private void a(Map<String, Object> map, Map<String, Object> map2) {
try {
map.putAll(map2);
} catch (Exception e2) {
i9.d().a(e2);
}
}
private void b(String str) {
this.d.submit(new a(str));
}
public void a(String str, Map<String, Object> map) {
a(String.format(Locale.ENGLISH, "%s %s", str, map.toString()));
if (this.b.a() && !str.isEmpty()) {
HashMap hashMap = new HashMap();
hashMap.put("eventname", str);
a(hashMap, this.a.a());
a(hashMap, map);
b(this.c.a(hashMap));
}
}
}