package o;

import java.util.concurrent.ScheduledFuture;
import java.util.concurrent.TimeUnit;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.Zq, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final /* synthetic */ class C0665Zq implements InterfaceC1042dr {
    public final /* synthetic */ int l;
    public final /* synthetic */ ScheduledExecutorServiceC0947cr m;
    public final /* synthetic */ Runnable n;

    /* renamed from: o, reason: collision with root package name */
    public final /* synthetic */ long f441o;
    public final /* synthetic */ long p;
    public final /* synthetic */ TimeUnit q;

    public /* synthetic */ C0665Zq(ScheduledExecutorServiceC0947cr scheduledExecutorServiceC0947cr, Runnable runnable, long j, long j2, TimeUnit timeUnit, int i) {
        this.l = i;
        this.m = scheduledExecutorServiceC0947cr;
        this.n = runnable;
        this.f441o = j;
        this.p = j2;
        this.q = timeUnit;
    }

    @Override // o.InterfaceC1042dr
    public final ScheduledFuture a(C0247Jn c0247Jn) {
        switch (this.l) {
            case 0:
                ScheduledExecutorServiceC0947cr scheduledExecutorServiceC0947cr = this.m;
                return scheduledExecutorServiceC0947cr.m.scheduleAtFixedRate(new RunnableC0756ar(scheduledExecutorServiceC0947cr, this.n, c0247Jn, 0), this.f441o, this.p, this.q);
            default:
                ScheduledExecutorServiceC0947cr scheduledExecutorServiceC0947cr2 = this.m;
                return scheduledExecutorServiceC0947cr2.m.scheduleWithFixedDelay(new RunnableC0756ar(scheduledExecutorServiceC0947cr2, this.n, c0247Jn, 2), this.f441o, this.p, this.q);
        }
    }
}
