- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
54 lines
2.1 KiB
Java
54 lines
2.1 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import android.content.Context;
|
|
import androidx.annotation.Nullable;
|
|
import com.google.android.gms.ads.AdFormat;
|
|
import com.google.android.gms.ads.internal.ClientApi;
|
|
import com.google.android.gms.ads.internal.util.client.VersionInfoParcel;
|
|
import com.google.android.gms.common.util.Clock;
|
|
import java.util.concurrent.ScheduledExecutorService;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzfki {
|
|
private final Context zza;
|
|
private final VersionInfoParcel zzb;
|
|
private final ScheduledExecutorService zzc;
|
|
private final ClientApi zzd = new ClientApi();
|
|
private zzbpe zze;
|
|
private final Clock zzf;
|
|
|
|
public zzfki(Context context, VersionInfoParcel versionInfoParcel, ScheduledExecutorService scheduledExecutorService, Clock clock) {
|
|
this.zza = context;
|
|
this.zzb = versionInfoParcel;
|
|
this.zzc = scheduledExecutorService;
|
|
this.zzf = clock;
|
|
}
|
|
|
|
private static zzfjg zzc() {
|
|
return new zzfjg(((Long) com.google.android.gms.ads.internal.client.zzbe.zzc().zza(zzbcl.zzw)).longValue(), 2.0d, ((Long) com.google.android.gms.ads.internal.client.zzbe.zzc().zza(zzbcl.zzx)).longValue(), 0.2d);
|
|
}
|
|
|
|
@Nullable
|
|
public final zzfkh zza(com.google.android.gms.ads.internal.client.zzft zzftVar, com.google.android.gms.ads.internal.client.zzcf zzcfVar) {
|
|
AdFormat adFormat = AdFormat.getAdFormat(zzftVar.zzb);
|
|
if (adFormat == null) {
|
|
return null;
|
|
}
|
|
int ordinal = adFormat.ordinal();
|
|
if (ordinal == 1) {
|
|
return new zzfji(this.zzd, this.zza, this.zzb.clientJarVersion, this.zze, zzftVar, zzcfVar, this.zzc, zzc(), this.zzf);
|
|
}
|
|
if (ordinal == 2) {
|
|
return new zzfkl(this.zzd, this.zza, this.zzb.clientJarVersion, this.zze, zzftVar, zzcfVar, this.zzc, zzc(), this.zzf);
|
|
}
|
|
if (ordinal != 5) {
|
|
return null;
|
|
}
|
|
return new zzfjf(this.zzd, this.zza, this.zzb.clientJarVersion, this.zze, zzftVar, zzcfVar, this.zzc, zzc(), this.zzf);
|
|
}
|
|
|
|
public final void zzb(zzbpe zzbpeVar) {
|
|
this.zze = zzbpeVar;
|
|
}
|
|
}
|