package androidx.room; import android.os.Binder; import android.os.IBinder; import android.os.IInterface; import android.os.Parcel; import android.os.RemoteException; /* loaded from: classes2.dex */ public interface IMultiInstanceInvalidationCallback extends IInterface { public static final String DESCRIPTOR = "androidx.room.IMultiInstanceInvalidationCallback"; /* loaded from: classes2.dex */ public static class Default implements IMultiInstanceInvalidationCallback { @Override // android.os.IInterface public IBinder asBinder() { return null; } @Override // androidx.room.IMultiInstanceInvalidationCallback public void onInvalidation(String[] strArr) throws RemoteException { } } void onInvalidation(String[] strArr) throws RemoteException; /* loaded from: classes2.dex */ public static abstract class Stub extends Binder implements IMultiInstanceInvalidationCallback { static final int TRANSACTION_onInvalidation = 1; @Override // android.os.IInterface public IBinder asBinder() { return this; } public Stub() { attachInterface(this, IMultiInstanceInvalidationCallback.DESCRIPTOR); } public static IMultiInstanceInvalidationCallback asInterface(IBinder iBinder) { if (iBinder == null) { return null; } IInterface queryLocalInterface = iBinder.queryLocalInterface(IMultiInstanceInvalidationCallback.DESCRIPTOR); if (queryLocalInterface != null && (queryLocalInterface instanceof IMultiInstanceInvalidationCallback)) { return (IMultiInstanceInvalidationCallback) queryLocalInterface; } return new Proxy(iBinder); } @Override // android.os.Binder public boolean onTransact(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException { if (i >= 1 && i <= 16777215) { parcel.enforceInterface(IMultiInstanceInvalidationCallback.DESCRIPTOR); } if (i == 1598968902) { parcel2.writeString(IMultiInstanceInvalidationCallback.DESCRIPTOR); return true; } if (i == 1) { onInvalidation(parcel.createStringArray()); return true; } return super.onTransact(i, parcel, parcel2, i2); } /* loaded from: classes2.dex */ private static class Proxy implements IMultiInstanceInvalidationCallback { private IBinder mRemote; @Override // android.os.IInterface public IBinder asBinder() { return this.mRemote; } public String getInterfaceDescriptor() { return IMultiInstanceInvalidationCallback.DESCRIPTOR; } Proxy(IBinder iBinder) { this.mRemote = iBinder; } @Override // androidx.room.IMultiInstanceInvalidationCallback public void onInvalidation(String[] strArr) throws RemoteException { Parcel obtain = Parcel.obtain(); try { obtain.writeInterfaceToken(IMultiInstanceInvalidationCallback.DESCRIPTOR); obtain.writeStringArray(strArr); this.mRemote.transact(1, obtain, null, 1); } finally { obtain.recycle(); } } } } }