108 lines
5.3 KiB
Java
108 lines
5.3 KiB
Java
package android.support.customtabs;
|
|
|
|
import android.net.Uri;
|
|
import android.os.Binder;
|
|
import android.os.Bundle;
|
|
import android.os.IBinder;
|
|
import android.os.IInterface;
|
|
import android.os.Parcel;
|
|
import android.os.RemoteException;
|
|
import android.support.customtabs.ICustomTabsCallback;
|
|
import java.util.List;
|
|
|
|
/* loaded from: classes.dex */
|
|
public interface ICustomTabsService extends IInterface {
|
|
|
|
public static abstract class Stub extends Binder implements ICustomTabsService {
|
|
public Stub() {
|
|
attachInterface(this, "android.support.customtabs.ICustomTabsService");
|
|
}
|
|
|
|
@Override // android.os.IInterface
|
|
public IBinder asBinder() {
|
|
return this;
|
|
}
|
|
|
|
@Override // android.os.Binder
|
|
public boolean onTransact(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException {
|
|
if (i == 1598968902) {
|
|
parcel2.writeString("android.support.customtabs.ICustomTabsService");
|
|
return true;
|
|
}
|
|
switch (i) {
|
|
case 2:
|
|
parcel.enforceInterface("android.support.customtabs.ICustomTabsService");
|
|
boolean a = a(parcel.readLong());
|
|
parcel2.writeNoException();
|
|
parcel2.writeInt(a ? 1 : 0);
|
|
return true;
|
|
case 3:
|
|
parcel.enforceInterface("android.support.customtabs.ICustomTabsService");
|
|
boolean a2 = a(ICustomTabsCallback.Stub.a(parcel.readStrongBinder()));
|
|
parcel2.writeNoException();
|
|
parcel2.writeInt(a2 ? 1 : 0);
|
|
return true;
|
|
case 4:
|
|
parcel.enforceInterface("android.support.customtabs.ICustomTabsService");
|
|
boolean a3 = a(ICustomTabsCallback.Stub.a(parcel.readStrongBinder()), parcel.readInt() != 0 ? (Uri) Uri.CREATOR.createFromParcel(parcel) : null, parcel.readInt() != 0 ? (Bundle) Bundle.CREATOR.createFromParcel(parcel) : null, parcel.createTypedArrayList(Bundle.CREATOR));
|
|
parcel2.writeNoException();
|
|
parcel2.writeInt(a3 ? 1 : 0);
|
|
return true;
|
|
case 5:
|
|
parcel.enforceInterface("android.support.customtabs.ICustomTabsService");
|
|
Bundle b = b(parcel.readString(), parcel.readInt() != 0 ? (Bundle) Bundle.CREATOR.createFromParcel(parcel) : null);
|
|
parcel2.writeNoException();
|
|
if (b != null) {
|
|
parcel2.writeInt(1);
|
|
b.writeToParcel(parcel2, 1);
|
|
} else {
|
|
parcel2.writeInt(0);
|
|
}
|
|
return true;
|
|
case 6:
|
|
parcel.enforceInterface("android.support.customtabs.ICustomTabsService");
|
|
boolean b2 = b(ICustomTabsCallback.Stub.a(parcel.readStrongBinder()), parcel.readInt() != 0 ? (Bundle) Bundle.CREATOR.createFromParcel(parcel) : null);
|
|
parcel2.writeNoException();
|
|
parcel2.writeInt(b2 ? 1 : 0);
|
|
return true;
|
|
case 7:
|
|
parcel.enforceInterface("android.support.customtabs.ICustomTabsService");
|
|
boolean a4 = a(ICustomTabsCallback.Stub.a(parcel.readStrongBinder()), parcel.readInt() != 0 ? (Uri) Uri.CREATOR.createFromParcel(parcel) : null);
|
|
parcel2.writeNoException();
|
|
parcel2.writeInt(a4 ? 1 : 0);
|
|
return true;
|
|
case 8:
|
|
parcel.enforceInterface("android.support.customtabs.ICustomTabsService");
|
|
int b3 = b(ICustomTabsCallback.Stub.a(parcel.readStrongBinder()), parcel.readString(), parcel.readInt() != 0 ? (Bundle) Bundle.CREATOR.createFromParcel(parcel) : null);
|
|
parcel2.writeNoException();
|
|
parcel2.writeInt(b3);
|
|
return true;
|
|
case 9:
|
|
parcel.enforceInterface("android.support.customtabs.ICustomTabsService");
|
|
boolean a5 = a(ICustomTabsCallback.Stub.a(parcel.readStrongBinder()), parcel.readInt(), parcel.readInt() != 0 ? (Uri) Uri.CREATOR.createFromParcel(parcel) : null, parcel.readInt() != 0 ? (Bundle) Bundle.CREATOR.createFromParcel(parcel) : null);
|
|
parcel2.writeNoException();
|
|
parcel2.writeInt(a5 ? 1 : 0);
|
|
return true;
|
|
default:
|
|
return super.onTransact(i, parcel, parcel2, i2);
|
|
}
|
|
}
|
|
}
|
|
|
|
boolean a(long j) throws RemoteException;
|
|
|
|
boolean a(ICustomTabsCallback iCustomTabsCallback) throws RemoteException;
|
|
|
|
boolean a(ICustomTabsCallback iCustomTabsCallback, int i, Uri uri, Bundle bundle) throws RemoteException;
|
|
|
|
boolean a(ICustomTabsCallback iCustomTabsCallback, Uri uri) throws RemoteException;
|
|
|
|
boolean a(ICustomTabsCallback iCustomTabsCallback, Uri uri, Bundle bundle, List<Bundle> list) throws RemoteException;
|
|
|
|
int b(ICustomTabsCallback iCustomTabsCallback, String str, Bundle bundle) throws RemoteException;
|
|
|
|
Bundle b(String str, Bundle bundle) throws RemoteException;
|
|
|
|
boolean b(ICustomTabsCallback iCustomTabsCallback, Bundle bundle) throws RemoteException;
|
|
}
|