package p138.p176.p177.p242.p258.p263;

import android.os.Bundle;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import p138.p176.p177.p242.p256.InterfaceC4338;

/* JADX INFO: renamed from: ދ.ހ.֏.ހ.ރ.ނ.ཫ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public abstract class AbstractBinderC4702 extends BinderC4670 implements InterfaceC4649 {
    public AbstractBinderC4702() {
        super("com.google.android.gms.measurement.api.internal.IAppMeasurementDynamiteService");
    }

    public static InterfaceC4649 asInterface(IBinder iBinder) {
        if (iBinder == null) {
            return null;
        }
        IInterface iInterfaceQueryLocalInterface = iBinder.queryLocalInterface("com.google.android.gms.measurement.api.internal.IAppMeasurementDynamiteService");
        return iInterfaceQueryLocalInterface instanceof InterfaceC4649 ? (InterfaceC4649) iInterfaceQueryLocalInterface : new C4656(iBinder);
    }

    @Override // p138.p176.p177.p242.p258.p263.BinderC4670
    /* JADX INFO: renamed from: ֏ */
    public final boolean mo7346(int i, Parcel parcel, Parcel parcel2, int i2) {
        InterfaceC4385 c4671 = null;
        InterfaceC4385 c46712 = null;
        InterfaceC4385 c46713 = null;
        InterfaceC4535 c4382 = null;
        InterfaceC4535 c43822 = null;
        InterfaceC4535 c43823 = null;
        InterfaceC4385 c46714 = null;
        InterfaceC4385 c46715 = null;
        InterfaceC4385 c46716 = null;
        InterfaceC4385 c46717 = null;
        InterfaceC4385 c46718 = null;
        InterfaceC4385 c46719 = null;
        InterfaceC4618 c4552 = null;
        InterfaceC4385 c467110 = null;
        InterfaceC4385 c467111 = null;
        InterfaceC4385 c467112 = null;
        InterfaceC4385 c467113 = null;
        InterfaceC4385 c467114 = null;
        switch (i) {
            case 1:
                initialize(InterfaceC4338.AbstractBinderC4339.m7236(parcel.readStrongBinder()), (C4517) C4573.m7604(parcel, C4517.CREATOR), parcel.readLong());
                break;
            case 2:
                logEvent(parcel.readString(), parcel.readString(), (Bundle) C4573.m7604(parcel, Bundle.CREATOR), parcel.readInt() != 0, parcel.readInt() != 0, parcel.readLong());
                break;
            case 3:
                String string = parcel.readString();
                String string2 = parcel.readString();
                Bundle bundle = (Bundle) C4573.m7604(parcel, Bundle.CREATOR);
                IBinder strongBinder = parcel.readStrongBinder();
                if (strongBinder != null) {
                    IInterface iInterfaceQueryLocalInterface = strongBinder.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver");
                    c4671 = iInterfaceQueryLocalInterface instanceof InterfaceC4385 ? (InterfaceC4385) iInterfaceQueryLocalInterface : new C4671(strongBinder);
                }
                logEventAndBundle(string, string2, bundle, c4671, parcel.readLong());
                break;
            case 4:
                setUserProperty(parcel.readString(), parcel.readString(), InterfaceC4338.AbstractBinderC4339.m7236(parcel.readStrongBinder()), C4573.m7608(parcel), parcel.readLong());
                break;
            case 5:
                String string3 = parcel.readString();
                String string4 = parcel.readString();
                boolean zM7608 = C4573.m7608(parcel);
                IBinder strongBinder2 = parcel.readStrongBinder();
                if (strongBinder2 != null) {
                    IInterface iInterfaceQueryLocalInterface2 = strongBinder2.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver");
                    c467114 = iInterfaceQueryLocalInterface2 instanceof InterfaceC4385 ? (InterfaceC4385) iInterfaceQueryLocalInterface2 : new C4671(strongBinder2);
                }
                getUserProperties(string3, string4, zM7608, c467114);
                break;
            case 6:
                String string5 = parcel.readString();
                IBinder strongBinder3 = parcel.readStrongBinder();
                if (strongBinder3 != null) {
                    IInterface iInterfaceQueryLocalInterface3 = strongBinder3.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver");
                    c467113 = iInterfaceQueryLocalInterface3 instanceof InterfaceC4385 ? (InterfaceC4385) iInterfaceQueryLocalInterface3 : new C4671(strongBinder3);
                }
                getMaxUserProperties(string5, c467113);
                break;
            case 7:
                setUserId(parcel.readString(), parcel.readLong());
                break;
            case 8:
                setConditionalUserProperty((Bundle) C4573.m7604(parcel, Bundle.CREATOR), parcel.readLong());
                break;
            case 9:
                clearConditionalUserProperty(parcel.readString(), parcel.readString(), (Bundle) C4573.m7604(parcel, Bundle.CREATOR));
                break;
            case 10:
                String string6 = parcel.readString();
                String string7 = parcel.readString();
                IBinder strongBinder4 = parcel.readStrongBinder();
                if (strongBinder4 != null) {
                    IInterface iInterfaceQueryLocalInterface4 = strongBinder4.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver");
                    c467112 = iInterfaceQueryLocalInterface4 instanceof InterfaceC4385 ? (InterfaceC4385) iInterfaceQueryLocalInterface4 : new C4671(strongBinder4);
                }
                getConditionalUserProperties(string6, string7, c467112);
                break;
            case 11:
                setMeasurementEnabled(C4573.m7608(parcel), parcel.readLong());
                break;
            case 12:
                resetAnalyticsData(parcel.readLong());
                break;
            case 13:
                setMinimumSessionDuration(parcel.readLong());
                break;
            case 14:
                setSessionTimeoutDuration(parcel.readLong());
                break;
            case 15:
                setCurrentScreen(InterfaceC4338.AbstractBinderC4339.m7236(parcel.readStrongBinder()), parcel.readString(), parcel.readString(), parcel.readLong());
                break;
            case 16:
                IBinder strongBinder5 = parcel.readStrongBinder();
                if (strongBinder5 != null) {
                    IInterface iInterfaceQueryLocalInterface5 = strongBinder5.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver");
                    c467111 = iInterfaceQueryLocalInterface5 instanceof InterfaceC4385 ? (InterfaceC4385) iInterfaceQueryLocalInterface5 : new C4671(strongBinder5);
                }
                getCurrentScreenName(c467111);
                break;
            case 17:
                IBinder strongBinder6 = parcel.readStrongBinder();
                if (strongBinder6 != null) {
                    IInterface iInterfaceQueryLocalInterface6 = strongBinder6.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver");
                    c467110 = iInterfaceQueryLocalInterface6 instanceof InterfaceC4385 ? (InterfaceC4385) iInterfaceQueryLocalInterface6 : new C4671(strongBinder6);
                }
                getCurrentScreenClass(c467110);
                break;
            case 18:
                IBinder strongBinder7 = parcel.readStrongBinder();
                if (strongBinder7 != null) {
                    IInterface iInterfaceQueryLocalInterface7 = strongBinder7.queryLocalInterface("com.google.android.gms.measurement.api.internal.IStringProvider");
                    c4552 = iInterfaceQueryLocalInterface7 instanceof InterfaceC4618 ? (InterfaceC4618) iInterfaceQueryLocalInterface7 : new C4552(strongBinder7);
                }
                setInstanceIdProvider(c4552);
                break;
            case 19:
                IBinder strongBinder8 = parcel.readStrongBinder();
                if (strongBinder8 != null) {
                    IInterface iInterfaceQueryLocalInterface8 = strongBinder8.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver");
                    c46719 = iInterfaceQueryLocalInterface8 instanceof InterfaceC4385 ? (InterfaceC4385) iInterfaceQueryLocalInterface8 : new C4671(strongBinder8);
                }
                getCachedAppInstanceId(c46719);
                break;
            case 20:
                IBinder strongBinder9 = parcel.readStrongBinder();
                if (strongBinder9 != null) {
                    IInterface iInterfaceQueryLocalInterface9 = strongBinder9.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver");
                    c46718 = iInterfaceQueryLocalInterface9 instanceof InterfaceC4385 ? (InterfaceC4385) iInterfaceQueryLocalInterface9 : new C4671(strongBinder9);
                }
                getAppInstanceId(c46718);
                break;
            case 21:
                IBinder strongBinder10 = parcel.readStrongBinder();
                if (strongBinder10 != null) {
                    IInterface iInterfaceQueryLocalInterface10 = strongBinder10.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver");
                    c46717 = iInterfaceQueryLocalInterface10 instanceof InterfaceC4385 ? (InterfaceC4385) iInterfaceQueryLocalInterface10 : new C4671(strongBinder10);
                }
                getGmpAppId(c46717);
                break;
            case 22:
                IBinder strongBinder11 = parcel.readStrongBinder();
                if (strongBinder11 != null) {
                    IInterface iInterfaceQueryLocalInterface11 = strongBinder11.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver");
                    c46716 = iInterfaceQueryLocalInterface11 instanceof InterfaceC4385 ? (InterfaceC4385) iInterfaceQueryLocalInterface11 : new C4671(strongBinder11);
                }
                generateEventId(c46716);
                break;
            case 23:
                beginAdUnitExposure(parcel.readString(), parcel.readLong());
                break;
            case 24:
                endAdUnitExposure(parcel.readString(), parcel.readLong());
                break;
            case 25:
                onActivityStarted(InterfaceC4338.AbstractBinderC4339.m7236(parcel.readStrongBinder()), parcel.readLong());
                break;
            case 26:
                onActivityStopped(InterfaceC4338.AbstractBinderC4339.m7236(parcel.readStrongBinder()), parcel.readLong());
                break;
            case 27:
                onActivityCreated(InterfaceC4338.AbstractBinderC4339.m7236(parcel.readStrongBinder()), (Bundle) C4573.m7604(parcel, Bundle.CREATOR), parcel.readLong());
                break;
            case 28:
                onActivityDestroyed(InterfaceC4338.AbstractBinderC4339.m7236(parcel.readStrongBinder()), parcel.readLong());
                break;
            case 29:
                onActivityPaused(InterfaceC4338.AbstractBinderC4339.m7236(parcel.readStrongBinder()), parcel.readLong());
                break;
            case 30:
                onActivityResumed(InterfaceC4338.AbstractBinderC4339.m7236(parcel.readStrongBinder()), parcel.readLong());
                break;
            case 31:
                InterfaceC4338 interfaceC4338M7236 = InterfaceC4338.AbstractBinderC4339.m7236(parcel.readStrongBinder());
                IBinder strongBinder12 = parcel.readStrongBinder();
                if (strongBinder12 != null) {
                    IInterface iInterfaceQueryLocalInterface12 = strongBinder12.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver");
                    c46715 = iInterfaceQueryLocalInterface12 instanceof InterfaceC4385 ? (InterfaceC4385) iInterfaceQueryLocalInterface12 : new C4671(strongBinder12);
                }
                onActivitySaveInstanceState(interfaceC4338M7236, c46715, parcel.readLong());
                break;
            case 32:
                Bundle bundle2 = (Bundle) C4573.m7604(parcel, Bundle.CREATOR);
                IBinder strongBinder13 = parcel.readStrongBinder();
                if (strongBinder13 != null) {
                    IInterface iInterfaceQueryLocalInterface13 = strongBinder13.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver");
                    c46714 = iInterfaceQueryLocalInterface13 instanceof InterfaceC4385 ? (InterfaceC4385) iInterfaceQueryLocalInterface13 : new C4671(strongBinder13);
                }
                performAction(bundle2, c46714, parcel.readLong());
                break;
            case 33:
                logHealthData(parcel.readInt(), parcel.readString(), InterfaceC4338.AbstractBinderC4339.m7236(parcel.readStrongBinder()), InterfaceC4338.AbstractBinderC4339.m7236(parcel.readStrongBinder()), InterfaceC4338.AbstractBinderC4339.m7236(parcel.readStrongBinder()));
                break;
            case 34:
                IBinder strongBinder14 = parcel.readStrongBinder();
                if (strongBinder14 != null) {
                    IInterface iInterfaceQueryLocalInterface14 = strongBinder14.queryLocalInterface("com.google.android.gms.measurement.api.internal.IEventHandlerProxy");
                    c43823 = iInterfaceQueryLocalInterface14 instanceof InterfaceC4535 ? (InterfaceC4535) iInterfaceQueryLocalInterface14 : new C4382(strongBinder14);
                }
                setEventInterceptor(c43823);
                break;
            case 35:
                IBinder strongBinder15 = parcel.readStrongBinder();
                if (strongBinder15 != null) {
                    IInterface iInterfaceQueryLocalInterface15 = strongBinder15.queryLocalInterface("com.google.android.gms.measurement.api.internal.IEventHandlerProxy");
                    c43822 = iInterfaceQueryLocalInterface15 instanceof InterfaceC4535 ? (InterfaceC4535) iInterfaceQueryLocalInterface15 : new C4382(strongBinder15);
                }
                registerOnMeasurementEventListener(c43822);
                break;
            case 36:
                IBinder strongBinder16 = parcel.readStrongBinder();
                if (strongBinder16 != null) {
                    IInterface iInterfaceQueryLocalInterface16 = strongBinder16.queryLocalInterface("com.google.android.gms.measurement.api.internal.IEventHandlerProxy");
                    c4382 = iInterfaceQueryLocalInterface16 instanceof InterfaceC4535 ? (InterfaceC4535) iInterfaceQueryLocalInterface16 : new C4382(strongBinder16);
                }
                unregisterOnMeasurementEventListener(c4382);
                break;
            case 37:
                initForTests(parcel.readHashMap(C4573.f14042));
                break;
            case 38:
                IBinder strongBinder17 = parcel.readStrongBinder();
                if (strongBinder17 != null) {
                    IInterface iInterfaceQueryLocalInterface17 = strongBinder17.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver");
                    c46713 = iInterfaceQueryLocalInterface17 instanceof InterfaceC4385 ? (InterfaceC4385) iInterfaceQueryLocalInterface17 : new C4671(strongBinder17);
                }
                getTestFlag(c46713, parcel.readInt());
                break;
            case 39:
                setDataCollectionEnabled(C4573.m7608(parcel));
                break;
            case 40:
                IBinder strongBinder18 = parcel.readStrongBinder();
                if (strongBinder18 != null) {
                    IInterface iInterfaceQueryLocalInterface18 = strongBinder18.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver");
                    c46712 = iInterfaceQueryLocalInterface18 instanceof InterfaceC4385 ? (InterfaceC4385) iInterfaceQueryLocalInterface18 : new C4671(strongBinder18);
                }
                isDataCollectionEnabled(c46712);
                break;
            case 41:
            default:
                return false;
            case 42:
                setDefaultEventParameters((Bundle) C4573.m7604(parcel, Bundle.CREATOR));
                break;
        }
        parcel2.writeNoException();
        return true;
    }
}
