package android.support.customtabs; import android.os.Binder; import android.os.Bundle; import android.os.IBinder; import android.os.IInterface; import android.os.Parcel; import android.os.RemoteException; /* loaded from: classes.dex */ public interface ICustomTabsCallback extends IInterface { public static abstract class Stub extends Binder implements ICustomTabsCallback { private static class Proxy implements ICustomTabsCallback { private IBinder a; Proxy(IBinder iBinder) { this.a = iBinder; } @Override // android.support.customtabs.ICustomTabsCallback public void a(String str, Bundle bundle) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("android.support.customtabs.ICustomTabsCallback"); obtain.writeString(str); if (bundle != null) { obtain.writeInt(1); bundle.writeToParcel(obtain, 0); } else { obtain.writeInt(0); } this.a.transact(5, obtain, obtain2, 0); obtain2.readException(); } finally { obtain2.recycle(); obtain.recycle(); } } @Override // android.os.IInterface public IBinder asBinder() { return this.a; } @Override // android.support.customtabs.ICustomTabsCallback public void b(Bundle bundle) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("android.support.customtabs.ICustomTabsCallback"); if (bundle != null) { obtain.writeInt(1); bundle.writeToParcel(obtain, 0); } else { obtain.writeInt(0); } this.a.transact(4, obtain, obtain2, 0); obtain2.readException(); } finally { obtain2.recycle(); obtain.recycle(); } } } public static ICustomTabsCallback a(IBinder iBinder) { if (iBinder == null) { return null; } IInterface queryLocalInterface = iBinder.queryLocalInterface("android.support.customtabs.ICustomTabsCallback"); return (queryLocalInterface == null || !(queryLocalInterface instanceof ICustomTabsCallback)) ? new Proxy(iBinder) : (ICustomTabsCallback) queryLocalInterface; } } void a(String str, Bundle bundle) throws RemoteException; void b(Bundle bundle) throws RemoteException; }