Initial import of ADIF API reverse-engineering toolkit

This commit is contained in:
2025-12-16 08:37:56 +01:00
commit 60388529c1
11486 changed files with 1086536 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
package K;
import android.os.ext.SdkExtensions;
/* loaded from: classes.dex */
public final class a {
/* renamed from: a, reason: collision with root package name */
public static final a f965a = new Object();
public final int a(int i) {
return SdkExtensions.getExtensionVersion(i);
}
}

View File

@@ -0,0 +1,28 @@
package K;
import android.os.Build;
import kotlin.time.DurationKt;
/* loaded from: classes.dex */
public abstract class b {
/* renamed from: a, reason: collision with root package name */
public static final /* synthetic */ int f966a = 0;
static {
int i = Build.VERSION.SDK_INT;
a aVar = a.f965a;
if (i >= 30) {
aVar.a(30);
}
if (i >= 30) {
aVar.a(31);
}
if (i >= 30) {
aVar.a(33);
}
if (i >= 30) {
aVar.a(DurationKt.NANOS_IN_MILLIS);
}
}
}

View File

@@ -0,0 +1,19 @@
package K;
import android.os.Bundle;
import android.util.Size;
import android.util.SizeF;
import kotlin.jvm.JvmStatic;
/* loaded from: classes.dex */
public abstract class c {
@JvmStatic
public static final void a(Bundle bundle, String str, Size size) {
bundle.putSize(str, size);
}
@JvmStatic
public static final void b(Bundle bundle, String str, SizeF sizeF) {
bundle.putSizeF(str, sizeF);
}
}

View File

@@ -0,0 +1,29 @@
package K;
import android.os.Bundle;
import android.util.SparseArray;
import java.io.Serializable;
import java.util.ArrayList;
/* loaded from: classes.dex */
public abstract class d {
public static <T> T a(Bundle bundle, String str, Class<T> cls) {
return (T) bundle.getParcelable(str, cls);
}
public static <T> T[] b(Bundle bundle, String str, Class<T> cls) {
return (T[]) bundle.getParcelableArray(str, cls);
}
public static <T> ArrayList<T> c(Bundle bundle, String str, Class<? extends T> cls) {
return bundle.getParcelableArrayList(str, cls);
}
public static <T extends Serializable> T d(Bundle bundle, String str, Class<T> cls) {
return (T) bundle.getSerializable(str, cls);
}
public static <T> SparseArray<T> e(Bundle bundle, String str, Class<? extends T> cls) {
return bundle.getSparseParcelableArray(str, cls);
}
}

View File

@@ -0,0 +1,16 @@
package K;
import B0.C0031i;
/* loaded from: classes.dex */
public final class e {
/* renamed from: a, reason: collision with root package name */
public boolean f967a;
/* renamed from: b, reason: collision with root package name */
public C0031i f968b;
/* renamed from: c, reason: collision with root package name */
public boolean f969c;
}

View File

@@ -0,0 +1,15 @@
package K;
import android.content.res.Configuration;
import android.os.LocaleList;
/* loaded from: classes.dex */
public abstract class f {
public static LocaleList a(Configuration configuration) {
return configuration.getLocales();
}
public static void b(Configuration configuration, i iVar) {
configuration.setLocales(iVar.f972a.f973a);
}
}

View File

@@ -0,0 +1,43 @@
package K;
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
import java.util.Locale;
/* loaded from: classes.dex */
public abstract class g {
/* renamed from: a, reason: collision with root package name */
public static final Locale[] f970a = {new Locale(NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_END, "XA"), new Locale("ar", "XB")};
public static Locale a(String str) {
return Locale.forLanguageTag(str);
}
public static boolean b(Locale locale, Locale locale2) {
if (locale.equals(locale2)) {
return true;
}
if (locale.getLanguage().equals(locale2.getLanguage())) {
Locale[] localeArr = f970a;
for (Locale locale3 : localeArr) {
if (locale3.equals(locale)) {
return false;
}
}
for (Locale locale4 : localeArr) {
if (locale4.equals(locale2)) {
return false;
}
}
String c4 = M.c.c(M.c.a(M.c.b(locale)));
if (!c4.isEmpty()) {
return c4.equals(M.c.c(M.c.a(M.c.b(locale2))));
}
String country = locale.getCountry();
if (country.isEmpty() || country.equals(locale2.getCountry())) {
return true;
}
}
return false;
}
}

View File

@@ -0,0 +1,19 @@
package K;
import android.os.LocaleList;
import java.util.Locale;
/* loaded from: classes.dex */
public abstract class h {
public static LocaleList a(Locale... localeArr) {
return new LocaleList(localeArr);
}
public static LocaleList b() {
return LocaleList.getAdjustedDefault();
}
public static LocaleList c() {
return LocaleList.getDefault();
}
}

View File

@@ -0,0 +1,45 @@
package K;
import java.util.Locale;
/* loaded from: classes.dex */
public final class i {
/* renamed from: b, reason: collision with root package name */
public static final i f971b = new i(new j(h.a(new Locale[0])));
/* renamed from: a, reason: collision with root package name */
public final j f972a;
public i(j jVar) {
this.f972a = jVar;
}
public static i a(String str) {
if (str == null || str.isEmpty()) {
return f971b;
}
String[] split = str.split(",", -1);
int length = split.length;
Locale[] localeArr = new Locale[length];
for (int i = 0; i < length; i++) {
localeArr[i] = g.a(split[i]);
}
return new i(new j(h.a(localeArr)));
}
public final boolean equals(Object obj) {
if (obj instanceof i) {
return this.f972a.equals(((i) obj).f972a);
}
return false;
}
public final int hashCode() {
return this.f972a.f973a.hashCode();
}
public final String toString() {
return this.f972a.f973a.toString();
}
}

View File

@@ -0,0 +1,26 @@
package K;
import android.os.LocaleList;
/* loaded from: classes.dex */
public final class j {
/* renamed from: a, reason: collision with root package name */
public final LocaleList f973a;
public j(LocaleList localeList) {
this.f973a = localeList;
}
public final boolean equals(Object obj) {
return this.f973a.equals(((j) obj).f973a);
}
public final int hashCode() {
return this.f973a.hashCode();
}
public final String toString() {
return this.f973a.toString();
}
}

View File

@@ -0,0 +1,11 @@
package K;
import android.content.Context;
import android.os.UserManager;
/* loaded from: classes.dex */
public abstract class k {
public static boolean a(Context context) {
return ((UserManager) context.getSystemService(UserManager.class)).isUserUnlocked();
}
}