package n7;

import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import android.os.RemoteException;
import androidx.annotation.Nullable;
import com.google.android.gms.internal.ads.aj;
import com.google.android.gms.internal.ads.oe0;
import com.google.android.gms.internal.ads.zi;

/* JADX INFO: loaded from: classes2.dex */
public abstract class k2 extends zi implements m2 {
    public static m2 R2(IBinder iBinder) {
        if (iBinder == null) {
            return null;
        }
        IInterface iInterfaceQueryLocalInterface = iBinder.queryLocalInterface("com.google.android.gms.ads.internal.client.IResponseInfo");
        return iInterfaceQueryLocalInterface instanceof m2 ? (m2) iInterfaceQueryLocalInterface : new j2(iBinder);
    }

    @Override // com.google.android.gms.internal.ads.zi
    public final boolean Q2(int i10, Parcel parcel, Parcel parcel2) throws RemoteException {
        switch (i10) {
            case 1:
                parcel2.writeNoException();
                parcel2.writeString(((oe0) this).f15040a);
                return true;
            case 2:
                String strZzf = zzf();
                parcel2.writeNoException();
                parcel2.writeString(strZzf);
                return true;
            case 3:
                parcel2.writeNoException();
                parcel2.writeTypedList(((oe0) this).f15042c);
                return true;
            case 4:
                h4 h4VarZzh = zzh();
                parcel2.writeNoException();
                aj.c(parcel2, h4VarZzh);
                return true;
            case 5:
                parcel2.writeNoException();
                aj.c(parcel2, ((oe0) this).f15045f);
                return true;
            case 6:
                parcel2.writeNoException();
                parcel2.writeString(((oe0) this).f15041b);
                return true;
            default:
                return false;
        }
    }

    @Nullable
    public abstract /* synthetic */ String zzf() throws RemoteException;

    @Nullable
    public abstract /* synthetic */ h4 zzh() throws RemoteException;
}
