正在查看: Structured v2.5.8 应用的 RunnableC0202f.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Structured v2.5.8 应用的 RunnableC0202f.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package D2;
import O.C0587j3;
import Q2.AbstractC0725b;
import Y8.C0996l;
import a5.AbstractC1075c;
import android.app.job.JobParameters;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.util.LongSparseArray;
import android.view.Choreographer;
import b.C1225C;
import com.google.android.datatransport.runtime.scheduling.jobscheduling.JobInfoSchedulerService;
import com.revenuecat.purchases.PurchasesOrchestrator$Companion$canMakePayments$2$1;
import com.revenuecat.purchases.common.diagnostics.DiagnosticsEntry;
import com.revenuecat.purchases.common.diagnostics.DiagnosticsTracker;
import com.revenuecat.purchases.common.verification.SigningManager;
import com.revenuecat.purchases.interfaces.Callback;
import f0.C1619a;
import g9.C1700b;
import io.sentry.C1864d;
import io.sentry.C1878h1;
import io.sentry.C1891m;
import io.sentry.C1900p;
import io.sentry.I1;
import io.sentry.SpotlightIntegration;
import io.sentry.Y1;
import io.sentry.Z;
import io.sentry.android.core.AnrIntegration;
import io.sentry.android.core.PhoneStateBreadcrumbsIntegration;
import io.sentry.android.core.SentryAndroidOptions;
import io.sentry.android.core.SystemEventsBreadcrumbsIntegration;
import io.sentry.android.core.TempSensorBreadcrumbsIntegration;
import io.sentry.android.core.U;
import io.sentry.g2;
import io.sentry.ndk.NativeScope;
import io.sentry.p2;
import io.sentry.protocol.C1905c;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import java.util.UUID;
import java.util.concurrent.ConcurrentHashMap;
import java.util.zip.GZIPOutputStream;
import w.AbstractC3104e;
public final class RunnableC0202f implements Runnable {
public final int f2149m;
public final Object f2150n;
public final Object f2151o;
public RunnableC0202f(Object obj, int i6, Object obj2) {
this.f2149m = i6;
this.f2150n = obj;
this.f2151o = obj2;
}
@Override
public final void run() {
int i6 = 1;
switch (this.f2149m) {
case 0:
C0203g c0203g = (C0203g) this.f2150n;
L2.h hVar = (L2.h) this.f2151o;
synchronized (c0203g.f2162k) {
try {
Iterator it = c0203g.f2161j.iterator();
while (it.hasNext()) {
((InterfaceC0199c) it.next()).b(hVar, false);
}
} finally {
}
}
return;
case 1:
((E2.d) this.f2150n).f3106b.h((C0209m) this.f2151o, 3);
return;
case 2:
Iterator it2 = ((List) this.f2150n).iterator();
while (it2.hasNext()) {
((I2.a) it2.next()).a(((J2.f) this.f2151o).f5672e);
}
return;
case 3:
String uuid = ((UUID) this.f2151o).toString();
kotlin.jvm.internal.m.e("id.toString()", uuid);
io.sentry.config.a.h((x) this.f2150n, uuid);
return;
case 4:
((C0996l) this.f2150n).E((Z8.b) this.f2151o);
return;
case 5:
b.m mVar = (b.m) this.f2150n;
C1225C c1225c = (C1225C) this.f2151o;
int i10 = b.m.f16920E;
mVar.f16925m.a(new W2.f(c1225c, i6, mVar));
return;
case 6:
PurchasesOrchestrator$Companion$canMakePayments$2$1.onBillingServiceDisconnected$lambda$2((AbstractC0725b) this.f2150n, (Callback) this.f2151o);
return;
case 7:
DiagnosticsTracker.trackEvent$lambda$0((DiagnosticsTracker) this.f2150n, (DiagnosticsEntry) this.f2151o);
return;
case 8:
C1619a.a((f0.c) this.f2150n, (LongSparseArray) this.f2151o);
return;
case 9:
int i11 = JobInfoSchedulerService.f18405m;
((JobInfoSchedulerService) this.f2150n).jobFinished((JobParameters) this.f2151o, false);
return;
case 10:
((g9.e) ((g9.f) this.f2150n)).g((C1700b) this.f2151o, k7.C.f24133a);
return;
case V1.i.HAS_IMAGE_COLOR_FILTER_FIELD_NUMBER:
((C1900p) this.f2150n).g((g2) this.f2151o);
return;
case SigningManager.NONCE_BYTES_SIZE:
((Z) this.f2151o).j(((C1878h1) this.f2150n).o().getShutdownTimeoutMillis());
return;
case 13:
L2.j jVar = (L2.j) this.f2151o;
SpotlightIntegration spotlightIntegration = (SpotlightIntegration) this.f2150n;
try {
Y1 y12 = spotlightIntegration.f21671m;
if (y12 == null) {
throw new IllegalArgumentException("SentryOptions are required to send envelopes.");
}
HttpURLConnection f2 = SpotlightIntegration.f(y12.getSpotlightConnectionUrl() != null ? spotlightIntegration.f21671m.getSpotlightConnectionUrl() : io.sentry.util.g.f23047a ? "http://10.0.2.2:8969/stream" : "http://localhost:8969/stream");
try {
OutputStream outputStream = f2.getOutputStream();
try {
GZIPOutputStream gZIPOutputStream = new GZIPOutputStream(outputStream);
try {
spotlightIntegration.f21671m.getSerializer().b(jVar, gZIPOutputStream);
gZIPOutputStream.close();
if (outputStream != null) {
outputStream.close();
}
spotlightIntegration.f21672n.i(I1.DEBUG, "Envelope sent to spotlight: %d", Integer.valueOf(f2.getResponseCode()));
} finally {
}
} finally {
if (outputStream != null) {
try {
} catch (Throwable th) {
}
}
}
} catch (Throwable th2) {
try {
spotlightIntegration.f21672n.r(I1.ERROR, "An exception occurred while submitting the envelope to the Sentry server.", th2);
spotlightIntegration.f21672n.i(I1.DEBUG, "Envelope sent to spotlight: %d", Integer.valueOf(f2.getResponseCode()));
} catch (Throwable th3) {
spotlightIntegration.f21672n.i(I1.DEBUG, "Envelope sent to spotlight: %d", Integer.valueOf(f2.getResponseCode()));
SpotlightIntegration.a(f2);
throw th3;
}
}
SpotlightIntegration.a(f2);
return;
} catch (Exception e3) {
spotlightIntegration.f21672n.r(I1.ERROR, "An exception occurred while creating the connection to spotlight.", e3);
return;
}
case 14:
SentryAndroidOptions sentryAndroidOptions = (SentryAndroidOptions) this.f2151o;
AnrIntegration anrIntegration = (AnrIntegration) this.f2150n;
C1891m a10 = anrIntegration.f21769o.a();
try {
if (!anrIntegration.f21768n) {
anrIntegration.a(sentryAndroidOptions);
}
a10.close();
return;
} catch (Throwable th4) {
try {
a10.close();
} catch (Throwable th5) {
th4.addSuppressed(th5);
}
throw th4;
}
case AbstractC3104e.f29515g:
Y1 y13 = (Y1) this.f2151o;
PhoneStateBreadcrumbsIntegration phoneStateBreadcrumbsIntegration = (PhoneStateBreadcrumbsIntegration) this.f2150n;
C1891m a11 = phoneStateBreadcrumbsIntegration.f21852r.a();
try {
if (!phoneStateBreadcrumbsIntegration.f21851q) {
phoneStateBreadcrumbsIntegration.a(y13);
}
a11.close();
return;
} catch (Throwable th6) {
try {
a11.close();
} catch (Throwable th7) {
th6.addSuppressed(th7);
}
throw th6;
}
case 16:
Y1 y14 = (Y1) this.f2151o;
SystemEventsBreadcrumbsIntegration systemEventsBreadcrumbsIntegration = (SystemEventsBreadcrumbsIntegration) this.f2150n;
C1891m a12 = systemEventsBreadcrumbsIntegration.f21881r.a();
try {
if (!systemEventsBreadcrumbsIntegration.f21880q) {
systemEventsBreadcrumbsIntegration.a((SentryAndroidOptions) y14);
}
a12.close();
return;
} catch (Throwable th8) {
try {
a12.close();
} catch (Throwable th9) {
th8.addSuppressed(th9);
}
throw th8;
}
case 17:
Y1 y15 = (Y1) this.f2151o;
TempSensorBreadcrumbsIntegration tempSensorBreadcrumbsIntegration = (TempSensorBreadcrumbsIntegration) this.f2150n;
C1891m a13 = tempSensorBreadcrumbsIntegration.f21893r.a();
try {
if (!tempSensorBreadcrumbsIntegration.f21892q) {
tempSensorBreadcrumbsIntegration.a(y15);
}
a13.close();
return;
} catch (Throwable th10) {
try {
a13.close();
} catch (Throwable th11) {
th10.addSuppressed(th11);
}
throw th10;
}
case 18:
io.sentry.android.core.internal.util.l lVar = (io.sentry.android.core.internal.util.l) this.f2150n;
lVar.getClass();
try {
lVar.f22052v = Choreographer.getInstance();
return;
} catch (Throwable th12) {
((U) this.f2151o).r(I1.ERROR, "Error retrieving Choreographer instance. Slow and frozen frames will not be reported.", th12);
return;
}
case 19:
io.sentry.android.ndk.b bVar = (io.sentry.android.ndk.b) this.f2150n;
SentryAndroidOptions sentryAndroidOptions2 = bVar.f22152a;
C1864d c1864d = (C1864d) this.f2151o;
I1 i12 = c1864d.f22463u;
String str = null;
String lowerCase = i12 != null ? i12.name().toLowerCase(Locale.ROOT) : str;
String K = AbstractC1075c.K(c1864d.a());
try {
ConcurrentHashMap concurrentHashMap = c1864d.f22460r;
if (!concurrentHashMap.isEmpty()) {
str = sentryAndroidOptions2.getSerializer().c(concurrentHashMap);
}
} catch (Throwable th13) {
sentryAndroidOptions2.getLogger().q(I1.ERROR, th13, "Breadcrumb data is not serializable.", new Object[0]);
}
String str2 = str;
String str3 = c1864d.f22458p;
String str4 = c1864d.f22461s;
String str5 = c1864d.f22459q;
bVar.f22153b.getClass();
NativeScope.nativeAddBreadcrumb(lowerCase, str3, str4, str5, K, str2);
return;
case 20:
NativeScope nativeScope = ((io.sentry.android.ndk.b) this.f2150n).f22153b;
io.sentry.protocol.C c7 = (io.sentry.protocol.C) this.f2151o;
if (c7 == null) {
nativeScope.getClass();
NativeScope.nativeRemoveUser();
return;
}
String str6 = c7.f22678n;
String str7 = c7.f22677m;
String str8 = c7.f22680p;
String str9 = c7.f22679o;
nativeScope.getClass();
NativeScope.nativeSetUser(str6, str7, str8, str9);
return;
case 21:
io.sentry.android.replay.q qVar = (io.sentry.android.replay.q) this.f2150n;
kotlin.jvm.internal.m.f("this$0", qVar);
io.sentry.android.replay.viewhierarchy.d dVar = (io.sentry.android.replay.viewhierarchy.d) this.f2151o;
Bitmap bitmap = qVar.f22300u;
Canvas canvas = new Canvas(bitmap);
canvas.setMatrix((Matrix) qVar.f22302w.getValue());
dVar.a(new C0587j3(qVar, 19, canvas));
qVar.f22296q.E(bitmap);
qVar.f22305z.set(true);
qVar.f22303x.set(false);
return;
case 22:
C2.r rVar = (C2.r) this.f2150n;
Y1 y16 = (Y1) this.f2151o;
try {
rVar.run();
return;
} catch (Throwable th14) {
y16.getLogger().r(I1.ERROR, "Failed to execute task ".concat("WindowRecorder.capture"), th14);
return;
}
case 23:
C2.r rVar2 = (C2.r) this.f2150n;
Y1 y17 = (Y1) this.f2151o;
kotlin.jvm.internal.m.f("$options", y17);
try {
rVar2.run();
return;
} catch (Throwable th15) {
y17.getLogger().r(I1.ERROR, "Failed to execute task ".concat("ReplayIntegration.finalize_previous_replay"), th15);
return;
}
case 24:
((io.sentry.cache.f) this.f2150n).c("user.json", (io.sentry.protocol.C) this.f2151o);
return;
case 25:
((io.sentry.cache.f) this.f2150n).c("contexts.json", (C1905c) this.f2151o);
return;
case 26:
((io.sentry.cache.f) this.f2150n).c("breadcrumbs.json", (p2) this.f2151o);
return;
case 27:
((io.sentry.cache.f) this.f2150n).c("replay.json", (io.sentry.protocol.s) this.f2151o);
return;
case 28:
io.sentry.cache.f fVar = (io.sentry.cache.f) this.f2150n;
String str10 = (String) this.f2151o;
if (str10 == null) {
io.sentry.cache.a.a(fVar.f22432a, ".scope-cache", "transaction.json");
return;
} else {
fVar.c("transaction.json", str10);
return;
}
default:
Runnable runnable = (Runnable) this.f2151o;
io.sentry.cache.f fVar2 = (io.sentry.cache.f) this.f2150n;
fVar2.getClass();
try {
runnable.run();
return;
} catch (Throwable th16) {
fVar2.f22432a.getLogger().r(I1.ERROR, "Serialization task failed", th16);
return;
}
}
}
}