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 eventSoundSpeakerOutSetEnable(boolean z) throws RemoteException {
        ITVApiSoundSpeakerOut iTVApiSoundSpeakerOut = (ITVApiSoundSpeakerOut) MiddleWareApi.getInstance().getTvApi(ITVApiSoundSpeakerOut.class);
        if (iTVApiSoundSpeakerOut == null) {
            throw new RemoteException("TV Api not found");
        }
        return iTVApiSoundSpeakerOut.eventSoundSpeakerOutSetEnable(z);
    }

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

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

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

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

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

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

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

    @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) {
            throw new RemoteException("TV Api not found");
        }
        return iTVApiSoundSpeakerOut.eventSoundSpeakerOutSetMute(z);
    }

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

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

    @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) {
            throw new RemoteException("TV Api not found");
        }
        return iTVApiSoundSpeakerOut.eventSoundSpeakerOutGetVolumeCurveValue(enumCurveKeyPoint);
    }

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

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

    @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) {
            throw new RemoteException("TV Api not found");
        }
        return iTVApiSoundSpeakerOut.eventSoundSpeakerOutReset(enumResetLevel);
    }

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

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

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

    @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) {
            throw new RemoteException("TV Api not found");
        }
        return iTVApiSoundSpeakerOut.eventSoundEnhancementSetEnable(z);
    }

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

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

    @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) {
            throw new RemoteException("TV Api not found");
        }
        return iTVApiSoundSpeakerOut.eventSetAmpEqEnable(z);
    }

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

    @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) {
            throw new RemoteException("TV Api not found");
        }
        return iTVApiSoundSpeakerOut.eventSystemAudioEnableAmplifierMute(z);
    }

    @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) {
            throw new RemoteException("TV Api not found");
        }
        return iTVApiSoundSpeakerOut.eventSetAmpDirectMute(z);
    }

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

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

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