package com.google.android.gms.internal.base; import android.os.IBinder; import android.os.IInterface; import android.os.Parcel; import android.os.RemoteException; /* loaded from: classes2.dex */ public class zaa implements IInterface { private final IBinder zaa; private final String zab; public final Parcel zaa() { Parcel obtain = Parcel.obtain(); obtain.writeInterfaceToken(this.zab); return obtain; } public final Parcel zab(int i, Parcel parcel) throws RemoteException { Parcel obtain = Parcel.obtain(); try { try { this.zaa.transact(2, parcel, obtain, 0); obtain.readException(); return obtain; } catch (RuntimeException e) { obtain.recycle(); throw e; } } finally { parcel.recycle(); } } public final void zac(int i, Parcel parcel) throws RemoteException { Parcel obtain = Parcel.obtain(); try { this.zaa.transact(i, parcel, obtain, 0); obtain.readException(); } finally { parcel.recycle(); obtain.recycle(); } } public final void zad(int i, Parcel parcel) throws RemoteException { try { this.zaa.transact(1, parcel, null, 1); } finally { parcel.recycle(); } } @Override // android.os.IInterface public final IBinder asBinder() { return this.zaa; } public zaa(IBinder iBinder, String str) { this.zaa = iBinder; this.zab = str; } }