package androidx.media3.exoplayer.drm;

import com.google.common.util.concurrent.d0;

/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class k implements Runnable {

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

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

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

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

    public /* synthetic */ k(DrmSession drmSession, OfflineLicenseHelper offlineLicenseHelper, d0 d0Var) {
        this.f2999a = 0;
        this.f3000b = offlineLicenseHelper;
        this.f3002d = drmSession;
        this.f3001c = d0Var;
    }

    @Override // java.lang.Runnable
    public final void run() {
        int i10 = this.f2999a;
        OfflineLicenseHelper offlineLicenseHelper = this.f3000b;
        DrmSession drmSession = this.f3002d;
        d0 d0Var = this.f3001c;
        switch (i10) {
            case 0:
                offlineLicenseHelper.lambda$acquireFirstSessionOnHandlerThread$3(drmSession, d0Var);
                break;
            case 1:
                offlineLicenseHelper.lambda$getLicenseDurationRemainingSec$0(d0Var, drmSession);
                break;
            default:
                offlineLicenseHelper.lambda$acquireSessionAndGetOfflineLicenseKeySetIdOnHandlerThread$1(d0Var, drmSession);
                break;
        }
    }

    public /* synthetic */ k(OfflineLicenseHelper offlineLicenseHelper, d0 d0Var, DrmSession drmSession, int i10) {
        this.f2999a = i10;
        this.f3000b = offlineLicenseHelper;
        this.f3001c = d0Var;
        this.f3002d = drmSession;
    }
}
