jimu-decompiled/sources/com/google/android/gms/internal/measurement/zzq.java
2025-05-13 19:24:51 +02:00

56 lines
1.4 KiB
Java

package com.google.android.gms.internal.measurement;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import android.os.RemoteException;
/* loaded from: classes.dex */
public class zzq implements IInterface {
private final IBinder a;
private final String b;
protected zzq(IBinder iBinder, String str) {
this.a = iBinder;
this.b = str;
}
protected final Parcel a(int i, Parcel parcel) throws RemoteException {
Parcel obtain = Parcel.obtain();
try {
try {
this.a.transact(i, parcel, obtain, 0);
obtain.readException();
return obtain;
} catch (RuntimeException e) {
obtain.recycle();
throw e;
}
} finally {
parcel.recycle();
}
}
@Override // android.os.IInterface
public IBinder asBinder() {
return this.a;
}
protected final void b(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();
}
}
protected final Parcel i() {
Parcel obtain = Parcel.obtain();
obtain.writeInterfaceToken(this.b);
return obtain;
}
}