Add decompiled APK source code (JADX)

- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,371 @@
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.Parcelable;
import android.os.RemoteException;
import androidx.annotation.RestrictTo;
@RestrictTo({RestrictTo.Scope.LIBRARY})
/* loaded from: classes.dex */
public interface ICustomTabsCallback extends IInterface {
public static final String DESCRIPTOR = "android$support$customtabs$ICustomTabsCallback".replace('$', '.');
public static class Default implements ICustomTabsCallback {
@Override // android.os.IInterface
public IBinder asBinder() {
return null;
}
@Override // android.support.customtabs.ICustomTabsCallback
public void extraCallback(String str, Bundle bundle) throws RemoteException {
}
@Override // android.support.customtabs.ICustomTabsCallback
public Bundle extraCallbackWithResult(String str, Bundle bundle) throws RemoteException {
return null;
}
@Override // android.support.customtabs.ICustomTabsCallback
public void onActivityLayout(int i, int i2, int i3, int i4, int i5, Bundle bundle) throws RemoteException {
}
@Override // android.support.customtabs.ICustomTabsCallback
public void onActivityResized(int i, int i2, Bundle bundle) throws RemoteException {
}
@Override // android.support.customtabs.ICustomTabsCallback
public void onMessageChannelReady(Bundle bundle) throws RemoteException {
}
@Override // android.support.customtabs.ICustomTabsCallback
public void onMinimized(Bundle bundle) throws RemoteException {
}
@Override // android.support.customtabs.ICustomTabsCallback
public void onNavigationEvent(int i, Bundle bundle) throws RemoteException {
}
@Override // android.support.customtabs.ICustomTabsCallback
public void onPostMessage(String str, Bundle bundle) throws RemoteException {
}
@Override // android.support.customtabs.ICustomTabsCallback
public void onRelationshipValidationResult(int i, Uri uri, boolean z, Bundle bundle) throws RemoteException {
}
@Override // android.support.customtabs.ICustomTabsCallback
public void onUnminimized(Bundle bundle) throws RemoteException {
}
@Override // android.support.customtabs.ICustomTabsCallback
public void onWarmupCompleted(Bundle bundle) throws RemoteException {
}
}
void extraCallback(String str, Bundle bundle) throws RemoteException;
Bundle extraCallbackWithResult(String str, Bundle bundle) throws RemoteException;
void onActivityLayout(int i, int i2, int i3, int i4, int i5, Bundle bundle) throws RemoteException;
void onActivityResized(int i, int i2, Bundle bundle) throws RemoteException;
void onMessageChannelReady(Bundle bundle) throws RemoteException;
void onMinimized(Bundle bundle) throws RemoteException;
void onNavigationEvent(int i, Bundle bundle) throws RemoteException;
void onPostMessage(String str, Bundle bundle) throws RemoteException;
void onRelationshipValidationResult(int i, Uri uri, boolean z, Bundle bundle) throws RemoteException;
void onUnminimized(Bundle bundle) throws RemoteException;
void onWarmupCompleted(Bundle bundle) throws RemoteException;
public static abstract class Stub extends Binder implements ICustomTabsCallback {
static final int TRANSACTION_extraCallback = 3;
static final int TRANSACTION_extraCallbackWithResult = 7;
static final int TRANSACTION_onActivityLayout = 10;
static final int TRANSACTION_onActivityResized = 8;
static final int TRANSACTION_onMessageChannelReady = 4;
static final int TRANSACTION_onMinimized = 11;
static final int TRANSACTION_onNavigationEvent = 2;
static final int TRANSACTION_onPostMessage = 5;
static final int TRANSACTION_onRelationshipValidationResult = 6;
static final int TRANSACTION_onUnminimized = 12;
static final int TRANSACTION_onWarmupCompleted = 9;
@Override // android.os.IInterface
public IBinder asBinder() {
return this;
}
public Stub() {
attachInterface(this, ICustomTabsCallback.DESCRIPTOR);
}
public static ICustomTabsCallback asInterface(IBinder iBinder) {
if (iBinder == null) {
return null;
}
IInterface queryLocalInterface = iBinder.queryLocalInterface(ICustomTabsCallback.DESCRIPTOR);
if (queryLocalInterface != null && (queryLocalInterface instanceof ICustomTabsCallback)) {
return (ICustomTabsCallback) queryLocalInterface;
}
return new Proxy(iBinder);
}
@Override // android.os.Binder
public boolean onTransact(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException {
String str = ICustomTabsCallback.DESCRIPTOR;
if (i >= 1 && i <= 16777215) {
parcel.enforceInterface(str);
}
if (i == 1598968902) {
parcel2.writeString(str);
return true;
}
switch (i) {
case 2:
onNavigationEvent(parcel.readInt(), (Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
return true;
case 3:
extraCallback(parcel.readString(), (Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
return true;
case 4:
onMessageChannelReady((Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
parcel2.writeNoException();
return true;
case 5:
onPostMessage(parcel.readString(), (Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
parcel2.writeNoException();
return true;
case 6:
onRelationshipValidationResult(parcel.readInt(), (Uri) _Parcel.readTypedObject(parcel, Uri.CREATOR), parcel.readInt() != 0, (Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
return true;
case 7:
Bundle extraCallbackWithResult = extraCallbackWithResult(parcel.readString(), (Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
parcel2.writeNoException();
_Parcel.writeTypedObject(parcel2, extraCallbackWithResult, 1);
return true;
case 8:
onActivityResized(parcel.readInt(), parcel.readInt(), (Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
return true;
case 9:
onWarmupCompleted((Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
return true;
case 10:
onActivityLayout(parcel.readInt(), parcel.readInt(), parcel.readInt(), parcel.readInt(), parcel.readInt(), (Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
return true;
case 11:
onMinimized((Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
return true;
case 12:
onUnminimized((Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
return true;
default:
return super.onTransact(i, parcel, parcel2, i2);
}
}
public static class Proxy implements ICustomTabsCallback {
private IBinder mRemote;
@Override // android.os.IInterface
public IBinder asBinder() {
return this.mRemote;
}
public String getInterfaceDescriptor() {
return ICustomTabsCallback.DESCRIPTOR;
}
public Proxy(IBinder iBinder) {
this.mRemote = iBinder;
}
@Override // android.support.customtabs.ICustomTabsCallback
public void onNavigationEvent(int i, Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
try {
obtain.writeInterfaceToken(ICustomTabsCallback.DESCRIPTOR);
obtain.writeInt(i);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(2, obtain, null, 1);
} finally {
obtain.recycle();
}
}
@Override // android.support.customtabs.ICustomTabsCallback
public void extraCallback(String str, Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
try {
obtain.writeInterfaceToken(ICustomTabsCallback.DESCRIPTOR);
obtain.writeString(str);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(3, obtain, null, 1);
} finally {
obtain.recycle();
}
}
@Override // android.support.customtabs.ICustomTabsCallback
public void onMessageChannelReady(Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
Parcel obtain2 = Parcel.obtain();
try {
obtain.writeInterfaceToken(ICustomTabsCallback.DESCRIPTOR);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(4, obtain, obtain2, 0);
obtain2.readException();
} finally {
obtain2.recycle();
obtain.recycle();
}
}
@Override // android.support.customtabs.ICustomTabsCallback
public void onPostMessage(String str, Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
Parcel obtain2 = Parcel.obtain();
try {
obtain.writeInterfaceToken(ICustomTabsCallback.DESCRIPTOR);
obtain.writeString(str);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(5, obtain, obtain2, 0);
obtain2.readException();
} finally {
obtain2.recycle();
obtain.recycle();
}
}
@Override // android.support.customtabs.ICustomTabsCallback
public void onRelationshipValidationResult(int i, Uri uri, boolean z, Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
try {
obtain.writeInterfaceToken(ICustomTabsCallback.DESCRIPTOR);
obtain.writeInt(i);
_Parcel.writeTypedObject(obtain, uri, 0);
obtain.writeInt(z ? 1 : 0);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(6, obtain, null, 1);
} finally {
obtain.recycle();
}
}
@Override // android.support.customtabs.ICustomTabsCallback
public Bundle extraCallbackWithResult(String str, Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
Parcel obtain2 = Parcel.obtain();
try {
obtain.writeInterfaceToken(ICustomTabsCallback.DESCRIPTOR);
obtain.writeString(str);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(7, obtain, obtain2, 0);
obtain2.readException();
return (Bundle) _Parcel.readTypedObject(obtain2, Bundle.CREATOR);
} finally {
obtain2.recycle();
obtain.recycle();
}
}
@Override // android.support.customtabs.ICustomTabsCallback
public void onActivityResized(int i, int i2, Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
try {
obtain.writeInterfaceToken(ICustomTabsCallback.DESCRIPTOR);
obtain.writeInt(i);
obtain.writeInt(i2);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(8, obtain, null, 1);
} finally {
obtain.recycle();
}
}
@Override // android.support.customtabs.ICustomTabsCallback
public void onWarmupCompleted(Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
try {
obtain.writeInterfaceToken(ICustomTabsCallback.DESCRIPTOR);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(9, obtain, null, 1);
} finally {
obtain.recycle();
}
}
@Override // android.support.customtabs.ICustomTabsCallback
public void onActivityLayout(int i, int i2, int i3, int i4, int i5, Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
try {
obtain.writeInterfaceToken(ICustomTabsCallback.DESCRIPTOR);
obtain.writeInt(i);
obtain.writeInt(i2);
obtain.writeInt(i3);
obtain.writeInt(i4);
obtain.writeInt(i5);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(10, obtain, null, 1);
} finally {
obtain.recycle();
}
}
@Override // android.support.customtabs.ICustomTabsCallback
public void onMinimized(Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
try {
obtain.writeInterfaceToken(ICustomTabsCallback.DESCRIPTOR);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(11, obtain, null, 1);
} finally {
obtain.recycle();
}
}
@Override // android.support.customtabs.ICustomTabsCallback
public void onUnminimized(Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
try {
obtain.writeInterfaceToken(ICustomTabsCallback.DESCRIPTOR);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(12, obtain, null, 1);
} finally {
obtain.recycle();
}
}
}
}
public static class _Parcel {
/* JADX INFO: Access modifiers changed from: private */
public static <T> T readTypedObject(Parcel parcel, Parcelable.Creator<T> creator) {
if (parcel.readInt() != 0) {
return creator.createFromParcel(parcel);
}
return null;
}
/* JADX INFO: Access modifiers changed from: private */
public static <T extends Parcelable> void writeTypedObject(Parcel parcel, T t, int i) {
if (t != null) {
parcel.writeInt(1);
t.writeToParcel(parcel, i);
} else {
parcel.writeInt(0);
}
}
}
}

View File

@@ -0,0 +1,515 @@
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.Parcelable;
import android.os.RemoteException;
import android.support.customtabs.ICustomTabsCallback;
import androidx.annotation.RestrictTo;
import java.util.List;
@RestrictTo({RestrictTo.Scope.LIBRARY})
/* loaded from: classes.dex */
public interface ICustomTabsService extends IInterface {
public static final String DESCRIPTOR = "android$support$customtabs$ICustomTabsService".replace('$', '.');
public static class Default implements ICustomTabsService {
@Override // android.os.IInterface
public IBinder asBinder() {
return null;
}
@Override // android.support.customtabs.ICustomTabsService
public Bundle extraCommand(String str, Bundle bundle) throws RemoteException {
return null;
}
@Override // android.support.customtabs.ICustomTabsService
public boolean isEngagementSignalsApiAvailable(ICustomTabsCallback iCustomTabsCallback, Bundle bundle) throws RemoteException {
return false;
}
@Override // android.support.customtabs.ICustomTabsService
public boolean mayLaunchUrl(ICustomTabsCallback iCustomTabsCallback, Uri uri, Bundle bundle, List<Bundle> list) throws RemoteException {
return false;
}
@Override // android.support.customtabs.ICustomTabsService
public boolean newSession(ICustomTabsCallback iCustomTabsCallback) throws RemoteException {
return false;
}
@Override // android.support.customtabs.ICustomTabsService
public boolean newSessionWithExtras(ICustomTabsCallback iCustomTabsCallback, Bundle bundle) throws RemoteException {
return false;
}
@Override // android.support.customtabs.ICustomTabsService
public int postMessage(ICustomTabsCallback iCustomTabsCallback, String str, Bundle bundle) throws RemoteException {
return 0;
}
@Override // android.support.customtabs.ICustomTabsService
public boolean receiveFile(ICustomTabsCallback iCustomTabsCallback, Uri uri, int i, Bundle bundle) throws RemoteException {
return false;
}
@Override // android.support.customtabs.ICustomTabsService
public boolean requestPostMessageChannel(ICustomTabsCallback iCustomTabsCallback, Uri uri) throws RemoteException {
return false;
}
@Override // android.support.customtabs.ICustomTabsService
public boolean requestPostMessageChannelWithExtras(ICustomTabsCallback iCustomTabsCallback, Uri uri, Bundle bundle) throws RemoteException {
return false;
}
@Override // android.support.customtabs.ICustomTabsService
public boolean setEngagementSignalsCallback(ICustomTabsCallback iCustomTabsCallback, IBinder iBinder, Bundle bundle) throws RemoteException {
return false;
}
@Override // android.support.customtabs.ICustomTabsService
public boolean updateVisuals(ICustomTabsCallback iCustomTabsCallback, Bundle bundle) throws RemoteException {
return false;
}
@Override // android.support.customtabs.ICustomTabsService
public boolean validateRelationship(ICustomTabsCallback iCustomTabsCallback, int i, Uri uri, Bundle bundle) throws RemoteException {
return false;
}
@Override // android.support.customtabs.ICustomTabsService
public boolean warmup(long j) throws RemoteException {
return false;
}
}
Bundle extraCommand(String str, Bundle bundle) throws RemoteException;
boolean isEngagementSignalsApiAvailable(ICustomTabsCallback iCustomTabsCallback, Bundle bundle) throws RemoteException;
boolean mayLaunchUrl(ICustomTabsCallback iCustomTabsCallback, Uri uri, Bundle bundle, List<Bundle> list) throws RemoteException;
boolean newSession(ICustomTabsCallback iCustomTabsCallback) throws RemoteException;
boolean newSessionWithExtras(ICustomTabsCallback iCustomTabsCallback, Bundle bundle) throws RemoteException;
int postMessage(ICustomTabsCallback iCustomTabsCallback, String str, Bundle bundle) throws RemoteException;
boolean receiveFile(ICustomTabsCallback iCustomTabsCallback, Uri uri, int i, Bundle bundle) throws RemoteException;
boolean requestPostMessageChannel(ICustomTabsCallback iCustomTabsCallback, Uri uri) throws RemoteException;
boolean requestPostMessageChannelWithExtras(ICustomTabsCallback iCustomTabsCallback, Uri uri, Bundle bundle) throws RemoteException;
boolean setEngagementSignalsCallback(ICustomTabsCallback iCustomTabsCallback, IBinder iBinder, Bundle bundle) throws RemoteException;
boolean updateVisuals(ICustomTabsCallback iCustomTabsCallback, Bundle bundle) throws RemoteException;
boolean validateRelationship(ICustomTabsCallback iCustomTabsCallback, int i, Uri uri, Bundle bundle) throws RemoteException;
boolean warmup(long j) throws RemoteException;
public static abstract class Stub extends Binder implements ICustomTabsService {
static final int TRANSACTION_extraCommand = 5;
static final int TRANSACTION_isEngagementSignalsApiAvailable = 13;
static final int TRANSACTION_mayLaunchUrl = 4;
static final int TRANSACTION_newSession = 3;
static final int TRANSACTION_newSessionWithExtras = 10;
static final int TRANSACTION_postMessage = 8;
static final int TRANSACTION_receiveFile = 12;
static final int TRANSACTION_requestPostMessageChannel = 7;
static final int TRANSACTION_requestPostMessageChannelWithExtras = 11;
static final int TRANSACTION_setEngagementSignalsCallback = 14;
static final int TRANSACTION_updateVisuals = 6;
static final int TRANSACTION_validateRelationship = 9;
static final int TRANSACTION_warmup = 2;
@Override // android.os.IInterface
public IBinder asBinder() {
return this;
}
public Stub() {
attachInterface(this, ICustomTabsService.DESCRIPTOR);
}
public static ICustomTabsService asInterface(IBinder iBinder) {
if (iBinder == null) {
return null;
}
IInterface queryLocalInterface = iBinder.queryLocalInterface(ICustomTabsService.DESCRIPTOR);
if (queryLocalInterface != null && (queryLocalInterface instanceof ICustomTabsService)) {
return (ICustomTabsService) queryLocalInterface;
}
return new Proxy(iBinder);
}
@Override // android.os.Binder
public boolean onTransact(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException {
String str = ICustomTabsService.DESCRIPTOR;
if (i >= 1 && i <= 16777215) {
parcel.enforceInterface(str);
}
if (i == 1598968902) {
parcel2.writeString(str);
return true;
}
switch (i) {
case 2:
boolean warmup = warmup(parcel.readLong());
parcel2.writeNoException();
parcel2.writeInt(warmup ? 1 : 0);
return true;
case 3:
boolean newSession = newSession(ICustomTabsCallback.Stub.asInterface(parcel.readStrongBinder()));
parcel2.writeNoException();
parcel2.writeInt(newSession ? 1 : 0);
return true;
case 4:
ICustomTabsCallback asInterface = ICustomTabsCallback.Stub.asInterface(parcel.readStrongBinder());
Uri uri = (Uri) _Parcel.readTypedObject(parcel, Uri.CREATOR);
Parcelable.Creator creator = Bundle.CREATOR;
boolean mayLaunchUrl = mayLaunchUrl(asInterface, uri, (Bundle) _Parcel.readTypedObject(parcel, creator), parcel.createTypedArrayList(creator));
parcel2.writeNoException();
parcel2.writeInt(mayLaunchUrl ? 1 : 0);
return true;
case 5:
Bundle extraCommand = extraCommand(parcel.readString(), (Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
parcel2.writeNoException();
_Parcel.writeTypedObject(parcel2, extraCommand, 1);
return true;
case 6:
boolean updateVisuals = updateVisuals(ICustomTabsCallback.Stub.asInterface(parcel.readStrongBinder()), (Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
parcel2.writeNoException();
parcel2.writeInt(updateVisuals ? 1 : 0);
return true;
case 7:
boolean requestPostMessageChannel = requestPostMessageChannel(ICustomTabsCallback.Stub.asInterface(parcel.readStrongBinder()), (Uri) _Parcel.readTypedObject(parcel, Uri.CREATOR));
parcel2.writeNoException();
parcel2.writeInt(requestPostMessageChannel ? 1 : 0);
return true;
case 8:
int postMessage = postMessage(ICustomTabsCallback.Stub.asInterface(parcel.readStrongBinder()), parcel.readString(), (Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
parcel2.writeNoException();
parcel2.writeInt(postMessage);
return true;
case 9:
boolean validateRelationship = validateRelationship(ICustomTabsCallback.Stub.asInterface(parcel.readStrongBinder()), parcel.readInt(), (Uri) _Parcel.readTypedObject(parcel, Uri.CREATOR), (Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
parcel2.writeNoException();
parcel2.writeInt(validateRelationship ? 1 : 0);
return true;
case 10:
boolean newSessionWithExtras = newSessionWithExtras(ICustomTabsCallback.Stub.asInterface(parcel.readStrongBinder()), (Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
parcel2.writeNoException();
parcel2.writeInt(newSessionWithExtras ? 1 : 0);
return true;
case 11:
boolean requestPostMessageChannelWithExtras = requestPostMessageChannelWithExtras(ICustomTabsCallback.Stub.asInterface(parcel.readStrongBinder()), (Uri) _Parcel.readTypedObject(parcel, Uri.CREATOR), (Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
parcel2.writeNoException();
parcel2.writeInt(requestPostMessageChannelWithExtras ? 1 : 0);
return true;
case 12:
boolean receiveFile = receiveFile(ICustomTabsCallback.Stub.asInterface(parcel.readStrongBinder()), (Uri) _Parcel.readTypedObject(parcel, Uri.CREATOR), parcel.readInt(), (Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
parcel2.writeNoException();
parcel2.writeInt(receiveFile ? 1 : 0);
return true;
case 13:
boolean isEngagementSignalsApiAvailable = isEngagementSignalsApiAvailable(ICustomTabsCallback.Stub.asInterface(parcel.readStrongBinder()), (Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
parcel2.writeNoException();
parcel2.writeInt(isEngagementSignalsApiAvailable ? 1 : 0);
return true;
case 14:
boolean engagementSignalsCallback = setEngagementSignalsCallback(ICustomTabsCallback.Stub.asInterface(parcel.readStrongBinder()), parcel.readStrongBinder(), (Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
parcel2.writeNoException();
parcel2.writeInt(engagementSignalsCallback ? 1 : 0);
return true;
default:
return super.onTransact(i, parcel, parcel2, i2);
}
}
public static class Proxy implements ICustomTabsService {
private IBinder mRemote;
@Override // android.os.IInterface
public IBinder asBinder() {
return this.mRemote;
}
public String getInterfaceDescriptor() {
return ICustomTabsService.DESCRIPTOR;
}
public Proxy(IBinder iBinder) {
this.mRemote = iBinder;
}
@Override // android.support.customtabs.ICustomTabsService
public boolean warmup(long j) throws RemoteException {
Parcel obtain = Parcel.obtain();
Parcel obtain2 = Parcel.obtain();
try {
obtain.writeInterfaceToken(ICustomTabsService.DESCRIPTOR);
obtain.writeLong(j);
this.mRemote.transact(2, obtain, obtain2, 0);
obtain2.readException();
return obtain2.readInt() != 0;
} finally {
obtain2.recycle();
obtain.recycle();
}
}
@Override // android.support.customtabs.ICustomTabsService
public boolean newSession(ICustomTabsCallback iCustomTabsCallback) throws RemoteException {
Parcel obtain = Parcel.obtain();
Parcel obtain2 = Parcel.obtain();
try {
obtain.writeInterfaceToken(ICustomTabsService.DESCRIPTOR);
obtain.writeStrongInterface(iCustomTabsCallback);
this.mRemote.transact(3, obtain, obtain2, 0);
obtain2.readException();
return obtain2.readInt() != 0;
} finally {
obtain2.recycle();
obtain.recycle();
}
}
@Override // android.support.customtabs.ICustomTabsService
public boolean newSessionWithExtras(ICustomTabsCallback iCustomTabsCallback, Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
Parcel obtain2 = Parcel.obtain();
try {
obtain.writeInterfaceToken(ICustomTabsService.DESCRIPTOR);
obtain.writeStrongInterface(iCustomTabsCallback);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(10, obtain, obtain2, 0);
obtain2.readException();
return obtain2.readInt() != 0;
} finally {
obtain2.recycle();
obtain.recycle();
}
}
@Override // android.support.customtabs.ICustomTabsService
public boolean mayLaunchUrl(ICustomTabsCallback iCustomTabsCallback, Uri uri, Bundle bundle, List<Bundle> list) throws RemoteException {
Parcel obtain = Parcel.obtain();
Parcel obtain2 = Parcel.obtain();
try {
obtain.writeInterfaceToken(ICustomTabsService.DESCRIPTOR);
obtain.writeStrongInterface(iCustomTabsCallback);
_Parcel.writeTypedObject(obtain, uri, 0);
_Parcel.writeTypedObject(obtain, bundle, 0);
_Parcel.writeTypedList(obtain, list, 0);
this.mRemote.transact(4, obtain, obtain2, 0);
obtain2.readException();
return obtain2.readInt() != 0;
} finally {
obtain2.recycle();
obtain.recycle();
}
}
@Override // android.support.customtabs.ICustomTabsService
public Bundle extraCommand(String str, Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
Parcel obtain2 = Parcel.obtain();
try {
obtain.writeInterfaceToken(ICustomTabsService.DESCRIPTOR);
obtain.writeString(str);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(5, obtain, obtain2, 0);
obtain2.readException();
return (Bundle) _Parcel.readTypedObject(obtain2, Bundle.CREATOR);
} finally {
obtain2.recycle();
obtain.recycle();
}
}
@Override // android.support.customtabs.ICustomTabsService
public boolean updateVisuals(ICustomTabsCallback iCustomTabsCallback, Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
Parcel obtain2 = Parcel.obtain();
try {
obtain.writeInterfaceToken(ICustomTabsService.DESCRIPTOR);
obtain.writeStrongInterface(iCustomTabsCallback);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(6, obtain, obtain2, 0);
obtain2.readException();
return obtain2.readInt() != 0;
} finally {
obtain2.recycle();
obtain.recycle();
}
}
@Override // android.support.customtabs.ICustomTabsService
public boolean requestPostMessageChannel(ICustomTabsCallback iCustomTabsCallback, Uri uri) throws RemoteException {
Parcel obtain = Parcel.obtain();
Parcel obtain2 = Parcel.obtain();
try {
obtain.writeInterfaceToken(ICustomTabsService.DESCRIPTOR);
obtain.writeStrongInterface(iCustomTabsCallback);
_Parcel.writeTypedObject(obtain, uri, 0);
this.mRemote.transact(7, obtain, obtain2, 0);
obtain2.readException();
return obtain2.readInt() != 0;
} finally {
obtain2.recycle();
obtain.recycle();
}
}
@Override // android.support.customtabs.ICustomTabsService
public boolean requestPostMessageChannelWithExtras(ICustomTabsCallback iCustomTabsCallback, Uri uri, Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
Parcel obtain2 = Parcel.obtain();
try {
obtain.writeInterfaceToken(ICustomTabsService.DESCRIPTOR);
obtain.writeStrongInterface(iCustomTabsCallback);
_Parcel.writeTypedObject(obtain, uri, 0);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(11, obtain, obtain2, 0);
obtain2.readException();
return obtain2.readInt() != 0;
} finally {
obtain2.recycle();
obtain.recycle();
}
}
@Override // android.support.customtabs.ICustomTabsService
public int postMessage(ICustomTabsCallback iCustomTabsCallback, String str, Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
Parcel obtain2 = Parcel.obtain();
try {
obtain.writeInterfaceToken(ICustomTabsService.DESCRIPTOR);
obtain.writeStrongInterface(iCustomTabsCallback);
obtain.writeString(str);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(8, obtain, obtain2, 0);
obtain2.readException();
return obtain2.readInt();
} finally {
obtain2.recycle();
obtain.recycle();
}
}
@Override // android.support.customtabs.ICustomTabsService
public boolean validateRelationship(ICustomTabsCallback iCustomTabsCallback, int i, Uri uri, Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
Parcel obtain2 = Parcel.obtain();
try {
obtain.writeInterfaceToken(ICustomTabsService.DESCRIPTOR);
obtain.writeStrongInterface(iCustomTabsCallback);
obtain.writeInt(i);
_Parcel.writeTypedObject(obtain, uri, 0);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(9, obtain, obtain2, 0);
obtain2.readException();
return obtain2.readInt() != 0;
} finally {
obtain2.recycle();
obtain.recycle();
}
}
@Override // android.support.customtabs.ICustomTabsService
public boolean receiveFile(ICustomTabsCallback iCustomTabsCallback, Uri uri, int i, Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
Parcel obtain2 = Parcel.obtain();
try {
obtain.writeInterfaceToken(ICustomTabsService.DESCRIPTOR);
obtain.writeStrongInterface(iCustomTabsCallback);
_Parcel.writeTypedObject(obtain, uri, 0);
obtain.writeInt(i);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(12, obtain, obtain2, 0);
obtain2.readException();
return obtain2.readInt() != 0;
} finally {
obtain2.recycle();
obtain.recycle();
}
}
@Override // android.support.customtabs.ICustomTabsService
public boolean isEngagementSignalsApiAvailable(ICustomTabsCallback iCustomTabsCallback, Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
Parcel obtain2 = Parcel.obtain();
try {
obtain.writeInterfaceToken(ICustomTabsService.DESCRIPTOR);
obtain.writeStrongInterface(iCustomTabsCallback);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(13, obtain, obtain2, 0);
obtain2.readException();
return obtain2.readInt() != 0;
} finally {
obtain2.recycle();
obtain.recycle();
}
}
@Override // android.support.customtabs.ICustomTabsService
public boolean setEngagementSignalsCallback(ICustomTabsCallback iCustomTabsCallback, IBinder iBinder, Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
Parcel obtain2 = Parcel.obtain();
try {
obtain.writeInterfaceToken(ICustomTabsService.DESCRIPTOR);
obtain.writeStrongInterface(iCustomTabsCallback);
obtain.writeStrongBinder(iBinder);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(14, obtain, obtain2, 0);
obtain2.readException();
return obtain2.readInt() != 0;
} finally {
obtain2.recycle();
obtain.recycle();
}
}
}
}
public static class _Parcel {
/* JADX INFO: Access modifiers changed from: private */
public static <T> T readTypedObject(Parcel parcel, Parcelable.Creator<T> creator) {
if (parcel.readInt() != 0) {
return creator.createFromParcel(parcel);
}
return null;
}
/* JADX INFO: Access modifiers changed from: private */
public static <T extends Parcelable> void writeTypedObject(Parcel parcel, T t, int i) {
if (t != null) {
parcel.writeInt(1);
t.writeToParcel(parcel, i);
} else {
parcel.writeInt(0);
}
}
/* JADX INFO: Access modifiers changed from: private */
public static <T extends Parcelable> void writeTypedList(Parcel parcel, List<T> list, int i) {
if (list == null) {
parcel.writeInt(-1);
return;
}
int size = list.size();
parcel.writeInt(size);
for (int i2 = 0; i2 < size; i2++) {
writeTypedObject(parcel, list.get(i2), i);
}
}
}
}

View File

@@ -0,0 +1,165 @@
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.Parcelable;
import android.os.RemoteException;
import androidx.annotation.RestrictTo;
@RestrictTo({RestrictTo.Scope.LIBRARY})
/* loaded from: classes.dex */
public interface IEngagementSignalsCallback extends IInterface {
public static final String DESCRIPTOR = "android$support$customtabs$IEngagementSignalsCallback".replace('$', '.');
public static class Default implements IEngagementSignalsCallback {
@Override // android.os.IInterface
public IBinder asBinder() {
return null;
}
@Override // android.support.customtabs.IEngagementSignalsCallback
public void onGreatestScrollPercentageIncreased(int i, Bundle bundle) throws RemoteException {
}
@Override // android.support.customtabs.IEngagementSignalsCallback
public void onSessionEnded(boolean z, Bundle bundle) throws RemoteException {
}
@Override // android.support.customtabs.IEngagementSignalsCallback
public void onVerticalScrollEvent(boolean z, Bundle bundle) throws RemoteException {
}
}
void onGreatestScrollPercentageIncreased(int i, Bundle bundle) throws RemoteException;
void onSessionEnded(boolean z, Bundle bundle) throws RemoteException;
void onVerticalScrollEvent(boolean z, Bundle bundle) throws RemoteException;
public static abstract class Stub extends Binder implements IEngagementSignalsCallback {
static final int TRANSACTION_onGreatestScrollPercentageIncreased = 3;
static final int TRANSACTION_onSessionEnded = 4;
static final int TRANSACTION_onVerticalScrollEvent = 2;
@Override // android.os.IInterface
public IBinder asBinder() {
return this;
}
public Stub() {
attachInterface(this, IEngagementSignalsCallback.DESCRIPTOR);
}
public static IEngagementSignalsCallback asInterface(IBinder iBinder) {
if (iBinder == null) {
return null;
}
IInterface queryLocalInterface = iBinder.queryLocalInterface(IEngagementSignalsCallback.DESCRIPTOR);
if (queryLocalInterface != null && (queryLocalInterface instanceof IEngagementSignalsCallback)) {
return (IEngagementSignalsCallback) queryLocalInterface;
}
return new Proxy(iBinder);
}
@Override // android.os.Binder
public boolean onTransact(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException {
String str = IEngagementSignalsCallback.DESCRIPTOR;
if (i >= 1 && i <= 16777215) {
parcel.enforceInterface(str);
}
if (i == 1598968902) {
parcel2.writeString(str);
return true;
}
if (i == 2) {
onVerticalScrollEvent(parcel.readInt() != 0, (Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
} else if (i == 3) {
onGreatestScrollPercentageIncreased(parcel.readInt(), (Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
} else if (i == 4) {
onSessionEnded(parcel.readInt() != 0, (Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
} else {
return super.onTransact(i, parcel, parcel2, i2);
}
return true;
}
public static class Proxy implements IEngagementSignalsCallback {
private IBinder mRemote;
@Override // android.os.IInterface
public IBinder asBinder() {
return this.mRemote;
}
public String getInterfaceDescriptor() {
return IEngagementSignalsCallback.DESCRIPTOR;
}
public Proxy(IBinder iBinder) {
this.mRemote = iBinder;
}
@Override // android.support.customtabs.IEngagementSignalsCallback
public void onVerticalScrollEvent(boolean z, Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
try {
obtain.writeInterfaceToken(IEngagementSignalsCallback.DESCRIPTOR);
obtain.writeInt(z ? 1 : 0);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(2, obtain, null, 1);
} finally {
obtain.recycle();
}
}
@Override // android.support.customtabs.IEngagementSignalsCallback
public void onGreatestScrollPercentageIncreased(int i, Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
try {
obtain.writeInterfaceToken(IEngagementSignalsCallback.DESCRIPTOR);
obtain.writeInt(i);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(3, obtain, null, 1);
} finally {
obtain.recycle();
}
}
@Override // android.support.customtabs.IEngagementSignalsCallback
public void onSessionEnded(boolean z, Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
try {
obtain.writeInterfaceToken(IEngagementSignalsCallback.DESCRIPTOR);
obtain.writeInt(z ? 1 : 0);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(4, obtain, null, 1);
} finally {
obtain.recycle();
}
}
}
}
public static class _Parcel {
/* JADX INFO: Access modifiers changed from: private */
public static <T> T readTypedObject(Parcel parcel, Parcelable.Creator<T> creator) {
if (parcel.readInt() != 0) {
return creator.createFromParcel(parcel);
}
return null;
}
/* JADX INFO: Access modifiers changed from: private */
public static <T extends Parcelable> void writeTypedObject(Parcel parcel, T t, int i) {
if (t != null) {
parcel.writeInt(1);
t.writeToParcel(parcel, i);
} else {
parcel.writeInt(0);
}
}
}
}

View File

@@ -0,0 +1,153 @@
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.Parcelable;
import android.os.RemoteException;
import android.support.customtabs.ICustomTabsCallback;
import androidx.annotation.RestrictTo;
@RestrictTo({RestrictTo.Scope.LIBRARY})
/* loaded from: classes.dex */
public interface IPostMessageService extends IInterface {
public static final String DESCRIPTOR = "android$support$customtabs$IPostMessageService".replace('$', '.');
public static class Default implements IPostMessageService {
@Override // android.os.IInterface
public IBinder asBinder() {
return null;
}
@Override // android.support.customtabs.IPostMessageService
public void onMessageChannelReady(ICustomTabsCallback iCustomTabsCallback, Bundle bundle) throws RemoteException {
}
@Override // android.support.customtabs.IPostMessageService
public void onPostMessage(ICustomTabsCallback iCustomTabsCallback, String str, Bundle bundle) throws RemoteException {
}
}
void onMessageChannelReady(ICustomTabsCallback iCustomTabsCallback, Bundle bundle) throws RemoteException;
void onPostMessage(ICustomTabsCallback iCustomTabsCallback, String str, Bundle bundle) throws RemoteException;
public static abstract class Stub extends Binder implements IPostMessageService {
static final int TRANSACTION_onMessageChannelReady = 2;
static final int TRANSACTION_onPostMessage = 3;
@Override // android.os.IInterface
public IBinder asBinder() {
return this;
}
public Stub() {
attachInterface(this, IPostMessageService.DESCRIPTOR);
}
public static IPostMessageService asInterface(IBinder iBinder) {
if (iBinder == null) {
return null;
}
IInterface queryLocalInterface = iBinder.queryLocalInterface(IPostMessageService.DESCRIPTOR);
if (queryLocalInterface != null && (queryLocalInterface instanceof IPostMessageService)) {
return (IPostMessageService) queryLocalInterface;
}
return new Proxy(iBinder);
}
@Override // android.os.Binder
public boolean onTransact(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException {
String str = IPostMessageService.DESCRIPTOR;
if (i >= 1 && i <= 16777215) {
parcel.enforceInterface(str);
}
if (i == 1598968902) {
parcel2.writeString(str);
return true;
}
if (i == 2) {
onMessageChannelReady(ICustomTabsCallback.Stub.asInterface(parcel.readStrongBinder()), (Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
parcel2.writeNoException();
} else if (i == 3) {
onPostMessage(ICustomTabsCallback.Stub.asInterface(parcel.readStrongBinder()), parcel.readString(), (Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
parcel2.writeNoException();
} else {
return super.onTransact(i, parcel, parcel2, i2);
}
return true;
}
public static class Proxy implements IPostMessageService {
private IBinder mRemote;
@Override // android.os.IInterface
public IBinder asBinder() {
return this.mRemote;
}
public String getInterfaceDescriptor() {
return IPostMessageService.DESCRIPTOR;
}
public Proxy(IBinder iBinder) {
this.mRemote = iBinder;
}
@Override // android.support.customtabs.IPostMessageService
public void onMessageChannelReady(ICustomTabsCallback iCustomTabsCallback, Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
Parcel obtain2 = Parcel.obtain();
try {
obtain.writeInterfaceToken(IPostMessageService.DESCRIPTOR);
obtain.writeStrongInterface(iCustomTabsCallback);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(2, obtain, obtain2, 0);
obtain2.readException();
} finally {
obtain2.recycle();
obtain.recycle();
}
}
@Override // android.support.customtabs.IPostMessageService
public void onPostMessage(ICustomTabsCallback iCustomTabsCallback, String str, Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
Parcel obtain2 = Parcel.obtain();
try {
obtain.writeInterfaceToken(IPostMessageService.DESCRIPTOR);
obtain.writeStrongInterface(iCustomTabsCallback);
obtain.writeString(str);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(3, obtain, obtain2, 0);
obtain2.readException();
} finally {
obtain2.recycle();
obtain.recycle();
}
}
}
}
public static class _Parcel {
/* JADX INFO: Access modifiers changed from: private */
public static <T> T readTypedObject(Parcel parcel, Parcelable.Creator<T> creator) {
if (parcel.readInt() != 0) {
return creator.createFromParcel(parcel);
}
return null;
}
/* JADX INFO: Access modifiers changed from: private */
public static <T extends Parcelable> void writeTypedObject(Parcel parcel, T t, int i) {
if (t != null) {
parcel.writeInt(1);
t.writeToParcel(parcel, i);
} else {
parcel.writeInt(0);
}
}
}
}

View File

@@ -0,0 +1,124 @@
package android.support.customtabs.trusted;
import android.os.Binder;
import android.os.Bundle;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import android.os.Parcelable;
import android.os.RemoteException;
import androidx.annotation.RestrictTo;
@RestrictTo({RestrictTo.Scope.LIBRARY})
/* loaded from: classes.dex */
public interface ITrustedWebActivityCallback extends IInterface {
public static final String DESCRIPTOR = "android$support$customtabs$trusted$ITrustedWebActivityCallback".replace('$', '.');
public static class Default implements ITrustedWebActivityCallback {
@Override // android.os.IInterface
public IBinder asBinder() {
return null;
}
@Override // android.support.customtabs.trusted.ITrustedWebActivityCallback
public void onExtraCallback(String str, Bundle bundle) throws RemoteException {
}
}
void onExtraCallback(String str, Bundle bundle) throws RemoteException;
public static abstract class Stub extends Binder implements ITrustedWebActivityCallback {
static final int TRANSACTION_onExtraCallback = 2;
@Override // android.os.IInterface
public IBinder asBinder() {
return this;
}
public Stub() {
attachInterface(this, ITrustedWebActivityCallback.DESCRIPTOR);
}
public static ITrustedWebActivityCallback asInterface(IBinder iBinder) {
if (iBinder == null) {
return null;
}
IInterface queryLocalInterface = iBinder.queryLocalInterface(ITrustedWebActivityCallback.DESCRIPTOR);
if (queryLocalInterface != null && (queryLocalInterface instanceof ITrustedWebActivityCallback)) {
return (ITrustedWebActivityCallback) queryLocalInterface;
}
return new Proxy(iBinder);
}
@Override // android.os.Binder
public boolean onTransact(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException {
String str = ITrustedWebActivityCallback.DESCRIPTOR;
if (i >= 1 && i <= 16777215) {
parcel.enforceInterface(str);
}
if (i == 1598968902) {
parcel2.writeString(str);
return true;
}
if (i == 2) {
onExtraCallback(parcel.readString(), (Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
parcel2.writeNoException();
return true;
}
return super.onTransact(i, parcel, parcel2, i2);
}
public static class Proxy implements ITrustedWebActivityCallback {
private IBinder mRemote;
@Override // android.os.IInterface
public IBinder asBinder() {
return this.mRemote;
}
public String getInterfaceDescriptor() {
return ITrustedWebActivityCallback.DESCRIPTOR;
}
public Proxy(IBinder iBinder) {
this.mRemote = iBinder;
}
@Override // android.support.customtabs.trusted.ITrustedWebActivityCallback
public void onExtraCallback(String str, Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
Parcel obtain2 = Parcel.obtain();
try {
obtain.writeInterfaceToken(ITrustedWebActivityCallback.DESCRIPTOR);
obtain.writeString(str);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(2, obtain, obtain2, 0);
obtain2.readException();
} finally {
obtain2.recycle();
obtain.recycle();
}
}
}
}
public static class _Parcel {
/* JADX INFO: Access modifiers changed from: private */
public static <T> T readTypedObject(Parcel parcel, Parcelable.Creator<T> creator) {
if (parcel.readInt() != 0) {
return creator.createFromParcel(parcel);
}
return null;
}
/* JADX INFO: Access modifiers changed from: private */
public static <T extends Parcelable> void writeTypedObject(Parcel parcel, T t, int i) {
if (t != null) {
parcel.writeInt(1);
t.writeToParcel(parcel, i);
} else {
parcel.writeInt(0);
}
}
}
}

View File

@@ -0,0 +1,299 @@
package android.support.customtabs.trusted;
import android.os.Binder;
import android.os.Bundle;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import android.os.Parcelable;
import android.os.RemoteException;
import androidx.annotation.RestrictTo;
@RestrictTo({RestrictTo.Scope.LIBRARY})
/* loaded from: classes.dex */
public interface ITrustedWebActivityService extends IInterface {
public static final String DESCRIPTOR = "android$support$customtabs$trusted$ITrustedWebActivityService".replace('$', '.');
public static class Default implements ITrustedWebActivityService {
@Override // android.support.customtabs.trusted.ITrustedWebActivityService
public Bundle areNotificationsEnabled(Bundle bundle) throws RemoteException {
return null;
}
@Override // android.os.IInterface
public IBinder asBinder() {
return null;
}
@Override // android.support.customtabs.trusted.ITrustedWebActivityService
public void cancelNotification(Bundle bundle) throws RemoteException {
}
@Override // android.support.customtabs.trusted.ITrustedWebActivityService
public Bundle extraCommand(String str, Bundle bundle, IBinder iBinder) throws RemoteException {
return null;
}
@Override // android.support.customtabs.trusted.ITrustedWebActivityService
public Bundle getActiveNotifications() throws RemoteException {
return null;
}
@Override // android.support.customtabs.trusted.ITrustedWebActivityService
public Bundle getSmallIconBitmap() throws RemoteException {
return null;
}
@Override // android.support.customtabs.trusted.ITrustedWebActivityService
public int getSmallIconId() throws RemoteException {
return 0;
}
@Override // android.support.customtabs.trusted.ITrustedWebActivityService
public Bundle notifyNotificationWithChannel(Bundle bundle) throws RemoteException {
return null;
}
}
Bundle areNotificationsEnabled(Bundle bundle) throws RemoteException;
void cancelNotification(Bundle bundle) throws RemoteException;
Bundle extraCommand(String str, Bundle bundle, IBinder iBinder) throws RemoteException;
Bundle getActiveNotifications() throws RemoteException;
Bundle getSmallIconBitmap() throws RemoteException;
int getSmallIconId() throws RemoteException;
Bundle notifyNotificationWithChannel(Bundle bundle) throws RemoteException;
public static abstract class Stub extends Binder implements ITrustedWebActivityService {
static final int TRANSACTION_areNotificationsEnabled = 6;
static final int TRANSACTION_cancelNotification = 3;
static final int TRANSACTION_extraCommand = 9;
static final int TRANSACTION_getActiveNotifications = 5;
static final int TRANSACTION_getSmallIconBitmap = 7;
static final int TRANSACTION_getSmallIconId = 4;
static final int TRANSACTION_notifyNotificationWithChannel = 2;
@Override // android.os.IInterface
public IBinder asBinder() {
return this;
}
public Stub() {
attachInterface(this, ITrustedWebActivityService.DESCRIPTOR);
}
public static ITrustedWebActivityService asInterface(IBinder iBinder) {
if (iBinder == null) {
return null;
}
IInterface queryLocalInterface = iBinder.queryLocalInterface(ITrustedWebActivityService.DESCRIPTOR);
if (queryLocalInterface != null && (queryLocalInterface instanceof ITrustedWebActivityService)) {
return (ITrustedWebActivityService) queryLocalInterface;
}
return new Proxy(iBinder);
}
@Override // android.os.Binder
public boolean onTransact(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException {
String str = ITrustedWebActivityService.DESCRIPTOR;
if (i >= 1 && i <= 16777215) {
parcel.enforceInterface(str);
}
if (i == 1598968902) {
parcel2.writeString(str);
return true;
}
switch (i) {
case 2:
Bundle notifyNotificationWithChannel = notifyNotificationWithChannel((Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
parcel2.writeNoException();
_Parcel.writeTypedObject(parcel2, notifyNotificationWithChannel, 1);
return true;
case 3:
cancelNotification((Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
parcel2.writeNoException();
return true;
case 4:
int smallIconId = getSmallIconId();
parcel2.writeNoException();
parcel2.writeInt(smallIconId);
return true;
case 5:
Bundle activeNotifications = getActiveNotifications();
parcel2.writeNoException();
_Parcel.writeTypedObject(parcel2, activeNotifications, 1);
return true;
case 6:
Bundle areNotificationsEnabled = areNotificationsEnabled((Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR));
parcel2.writeNoException();
_Parcel.writeTypedObject(parcel2, areNotificationsEnabled, 1);
return true;
case 7:
Bundle smallIconBitmap = getSmallIconBitmap();
parcel2.writeNoException();
_Parcel.writeTypedObject(parcel2, smallIconBitmap, 1);
return true;
case 8:
default:
return super.onTransact(i, parcel, parcel2, i2);
case 9:
Bundle extraCommand = extraCommand(parcel.readString(), (Bundle) _Parcel.readTypedObject(parcel, Bundle.CREATOR), parcel.readStrongBinder());
parcel2.writeNoException();
_Parcel.writeTypedObject(parcel2, extraCommand, 1);
return true;
}
}
public static class Proxy implements ITrustedWebActivityService {
private IBinder mRemote;
@Override // android.os.IInterface
public IBinder asBinder() {
return this.mRemote;
}
public String getInterfaceDescriptor() {
return ITrustedWebActivityService.DESCRIPTOR;
}
public Proxy(IBinder iBinder) {
this.mRemote = iBinder;
}
@Override // android.support.customtabs.trusted.ITrustedWebActivityService
public Bundle areNotificationsEnabled(Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
Parcel obtain2 = Parcel.obtain();
try {
obtain.writeInterfaceToken(ITrustedWebActivityService.DESCRIPTOR);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(6, obtain, obtain2, 0);
obtain2.readException();
return (Bundle) _Parcel.readTypedObject(obtain2, Bundle.CREATOR);
} finally {
obtain2.recycle();
obtain.recycle();
}
}
@Override // android.support.customtabs.trusted.ITrustedWebActivityService
public Bundle notifyNotificationWithChannel(Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
Parcel obtain2 = Parcel.obtain();
try {
obtain.writeInterfaceToken(ITrustedWebActivityService.DESCRIPTOR);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(2, obtain, obtain2, 0);
obtain2.readException();
return (Bundle) _Parcel.readTypedObject(obtain2, Bundle.CREATOR);
} finally {
obtain2.recycle();
obtain.recycle();
}
}
@Override // android.support.customtabs.trusted.ITrustedWebActivityService
public void cancelNotification(Bundle bundle) throws RemoteException {
Parcel obtain = Parcel.obtain();
Parcel obtain2 = Parcel.obtain();
try {
obtain.writeInterfaceToken(ITrustedWebActivityService.DESCRIPTOR);
_Parcel.writeTypedObject(obtain, bundle, 0);
this.mRemote.transact(3, obtain, obtain2, 0);
obtain2.readException();
} finally {
obtain2.recycle();
obtain.recycle();
}
}
@Override // android.support.customtabs.trusted.ITrustedWebActivityService
public Bundle getActiveNotifications() throws RemoteException {
Parcel obtain = Parcel.obtain();
Parcel obtain2 = Parcel.obtain();
try {
obtain.writeInterfaceToken(ITrustedWebActivityService.DESCRIPTOR);
this.mRemote.transact(5, obtain, obtain2, 0);
obtain2.readException();
return (Bundle) _Parcel.readTypedObject(obtain2, Bundle.CREATOR);
} finally {
obtain2.recycle();
obtain.recycle();
}
}
@Override // android.support.customtabs.trusted.ITrustedWebActivityService
public int getSmallIconId() throws RemoteException {
Parcel obtain = Parcel.obtain();
Parcel obtain2 = Parcel.obtain();
try {
obtain.writeInterfaceToken(ITrustedWebActivityService.DESCRIPTOR);
this.mRemote.transact(4, obtain, obtain2, 0);
obtain2.readException();
return obtain2.readInt();
} finally {
obtain2.recycle();
obtain.recycle();
}
}
@Override // android.support.customtabs.trusted.ITrustedWebActivityService
public Bundle getSmallIconBitmap() throws RemoteException {
Parcel obtain = Parcel.obtain();
Parcel obtain2 = Parcel.obtain();
try {
obtain.writeInterfaceToken(ITrustedWebActivityService.DESCRIPTOR);
this.mRemote.transact(7, obtain, obtain2, 0);
obtain2.readException();
return (Bundle) _Parcel.readTypedObject(obtain2, Bundle.CREATOR);
} finally {
obtain2.recycle();
obtain.recycle();
}
}
@Override // android.support.customtabs.trusted.ITrustedWebActivityService
public Bundle extraCommand(String str, Bundle bundle, IBinder iBinder) throws RemoteException {
Parcel obtain = Parcel.obtain();
Parcel obtain2 = Parcel.obtain();
try {
obtain.writeInterfaceToken(ITrustedWebActivityService.DESCRIPTOR);
obtain.writeString(str);
_Parcel.writeTypedObject(obtain, bundle, 0);
obtain.writeStrongBinder(iBinder);
this.mRemote.transact(9, obtain, obtain2, 0);
obtain2.readException();
return (Bundle) _Parcel.readTypedObject(obtain2, Bundle.CREATOR);
} finally {
obtain2.recycle();
obtain.recycle();
}
}
}
}
public static class _Parcel {
/* JADX INFO: Access modifiers changed from: private */
public static <T> T readTypedObject(Parcel parcel, Parcelable.Creator<T> creator) {
if (parcel.readInt() != 0) {
return creator.createFromParcel(parcel);
}
return null;
}
/* JADX INFO: Access modifiers changed from: private */
public static <T extends Parcelable> void writeTypedObject(Parcel parcel, T t, int i) {
if (t != null) {
parcel.writeInt(1);
t.writeToParcel(parcel, i);
} else {
parcel.writeInt(0);
}
}
}
}