package com.letv.pp.service;

import android.os.Binder;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import android.os.RemoteException;

public interface ICdeBinder extends IInterface {

    public static abstract class Stub extends Binder implements ICdeBinder {
        private static final String DESCRIPTOR = "com.letv.pp.service.ICdeBinder";
        static final int TRANSACTION_getCacheUrlWithData = 4;
        static final int TRANSACTION_getCdePort = 3;
        static final int TRANSACTION_getCdeVersion = 2;
        static final int TRANSACTION_getStateDownloadedDuration = 8;
        static final int TRANSACTION_getStateDownloadedPercent = 9;
        static final int TRANSACTION_getStateLastReceiveSpeed = 5;
        static final int TRANSACTION_getStateTotalDuration = 7;
        static final int TRANSACTION_getStateUrgentReceiveSpeed = 6;
        static final int TRANSACTION_getUpgradePercentage = 11;
        static final int TRANSACTION_isCdeReady = 1;
        static final int TRANSACTION_notifyNetworkChanged = 13;
        static final int TRANSACTION_setChannelSeekPosition = 10;
        static final int TRANSACTION_startUpgrade = 12;

        private static class Proxy implements ICdeBinder {
            private IBinder mRemote;

            Proxy(IBinder remote) {
                this.mRemote = remote;
            }

            public IBinder asBinder() {
                return this.mRemote;
            }

            public String getInterfaceDescriptor() {
                return Stub.DESCRIPTOR;
            }

            public boolean isCdeReady() throws RemoteException {
                boolean _result = true;
                Parcel _data = Parcel.obtain();
                Parcel _reply = Parcel.obtain();
                try {
                    _data.writeInterfaceToken(Stub.DESCRIPTOR);
                    this.mRemote.transact(1, _data, _reply, 0);
                    _reply.readException();
                    if (_reply.readInt() == 0) {
                        _result = false;
                    }
                    _reply.recycle();
                    _data.recycle();
                    return _result;
                } catch (Throwable th) {
                    _reply.recycle();
                    _data.recycle();
                }
            }

            public String getCdeVersion() throws RemoteException {
                Parcel _data = Parcel.obtain();
                Parcel _reply = Parcel.obtain();
                try {
                    _data.writeInterfaceToken(Stub.DESCRIPTOR);
                    this.mRemote.transact(2, _data, _reply, 0);
                    _reply.readException();
                    String _result = _reply.readString();
                    return _result;
                } finally {
                    _reply.recycle();
                    _data.recycle();
                }
            }