Initial import of ADIF API reverse-engineering toolkit
This commit is contained in:
38
apk_decompiled/sources/n/C0508b.java
Normal file
38
apk_decompiled/sources/n/C0508b.java
Normal file
@@ -0,0 +1,38 @@
|
||||
package n;
|
||||
|
||||
import android.os.Looper;
|
||||
|
||||
/* renamed from: n.b, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0508b extends m3.d {
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public static volatile C0508b f7832b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public static final ExecutorC0507a f7833c = new ExecutorC0507a(0);
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final C0510d f7834a = new C0510d();
|
||||
|
||||
public static C0508b L() {
|
||||
if (f7832b != null) {
|
||||
return f7832b;
|
||||
}
|
||||
synchronized (C0508b.class) {
|
||||
try {
|
||||
if (f7832b == null) {
|
||||
f7832b = new C0508b();
|
||||
}
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
return f7832b;
|
||||
}
|
||||
|
||||
public final boolean M() {
|
||||
this.f7834a.getClass();
|
||||
return Looper.getMainLooper().getThread() == Thread.currentThread();
|
||||
}
|
||||
}
|
||||
19
apk_decompiled/sources/n/C0510d.java
Normal file
19
apk_decompiled/sources/n/C0510d.java
Normal file
@@ -0,0 +1,19 @@
|
||||
package n;
|
||||
|
||||
import android.os.Handler;
|
||||
import java.util.concurrent.ExecutorService;
|
||||
import java.util.concurrent.Executors;
|
||||
|
||||
/* renamed from: n.d, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class C0510d extends m3.d {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final Object f7836a = new Object();
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public final ExecutorService f7837b = Executors.newFixedThreadPool(4, new ThreadFactoryC0509c());
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public volatile Handler f7838c;
|
||||
}
|
||||
27
apk_decompiled/sources/n/ExecutorC0507a.java
Normal file
27
apk_decompiled/sources/n/ExecutorC0507a.java
Normal file
@@ -0,0 +1,27 @@
|
||||
package n;
|
||||
|
||||
import java.util.concurrent.Executor;
|
||||
|
||||
/* renamed from: n.a, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final /* synthetic */ class ExecutorC0507a implements Executor {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final /* synthetic */ int f7831a;
|
||||
|
||||
public /* synthetic */ ExecutorC0507a(int i) {
|
||||
this.f7831a = i;
|
||||
}
|
||||
|
||||
@Override // java.util.concurrent.Executor
|
||||
public final void execute(Runnable runnable) {
|
||||
switch (this.f7831a) {
|
||||
case 0:
|
||||
C0508b.L().f7834a.f7837b.execute(runnable);
|
||||
return;
|
||||
default:
|
||||
runnable.run();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
19
apk_decompiled/sources/n/ThreadFactoryC0509c.java
Normal file
19
apk_decompiled/sources/n/ThreadFactoryC0509c.java
Normal file
@@ -0,0 +1,19 @@
|
||||
package n;
|
||||
|
||||
import java.util.concurrent.ThreadFactory;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
||||
/* renamed from: n.c, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public final class ThreadFactoryC0509c implements ThreadFactory {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public final AtomicInteger f7835a = new AtomicInteger(0);
|
||||
|
||||
@Override // java.util.concurrent.ThreadFactory
|
||||
public final Thread newThread(Runnable runnable) {
|
||||
Thread thread = new Thread(runnable);
|
||||
thread.setName("arch_disk_io_" + this.f7835a.getAndIncrement());
|
||||
return thread;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user