package com.cvte.tv.api;

import android.os.RemoteException;
import com.cvte.tv.api.aidl.EnumCurveKeyPoint;
import com.cvte.tv.api.aidl.EnumResetLevel;
import com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl;
import com.cvte.tv.api.functions.ITVApiSoundSpeakerOut;

/* JADX INFO: loaded from: classes.dex */
public class TVApiSoundSpeakerOutService extends ITVApiSoundSpeakerOutAidl.Stub {
    public static final String TVAPI_NOFOUND_ERROR = "TV Api not found";

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public boolean eventAmpDirectMuteIsEnable() throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventAmpDirectMuteIsEnable();
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public boolean eventAmpEqIsEnable() throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventAmpEqIsEnable();
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public int eventGetAmpMute(int i2) throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventGetAmpMute(i2);
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public boolean eventGetAmpi2ctatus() throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventGetAmpi2ctatus();
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public int eventGetAudioOutMode() throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventGetAudioOutMode();
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public boolean eventLineOutSpeakerBothOutIsEnable() throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventLineOutSpeakerBothOutIsEnable();
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public boolean eventSetAmpDirectMute(boolean z) throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventSetAmpDirectMute(z);
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public int eventSetAmpEqEnable(boolean z) throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventSetAmpEqEnable(z);
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public int eventSetAmpMute(int i2, int i3) throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventSetAmpMute(i2, i3);
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public void eventSetAmpi2cstatus(int i2) throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut == null) {
            throw new RemoteException("TV Api not found");
        }
        iTVApiSoundSpeakerOut.eventSetAmpi2cstatus(i2);
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public boolean eventSetAudioOutMode(int i2) throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventSetAudioOutMode(i2);
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public boolean eventSetLineOutSpeakerBothOutEnable(boolean z) throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventSetLineOutSpeakerBothOutEnable(z);
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public boolean eventSoundEnhancementIsEnable() throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventSoundEnhancementIsEnable();
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public boolean eventSoundEnhancementSetEnable(boolean z) throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventSoundEnhancementSetEnable(z);
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public int eventSoundSpeakerOutGetAudioDelay() throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventSoundSpeakerOutGetAudioDelay();
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public int eventSoundSpeakerOutGetBalance() throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventSoundSpeakerOutGetBalance();
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public int eventSoundSpeakerOutGetBootInitVolumeValue() throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventSoundSpeakerOutGetBootInitVolumeValue();
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public int eventSoundSpeakerOutGetVolume() throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventSoundSpeakerOutGetVolume();
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public int eventSoundSpeakerOutGetVolumeCurveValue(EnumCurveKeyPoint enumCurveKeyPoint) throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventSoundSpeakerOutGetVolumeCurveValue(enumCurveKeyPoint);
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public boolean eventSoundSpeakerOutIsEnabled() throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventSoundSpeakerOutIsEnabled();
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public boolean eventSoundSpeakerOutIsMute() throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventSoundSpeakerOutIsMute();
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public boolean eventSoundSpeakerOutReset(EnumResetLevel enumResetLevel) throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventSoundSpeakerOutReset(enumResetLevel);
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public boolean eventSoundSpeakerOutSetAudioDelay(int i2) throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventSoundSpeakerOutSetAudioDelay(i2);
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public boolean eventSoundSpeakerOutSetBalance(int i2) throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventSoundSpeakerOutSetBalance(i2);
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public boolean eventSoundSpeakerOutSetBootInitVolumeValue(int i2) throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventSoundSpeakerOutSetBootInitVolumeValue(i2);
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public boolean eventSoundSpeakerOutSetEnable(boolean z) throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventSoundSpeakerOutSetEnable(z);
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public boolean eventSoundSpeakerOutSetMute(boolean z) throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventSoundSpeakerOutSetMute(z);
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public boolean eventSoundSpeakerOutSetVolume(int i2) throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventSoundSpeakerOutSetVolume(i2);
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public boolean eventSoundSpeakerOutSetVolumeCurveValue(EnumCurveKeyPoint enumCurveKeyPoint, int i2) throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventSoundSpeakerOutSetVolumeCurveValue(enumCurveKeyPoint, i2);
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public int eventSystemAudioEnableAmplifierMute(boolean z) throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventSystemAudioEnableAmplifierMute(z);
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public int eventSystemGetHDMIOUTAudioMode() throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventSystemGetHDMIOUTAudioMode();
        }
        throw new RemoteException("TV Api not found");
    }

    @Override // com.cvte.tv.api.aidl.ITVApiSoundSpeakerOutAidl
    public int eventSystemSetHDMIOUTAudioMode(int i2) throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut != null) {
            return iTVApiSoundSpeakerOut.eventSystemSetHDMIOUTAudioMode(i2);
        }
        throw new RemoteException("TV Api not found");
    }
}
