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


package com.czhj.devicehelper.oaId.interfaces;

import android.os.Binder;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import android.util.Log;
import com.czhj.sdk.logger.SigmobLog;

public interface d extends IInterface {

    public static abstract class a extends Binder implements d {

        /* renamed from: com.czhj.devicehelper.oaId.interfaces.d$a$a  reason: collision with other inner class name */
        public static class C0035a implements d {
            public IBinder a;

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

            public String a(String str, String str2, String str3) {
                Parcel obtain = Parcel.obtain();
                Parcel obtain2 = Parcel.obtain();
                String str4 = null;
                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();
                    str4 = obtain2.readString();
                    Log.d("oaid", "getSerID() called with: res = [" + str4 + "]");
                } catch (Exception e) {
                    Log.d("oaid", "getSerID() called with: Exception = [" + e.getMessage() + "]");
                    SigmobLog.e(e.getMessage());
                } catch (Throwable th) {
                    obtain.recycle();
                    obtain2.recycle();
                    throw th;
                }
                obtain.recycle();
                obtain2.recycle();
                return str4;
            }

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

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