package com.cvte.tv.api;

import android.os.RemoteException;
import com.cvte.tv.api.aidl.EnumResetLevel;
import com.cvte.tv.api.aidl.ITVApiTvIsdbFrontEndAidl;
import com.cvte.tv.api.functions.ITVApiTvIsdbFrontEnd;

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

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

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

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

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

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