package com.cvte.tv.api;

import android.os.RemoteException;
import com.cvte.tv.api.aidl.EntityCiPlusOpProfile;
import com.cvte.tv.api.aidl.EnumResetLevel;
import com.cvte.tv.api.aidl.ITVApiDtvCiPlusOpProfileAidl;
import com.cvte.tv.api.functions.ITVApiDtvCiPlusOpProfile;
import java.util.List;

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

    @Override // com.cvte.tv.api.aidl.ITVApiDtvCiPlusOpProfileAidl
    public List<EntityCiPlusOpProfile> eventDtvCiPlusOpProfileGetList() throws RemoteException {
        ITVApiDtvCiPlusOpProfile iTVApiDtvCiPlusOpProfile = (ITVApiDtvCiPlusOpProfile) MiddleWareApi.getInstance().getTvApi(ITVApiDtvCiPlusOpProfile.class);
        if (iTVApiDtvCiPlusOpProfile == null) {
            throw new RemoteException("TV Api not found");
        }
        return iTVApiDtvCiPlusOpProfile.eventDtvCiPlusOpProfileGetList();
    }

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

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

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

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

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