package com.czhj.devicehelper.oaId.interfaces; import android.os.Binder; import android.os.IBinder; import android.os.IInterface; import android.os.Parcel; import android.os.RemoteException; import com.czhj.sdk.logger.SigmobLog; public interface c extends IInterface { public static abstract class a extends Binder implements c { /* renamed from: com.czhj.devicehelper.oaId.interfaces.c$a$a reason: collision with other inner class name */ public static class C0034a implements c { private IBinder a; public C0034a(IBinder iBinder) { this.a = iBinder; } /* JADX INFO: finally extract failed */ @Override // com.czhj.devicehelper.oaId.interfaces.c public String a() { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.zui.deviceidservice.IDeviceidInterface"); this.a.transact(1, obtain, obtain2, 0); obtain2.readException(); String readString = obtain2.readString(); obtain2.recycle(); obtain.recycle(); return readString; } catch (Exception e) { SigmobLog.e(e.getMessage()); obtain2.recycle(); obtain.recycle(); return null; } catch (Throwable th) { obtain2.recycle(); obtain.recycle(); throw th; } } /* JADX INFO: finally extract failed */ @Override // com.czhj.devicehelper.oaId.interfaces.c public String a(String str) { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.zui.deviceidservice.IDeviceidInterface"); this.a.transact(4, obtain, obtain2, 0); obtain2.readException(); String readString = obtain2.readString(); obtain2.recycle(); obtain.recycle(); return readString; } catch (Exception e) { SigmobLog.e(e.getMessage()); obtain2.recycle(); obtain.recycle(); return null; } catch (Throwable th) { obtain2.recycle(); obtain.recycle(); throw th; } } public IBinder asBinder() { return null; } /* JADX INFO: finally extract failed */ @Override // com.czhj.devicehelper.oaId.interfaces.c public String b() { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.zui.deviceidservice.IDeviceidInterface"); this.a.transact(2, obtain, obtain2, 0); obtain2.readException(); String readString = obtain2.readString(); obtain2.recycle(); obtain.recycle(); return readString; } catch (Exception e) { SigmobLog.e(e.getMessage()); obtain2.recycle(); obtain.recycle(); return null; } catch (Throwable th) { obtain2.recycle(); obtain.recycle(); throw th; } } /* JADX INFO: finally extract failed */ @Override // com.czhj.devicehelper.oaId.interfaces.c public String b(String str) { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.zui.deviceidservice.IDeviceidInterface"); this.a.transact(5, obtain, obtain2, 0); obtain2.readException(); String readString = obtain2.readString(); obtain2.recycle(); obtain.recycle(); return readString; } catch (Exception e) { SigmobLog.e(e.getMessage()); obtain2.recycle(); obtain.recycle(); return null; } catch (Throwable th) { obtain2.recycle(); obtain.recycle(); throw th; } } @Override // com.czhj.devicehelper.oaId.interfaces.c public boolean c() { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); boolean z = false; try { obtain.writeInterfaceToken("com.zui.deviceidservice.IDeviceidInterface"); this.a.transact(3, obtain, obtain2, 0); obtain2.readException(); if (obtain2.readInt() != 0) { z = true; } obtain2.recycle(); obtain.recycle(); } catch (Throwable unused) { obtain2.recycle(); obtain.recycle(); } return z; } } public static c a(IBinder iBinder) { if (iBinder == null) { return null; } IInterface queryLocalInterface = iBinder.queryLocalInterface("com.zui.deviceidservice.IDeviceidInterface"); return (queryLocalInterface == null || !(queryLocalInterface instanceof c)) ? new C0034a(iBinder) : (c) queryLocalInterface; } /* access modifiers changed from: protected */ @Override // android.os.Binder public boolean onTransact(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException { String a; if (i == 1) { parcel.enforceInterface("com.zui.deviceidservice.IDeviceidInterface"); a = a(); } else if (i == 2) { parcel.enforceInterface("com.zui.deviceidservice.IDeviceidInterface"); a = b(); } else if (i == 3) { parcel.enforceInterface("com.zui.deviceidservice.IDeviceidInterface"); boolean c = c(); parcel2.writeNoException(); parcel2.writeInt(c ? 1 : 0); return true; } else if (i == 4) { parcel.enforceInterface("com.zui.deviceidservice.IDeviceidInterface"); a = a(parcel.readString()); } else if (i == 5) { parcel.enforceInterface("com.zui.deviceidservice.IDeviceidInterface"); a = b(parcel.readString()); } else if (i != 1598968902) { return super.onTransact(i, parcel, parcel2, i2); } else { parcel2.writeString("com.zui.deviceidservice.IDeviceidInterface"); return true; } parcel2.writeNoException(); parcel2.writeString(a); return true; } } String a(); String a(String str); String b(); String b(String str); boolean c(); }