331 lines
18 KiB
Java
331 lines
18 KiB
Java
|
package com.google.android.gms.internal.measurement;
|
||
|
|
||
|
import android.os.Bundle;
|
||
|
import android.os.IBinder;
|
||
|
import android.os.IInterface;
|
||
|
import android.os.Parcel;
|
||
|
import android.os.RemoteException;
|
||
|
import com.google.android.gms.dynamic.IObjectWrapper;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public abstract class zzcb extends zzbn implements zzcc {
|
||
|
public zzcb() {
|
||
|
super("com.google.android.gms.measurement.api.internal.IAppMeasurementDynamiteService");
|
||
|
}
|
||
|
|
||
|
public static zzcc asInterface(IBinder iBinder) {
|
||
|
if (iBinder == null) {
|
||
|
return null;
|
||
|
}
|
||
|
IInterface queryLocalInterface = iBinder.queryLocalInterface("com.google.android.gms.measurement.api.internal.IAppMeasurementDynamiteService");
|
||
|
return queryLocalInterface instanceof zzcc ? (zzcc) queryLocalInterface : new zzca(iBinder);
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Failed to find 'out' block for switch in B:2:0x0005. Please report as an issue. */
|
||
|
@Override // com.google.android.gms.internal.measurement.zzbn
|
||
|
protected final boolean zza(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException {
|
||
|
zzcf zzcdVar;
|
||
|
zzcf zzcfVar = null;
|
||
|
zzcf zzcfVar2 = null;
|
||
|
zzcf zzcfVar3 = null;
|
||
|
zzci zzciVar = null;
|
||
|
zzci zzciVar2 = null;
|
||
|
zzci zzciVar3 = null;
|
||
|
zzcf zzcfVar4 = null;
|
||
|
zzcf zzcfVar5 = null;
|
||
|
zzcf zzcfVar6 = null;
|
||
|
zzcf zzcfVar7 = null;
|
||
|
zzcf zzcfVar8 = null;
|
||
|
zzcf zzcfVar9 = null;
|
||
|
zzck zzckVar = null;
|
||
|
zzcf zzcfVar10 = null;
|
||
|
zzcf zzcfVar11 = null;
|
||
|
zzcf zzcfVar12 = null;
|
||
|
zzcf zzcfVar13 = null;
|
||
|
switch (i) {
|
||
|
case 1:
|
||
|
initialize(IObjectWrapper.Stub.asInterface(parcel.readStrongBinder()), (zzcl) zzbo.zza(parcel, zzcl.CREATOR), parcel.readLong());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 2:
|
||
|
logEvent(parcel.readString(), parcel.readString(), (Bundle) zzbo.zza(parcel, Bundle.CREATOR), zzbo.zzf(parcel), zzbo.zzf(parcel), parcel.readLong());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 3:
|
||
|
String readString = parcel.readString();
|
||
|
String readString2 = parcel.readString();
|
||
|
Bundle bundle = (Bundle) zzbo.zza(parcel, Bundle.CREATOR);
|
||
|
IBinder readStrongBinder = parcel.readStrongBinder();
|
||
|
if (readStrongBinder == null) {
|
||
|
zzcdVar = null;
|
||
|
} else {
|
||
|
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver");
|
||
|
zzcdVar = queryLocalInterface instanceof zzcf ? (zzcf) queryLocalInterface : new zzcd(readStrongBinder);
|
||
|
}
|
||
|
logEventAndBundle(readString, readString2, bundle, zzcdVar, parcel.readLong());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 4:
|
||
|
setUserProperty(parcel.readString(), parcel.readString(), IObjectWrapper.Stub.asInterface(parcel.readStrongBinder()), zzbo.zzf(parcel), parcel.readLong());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 5:
|
||
|
String readString3 = parcel.readString();
|
||
|
String readString4 = parcel.readString();
|
||
|
boolean zzf = zzbo.zzf(parcel);
|
||
|
IBinder readStrongBinder2 = parcel.readStrongBinder();
|
||
|
if (readStrongBinder2 != null) {
|
||
|
IInterface queryLocalInterface2 = readStrongBinder2.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver");
|
||
|
zzcfVar = queryLocalInterface2 instanceof zzcf ? (zzcf) queryLocalInterface2 : new zzcd(readStrongBinder2);
|
||
|
}
|
||
|
getUserProperties(readString3, readString4, zzf, zzcfVar);
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 6:
|
||
|
String readString5 = parcel.readString();
|
||
|
IBinder readStrongBinder3 = parcel.readStrongBinder();
|
||
|
if (readStrongBinder3 != null) {
|
||
|
IInterface queryLocalInterface3 = readStrongBinder3.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver");
|
||
|
zzcfVar13 = queryLocalInterface3 instanceof zzcf ? (zzcf) queryLocalInterface3 : new zzcd(readStrongBinder3);
|
||
|
}
|
||
|
getMaxUserProperties(readString5, zzcfVar13);
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 7:
|
||
|
setUserId(parcel.readString(), parcel.readLong());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 8:
|
||
|
setConditionalUserProperty((Bundle) zzbo.zza(parcel, Bundle.CREATOR), parcel.readLong());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 9:
|
||
|
clearConditionalUserProperty(parcel.readString(), parcel.readString(), (Bundle) zzbo.zza(parcel, Bundle.CREATOR));
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 10:
|
||
|
String readString6 = parcel.readString();
|
||
|
String readString7 = parcel.readString();
|
||
|
IBinder readStrongBinder4 = parcel.readStrongBinder();
|
||
|
if (readStrongBinder4 != null) {
|
||
|
IInterface queryLocalInterface4 = readStrongBinder4.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver");
|
||
|
zzcfVar12 = queryLocalInterface4 instanceof zzcf ? (zzcf) queryLocalInterface4 : new zzcd(readStrongBinder4);
|
||
|
}
|
||
|
getConditionalUserProperties(readString6, readString7, zzcfVar12);
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 11:
|
||
|
setMeasurementEnabled(zzbo.zzf(parcel), parcel.readLong());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 12:
|
||
|
resetAnalyticsData(parcel.readLong());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 13:
|
||
|
setMinimumSessionDuration(parcel.readLong());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 14:
|
||
|
setSessionTimeoutDuration(parcel.readLong());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 15:
|
||
|
setCurrentScreen(IObjectWrapper.Stub.asInterface(parcel.readStrongBinder()), parcel.readString(), parcel.readString(), parcel.readLong());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 16:
|
||
|
IBinder readStrongBinder5 = parcel.readStrongBinder();
|
||
|
if (readStrongBinder5 != null) {
|
||
|
IInterface queryLocalInterface5 = readStrongBinder5.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver");
|
||
|
zzcfVar11 = queryLocalInterface5 instanceof zzcf ? (zzcf) queryLocalInterface5 : new zzcd(readStrongBinder5);
|
||
|
}
|
||
|
getCurrentScreenName(zzcfVar11);
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 17:
|
||
|
IBinder readStrongBinder6 = parcel.readStrongBinder();
|
||
|
if (readStrongBinder6 != null) {
|
||
|
IInterface queryLocalInterface6 = readStrongBinder6.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver");
|
||
|
zzcfVar10 = queryLocalInterface6 instanceof zzcf ? (zzcf) queryLocalInterface6 : new zzcd(readStrongBinder6);
|
||
|
}
|
||
|
getCurrentScreenClass(zzcfVar10);
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 18:
|
||
|
IBinder readStrongBinder7 = parcel.readStrongBinder();
|
||
|
if (readStrongBinder7 != null) {
|
||
|
IInterface queryLocalInterface7 = readStrongBinder7.queryLocalInterface("com.google.android.gms.measurement.api.internal.IStringProvider");
|
||
|
zzckVar = queryLocalInterface7 instanceof zzck ? (zzck) queryLocalInterface7 : new zzcj(readStrongBinder7);
|
||
|
}
|
||
|
setInstanceIdProvider(zzckVar);
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 19:
|
||
|
IBinder readStrongBinder8 = parcel.readStrongBinder();
|
||
|
if (readStrongBinder8 != null) {
|
||
|
IInterface queryLocalInterface8 = readStrongBinder8.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver");
|
||
|
zzcfVar9 = queryLocalInterface8 instanceof zzcf ? (zzcf) queryLocalInterface8 : new zzcd(readStrongBinder8);
|
||
|
}
|
||
|
getCachedAppInstanceId(zzcfVar9);
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 20:
|
||
|
IBinder readStrongBinder9 = parcel.readStrongBinder();
|
||
|
if (readStrongBinder9 != null) {
|
||
|
IInterface queryLocalInterface9 = readStrongBinder9.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver");
|
||
|
zzcfVar8 = queryLocalInterface9 instanceof zzcf ? (zzcf) queryLocalInterface9 : new zzcd(readStrongBinder9);
|
||
|
}
|
||
|
getAppInstanceId(zzcfVar8);
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 21:
|
||
|
IBinder readStrongBinder10 = parcel.readStrongBinder();
|
||
|
if (readStrongBinder10 != null) {
|
||
|
IInterface queryLocalInterface10 = readStrongBinder10.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver");
|
||
|
zzcfVar7 = queryLocalInterface10 instanceof zzcf ? (zzcf) queryLocalInterface10 : new zzcd(readStrongBinder10);
|
||
|
}
|
||
|
getGmpAppId(zzcfVar7);
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 22:
|
||
|
IBinder readStrongBinder11 = parcel.readStrongBinder();
|
||
|
if (readStrongBinder11 != null) {
|
||
|
IInterface queryLocalInterface11 = readStrongBinder11.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver");
|
||
|
zzcfVar6 = queryLocalInterface11 instanceof zzcf ? (zzcf) queryLocalInterface11 : new zzcd(readStrongBinder11);
|
||
|
}
|
||
|
generateEventId(zzcfVar6);
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 23:
|
||
|
beginAdUnitExposure(parcel.readString(), parcel.readLong());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 24:
|
||
|
endAdUnitExposure(parcel.readString(), parcel.readLong());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 25:
|
||
|
onActivityStarted(IObjectWrapper.Stub.asInterface(parcel.readStrongBinder()), parcel.readLong());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 26:
|
||
|
onActivityStopped(IObjectWrapper.Stub.asInterface(parcel.readStrongBinder()), parcel.readLong());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 27:
|
||
|
onActivityCreated(IObjectWrapper.Stub.asInterface(parcel.readStrongBinder()), (Bundle) zzbo.zza(parcel, Bundle.CREATOR), parcel.readLong());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 28:
|
||
|
onActivityDestroyed(IObjectWrapper.Stub.asInterface(parcel.readStrongBinder()), parcel.readLong());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 29:
|
||
|
onActivityPaused(IObjectWrapper.Stub.asInterface(parcel.readStrongBinder()), parcel.readLong());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 30:
|
||
|
onActivityResumed(IObjectWrapper.Stub.asInterface(parcel.readStrongBinder()), parcel.readLong());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 31:
|
||
|
IObjectWrapper asInterface = IObjectWrapper.Stub.asInterface(parcel.readStrongBinder());
|
||
|
IBinder readStrongBinder12 = parcel.readStrongBinder();
|
||
|
if (readStrongBinder12 != null) {
|
||
|
IInterface queryLocalInterface12 = readStrongBinder12.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver");
|
||
|
zzcfVar5 = queryLocalInterface12 instanceof zzcf ? (zzcf) queryLocalInterface12 : new zzcd(readStrongBinder12);
|
||
|
}
|
||
|
onActivitySaveInstanceState(asInterface, zzcfVar5, parcel.readLong());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 32:
|
||
|
Bundle bundle2 = (Bundle) zzbo.zza(parcel, Bundle.CREATOR);
|
||
|
IBinder readStrongBinder13 = parcel.readStrongBinder();
|
||
|
if (readStrongBinder13 != null) {
|
||
|
IInterface queryLocalInterface13 = readStrongBinder13.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver");
|
||
|
zzcfVar4 = queryLocalInterface13 instanceof zzcf ? (zzcf) queryLocalInterface13 : new zzcd(readStrongBinder13);
|
||
|
}
|
||
|
performAction(bundle2, zzcfVar4, parcel.readLong());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 33:
|
||
|
logHealthData(parcel.readInt(), parcel.readString(), IObjectWrapper.Stub.asInterface(parcel.readStrongBinder()), IObjectWrapper.Stub.asInterface(parcel.readStrongBinder()), IObjectWrapper.Stub.asInterface(parcel.readStrongBinder()));
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 34:
|
||
|
IBinder readStrongBinder14 = parcel.readStrongBinder();
|
||
|
if (readStrongBinder14 != null) {
|
||
|
IInterface queryLocalInterface14 = readStrongBinder14.queryLocalInterface("com.google.android.gms.measurement.api.internal.IEventHandlerProxy");
|
||
|
zzciVar3 = queryLocalInterface14 instanceof zzci ? (zzci) queryLocalInterface14 : new zzcg(readStrongBinder14);
|
||
|
}
|
||
|
setEventInterceptor(zzciVar3);
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 35:
|
||
|
IBinder readStrongBinder15 = parcel.readStrongBinder();
|
||
|
if (readStrongBinder15 != null) {
|
||
|
IInterface queryLocalInterface15 = readStrongBinder15.queryLocalInterface("com.google.android.gms.measurement.api.internal.IEventHandlerProxy");
|
||
|
zzciVar2 = queryLocalInterface15 instanceof zzci ? (zzci) queryLocalInterface15 : new zzcg(readStrongBinder15);
|
||
|
}
|
||
|
registerOnMeasurementEventListener(zzciVar2);
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 36:
|
||
|
IBinder readStrongBinder16 = parcel.readStrongBinder();
|
||
|
if (readStrongBinder16 != null) {
|
||
|
IInterface queryLocalInterface16 = readStrongBinder16.queryLocalInterface("com.google.android.gms.measurement.api.internal.IEventHandlerProxy");
|
||
|
zzciVar = queryLocalInterface16 instanceof zzci ? (zzci) queryLocalInterface16 : new zzcg(readStrongBinder16);
|
||
|
}
|
||
|
unregisterOnMeasurementEventListener(zzciVar);
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 37:
|
||
|
initForTests(zzbo.zzb(parcel));
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 38:
|
||
|
IBinder readStrongBinder17 = parcel.readStrongBinder();
|
||
|
if (readStrongBinder17 != null) {
|
||
|
IInterface queryLocalInterface17 = readStrongBinder17.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver");
|
||
|
zzcfVar3 = queryLocalInterface17 instanceof zzcf ? (zzcf) queryLocalInterface17 : new zzcd(readStrongBinder17);
|
||
|
}
|
||
|
getTestFlag(zzcfVar3, parcel.readInt());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 39:
|
||
|
setDataCollectionEnabled(zzbo.zzf(parcel));
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 40:
|
||
|
IBinder readStrongBinder18 = parcel.readStrongBinder();
|
||
|
if (readStrongBinder18 != null) {
|
||
|
IInterface queryLocalInterface18 = readStrongBinder18.queryLocalInterface("com.google.android.gms.measurement.api.internal.IBundleReceiver");
|
||
|
zzcfVar2 = queryLocalInterface18 instanceof zzcf ? (zzcf) queryLocalInterface18 : new zzcd(readStrongBinder18);
|
||
|
}
|
||
|
isDataCollectionEnabled(zzcfVar2);
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 41:
|
||
|
default:
|
||
|
return false;
|
||
|
case 42:
|
||
|
setDefaultEventParameters((Bundle) zzbo.zza(parcel, Bundle.CREATOR));
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 43:
|
||
|
clearMeasurementEnabled(parcel.readLong());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 44:
|
||
|
setConsent((Bundle) zzbo.zza(parcel, Bundle.CREATOR), parcel.readLong());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
case 45:
|
||
|
setConsentThirdParty((Bundle) zzbo.zza(parcel, Bundle.CREATOR), parcel.readLong());
|
||
|
parcel2.writeNoException();
|
||
|
return true;
|
||
|
}
|
||
|
}
|
||
|
}
|