- 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
57 lines
1.5 KiB
Java
57 lines
1.5 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import androidx.annotation.VisibleForTesting;
|
|
import java.util.concurrent.ConcurrentHashMap;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzctc {
|
|
private final Object zza = new Object();
|
|
private final ConcurrentHashMap zzb = new ConcurrentHashMap();
|
|
private final ConcurrentHashMap zzc = new ConcurrentHashMap();
|
|
private final ConcurrentHashMap zzd = new ConcurrentHashMap();
|
|
|
|
@VisibleForTesting
|
|
public zzctc() {
|
|
}
|
|
|
|
public final int zza(String str) {
|
|
Integer num = (Integer) this.zzb.get(str);
|
|
if (num == null) {
|
|
return 0;
|
|
}
|
|
return num.intValue();
|
|
}
|
|
|
|
public final long zzb(String str) {
|
|
Long l = (Long) this.zzd.get(str);
|
|
if (l == null) {
|
|
return -1L;
|
|
}
|
|
return l.longValue();
|
|
}
|
|
|
|
public final void zzc(String str) {
|
|
synchronized (this.zza) {
|
|
try {
|
|
Integer num = (Integer) this.zzb.get(str);
|
|
this.zzb.put(str, num == null ? 1 : Integer.valueOf(num.intValue() + 1));
|
|
} catch (Throwable th) {
|
|
throw th;
|
|
}
|
|
}
|
|
}
|
|
|
|
public final void zzd(String str, String str2, long j) {
|
|
Long l = (Long) this.zzc.get(str2);
|
|
if (l == null) {
|
|
return;
|
|
}
|
|
this.zzc.remove(str2);
|
|
this.zzd.put(str, Long.valueOf(j - l.longValue()));
|
|
}
|
|
|
|
public final void zze(String str, long j) {
|
|
this.zzc.put(str, Long.valueOf(j));
|
|
}
|
|
}
|