package com.cvte.tv.api;

import android.os.RemoteException;
import com.cvte.tv.api.aidl.EntityRRT5Item;
import com.cvte.tv.api.aidl.EntityRRT5Type;
import com.cvte.tv.api.aidl.EnumResetLevel;
import com.cvte.tv.api.aidl.ITVApiVChipRRT5Aidl;
import com.cvte.tv.api.functions.ITVApiVChipRRT5;
import java.util.List;

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

    @Override // com.cvte.tv.api.aidl.ITVApiVChipRRT5Aidl
    public List<EntityRRT5Type> eventVChipRRT5GetTypeList() throws RemoteException {
        ITVApiVChipRRT5 iTVApiVChipRRT5 = (ITVApiVChipRRT5) MiddleWareApi.getInstance().getTvApi(ITVApiVChipRRT5.class);
        if (iTVApiVChipRRT5 == null) {
            throw new RemoteException("TV Api not found");
        }
        return iTVApiVChipRRT5.eventVChipRRT5GetTypeList();
    }

    @Override // com.cvte.tv.api.aidl.ITVApiVChipRRT5Aidl
    public List<EntityRRT5Item> eventVChipRRT5GetItemList(int i) throws RemoteException {
        ITVApiVChipRRT5 iTVApiVChipRRT5 = (ITVApiVChipRRT5) MiddleWareApi.getInstance().getTvApi(ITVApiVChipRRT5.class);
        if (iTVApiVChipRRT5 == null) {
            throw new RemoteException("TV Api not found");
        }
        return iTVApiVChipRRT5.eventVChipRRT5GetItemList(i);
    }

    @Override // com.cvte.tv.api.aidl.ITVApiVChipRRT5Aidl
    public boolean eventVChipRRT5SetItem(int i, boolean z) throws RemoteException {
        ITVApiVChipRRT5 iTVApiVChipRRT5 = (ITVApiVChipRRT5) MiddleWareApi.getInstance().getTvApi(ITVApiVChipRRT5.class);
        if (iTVApiVChipRRT5 == null) {
            throw new RemoteException("TV Api not found");
        }
        return iTVApiVChipRRT5.eventVChipRRT5SetItem(i, z);
    }

    @Override // com.cvte.tv.api.aidl.ITVApiVChipRRT5Aidl
    public String eventVChipGetCurrentSignalRRT5LevelString() throws RemoteException {
        ITVApiVChipRRT5 iTVApiVChipRRT5 = (ITVApiVChipRRT5) MiddleWareApi.getInstance().getTvApi(ITVApiVChipRRT5.class);
        if (iTVApiVChipRRT5 == null) {
            throw new RemoteException("TV Api not found");
        }
        return iTVApiVChipRRT5.eventVChipGetCurrentSignalRRT5LevelString();
    }

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