package com.google.android.gms.internal.ads;

import androidx.media3.exoplayer.rtsp.SessionDescription;
import java.util.HashMap;
import java.util.Objects;

/* JADX INFO: loaded from: classes2.dex */
public final class s40 implements Runnable {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ String f16289a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ String f16290b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ long f16291c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final /* synthetic */ long f16292d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final /* synthetic */ long f16293e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final /* synthetic */ long f16294f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public final /* synthetic */ long f16295g;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public final /* synthetic */ boolean f16296h;

    /* JADX INFO: renamed from: i, reason: collision with root package name */
    public final /* synthetic */ int f16297i;

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    public final /* synthetic */ int f16298j;

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public final /* synthetic */ w40 f16299k;

    public s40(w40 w40Var, String str, String str2, long j10, long j11, long j12, long j13, long j14, boolean z10, int i10, int i11) {
        this.f16289a = str;
        this.f16290b = str2;
        this.f16291c = j10;
        this.f16292d = j11;
        this.f16293e = j12;
        this.f16294f = j13;
        this.f16295g = j14;
        this.f16296h = z10;
        this.f16297i = i10;
        this.f16298j = i11;
        Objects.requireNonNull(w40Var);
        this.f16299k = w40Var;
    }

    @Override // java.lang.Runnable
    public final void run() {
        HashMap mapO = com.google.android.gms.measurement.internal.u1.o("event", "precacheProgress");
        mapO.put("src", this.f16289a);
        mapO.put("cachedSrc", this.f16290b);
        mapO.put("bufferedDuration", Long.toString(this.f16291c));
        mapO.put("totalDuration", Long.toString(this.f16292d));
        if (((Boolean) n7.y.f31093e.f31096c.b(ao.f8979n2)).booleanValue()) {
            mapO.put("qoeLoadedBytes", Long.toString(this.f16293e));
            mapO.put("qoeCachedBytes", Long.toString(this.f16294f));
            mapO.put("totalBytes", Long.toString(this.f16295g));
            m7.n.C.f30472k.getClass();
            mapO.put("reportTime", Long.toString(System.currentTimeMillis()));
        }
        mapO.put("cacheReady", true != this.f16296h ? SessionDescription.SUPPORTED_SDP_VERSION : "1");
        mapO.put("playerCount", Integer.toString(this.f16297i));
        mapO.put("playerPreparedCount", Integer.toString(this.f16298j));
        this.f16299k.r(mapO);
    }
}
