智能工厂.apk(点击下载) / b.java


package cn.asus.push;

import android.os.IBinder;
import android.os.Parcel;
import cn.asus.push.IAIDLCallback;

/* access modifiers changed from: package-private */
public final class b implements IAIDLCallback {
    public static IAIDLCallback a;
    private IBinder b;

    b(IBinder iBinder) {
        this.b = iBinder;
    }

    public final IBinder asBinder() {
        return this.b;
    }

    @Override // cn.asus.push.IAIDLCallback
    public final void call(DataBuffer dataBuffer) {
        Parcel obtain = Parcel.obtain();
        try {
            obtain.writeInterfaceToken("cn.asus.push.IAIDLCallback");
            if (dataBuffer != null) {
                obtain.writeInt(1);
                dataBuffer.writeToParcel(obtain, 0);
            } else {
                obtain.writeInt(0);
            }
            if (this.b.transact(1, obtain, null, 1) || IAIDLCallback.Stub.getDefaultImpl() == null) {
                obtain.recycle();
            } else {
                IAIDLCallback.Stub.getDefaultImpl().call(dataBuffer);
            }
        } finally {
            obtain.recycle();
        }
    }
}