40 lines
963 B
Java
40 lines
963 B
Java
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: classes.dex */
|
|
public class zaa implements IInterface {
|
|
private final IBinder a;
|
|
private final String b;
|
|
|
|
protected zaa(IBinder iBinder, String str) {
|
|
this.a = iBinder;
|
|
this.b = str;
|
|
}
|
|
|
|
protected final void a(int i, Parcel parcel) throws RemoteException {
|
|
Parcel obtain = Parcel.obtain();
|
|
try {
|
|
this.a.transact(i, parcel, obtain, 0);
|
|
obtain.readException();
|
|
} finally {
|
|
parcel.recycle();
|
|
obtain.recycle();
|
|
}
|
|
}
|
|
|
|
@Override // android.os.IInterface
|
|
public IBinder asBinder() {
|
|
return this.a;
|
|
}
|
|
|
|
protected final Parcel i() {
|
|
Parcel obtain = Parcel.obtain();
|
|
obtain.writeInterfaceToken(this.b);
|
|
return obtain;
|
|
}
|
|
}
|