package com.cvte.tv.api;

import android.os.RemoteException;
import com.cvte.tv.api.aidl.EntityOverScanData;
import com.cvte.tv.api.aidl.EnumResetLevel;
import com.cvte.tv.api.aidl.ITVApiScreenWindowAidl;
import com.cvte.tv.api.functions.ITVApiScreenWindow;

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

    @Override // com.cvte.tv.api.aidl.ITVApiScreenWindowAidl
    public boolean eventScreenWindowSetPipValue(int i, int i2, int i3, int i4) throws RemoteException {
        ITVApiScreenWindow iTVApiScreenWindow = (ITVApiScreenWindow) MiddleWareApi.getInstance().getTvApi(ITVApiScreenWindow.class);
        if (iTVApiScreenWindow == null) {
            throw new RemoteException("TV Api not found");
        }
        return iTVApiScreenWindow.eventScreenWindowSetPipValue(i, i2, i3, i4);
    }

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

    @Override // com.cvte.tv.api.aidl.ITVApiScreenWindowAidl
    public boolean eventScreenWindowMute(boolean z) throws RemoteException {
        ITVApiScreenWindow iTVApiScreenWindow = (ITVApiScreenWindow) MiddleWareApi.getInstance().getTvApi(ITVApiScreenWindow.class);
        if (iTVApiScreenWindow == null) {
            throw new RemoteException("TV Api not found");
        }
        return iTVApiScreenWindow.eventScreenWindowMute(z);
    }

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

    @Override // com.cvte.tv.api.aidl.ITVApiScreenWindowAidl
    public boolean eventScreenWindowShiftSetEnable(boolean z) throws RemoteException {
        ITVApiScreenWindow iTVApiScreenWindow = (ITVApiScreenWindow) MiddleWareApi.getInstance().getTvApi(ITVApiScreenWindow.class);
        if (iTVApiScreenWindow == null) {
            throw new RemoteException("TV Api not found");
        }
        return iTVApiScreenWindow.eventScreenWindowShiftSetEnable(z);
    }

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

    @Override // com.cvte.tv.api.aidl.ITVApiScreenWindowAidl
    public boolean eventScreenWindowReset(EnumResetLevel enumResetLevel) throws RemoteException {
        ITVApiScreenWindow iTVApiScreenWindow = (ITVApiScreenWindow) MiddleWareApi.getInstance().getTvApi(ITVApiScreenWindow.class);
        if (iTVApiScreenWindow == null) {
            throw new RemoteException("TV Api not found");
        }
        return iTVApiScreenWindow.eventScreenWindowReset(enumResetLevel);
    }

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

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

    @Override // com.cvte.tv.api.aidl.ITVApiScreenWindowAidl
    public EntityOverScanData eventScreenWindowGetOverScan() throws RemoteException {
        ITVApiScreenWindow iTVApiScreenWindow = (ITVApiScreenWindow) MiddleWareApi.getInstance().getTvApi(ITVApiScreenWindow.class);
        if (iTVApiScreenWindow == null) {
            throw new RemoteException("TV Api not found");
        }
        return iTVApiScreenWindow.eventScreenWindowGetOverScan();
    }

    @Override // com.cvte.tv.api.aidl.ITVApiScreenWindowAidl
    public boolean eventScreenWindowSetOverScan(EntityOverScanData entityOverScanData) throws RemoteException {
        ITVApiScreenWindow iTVApiScreenWindow = (ITVApiScreenWindow) MiddleWareApi.getInstance().getTvApi(ITVApiScreenWindow.class);
        if (iTVApiScreenWindow == null) {
            throw new RemoteException("TV Api not found");
        }
        return iTVApiScreenWindow.eventScreenWindowSetOverScan(entityOverScanData);
    }

    @Override // com.cvte.tv.api.aidl.ITVApiScreenWindowAidl
    public boolean eventScreenWindowReadmodeSetEnabled(boolean z) throws RemoteException {
        ITVApiScreenWindow iTVApiScreenWindow = (ITVApiScreenWindow) MiddleWareApi.getInstance().getTvApi(ITVApiScreenWindow.class);
        if (iTVApiScreenWindow == null) {
            throw new RemoteException("TV Api not found");
        }
        return iTVApiScreenWindow.eventScreenWindowReadmodeSetEnabled(z);
    }

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

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