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,72 @@
package kotlin.internal;
import java.lang.reflect.Method;
import kotlin.collections.ArraysKt___ArraysKt;
import kotlin.jvm.internal.Intrinsics;
import kotlin.random.FallbackThreadLocalRandom;
import kotlin.random.Random;
/* loaded from: classes5.dex */
public abstract class PlatformImplementations {
public static final class ReflectThrowable {
public static final ReflectThrowable INSTANCE = new ReflectThrowable();
public static final Method addSuppressed;
public static final Method getSuppressed;
static {
Method method;
Method method2;
Object singleOrNull;
Method[] methods = Throwable.class.getMethods();
Intrinsics.checkNotNull(methods);
int length = methods.length;
int i = 0;
int i2 = 0;
while (true) {
method = null;
if (i2 >= length) {
method2 = null;
break;
}
method2 = methods[i2];
if (Intrinsics.areEqual(method2.getName(), "addSuppressed")) {
Class<?>[] parameterTypes = method2.getParameterTypes();
Intrinsics.checkNotNullExpressionValue(parameterTypes, "getParameterTypes(...)");
singleOrNull = ArraysKt___ArraysKt.singleOrNull(parameterTypes);
if (Intrinsics.areEqual(singleOrNull, Throwable.class)) {
break;
}
}
i2++;
}
addSuppressed = method2;
int length2 = methods.length;
while (true) {
if (i >= length2) {
break;
}
Method method3 = methods[i];
if (Intrinsics.areEqual(method3.getName(), "getSuppressed")) {
method = method3;
break;
}
i++;
}
getSuppressed = method;
}
}
public void addSuppressed(Throwable cause, Throwable exception) {
Intrinsics.checkNotNullParameter(cause, "cause");
Intrinsics.checkNotNullParameter(exception, "exception");
Method method = ReflectThrowable.addSuppressed;
if (method != null) {
method.invoke(cause, exception);
}
}
public Random defaultPlatformRandom() {
return new FallbackThreadLocalRandom();
}
}

View File

@@ -0,0 +1,8 @@
package kotlin.internal;
import kotlin.internal.jdk8.JDK8PlatformImplementations;
/* loaded from: classes5.dex */
public abstract class PlatformImplementationsKt {
public static final PlatformImplementations IMPLEMENTATIONS = new JDK8PlatformImplementations();
}

View File

@@ -0,0 +1,42 @@
package kotlin.internal;
/* loaded from: classes5.dex */
public abstract class ProgressionUtilKt {
public static final int mod(int i, int i2) {
int i3 = i % i2;
return i3 >= 0 ? i3 : i3 + i2;
}
public static final long mod(long j, long j2) {
long j3 = j % j2;
return j3 >= 0 ? j3 : j3 + j2;
}
public static final int differenceModulo(int i, int i2, int i3) {
return mod(mod(i, i3) - mod(i2, i3), i3);
}
public static final long differenceModulo(long j, long j2, long j3) {
return mod(mod(j, j3) - mod(j2, j3), j3);
}
public static final int getProgressionLastElement(int i, int i2, int i3) {
if (i3 > 0) {
return i >= i2 ? i2 : i2 - differenceModulo(i2, i, i3);
}
if (i3 < 0) {
return i <= i2 ? i2 : i2 + differenceModulo(i, i2, -i3);
}
throw new IllegalArgumentException("Step is zero.");
}
public static final long getProgressionLastElement(long j, long j2, long j3) {
if (j3 > 0) {
return j >= j2 ? j2 : j2 - differenceModulo(j2, j, j3);
}
if (j3 < 0) {
return j <= j2 ? j2 : j2 + differenceModulo(j, j2, -j3);
}
throw new IllegalArgumentException("Step is zero.");
}
}

View File

@@ -0,0 +1,51 @@
package kotlin.internal.jdk7;
import kotlin.internal.PlatformImplementations;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes5.dex */
public abstract class JDK7PlatformImplementations extends PlatformImplementations {
public static final class ReflectSdkVersion {
public static final ReflectSdkVersion INSTANCE = new ReflectSdkVersion();
public static final Integer sdkVersion;
static {
Integer num;
Object obj;
Integer num2 = null;
try {
obj = Class.forName("android.os.Build$VERSION").getField("SDK_INT").get(null);
} catch (Throwable unused) {
}
if (obj instanceof Integer) {
num = (Integer) obj;
if (num != null && num.intValue() > 0) {
num2 = num;
}
sdkVersion = num2;
}
num = null;
if (num != null) {
num2 = num;
}
sdkVersion = num2;
}
}
private final boolean sdkIsNullOrAtLeast(int i) {
Integer num = ReflectSdkVersion.sdkVersion;
return num == null || num.intValue() >= i;
}
@Override // kotlin.internal.PlatformImplementations
public void addSuppressed(Throwable cause, Throwable exception) {
Intrinsics.checkNotNullParameter(cause, "cause");
Intrinsics.checkNotNullParameter(exception, "exception");
if (sdkIsNullOrAtLeast(19)) {
cause.addSuppressed(exception);
} else {
super.addSuppressed(cause, exception);
}
}
}

View File

@@ -0,0 +1,46 @@
package kotlin.internal.jdk8;
import kotlin.internal.jdk7.JDK7PlatformImplementations;
import kotlin.random.Random;
import kotlin.random.jdk8.PlatformThreadLocalRandom;
/* loaded from: classes5.dex */
public class JDK8PlatformImplementations extends JDK7PlatformImplementations {
public static final class ReflectSdkVersion {
public static final ReflectSdkVersion INSTANCE = new ReflectSdkVersion();
public static final Integer sdkVersion;
static {
Integer num;
Object obj;
Integer num2 = null;
try {
obj = Class.forName("android.os.Build$VERSION").getField("SDK_INT").get(null);
} catch (Throwable unused) {
}
if (obj instanceof Integer) {
num = (Integer) obj;
if (num != null && num.intValue() > 0) {
num2 = num;
}
sdkVersion = num2;
}
num = null;
if (num != null) {
num2 = num;
}
sdkVersion = num2;
}
}
public final boolean sdkIsNullOrAtLeast(int i) {
Integer num = ReflectSdkVersion.sdkVersion;
return num == null || num.intValue() >= i;
}
@Override // kotlin.internal.PlatformImplementations
public Random defaultPlatformRandom() {
return sdkIsNullOrAtLeast(34) ? new PlatformThreadLocalRandom() : super.defaultPlatformRandom();
}
}