- 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
73 lines
2.1 KiB
Java
73 lines
2.1 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import android.os.ConditionVariable;
|
|
import androidx.annotation.VisibleForTesting;
|
|
import java.io.PrintWriter;
|
|
import java.io.StringWriter;
|
|
import java.util.Random;
|
|
import java.util.concurrent.ThreadLocalRandom;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzauu {
|
|
|
|
@VisibleForTesting
|
|
protected volatile Boolean zzb;
|
|
private final zzawd zze;
|
|
private static final ConditionVariable zzc = new ConditionVariable();
|
|
|
|
@VisibleForTesting
|
|
protected static volatile zzfpk zza = null;
|
|
private static volatile Random zzd = null;
|
|
|
|
public zzauu(zzawd zzawdVar) {
|
|
this.zze = zzawdVar;
|
|
zzawdVar.zzk().execute(new zzaut(this));
|
|
}
|
|
|
|
public static final int zzd() {
|
|
try {
|
|
return ThreadLocalRandom.current().nextInt();
|
|
} catch (RuntimeException unused) {
|
|
if (zzd == null) {
|
|
synchronized (zzauu.class) {
|
|
try {
|
|
if (zzd == null) {
|
|
zzd = new Random();
|
|
}
|
|
} finally {
|
|
}
|
|
}
|
|
}
|
|
return zzd.nextInt();
|
|
}
|
|
}
|
|
|
|
public final void zzc(int i, int i2, long j, String str, Exception exc) {
|
|
try {
|
|
zzc.block();
|
|
if (!this.zzb.booleanValue() || zza == null) {
|
|
return;
|
|
}
|
|
zzari zza2 = zzarm.zza();
|
|
zza2.zza(this.zze.zza.getPackageName());
|
|
zza2.zze(j);
|
|
if (str != null) {
|
|
zza2.zzb(str);
|
|
}
|
|
if (exc != null) {
|
|
StringWriter stringWriter = new StringWriter();
|
|
exc.printStackTrace(new PrintWriter(stringWriter));
|
|
zza2.zzf(stringWriter.toString());
|
|
zza2.zzd(exc.getClass().getName());
|
|
}
|
|
zzfpi zza3 = zza.zza(((zzarm) zza2.zzbr()).zzaV());
|
|
zza3.zza(i);
|
|
if (i2 != -1) {
|
|
zza3.zzb(i2);
|
|
}
|
|
zza3.zzc();
|
|
} catch (Exception unused) {
|
|
}
|
|
}
|
|
}
|