what-the-bank/sources/com/google/android/gms/internal/maps/zza.java

56 lines
1.4 KiB
Java

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