- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
55 lines
1.9 KiB
Java
55 lines
1.9 KiB
Java
package com.ironsource;
|
|
|
|
import android.util.Log;
|
|
import com.ironsource.mediationsdk.logger.IronSourceLogger;
|
|
import com.ironsource.mediationsdk.logger.IronSourceLoggerManager;
|
|
import com.ironsource.mediationsdk.server.HttpFunctions;
|
|
import com.ironsource.mediationsdk.server.ServerURL;
|
|
import org.json.JSONObject;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class zq {
|
|
|
|
public class a implements Runnable {
|
|
final /* synthetic */ String a;
|
|
final /* synthetic */ boolean b;
|
|
final /* synthetic */ int c;
|
|
|
|
public a(String str, boolean z, int i) {
|
|
this.a = str;
|
|
this.b = z;
|
|
this.c = i;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public void run() {
|
|
zq.c(this.a, this.b, this.c);
|
|
}
|
|
}
|
|
|
|
public static void b(String str, boolean z, int i) {
|
|
Thread thread = new Thread(new a(str, z, i), "callAsyncRequestURL");
|
|
thread.setUncaughtExceptionHandler(new com.ironsource.mediationsdk.logger.d());
|
|
thread.start();
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public static void c(String str, boolean z, int i) {
|
|
try {
|
|
new JSONObject(HttpFunctions.getStringFromURL(ServerURL.getRequestURL(str, z, i)));
|
|
IronSourceLoggerManager.getLogger().log(IronSourceLogger.IronSourceTag.NETWORK, "callRequestURL(reqUrl:" + str + ", hit:" + z + ")", 1);
|
|
} catch (Throwable th) {
|
|
i9.d().a(th);
|
|
StringBuilder sb = new StringBuilder("callRequestURL(reqUrl:");
|
|
if (str == null) {
|
|
str = "null";
|
|
}
|
|
sb.append(str);
|
|
sb.append(", hit:");
|
|
sb.append(z);
|
|
sb.append(")");
|
|
IronSourceLoggerManager.getLogger().log(IronSourceLogger.IronSourceTag.NETWORK, sb.toString() + ", e:" + Log.getStackTraceString(th), 0);
|
|
}
|
|
}
|
|
}
|