package d.e.g.l;

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

/* JADX INFO: compiled from: IPCRemoteSp20Service.java */
/* JADX INFO: loaded from: classes.dex */
public interface b extends IInterface {

    /* JADX INFO: compiled from: IPCRemoteSp20Service.java */
    public static abstract class a extends Binder implements b {

        /* JADX INFO: renamed from: d.e.g.l.b$a$a, reason: collision with other inner class name */
        /* JADX INFO: compiled from: IPCRemoteSp20Service.java */
        private static class C0103a implements b {

            /* JADX INFO: renamed from: b, reason: collision with root package name */
            private IBinder f3569b;

            C0103a(IBinder iBinder) {
                this.f3569b = iBinder;
            }

            @Override // d.e.g.l.b
            public void B(String str, d.e.g.l.a aVar) throws RemoteException {
                Parcel parcelObtain = Parcel.obtain();
                Parcel parcelObtain2 = Parcel.obtain();
                try {
                    parcelObtain.writeInterfaceToken("com.seewo.sdk.pcremote.IPCRemoteSp20Service");
                    parcelObtain.writeString(str);
                    parcelObtain.writeStrongBinder(aVar != null ? aVar.asBinder() : null);
                    this.f3569b.transact(1, parcelObtain, parcelObtain2, 0);
                    parcelObtain2.readException();
                } finally {
                    parcelObtain2.recycle();
                    parcelObtain.recycle();
                }
            }

            @Override // android.os.IInterface
            public IBinder asBinder() {
                return this.f3569b;
            }
        }

        public static b J(IBinder iBinder) {
            if (iBinder == null) {
                return null;
            }
            IInterface iInterfaceQueryLocalInterface = iBinder.queryLocalInterface("com.seewo.sdk.pcremote.IPCRemoteSp20Service");
            return (iInterfaceQueryLocalInterface == null || !(iInterfaceQueryLocalInterface instanceof b)) ? new C0103a(iBinder) : (b) iInterfaceQueryLocalInterface;
        }
    }

    void B(String str, d.e.g.l.a aVar) throws RemoteException;
}
