- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
59 lines
1.5 KiB
Java
59 lines
1.5 KiB
Java
package com.ironsource;
|
|
|
|
import java.util.HashMap;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class i0 {
|
|
public static final i0 a = new i0();
|
|
private static final HashMap<String, Long> b = new HashMap<>();
|
|
|
|
private i0() {
|
|
}
|
|
|
|
public final HashMap<String, Long> a() {
|
|
return b;
|
|
}
|
|
|
|
public final boolean a(String instance) {
|
|
Intrinsics.checkNotNullParameter(instance, "instance");
|
|
HashMap<String, Long> hashMap = b;
|
|
if (hashMap.get(instance) == null) {
|
|
return false;
|
|
}
|
|
hashMap.remove(instance);
|
|
return true;
|
|
}
|
|
|
|
public final boolean a(String instance, long j) {
|
|
Intrinsics.checkNotNullParameter(instance, "instance");
|
|
if (instance.length() == 0) {
|
|
return false;
|
|
}
|
|
HashMap<String, Long> hashMap = b;
|
|
if (hashMap.containsKey(instance)) {
|
|
return false;
|
|
}
|
|
hashMap.put(instance, Long.valueOf(j));
|
|
return true;
|
|
}
|
|
|
|
public final long b(String instance) {
|
|
Intrinsics.checkNotNullParameter(instance, "instance");
|
|
Long l = b.get(instance);
|
|
if (l != null) {
|
|
return System.currentTimeMillis() - l.longValue();
|
|
}
|
|
return -1L;
|
|
}
|
|
|
|
public final long c(String instance) {
|
|
Intrinsics.checkNotNullParameter(instance, "instance");
|
|
Long l = b.get(instance);
|
|
if (l != null) {
|
|
return l.longValue();
|
|
}
|
|
return -1L;
|
|
}
|
|
}
|