翰林优商.apk(点击下载) / a.java


package org.repackage.a.a.a;

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

/* compiled from: IOpenID */
public interface a extends IInterface {

    /* renamed from: org.repackage.a.a.a.a$a  reason: collision with other inner class name */
    /* compiled from: IOpenID */
    public static abstract class AbstractBinderC0421a extends Binder implements a {

        /* access modifiers changed from: private */
        /* renamed from: org.repackage.a.a.a.a$a$a  reason: collision with other inner class name */
        /* compiled from: IOpenID */
        public static class C0422a implements a {
            public IBinder a;

            public C0422a(IBinder iBinder) {
                this.a = iBinder;
            }

            public String a(String str, String str2, String str3) {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                try {
                    obtain.writeInterfaceToken("com.heytap.openid.IOpenID");
                    obtain.writeString(str);
                    obtain.writeString(str2);
                    obtain.writeString(str3);
                    this.a.transact(1, obtain, obtain2, 0);
                    obtain2.readException();
                    return obtain2.readString();
                } finally {
                    obtain2.recycle();
                    obtain.recycle();
                }
            }

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

        public static a a(IBinder iBinder) {
            if (iBinder == null) {
                return null;
            }
            IInterface queryLocalInterface = iBinder.queryLocalInterface("com.heytap.openid.IOpenID");
            if (queryLocalInterface == null || !(queryLocalInterface instanceof a)) {
                return new C0422a(iBinder);
            }
            return (a) queryLocalInterface;
        }
    }
}