package com.czhj.devicehelper.oaId.interfaces; import android.os.Binder; import android.os.IBinder; import android.os.IInterface; import android.os.Parcel; public interface g extends IInterface { public static abstract class a extends Binder implements g { /* renamed from: com.czhj.devicehelper.oaId.interfaces.g$a$a reason: collision with other inner class name */ public static class C0037a implements g { private IBinder a; public C0037a(IBinder iBinder) { this.a = iBinder; } @Override // com.czhj.devicehelper.oaId.interfaces.g public boolean a() { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.bun.lib.MsaIdInterface"); this.a.transact(2, obtain, obtain2, 0); obtain2.readException(); if (obtain2.readInt() != 0) { return false; } obtain2.recycle(); obtain.recycle(); return true; } catch (Throwable th) { obtain2.recycle(); obtain.recycle(); th.printStackTrace(); return false; } } public IBinder asBinder() { return this.a; } @Override // com.czhj.devicehelper.oaId.interfaces.g public String b() { String str; Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.bun.lib.MsaIdInterface"); this.a.transact(3, obtain, obtain2, 0); obtain2.readException(); str = obtain2.readString(); } catch (Throwable unused) { obtain.recycle(); obtain2.recycle(); str = null; } obtain.recycle(); obtain2.recycle(); return str; } @Override // com.czhj.devicehelper.oaId.interfaces.g public boolean c() { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.bun.lib.MsaIdInterface"); this.a.transact(1, obtain, obtain2, 0); obtain2.readException(); return obtain2.readInt() != 0; } catch (Exception unused) { obtain2.recycle(); obtain.recycle(); return false; } } @Override // com.czhj.devicehelper.oaId.interfaces.g public void d() { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.bun.lib.MsaIdInterface"); this.a.transact(6, obtain, obtain2, 0); obtain2.readException(); } catch (Throwable unused) { obtain2.recycle(); obtain.recycle(); } obtain2.recycle(); obtain.recycle(); } } } boolean a(); String b(); boolean c(); void d(); }