package com.ss.android.ugc.aweme.video.simplayer.tt;

import X.AnonymousClass8BP;
import X.AnonymousClass8CQ;
import X.AnonymousClass8CU;
import X.AnonymousClass8D9;
import X.AnonymousClass8DX;
import X.AnonymousClass8EQ;
import X.AnonymousClass8FV;
import X.AnonymousClass8TI;
import X.C03387ct;
import X.C03547dj;
import X.C11447x1;
import X.C11457x2;
import X.C16628Cv;
import X.C17608Gp;
import X.C18758La;
import X.C20708Sn;
import X.C21588Vx;
import com.bytedance.covode.number.Covode;
import com.ss.android.ugc.aweme.video.simplayer.ISimPlayerService;
import java.util.concurrent.ExecutorService;

public class TTSimPlayerServiceImpl implements ISimPlayerService {
    static {
        Covode.recordClassIndex(123148);
    }

    public final void LIZLLL() {
        C20708Sn.LJ = false;
    }

    public final C03547dj LIZ() {
        return LIZ(true, false);
    }

    public final C17608Gp LIZJ() {
        return new AnonymousClass8BP(false);
    }

    public final C11457x2 LJ() {
        return AnonymousClass8EQ.LIZLLL();
    }

    public final C03547dj LIZIZ() {
        return new AnonymousClass8CQ(new AnonymousClass8CU(new AnonymousClass8FV(C03387ct.TT)), false, new AnonymousClass8D9());
    }

    public final void LIZ(int i) {
        int i2 = 1;
        if (i != 1) {
            i2 = 0;
        }
        AnonymousClass8TI.LIZ(i2);
    }

    public final void LIZ(final C11447x1 r2) {
        C18758La.LIZIZ = new AnonymousClass8DX() {
            static {
                Covode.recordClassIndex(123149);
            }

            public final void LIZ(String str) {
                r2.LIZ(str);
            }
        };
    }

    public final void LIZ(ExecutorService executorService) {
        C18758La.LIZ("TTVideoEngine", "set player threadpool");
        C21588Vx.LIZ(executorService);
    }

    public final C03547dj LIZ(boolean z, boolean z2) {
        C16628Cv r0 = new C16628Cv();
        r0.LIZ(z);
        r0.LIZIZ(z2);
        return r0.LIZ();
    }
}
