Initial commit

This commit is contained in:
2025-05-13 19:24:51 +02:00
commit a950f49678
10604 changed files with 932663 additions and 0 deletions

View File

@@ -0,0 +1,81 @@
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;
}

View File

@@ -0,0 +1,107 @@
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;
}

View File

@@ -0,0 +1,49 @@
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;
import android.support.customtabs.ICustomTabsCallback;
/* loaded from: classes.dex */
public interface IPostMessageService extends IInterface {
public static abstract class Stub extends Binder implements IPostMessageService {
public Stub() {
attachInterface(this, "android.support.customtabs.IPostMessageService");
}
@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 == 2) {
parcel.enforceInterface("android.support.customtabs.IPostMessageService");
a(ICustomTabsCallback.Stub.a(parcel.readStrongBinder()), parcel.readInt() != 0 ? (Bundle) Bundle.CREATOR.createFromParcel(parcel) : null);
parcel2.writeNoException();
return true;
}
if (i != 3) {
if (i != 1598968902) {
return super.onTransact(i, parcel, parcel2, i2);
}
parcel2.writeString("android.support.customtabs.IPostMessageService");
return true;
}
parcel.enforceInterface("android.support.customtabs.IPostMessageService");
a(ICustomTabsCallback.Stub.a(parcel.readStrongBinder()), parcel.readString(), parcel.readInt() != 0 ? (Bundle) Bundle.CREATOR.createFromParcel(parcel) : null);
parcel2.writeNoException();
return true;
}
}
void a(ICustomTabsCallback iCustomTabsCallback, Bundle bundle) throws RemoteException;
void a(ICustomTabsCallback iCustomTabsCallback, String str, Bundle bundle) throws RemoteException;
}