Initial import of ADIF API reverse-engineering toolkit
This commit is contained in:
@@ -0,0 +1,413 @@
|
||||
package com.google.android.gms.measurement;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Bundle;
|
||||
import androidx.annotation.Keep;
|
||||
import com.google.android.gms.common.annotation.KeepForSdk;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import com.google.android.gms.common.internal.ShowFirstParty;
|
||||
import com.google.android.gms.internal.measurement.zzcl;
|
||||
import com.google.android.gms.measurement.api.AppMeasurementSdk;
|
||||
import com.google.android.gms.measurement.internal.zzgd;
|
||||
import com.google.android.gms.measurement.internal.zzgz;
|
||||
import com.google.android.gms.measurement.internal.zzhf;
|
||||
import com.google.android.gms.measurement.internal.zzhg;
|
||||
import com.google.android.gms.measurement.internal.zzil;
|
||||
import com.google.android.gms.measurement.internal.zziq;
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@ShowFirstParty
|
||||
@KeepForSdk
|
||||
@Deprecated
|
||||
/* loaded from: classes3.dex */
|
||||
public class AppMeasurement {
|
||||
|
||||
@ShowFirstParty
|
||||
@KeepForSdk
|
||||
public static final String CRASH_ORIGIN = "crash";
|
||||
|
||||
@ShowFirstParty
|
||||
@KeepForSdk
|
||||
public static final String FCM_ORIGIN = "fcm";
|
||||
|
||||
@ShowFirstParty
|
||||
@KeepForSdk
|
||||
public static final String FIAM_ORIGIN = "fiam";
|
||||
private static volatile AppMeasurement zza;
|
||||
private final zzd zzb;
|
||||
|
||||
@ShowFirstParty
|
||||
@KeepForSdk
|
||||
/* loaded from: classes3.dex */
|
||||
public static class ConditionalUserProperty {
|
||||
|
||||
@ShowFirstParty
|
||||
@Keep
|
||||
@KeepForSdk
|
||||
public boolean mActive;
|
||||
|
||||
@ShowFirstParty
|
||||
@Keep
|
||||
@KeepForSdk
|
||||
public String mAppId;
|
||||
|
||||
@ShowFirstParty
|
||||
@Keep
|
||||
@KeepForSdk
|
||||
public long mCreationTimestamp;
|
||||
|
||||
@Keep
|
||||
public String mExpiredEventName;
|
||||
|
||||
@Keep
|
||||
public Bundle mExpiredEventParams;
|
||||
|
||||
@ShowFirstParty
|
||||
@Keep
|
||||
@KeepForSdk
|
||||
public String mName;
|
||||
|
||||
@ShowFirstParty
|
||||
@Keep
|
||||
@KeepForSdk
|
||||
public String mOrigin;
|
||||
|
||||
@ShowFirstParty
|
||||
@Keep
|
||||
@KeepForSdk
|
||||
public long mTimeToLive;
|
||||
|
||||
@Keep
|
||||
public String mTimedOutEventName;
|
||||
|
||||
@Keep
|
||||
public Bundle mTimedOutEventParams;
|
||||
|
||||
@ShowFirstParty
|
||||
@Keep
|
||||
@KeepForSdk
|
||||
public String mTriggerEventName;
|
||||
|
||||
@ShowFirstParty
|
||||
@Keep
|
||||
@KeepForSdk
|
||||
public long mTriggerTimeout;
|
||||
|
||||
@Keep
|
||||
public String mTriggeredEventName;
|
||||
|
||||
@Keep
|
||||
public Bundle mTriggeredEventParams;
|
||||
|
||||
@ShowFirstParty
|
||||
@Keep
|
||||
@KeepForSdk
|
||||
public long mTriggeredTimestamp;
|
||||
|
||||
@ShowFirstParty
|
||||
@Keep
|
||||
@KeepForSdk
|
||||
public Object mValue;
|
||||
|
||||
@KeepForSdk
|
||||
public ConditionalUserProperty() {
|
||||
}
|
||||
|
||||
public ConditionalUserProperty(Bundle bundle) {
|
||||
Preconditions.checkNotNull(bundle);
|
||||
this.mAppId = (String) zzgz.zza(bundle, "app_id", String.class, null);
|
||||
this.mOrigin = (String) zzgz.zza(bundle, "origin", String.class, null);
|
||||
this.mName = (String) zzgz.zza(bundle, AppMeasurementSdk.ConditionalUserProperty.NAME, String.class, null);
|
||||
this.mValue = zzgz.zza(bundle, "value", Object.class, null);
|
||||
this.mTriggerEventName = (String) zzgz.zza(bundle, AppMeasurementSdk.ConditionalUserProperty.TRIGGER_EVENT_NAME, String.class, null);
|
||||
this.mTriggerTimeout = ((Long) zzgz.zza(bundle, AppMeasurementSdk.ConditionalUserProperty.TRIGGER_TIMEOUT, Long.class, 0L)).longValue();
|
||||
this.mTimedOutEventName = (String) zzgz.zza(bundle, AppMeasurementSdk.ConditionalUserProperty.TIMED_OUT_EVENT_NAME, String.class, null);
|
||||
this.mTimedOutEventParams = (Bundle) zzgz.zza(bundle, AppMeasurementSdk.ConditionalUserProperty.TIMED_OUT_EVENT_PARAMS, Bundle.class, null);
|
||||
this.mTriggeredEventName = (String) zzgz.zza(bundle, AppMeasurementSdk.ConditionalUserProperty.TRIGGERED_EVENT_NAME, String.class, null);
|
||||
this.mTriggeredEventParams = (Bundle) zzgz.zza(bundle, AppMeasurementSdk.ConditionalUserProperty.TRIGGERED_EVENT_PARAMS, Bundle.class, null);
|
||||
this.mTimeToLive = ((Long) zzgz.zza(bundle, AppMeasurementSdk.ConditionalUserProperty.TIME_TO_LIVE, Long.class, 0L)).longValue();
|
||||
this.mExpiredEventName = (String) zzgz.zza(bundle, AppMeasurementSdk.ConditionalUserProperty.EXPIRED_EVENT_NAME, String.class, null);
|
||||
this.mExpiredEventParams = (Bundle) zzgz.zza(bundle, AppMeasurementSdk.ConditionalUserProperty.EXPIRED_EVENT_PARAMS, Bundle.class, null);
|
||||
this.mActive = ((Boolean) zzgz.zza(bundle, AppMeasurementSdk.ConditionalUserProperty.ACTIVE, Boolean.class, Boolean.FALSE)).booleanValue();
|
||||
this.mCreationTimestamp = ((Long) zzgz.zza(bundle, AppMeasurementSdk.ConditionalUserProperty.CREATION_TIMESTAMP, Long.class, 0L)).longValue();
|
||||
this.mTriggeredTimestamp = ((Long) zzgz.zza(bundle, AppMeasurementSdk.ConditionalUserProperty.TRIGGERED_TIMESTAMP, Long.class, 0L)).longValue();
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public ConditionalUserProperty(ConditionalUserProperty conditionalUserProperty) {
|
||||
Preconditions.checkNotNull(conditionalUserProperty);
|
||||
this.mAppId = conditionalUserProperty.mAppId;
|
||||
this.mOrigin = conditionalUserProperty.mOrigin;
|
||||
this.mCreationTimestamp = conditionalUserProperty.mCreationTimestamp;
|
||||
this.mName = conditionalUserProperty.mName;
|
||||
Object obj = conditionalUserProperty.mValue;
|
||||
if (obj != null) {
|
||||
Object zza = zziq.zza(obj);
|
||||
this.mValue = zza;
|
||||
if (zza == null) {
|
||||
this.mValue = conditionalUserProperty.mValue;
|
||||
}
|
||||
}
|
||||
this.mActive = conditionalUserProperty.mActive;
|
||||
this.mTriggerEventName = conditionalUserProperty.mTriggerEventName;
|
||||
this.mTriggerTimeout = conditionalUserProperty.mTriggerTimeout;
|
||||
this.mTimedOutEventName = conditionalUserProperty.mTimedOutEventName;
|
||||
Bundle bundle = conditionalUserProperty.mTimedOutEventParams;
|
||||
if (bundle != null) {
|
||||
this.mTimedOutEventParams = new Bundle(bundle);
|
||||
}
|
||||
this.mTriggeredEventName = conditionalUserProperty.mTriggeredEventName;
|
||||
Bundle bundle2 = conditionalUserProperty.mTriggeredEventParams;
|
||||
if (bundle2 != null) {
|
||||
this.mTriggeredEventParams = new Bundle(bundle2);
|
||||
}
|
||||
this.mTriggeredTimestamp = conditionalUserProperty.mTriggeredTimestamp;
|
||||
this.mTimeToLive = conditionalUserProperty.mTimeToLive;
|
||||
this.mExpiredEventName = conditionalUserProperty.mExpiredEventName;
|
||||
Bundle bundle3 = conditionalUserProperty.mExpiredEventParams;
|
||||
if (bundle3 != null) {
|
||||
this.mExpiredEventParams = new Bundle(bundle3);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ShowFirstParty
|
||||
@KeepForSdk
|
||||
/* loaded from: classes3.dex */
|
||||
public interface EventInterceptor extends zzhf {
|
||||
@Override // com.google.android.gms.measurement.internal.zzhf
|
||||
@ShowFirstParty
|
||||
@KeepForSdk
|
||||
void interceptEvent(String str, String str2, Bundle bundle, long j4);
|
||||
}
|
||||
|
||||
@ShowFirstParty
|
||||
@KeepForSdk
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnEventListener extends zzhg {
|
||||
@Override // com.google.android.gms.measurement.internal.zzhg
|
||||
@ShowFirstParty
|
||||
@KeepForSdk
|
||||
void onEvent(String str, String str2, Bundle bundle, long j4);
|
||||
}
|
||||
|
||||
public AppMeasurement(zzgd zzgdVar) {
|
||||
this.zzb = new zza(zzgdVar);
|
||||
}
|
||||
|
||||
/* JADX WARN: Unreachable blocks removed: 1, instructions: 1 */
|
||||
@Keep
|
||||
@Deprecated
|
||||
@ShowFirstParty
|
||||
@KeepForSdk
|
||||
public static AppMeasurement getInstance(Context context) {
|
||||
if (zza == null) {
|
||||
synchronized (AppMeasurement.class) {
|
||||
if (zza == null) {
|
||||
zzil zzilVar = (zzil) FirebaseAnalytics.class.getDeclaredMethod("getScionFrontendApiImplementation", Context.class, Bundle.class).invoke(null, context, null);
|
||||
if (zzilVar != null) {
|
||||
zza = new AppMeasurement(zzilVar);
|
||||
} else {
|
||||
zza = new AppMeasurement(zzgd.zzp(context, new zzcl(0L, 0L, true, null, null, null, null, null), null));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return zza;
|
||||
}
|
||||
|
||||
@Keep
|
||||
public void beginAdUnitExposure(String str) {
|
||||
this.zzb.zzp(str);
|
||||
}
|
||||
|
||||
@ShowFirstParty
|
||||
@Keep
|
||||
@KeepForSdk
|
||||
public void clearConditionalUserProperty(String str, String str2, Bundle bundle) {
|
||||
this.zzb.zzq(str, str2, bundle);
|
||||
}
|
||||
|
||||
@Keep
|
||||
public void endAdUnitExposure(String str) {
|
||||
this.zzb.zzr(str);
|
||||
}
|
||||
|
||||
@Keep
|
||||
public long generateEventId() {
|
||||
return this.zzb.zzb();
|
||||
}
|
||||
|
||||
@Keep
|
||||
public String getAppInstanceId() {
|
||||
return this.zzb.zzh();
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public Boolean getBoolean() {
|
||||
return this.zzb.zzc();
|
||||
}
|
||||
|
||||
@ShowFirstParty
|
||||
@Keep
|
||||
@KeepForSdk
|
||||
public List<ConditionalUserProperty> getConditionalUserProperties(String str, String str2) {
|
||||
List zzm = this.zzb.zzm(str, str2);
|
||||
ArrayList arrayList = new ArrayList(zzm == null ? 0 : zzm.size());
|
||||
Iterator it = zzm.iterator();
|
||||
while (it.hasNext()) {
|
||||
arrayList.add(new ConditionalUserProperty((Bundle) it.next()));
|
||||
}
|
||||
return arrayList;
|
||||
}
|
||||
|
||||
@Keep
|
||||
public String getCurrentScreenClass() {
|
||||
return this.zzb.zzi();
|
||||
}
|
||||
|
||||
@Keep
|
||||
public String getCurrentScreenName() {
|
||||
return this.zzb.zzj();
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public Double getDouble() {
|
||||
return this.zzb.zzd();
|
||||
}
|
||||
|
||||
@Keep
|
||||
public String getGmpAppId() {
|
||||
return this.zzb.zzk();
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public Integer getInteger() {
|
||||
return this.zzb.zze();
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public Long getLong() {
|
||||
return this.zzb.zzf();
|
||||
}
|
||||
|
||||
@ShowFirstParty
|
||||
@Keep
|
||||
@KeepForSdk
|
||||
public int getMaxUserProperties(String str) {
|
||||
return this.zzb.zza(str);
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public String getString() {
|
||||
return this.zzb.zzl();
|
||||
}
|
||||
|
||||
@Keep
|
||||
public Map<String, Object> getUserProperties(String str, String str2, boolean z3) {
|
||||
return this.zzb.zzo(str, str2, z3);
|
||||
}
|
||||
|
||||
@ShowFirstParty
|
||||
@Keep
|
||||
public void logEventInternal(String str, String str2, Bundle bundle) {
|
||||
this.zzb.zzs(str, str2, bundle);
|
||||
}
|
||||
|
||||
@ShowFirstParty
|
||||
@KeepForSdk
|
||||
public void logEventInternalNoInterceptor(String str, String str2, Bundle bundle, long j4) {
|
||||
this.zzb.zzt(str, str2, bundle, j4);
|
||||
}
|
||||
|
||||
@ShowFirstParty
|
||||
@KeepForSdk
|
||||
public void registerOnMeasurementEventListener(OnEventListener onEventListener) {
|
||||
this.zzb.zzu(onEventListener);
|
||||
}
|
||||
|
||||
@ShowFirstParty
|
||||
@Keep
|
||||
@KeepForSdk
|
||||
public void setConditionalUserProperty(ConditionalUserProperty conditionalUserProperty) {
|
||||
Preconditions.checkNotNull(conditionalUserProperty);
|
||||
zzd zzdVar = this.zzb;
|
||||
Bundle bundle = new Bundle();
|
||||
String str = conditionalUserProperty.mAppId;
|
||||
if (str != null) {
|
||||
bundle.putString("app_id", str);
|
||||
}
|
||||
String str2 = conditionalUserProperty.mOrigin;
|
||||
if (str2 != null) {
|
||||
bundle.putString("origin", str2);
|
||||
}
|
||||
String str3 = conditionalUserProperty.mName;
|
||||
if (str3 != null) {
|
||||
bundle.putString(AppMeasurementSdk.ConditionalUserProperty.NAME, str3);
|
||||
}
|
||||
Object obj = conditionalUserProperty.mValue;
|
||||
if (obj != null) {
|
||||
zzgz.zzb(bundle, obj);
|
||||
}
|
||||
String str4 = conditionalUserProperty.mTriggerEventName;
|
||||
if (str4 != null) {
|
||||
bundle.putString(AppMeasurementSdk.ConditionalUserProperty.TRIGGER_EVENT_NAME, str4);
|
||||
}
|
||||
bundle.putLong(AppMeasurementSdk.ConditionalUserProperty.TRIGGER_TIMEOUT, conditionalUserProperty.mTriggerTimeout);
|
||||
String str5 = conditionalUserProperty.mTimedOutEventName;
|
||||
if (str5 != null) {
|
||||
bundle.putString(AppMeasurementSdk.ConditionalUserProperty.TIMED_OUT_EVENT_NAME, str5);
|
||||
}
|
||||
Bundle bundle2 = conditionalUserProperty.mTimedOutEventParams;
|
||||
if (bundle2 != null) {
|
||||
bundle.putBundle(AppMeasurementSdk.ConditionalUserProperty.TIMED_OUT_EVENT_PARAMS, bundle2);
|
||||
}
|
||||
String str6 = conditionalUserProperty.mTriggeredEventName;
|
||||
if (str6 != null) {
|
||||
bundle.putString(AppMeasurementSdk.ConditionalUserProperty.TRIGGERED_EVENT_NAME, str6);
|
||||
}
|
||||
Bundle bundle3 = conditionalUserProperty.mTriggeredEventParams;
|
||||
if (bundle3 != null) {
|
||||
bundle.putBundle(AppMeasurementSdk.ConditionalUserProperty.TRIGGERED_EVENT_PARAMS, bundle3);
|
||||
}
|
||||
bundle.putLong(AppMeasurementSdk.ConditionalUserProperty.TIME_TO_LIVE, conditionalUserProperty.mTimeToLive);
|
||||
String str7 = conditionalUserProperty.mExpiredEventName;
|
||||
if (str7 != null) {
|
||||
bundle.putString(AppMeasurementSdk.ConditionalUserProperty.EXPIRED_EVENT_NAME, str7);
|
||||
}
|
||||
Bundle bundle4 = conditionalUserProperty.mExpiredEventParams;
|
||||
if (bundle4 != null) {
|
||||
bundle.putBundle(AppMeasurementSdk.ConditionalUserProperty.EXPIRED_EVENT_PARAMS, bundle4);
|
||||
}
|
||||
bundle.putLong(AppMeasurementSdk.ConditionalUserProperty.CREATION_TIMESTAMP, conditionalUserProperty.mCreationTimestamp);
|
||||
bundle.putBoolean(AppMeasurementSdk.ConditionalUserProperty.ACTIVE, conditionalUserProperty.mActive);
|
||||
bundle.putLong(AppMeasurementSdk.ConditionalUserProperty.TRIGGERED_TIMESTAMP, conditionalUserProperty.mTriggeredTimestamp);
|
||||
zzdVar.zzv(bundle);
|
||||
}
|
||||
|
||||
@ShowFirstParty
|
||||
@KeepForSdk
|
||||
public void setEventInterceptor(EventInterceptor eventInterceptor) {
|
||||
this.zzb.zzw(eventInterceptor);
|
||||
}
|
||||
|
||||
@ShowFirstParty
|
||||
@KeepForSdk
|
||||
public void unregisterOnMeasurementEventListener(OnEventListener onEventListener) {
|
||||
this.zzb.zzx(onEventListener);
|
||||
}
|
||||
|
||||
public AppMeasurement(zzil zzilVar) {
|
||||
this.zzb = new zzb(zzilVar);
|
||||
}
|
||||
|
||||
@ShowFirstParty
|
||||
@KeepForSdk
|
||||
public Map<String, Object> getUserProperties(boolean z3) {
|
||||
return this.zzb.zzn(z3);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
package com.google.android.gms.measurement;
|
||||
|
||||
import android.content.ContentProvider;
|
||||
import android.content.ContentValues;
|
||||
import android.content.Context;
|
||||
import android.content.pm.ProviderInfo;
|
||||
import android.database.Cursor;
|
||||
import android.net.Uri;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import com.google.android.gms.measurement.internal.zzgd;
|
||||
|
||||
@Deprecated
|
||||
/* loaded from: classes3.dex */
|
||||
public class AppMeasurementContentProvider extends ContentProvider {
|
||||
@Override // android.content.ContentProvider
|
||||
public void attachInfo(Context context, ProviderInfo providerInfo) {
|
||||
super.attachInfo(context, providerInfo);
|
||||
if ("com.google.android.gms.measurement.google_measurement_service".equals(providerInfo.authority)) {
|
||||
throw new IllegalStateException("Incorrect provider authority in manifest. Most likely due to a missing applicationId variable in application's build.gradle.");
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.content.ContentProvider
|
||||
public int delete(Uri uri, String str, String[] strArr) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override // android.content.ContentProvider
|
||||
public String getType(Uri uri) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override // android.content.ContentProvider
|
||||
public Uri insert(Uri uri, ContentValues contentValues) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override // android.content.ContentProvider
|
||||
public boolean onCreate() {
|
||||
Context context = getContext();
|
||||
Preconditions.checkNotNull(context);
|
||||
zzgd.zzp(context, null, null);
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // android.content.ContentProvider
|
||||
public Cursor query(Uri uri, String[] strArr, String str, String[] strArr2, String str2) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override // android.content.ContentProvider
|
||||
public int update(Uri uri, ContentValues contentValues, String str, String[] strArr) {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
package com.google.android.gms.measurement;
|
||||
|
||||
import android.annotation.TargetApi;
|
||||
import android.app.job.JobParameters;
|
||||
import android.app.job.JobService;
|
||||
import android.content.Intent;
|
||||
import com.google.android.gms.measurement.internal.zzkf;
|
||||
import com.google.android.gms.measurement.internal.zzkg;
|
||||
|
||||
@TargetApi(24)
|
||||
/* loaded from: classes3.dex */
|
||||
public final class AppMeasurementJobService extends JobService implements zzkf {
|
||||
private zzkg zza;
|
||||
|
||||
private final zzkg zzd() {
|
||||
if (this.zza == null) {
|
||||
this.zza = new zzkg(this);
|
||||
}
|
||||
return this.zza;
|
||||
}
|
||||
|
||||
@Override // android.app.Service
|
||||
public void onCreate() {
|
||||
super.onCreate();
|
||||
zzd().zze();
|
||||
}
|
||||
|
||||
@Override // android.app.Service
|
||||
public void onDestroy() {
|
||||
zzd().zzf();
|
||||
super.onDestroy();
|
||||
}
|
||||
|
||||
@Override // android.app.Service
|
||||
public void onRebind(Intent intent) {
|
||||
zzd().zzg(intent);
|
||||
}
|
||||
|
||||
@Override // android.app.job.JobService
|
||||
public boolean onStartJob(JobParameters jobParameters) {
|
||||
zzd().zzi(jobParameters);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override // android.app.job.JobService
|
||||
public boolean onStopJob(JobParameters jobParameters) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // android.app.Service
|
||||
public boolean onUnbind(Intent intent) {
|
||||
zzd().zzj(intent);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzkf
|
||||
public final void zza(Intent intent) {
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzkf
|
||||
@TargetApi(24)
|
||||
public final void zzb(JobParameters jobParameters, boolean z3) {
|
||||
jobFinished(jobParameters, false);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzkf
|
||||
public final boolean zzc(int i) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
package com.google.android.gms.measurement;
|
||||
|
||||
import android.content.BroadcastReceiver;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import com.google.android.gms.measurement.internal.zzfm;
|
||||
import k0.AbstractC0415a;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class AppMeasurementReceiver extends AbstractC0415a implements zzfm.zza {
|
||||
private zzfm zza;
|
||||
|
||||
public BroadcastReceiver.PendingResult doGoAsync() {
|
||||
return goAsync();
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzfm.zza
|
||||
public void doStartService(Context context, Intent intent) {
|
||||
AbstractC0415a.startWakefulService(context, intent);
|
||||
}
|
||||
|
||||
@Override // android.content.BroadcastReceiver
|
||||
public void onReceive(Context context, Intent intent) {
|
||||
if (this.zza == null) {
|
||||
this.zza = new zzfm(this);
|
||||
}
|
||||
this.zza.zza(context, intent);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
package com.google.android.gms.measurement;
|
||||
|
||||
import android.app.Service;
|
||||
import android.app.job.JobParameters;
|
||||
import android.content.Intent;
|
||||
import android.os.IBinder;
|
||||
import com.google.android.gms.measurement.internal.zzkf;
|
||||
import com.google.android.gms.measurement.internal.zzkg;
|
||||
import k0.AbstractC0415a;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class AppMeasurementService extends Service implements zzkf {
|
||||
private zzkg zza;
|
||||
|
||||
private final zzkg zzd() {
|
||||
if (this.zza == null) {
|
||||
this.zza = new zzkg(this);
|
||||
}
|
||||
return this.zza;
|
||||
}
|
||||
|
||||
@Override // android.app.Service
|
||||
public IBinder onBind(Intent intent) {
|
||||
return zzd().zzb(intent);
|
||||
}
|
||||
|
||||
@Override // android.app.Service
|
||||
public void onCreate() {
|
||||
super.onCreate();
|
||||
zzd().zze();
|
||||
}
|
||||
|
||||
@Override // android.app.Service
|
||||
public void onDestroy() {
|
||||
zzd().zzf();
|
||||
super.onDestroy();
|
||||
}
|
||||
|
||||
@Override // android.app.Service
|
||||
public void onRebind(Intent intent) {
|
||||
zzd().zzg(intent);
|
||||
}
|
||||
|
||||
@Override // android.app.Service
|
||||
public int onStartCommand(Intent intent, int i, int i4) {
|
||||
zzd().zza(intent, i, i4);
|
||||
return 2;
|
||||
}
|
||||
|
||||
@Override // android.app.Service
|
||||
public boolean onUnbind(Intent intent) {
|
||||
zzd().zzj(intent);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzkf
|
||||
public final void zza(Intent intent) {
|
||||
AbstractC0415a.completeWakefulIntent(intent);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzkf
|
||||
public final void zzb(JobParameters jobParameters, boolean z3) {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzkf
|
||||
public final boolean zzc(int i) {
|
||||
return stopSelfResult(i);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,239 @@
|
||||
package com.google.android.gms.measurement.api;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.content.Context;
|
||||
import android.os.Bundle;
|
||||
import com.google.android.gms.common.annotation.KeepForSdk;
|
||||
import com.google.android.gms.common.internal.ShowFirstParty;
|
||||
import com.google.android.gms.internal.measurement.zzef;
|
||||
import com.google.android.gms.measurement.internal.zzhf;
|
||||
import com.google.android.gms.measurement.internal.zzhg;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@ShowFirstParty
|
||||
@KeepForSdk
|
||||
/* loaded from: classes3.dex */
|
||||
public class AppMeasurementSdk {
|
||||
private final zzef zza;
|
||||
|
||||
@KeepForSdk
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class ConditionalUserProperty {
|
||||
|
||||
@KeepForSdk
|
||||
public static final String ACTIVE = "active";
|
||||
|
||||
@KeepForSdk
|
||||
public static final String CREATION_TIMESTAMP = "creation_timestamp";
|
||||
|
||||
@KeepForSdk
|
||||
public static final String EXPIRED_EVENT_NAME = "expired_event_name";
|
||||
|
||||
@KeepForSdk
|
||||
public static final String EXPIRED_EVENT_PARAMS = "expired_event_params";
|
||||
|
||||
@KeepForSdk
|
||||
public static final String NAME = "name";
|
||||
|
||||
@KeepForSdk
|
||||
public static final String ORIGIN = "origin";
|
||||
|
||||
@KeepForSdk
|
||||
public static final String TIMED_OUT_EVENT_NAME = "timed_out_event_name";
|
||||
|
||||
@KeepForSdk
|
||||
public static final String TIMED_OUT_EVENT_PARAMS = "timed_out_event_params";
|
||||
|
||||
@KeepForSdk
|
||||
public static final String TIME_TO_LIVE = "time_to_live";
|
||||
|
||||
@KeepForSdk
|
||||
public static final String TRIGGERED_EVENT_NAME = "triggered_event_name";
|
||||
|
||||
@KeepForSdk
|
||||
public static final String TRIGGERED_EVENT_PARAMS = "triggered_event_params";
|
||||
|
||||
@KeepForSdk
|
||||
public static final String TRIGGERED_TIMESTAMP = "triggered_timestamp";
|
||||
|
||||
@KeepForSdk
|
||||
public static final String TRIGGER_EVENT_NAME = "trigger_event_name";
|
||||
|
||||
@KeepForSdk
|
||||
public static final String TRIGGER_TIMEOUT = "trigger_timeout";
|
||||
|
||||
@KeepForSdk
|
||||
public static final String VALUE = "value";
|
||||
|
||||
private ConditionalUserProperty() {
|
||||
}
|
||||
}
|
||||
|
||||
@ShowFirstParty
|
||||
@KeepForSdk
|
||||
/* loaded from: classes3.dex */
|
||||
public interface EventInterceptor extends zzhf {
|
||||
@Override // com.google.android.gms.measurement.internal.zzhf
|
||||
@ShowFirstParty
|
||||
@KeepForSdk
|
||||
void interceptEvent(String str, String str2, Bundle bundle, long j4);
|
||||
}
|
||||
|
||||
@ShowFirstParty
|
||||
@KeepForSdk
|
||||
/* loaded from: classes3.dex */
|
||||
public interface OnEventListener extends zzhg {
|
||||
@Override // com.google.android.gms.measurement.internal.zzhg
|
||||
@ShowFirstParty
|
||||
@KeepForSdk
|
||||
void onEvent(String str, String str2, Bundle bundle, long j4);
|
||||
}
|
||||
|
||||
public AppMeasurementSdk(zzef zzefVar) {
|
||||
this.zza = zzefVar;
|
||||
}
|
||||
|
||||
@ShowFirstParty
|
||||
@KeepForSdk
|
||||
public static AppMeasurementSdk getInstance(Context context) {
|
||||
return zzef.zzg(context, null, null, null, null).zzd();
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public void beginAdUnitExposure(String str) {
|
||||
this.zza.zzv(str);
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public void clearConditionalUserProperty(String str, String str2, Bundle bundle) {
|
||||
this.zza.zzw(str, str2, bundle);
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public void endAdUnitExposure(String str) {
|
||||
this.zza.zzx(str);
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public long generateEventId() {
|
||||
return this.zza.zzb();
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public String getAppIdOrigin() {
|
||||
return this.zza.zzk();
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public String getAppInstanceId() {
|
||||
return this.zza.zzm();
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public List<Bundle> getConditionalUserProperties(String str, String str2) {
|
||||
return this.zza.zzq(str, str2);
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public String getCurrentScreenClass() {
|
||||
return this.zza.zzn();
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public String getCurrentScreenName() {
|
||||
return this.zza.zzo();
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public String getGmpAppId() {
|
||||
return this.zza.zzp();
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public int getMaxUserProperties(String str) {
|
||||
return this.zza.zza(str);
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public Map<String, Object> getUserProperties(String str, String str2, boolean z3) {
|
||||
return this.zza.zzr(str, str2, z3);
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public void logEvent(String str, String str2, Bundle bundle) {
|
||||
this.zza.zzz(str, str2, bundle);
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public void logEventNoInterceptor(String str, String str2, Bundle bundle, long j4) {
|
||||
this.zza.zzA(str, str2, bundle, j4);
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public void performAction(Bundle bundle) {
|
||||
this.zza.zzc(bundle, false);
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public Bundle performActionWithResponse(Bundle bundle) {
|
||||
return this.zza.zzc(bundle, true);
|
||||
}
|
||||
|
||||
@ShowFirstParty
|
||||
@KeepForSdk
|
||||
public void registerOnMeasurementEventListener(OnEventListener onEventListener) {
|
||||
this.zza.zzC(onEventListener);
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public void setConditionalUserProperty(Bundle bundle) {
|
||||
this.zza.zzE(bundle);
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public void setConsent(Bundle bundle) {
|
||||
this.zza.zzF(bundle);
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public void setCurrentScreen(Activity activity, String str, String str2) {
|
||||
this.zza.zzH(activity, str, str2);
|
||||
}
|
||||
|
||||
@ShowFirstParty
|
||||
@KeepForSdk
|
||||
public void setEventInterceptor(EventInterceptor eventInterceptor) {
|
||||
this.zza.zzK(eventInterceptor);
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public void setMeasurementEnabled(Boolean bool) {
|
||||
this.zza.zzL(bool);
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public void setUserProperty(String str, String str2, Object obj) {
|
||||
this.zza.zzO(str, str2, obj, true);
|
||||
}
|
||||
|
||||
@ShowFirstParty
|
||||
@KeepForSdk
|
||||
public void unregisterOnMeasurementEventListener(OnEventListener onEventListener) {
|
||||
this.zza.zzP(onEventListener);
|
||||
}
|
||||
|
||||
public final void zza(boolean z3) {
|
||||
this.zza.zzI(z3);
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public void setMeasurementEnabled(boolean z3) {
|
||||
this.zza.zzL(Boolean.valueOf(z3));
|
||||
}
|
||||
|
||||
@KeepForSdk
|
||||
public static AppMeasurementSdk getInstance(Context context, String str, String str2, String str3, Bundle bundle) {
|
||||
return zzef.zzg(context, str, str2, str3, bundle).zzd();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package com.google.android.gms.measurement.api;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class R {
|
||||
private R() {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,447 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import C.w;
|
||||
import android.app.Activity;
|
||||
import android.content.Context;
|
||||
import android.os.Bundle;
|
||||
import android.os.RemoteException;
|
||||
import android.text.TextUtils;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import com.google.android.gms.common.util.DynamiteApi;
|
||||
import com.google.android.gms.dynamic.IObjectWrapper;
|
||||
import com.google.android.gms.dynamic.ObjectWrapper;
|
||||
import java.util.Map;
|
||||
import org.checkerframework.checker.nullness.qual.EnsuresNonNull;
|
||||
import s.j;
|
||||
|
||||
@DynamiteApi
|
||||
/* loaded from: classes3.dex */
|
||||
public class AppMeasurementDynamiteService extends com.google.android.gms.internal.measurement.zzcb {
|
||||
zzgd zza = null;
|
||||
private final Map zzb = new j(0);
|
||||
|
||||
@EnsuresNonNull({"scion"})
|
||||
private final void zzb() {
|
||||
if (this.zza == null) {
|
||||
throw new IllegalStateException("Attempting to perform action before initialize.");
|
||||
}
|
||||
}
|
||||
|
||||
private final void zzc(com.google.android.gms.internal.measurement.zzcf zzcfVar, String str) {
|
||||
zzb();
|
||||
this.zza.zzv().zzW(zzcfVar, str);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void beginAdUnitExposure(String str, long j4) throws RemoteException {
|
||||
zzb();
|
||||
this.zza.zzd().zzd(str, j4);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void clearConditionalUserProperty(String str, String str2, Bundle bundle) throws RemoteException {
|
||||
zzb();
|
||||
this.zza.zzq().zzA(str, str2, bundle);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void clearMeasurementEnabled(long j4) throws RemoteException {
|
||||
zzb();
|
||||
this.zza.zzq().zzU(null);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void endAdUnitExposure(String str, long j4) throws RemoteException {
|
||||
zzb();
|
||||
this.zza.zzd().zze(str, j4);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void generateEventId(com.google.android.gms.internal.measurement.zzcf zzcfVar) throws RemoteException {
|
||||
zzb();
|
||||
long zzq = this.zza.zzv().zzq();
|
||||
zzb();
|
||||
this.zza.zzv().zzV(zzcfVar, zzq);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void getAppInstanceId(com.google.android.gms.internal.measurement.zzcf zzcfVar) throws RemoteException {
|
||||
zzb();
|
||||
this.zza.zzaB().zzp(new zzi(this, zzcfVar));
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void getCachedAppInstanceId(com.google.android.gms.internal.measurement.zzcf zzcfVar) throws RemoteException {
|
||||
zzb();
|
||||
zzc(zzcfVar, this.zza.zzq().zzo());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void getConditionalUserProperties(String str, String str2, com.google.android.gms.internal.measurement.zzcf zzcfVar) throws RemoteException {
|
||||
zzb();
|
||||
this.zza.zzaB().zzp(new zzm(this, zzcfVar, str, str2));
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void getCurrentScreenClass(com.google.android.gms.internal.measurement.zzcf zzcfVar) throws RemoteException {
|
||||
zzb();
|
||||
zzc(zzcfVar, this.zza.zzq().zzp());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void getCurrentScreenName(com.google.android.gms.internal.measurement.zzcf zzcfVar) throws RemoteException {
|
||||
zzb();
|
||||
zzc(zzcfVar, this.zza.zzq().zzq());
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void getGmpAppId(com.google.android.gms.internal.measurement.zzcf zzcfVar) throws RemoteException {
|
||||
String str;
|
||||
zzb();
|
||||
zzik zzq = this.zza.zzq();
|
||||
if (zzq.zzt.zzw() != null) {
|
||||
str = zzq.zzt.zzw();
|
||||
} else {
|
||||
try {
|
||||
str = zziq.zzc(zzq.zzt.zzaw(), "google_app_id", zzq.zzt.zzz());
|
||||
} catch (IllegalStateException e4) {
|
||||
zzq.zzt.zzaA().zzd().zzb("getGoogleAppId failed with exception", e4);
|
||||
str = null;
|
||||
}
|
||||
}
|
||||
zzc(zzcfVar, str);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void getMaxUserProperties(String str, com.google.android.gms.internal.measurement.zzcf zzcfVar) throws RemoteException {
|
||||
zzb();
|
||||
this.zza.zzq().zzh(str);
|
||||
zzb();
|
||||
this.zza.zzv().zzU(zzcfVar, 25);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void getSessionId(com.google.android.gms.internal.measurement.zzcf zzcfVar) throws RemoteException {
|
||||
zzb();
|
||||
zzik zzq = this.zza.zzq();
|
||||
zzq.zzt.zzaB().zzp(new zzhy(zzq, zzcfVar));
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void getTestFlag(com.google.android.gms.internal.measurement.zzcf zzcfVar, int i) throws RemoteException {
|
||||
zzb();
|
||||
if (i == 0) {
|
||||
this.zza.zzv().zzW(zzcfVar, this.zza.zzq().zzr());
|
||||
return;
|
||||
}
|
||||
if (i == 1) {
|
||||
this.zza.zzv().zzV(zzcfVar, this.zza.zzq().zzm().longValue());
|
||||
return;
|
||||
}
|
||||
if (i != 2) {
|
||||
if (i == 3) {
|
||||
this.zza.zzv().zzU(zzcfVar, this.zza.zzq().zzl().intValue());
|
||||
return;
|
||||
} else {
|
||||
if (i != 4) {
|
||||
return;
|
||||
}
|
||||
this.zza.zzv().zzQ(zzcfVar, this.zza.zzq().zzi().booleanValue());
|
||||
return;
|
||||
}
|
||||
}
|
||||
zzlp zzv = this.zza.zzv();
|
||||
double doubleValue = this.zza.zzq().zzj().doubleValue();
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putDouble("r", doubleValue);
|
||||
try {
|
||||
zzcfVar.zze(bundle);
|
||||
} catch (RemoteException e4) {
|
||||
zzv.zzt.zzaA().zzk().zzb("Error returning double value to wrapper", e4);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void getUserProperties(String str, String str2, boolean z3, com.google.android.gms.internal.measurement.zzcf zzcfVar) throws RemoteException {
|
||||
zzb();
|
||||
this.zza.zzaB().zzp(new zzk(this, zzcfVar, str, str2, z3));
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void initForTests(Map map) throws RemoteException {
|
||||
zzb();
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void initialize(IObjectWrapper iObjectWrapper, com.google.android.gms.internal.measurement.zzcl zzclVar, long j4) throws RemoteException {
|
||||
zzgd zzgdVar = this.zza;
|
||||
if (zzgdVar == null) {
|
||||
this.zza = zzgd.zzp((Context) Preconditions.checkNotNull((Context) ObjectWrapper.unwrap(iObjectWrapper)), zzclVar, Long.valueOf(j4));
|
||||
} else {
|
||||
w.A(zzgdVar, "Attempting to initialize multiple times");
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void isDataCollectionEnabled(com.google.android.gms.internal.measurement.zzcf zzcfVar) throws RemoteException {
|
||||
zzb();
|
||||
this.zza.zzaB().zzp(new zzn(this, zzcfVar));
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void logEvent(String str, String str2, Bundle bundle, boolean z3, boolean z4, long j4) throws RemoteException {
|
||||
zzb();
|
||||
this.zza.zzq().zzE(str, str2, bundle, z3, z4, j4);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void logEventAndBundle(String str, String str2, Bundle bundle, com.google.android.gms.internal.measurement.zzcf zzcfVar, long j4) throws RemoteException {
|
||||
zzb();
|
||||
Preconditions.checkNotEmpty(str2);
|
||||
(bundle != null ? new Bundle(bundle) : new Bundle()).putString("_o", "app");
|
||||
this.zza.zzaB().zzp(new zzj(this, zzcfVar, new zzau(str2, new zzas(bundle), "app", j4), str));
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void logHealthData(int i, String str, IObjectWrapper iObjectWrapper, IObjectWrapper iObjectWrapper2, IObjectWrapper iObjectWrapper3) throws RemoteException {
|
||||
zzb();
|
||||
this.zza.zzaA().zzu(i, true, false, str, iObjectWrapper == null ? null : ObjectWrapper.unwrap(iObjectWrapper), iObjectWrapper2 == null ? null : ObjectWrapper.unwrap(iObjectWrapper2), iObjectWrapper3 != null ? ObjectWrapper.unwrap(iObjectWrapper3) : null);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void onActivityCreated(IObjectWrapper iObjectWrapper, Bundle bundle, long j4) throws RemoteException {
|
||||
zzb();
|
||||
zzij zzijVar = this.zza.zzq().zza;
|
||||
if (zzijVar != null) {
|
||||
this.zza.zzq().zzB();
|
||||
zzijVar.onActivityCreated((Activity) ObjectWrapper.unwrap(iObjectWrapper), bundle);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void onActivityDestroyed(IObjectWrapper iObjectWrapper, long j4) throws RemoteException {
|
||||
zzb();
|
||||
zzij zzijVar = this.zza.zzq().zza;
|
||||
if (zzijVar != null) {
|
||||
this.zza.zzq().zzB();
|
||||
zzijVar.onActivityDestroyed((Activity) ObjectWrapper.unwrap(iObjectWrapper));
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void onActivityPaused(IObjectWrapper iObjectWrapper, long j4) throws RemoteException {
|
||||
zzb();
|
||||
zzij zzijVar = this.zza.zzq().zza;
|
||||
if (zzijVar != null) {
|
||||
this.zza.zzq().zzB();
|
||||
zzijVar.onActivityPaused((Activity) ObjectWrapper.unwrap(iObjectWrapper));
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void onActivityResumed(IObjectWrapper iObjectWrapper, long j4) throws RemoteException {
|
||||
zzb();
|
||||
zzij zzijVar = this.zza.zzq().zza;
|
||||
if (zzijVar != null) {
|
||||
this.zza.zzq().zzB();
|
||||
zzijVar.onActivityResumed((Activity) ObjectWrapper.unwrap(iObjectWrapper));
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void onActivitySaveInstanceState(IObjectWrapper iObjectWrapper, com.google.android.gms.internal.measurement.zzcf zzcfVar, long j4) throws RemoteException {
|
||||
zzb();
|
||||
zzij zzijVar = this.zza.zzq().zza;
|
||||
Bundle bundle = new Bundle();
|
||||
if (zzijVar != null) {
|
||||
this.zza.zzq().zzB();
|
||||
zzijVar.onActivitySaveInstanceState((Activity) ObjectWrapper.unwrap(iObjectWrapper), bundle);
|
||||
}
|
||||
try {
|
||||
zzcfVar.zze(bundle);
|
||||
} catch (RemoteException e4) {
|
||||
this.zza.zzaA().zzk().zzb("Error returning bundle value to wrapper", e4);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void onActivityStarted(IObjectWrapper iObjectWrapper, long j4) throws RemoteException {
|
||||
zzb();
|
||||
if (this.zza.zzq().zza != null) {
|
||||
this.zza.zzq().zzB();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void onActivityStopped(IObjectWrapper iObjectWrapper, long j4) throws RemoteException {
|
||||
zzb();
|
||||
if (this.zza.zzq().zza != null) {
|
||||
this.zza.zzq().zzB();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void performAction(Bundle bundle, com.google.android.gms.internal.measurement.zzcf zzcfVar, long j4) throws RemoteException {
|
||||
zzb();
|
||||
zzcfVar.zze(null);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void registerOnMeasurementEventListener(com.google.android.gms.internal.measurement.zzci zzciVar) throws RemoteException {
|
||||
zzhg zzhgVar;
|
||||
zzb();
|
||||
synchronized (this.zzb) {
|
||||
try {
|
||||
zzhgVar = (zzhg) this.zzb.get(Integer.valueOf(zzciVar.zzd()));
|
||||
if (zzhgVar == null) {
|
||||
zzhgVar = new zzp(this, zzciVar);
|
||||
this.zzb.put(Integer.valueOf(zzciVar.zzd()), zzhgVar);
|
||||
}
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
this.zza.zzq().zzJ(zzhgVar);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void resetAnalyticsData(long j4) throws RemoteException {
|
||||
zzb();
|
||||
this.zza.zzq().zzK(j4);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void setConditionalUserProperty(Bundle bundle, long j4) throws RemoteException {
|
||||
zzb();
|
||||
if (bundle == null) {
|
||||
w.v(this.zza, "Conditional user property must not be null");
|
||||
} else {
|
||||
this.zza.zzq().zzQ(bundle, j4);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void setConsent(final Bundle bundle, final long j4) throws RemoteException {
|
||||
zzb();
|
||||
final zzik zzq = this.zza.zzq();
|
||||
zzq.zzt.zzaB().zzq(new Runnable() { // from class: com.google.android.gms.measurement.internal.zzhj
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
zzik zzikVar = zzik.this;
|
||||
Bundle bundle2 = bundle;
|
||||
long j5 = j4;
|
||||
if (TextUtils.isEmpty(zzikVar.zzt.zzh().zzm())) {
|
||||
zzikVar.zzS(bundle2, 0, j5);
|
||||
} else {
|
||||
zzikVar.zzt.zzaA().zzl().zza("Using developer consent only; google app id found");
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void setConsentThirdParty(Bundle bundle, long j4) throws RemoteException {
|
||||
zzb();
|
||||
this.zza.zzq().zzS(bundle, -20, j4);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void setCurrentScreen(IObjectWrapper iObjectWrapper, String str, String str2, long j4) throws RemoteException {
|
||||
zzb();
|
||||
this.zza.zzs().zzw((Activity) ObjectWrapper.unwrap(iObjectWrapper), str, str2);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void setDataCollectionEnabled(boolean z3) throws RemoteException {
|
||||
zzb();
|
||||
zzik zzq = this.zza.zzq();
|
||||
zzq.zza();
|
||||
zzq.zzt.zzaB().zzp(new zzih(zzq, z3));
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void setDefaultEventParameters(Bundle bundle) {
|
||||
zzb();
|
||||
final zzik zzq = this.zza.zzq();
|
||||
final Bundle bundle2 = bundle == null ? null : new Bundle(bundle);
|
||||
zzq.zzt.zzaB().zzp(new Runnable() { // from class: com.google.android.gms.measurement.internal.zzhk
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
zzik.this.zzC(bundle2);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void setEventInterceptor(com.google.android.gms.internal.measurement.zzci zzciVar) throws RemoteException {
|
||||
zzb();
|
||||
zzo zzoVar = new zzo(this, zzciVar);
|
||||
if (this.zza.zzaB().zzs()) {
|
||||
this.zza.zzq().zzT(zzoVar);
|
||||
} else {
|
||||
this.zza.zzaB().zzp(new zzl(this, zzoVar));
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void setInstanceIdProvider(com.google.android.gms.internal.measurement.zzck zzckVar) throws RemoteException {
|
||||
zzb();
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void setMeasurementEnabled(boolean z3, long j4) throws RemoteException {
|
||||
zzb();
|
||||
this.zza.zzq().zzU(Boolean.valueOf(z3));
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void setMinimumSessionDuration(long j4) throws RemoteException {
|
||||
zzb();
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void setSessionTimeoutDuration(long j4) throws RemoteException {
|
||||
zzb();
|
||||
zzik zzq = this.zza.zzq();
|
||||
zzq.zzt.zzaB().zzp(new zzho(zzq, j4));
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void setUserId(final String str, long j4) throws RemoteException {
|
||||
zzb();
|
||||
final zzik zzq = this.zza.zzq();
|
||||
if (str != null && TextUtils.isEmpty(str)) {
|
||||
w.A(zzq.zzt, "User ID must be non-empty or null");
|
||||
} else {
|
||||
zzq.zzt.zzaB().zzp(new Runnable() { // from class: com.google.android.gms.measurement.internal.zzhl
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
zzik zzikVar = zzik.this;
|
||||
if (zzikVar.zzt.zzh().zzp(str)) {
|
||||
zzikVar.zzt.zzh().zzo();
|
||||
}
|
||||
}
|
||||
});
|
||||
zzq.zzX(null, "_id", str, true, j4);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void setUserProperty(String str, String str2, IObjectWrapper iObjectWrapper, boolean z3, long j4) throws RemoteException {
|
||||
zzb();
|
||||
this.zza.zzq().zzX(str, str2, ObjectWrapper.unwrap(iObjectWrapper), z3, j4);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzcc
|
||||
public void unregisterOnMeasurementEventListener(com.google.android.gms.internal.measurement.zzci zzciVar) throws RemoteException {
|
||||
zzhg zzhgVar;
|
||||
zzb();
|
||||
synchronized (this.zzb) {
|
||||
zzhgVar = (zzhg) this.zzb.remove(Integer.valueOf(zzciVar.zzd()));
|
||||
}
|
||||
if (zzhgVar == null) {
|
||||
zzhgVar = new zzp(this, zzciVar);
|
||||
}
|
||||
this.zza.zzq().zzZ(zzhgVar);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,186 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import kotlin.KotlinNothingValueException;
|
||||
import kotlin.UByte;
|
||||
import kotlin.UByteArray;
|
||||
import kotlin.UInt;
|
||||
import kotlin.UIntArray;
|
||||
import kotlin.ULong;
|
||||
import kotlin.ULongArray;
|
||||
import kotlin.UShort;
|
||||
import kotlin.UShortArray;
|
||||
import kotlin.collections.IntIterator;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.ranges.IntRange;
|
||||
import kotlin.reflect.jvm.internal.impl.metadata.deserialization.Flags;
|
||||
import kotlin.reflect.jvm.internal.impl.name.FqName;
|
||||
import kotlin.reflect.jvm.internal.impl.name.Name;
|
||||
import kotlin.reflect.jvm.internal.impl.types.model.SimpleTypeMarker;
|
||||
import kotlin.sequences.Sequence;
|
||||
import kotlinx.coroutines.flow.FlowKt;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract /* synthetic */ class a {
|
||||
public static /* synthetic */ String A(int i) {
|
||||
switch (i) {
|
||||
case 1:
|
||||
return "NONE";
|
||||
case 2:
|
||||
return "LEFT";
|
||||
case 3:
|
||||
return "TOP";
|
||||
case 4:
|
||||
return "RIGHT";
|
||||
case 5:
|
||||
return "BOTTOM";
|
||||
case 6:
|
||||
return "BASELINE";
|
||||
case 7:
|
||||
return "CENTER";
|
||||
case 8:
|
||||
return "CENTER_X";
|
||||
case 9:
|
||||
return "CENTER_Y";
|
||||
default:
|
||||
throw null;
|
||||
}
|
||||
}
|
||||
|
||||
public static float a(float f2, float f4, float f5, float f6) {
|
||||
return ((f2 - f4) * f5) + f6;
|
||||
}
|
||||
|
||||
public static int b(long j4, int i, int i4) {
|
||||
return (Long.hashCode(j4) + i) * i4;
|
||||
}
|
||||
|
||||
public static int c(CharSequence charSequence, String str, Function1 function1, String str2) {
|
||||
Intrinsics.checkNotNullParameter(charSequence, str);
|
||||
Intrinsics.checkNotNullParameter(function1, str2);
|
||||
return charSequence.length();
|
||||
}
|
||||
|
||||
public static int d(String str, int i, int i4) {
|
||||
return (str.hashCode() + i) * i4;
|
||||
}
|
||||
|
||||
public static int e(UInt uInt, int i) {
|
||||
return UInt.m211constructorimpl(uInt.getData() + i);
|
||||
}
|
||||
|
||||
public static int f(IntRange intRange, int i) {
|
||||
return intRange.getEndInclusive().intValue() + i;
|
||||
}
|
||||
|
||||
public static Object g(CharSequence charSequence, int i, Function1 function1) {
|
||||
return function1.invoke(Character.valueOf(charSequence.charAt(i)));
|
||||
}
|
||||
|
||||
public static Object h(byte[] bArr, int i, Function1 function1) {
|
||||
return function1.invoke(UByte.m128boximpl(UByteArray.m192getw2LRezQ(bArr, i)));
|
||||
}
|
||||
|
||||
public static Object i(int[] iArr, int i, Function1 function1) {
|
||||
return function1.invoke(UInt.m205boximpl(UIntArray.m271getpVg5ArA(iArr, i)));
|
||||
}
|
||||
|
||||
public static Object j(long[] jArr, int i, Function1 function1) {
|
||||
return function1.invoke(ULong.m284boximpl(ULongArray.m350getsVKNKU(jArr, i)));
|
||||
}
|
||||
|
||||
public static Object k(short[] sArr, int i, Function1 function1) {
|
||||
return function1.invoke(UShort.m391boximpl(UShortArray.m455getMh2AYeg(sArr, i)));
|
||||
}
|
||||
|
||||
public static String l(int i, String str) {
|
||||
return str + i;
|
||||
}
|
||||
|
||||
public static String m(StringBuilder sb, int i, String str) {
|
||||
sb.append(i);
|
||||
sb.append(str);
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
public static String n(StringBuilder sb, String str, char c4) {
|
||||
sb.append(str);
|
||||
sb.append(c4);
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
public static String o(StringBuilder sb, List list, char c4) {
|
||||
sb.append(list);
|
||||
sb.append(c4);
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
public static StringBuilder p(String str, String str2, String str3) {
|
||||
StringBuilder sb = new StringBuilder(str);
|
||||
sb.append(str2);
|
||||
sb.append(str3);
|
||||
return sb;
|
||||
}
|
||||
|
||||
public static StringBuilder q(String str, SimpleTypeMarker simpleTypeMarker, String str2) {
|
||||
StringBuilder sb = new StringBuilder(str);
|
||||
sb.append(simpleTypeMarker);
|
||||
sb.append(str2);
|
||||
return sb;
|
||||
}
|
||||
|
||||
public static ArrayList r(LinkedHashMap linkedHashMap, Object obj) {
|
||||
ArrayList arrayList = new ArrayList();
|
||||
linkedHashMap.put(obj, arrayList);
|
||||
return arrayList;
|
||||
}
|
||||
|
||||
public static ArrayList s(Map map, Object obj) {
|
||||
ArrayList arrayList = new ArrayList();
|
||||
map.put(obj, arrayList);
|
||||
return arrayList;
|
||||
}
|
||||
|
||||
public static Iterator t(Iterable iterable, String str, Function1 function1, String str2) {
|
||||
Intrinsics.checkNotNullParameter(iterable, str);
|
||||
Intrinsics.checkNotNullParameter(function1, str2);
|
||||
return iterable.iterator();
|
||||
}
|
||||
|
||||
public static Iterator u(Sequence sequence, String str, Function1 function1, String str2) {
|
||||
Intrinsics.checkNotNullParameter(sequence, str);
|
||||
Intrinsics.checkNotNullParameter(function1, str2);
|
||||
return sequence.iterator();
|
||||
}
|
||||
|
||||
public static KotlinNothingValueException v() {
|
||||
FlowKt.noImpl();
|
||||
return new KotlinNothingValueException();
|
||||
}
|
||||
|
||||
/* JADX WARN: Type inference failed for: r1v1, types: [kotlin.collections.IntIterator] */
|
||||
public static IntIterator w(int i, int i4) {
|
||||
return new IntRange(i, i4).iterator();
|
||||
}
|
||||
|
||||
public static FqName x(String str, FqName fqName, String str2) {
|
||||
FqName child = fqName.child(Name.identifier(str));
|
||||
Intrinsics.checkNotNullExpressionValue(child, str2);
|
||||
return child;
|
||||
}
|
||||
|
||||
public static void y(zzgd zzgdVar, String str) {
|
||||
zzgdVar.zzaA().zzj().zza(str);
|
||||
}
|
||||
|
||||
public static boolean z(Flags.BooleanFlagField booleanFlagField, int i, String str) {
|
||||
Boolean bool = booleanFlagField.get(i);
|
||||
Intrinsics.checkNotNullExpressionValue(bool, str);
|
||||
return bool.booleanValue();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zza implements Runnable {
|
||||
final /* synthetic */ String zza;
|
||||
final /* synthetic */ long zzb;
|
||||
final /* synthetic */ zzd zzc;
|
||||
|
||||
public zza(zzd zzdVar, String str, long j4) {
|
||||
this.zzc = zzdVar;
|
||||
this.zza = str;
|
||||
this.zzb = j4;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
zzd.zza(this.zzc, this.zza, this.zzb);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,129 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzaa extends zzku {
|
||||
private String zza;
|
||||
private Set zzb;
|
||||
private Map zzc;
|
||||
private Long zzd;
|
||||
private Long zze;
|
||||
|
||||
public zzaa(zzlh zzlhVar) {
|
||||
super(zzlhVar);
|
||||
}
|
||||
|
||||
private final zzu zzd(Integer num) {
|
||||
if (this.zzc.containsKey(num)) {
|
||||
return (zzu) this.zzc.get(num);
|
||||
}
|
||||
zzu zzuVar = new zzu(this, this.zza, null);
|
||||
this.zzc.put(num, zzuVar);
|
||||
return zzuVar;
|
||||
}
|
||||
|
||||
private final boolean zzf(int i, int i4) {
|
||||
zzu zzuVar = (zzu) this.zzc.get(Integer.valueOf(i));
|
||||
if (zzuVar == null) {
|
||||
return false;
|
||||
}
|
||||
return zzu.zzb(zzuVar).get(i4);
|
||||
}
|
||||
|
||||
/* JADX WARN: Can't wrap try/catch for region: R(26:1|(2:2|(2:4|(2:6|7)(1:523))(2:524|525))|8|(3:10|11|12)|16|(7:19|20|21|22|23|(20:(7:25|26|27|28|(1:30)(3:498|(1:500)(1:502)|501)|31|(1:34)(1:33))|35|36|37|38|39|40|(2:42|43)(3:454|(6:455|456|457|458|459|(1:462)(1:461))|463)|44|(5:283|(12:285|286|287|288|289|(6:437|298|299|(3:393|(6:396|(2:432|433)(2:400|(8:406|407|(4:410|(2:412|413)(1:415)|414|408)|416|417|(4:420|(3:422|423|424)(1:426)|425|418)|427|428)(4:402|403|404|405))|429|430|405|394)|435)|301|302)|(4:291|(1:293)|294|295)|298|299|(0)|301|302)(1:453)|303|(11:306|(3:310|(4:313|(5:315|316|(1:318)(1:322)|319|320)(1:323)|321|311)|324)|325|326|(3:330|(4:333|(3:338|339|340)|341|331)|344)|345|(3:347|(6:350|(2:352|(3:354|355|356))(1:359)|357|358|356|348)|360)|361|(3:370|(8:373|(1:375)|376|(1:378)|379|(2:381|382)(1:384)|383|371)|385)|386|304)|392)|46|47|(3:183|(4:186|(10:188|189|(1:191)(1:280)|192|(11:194|195|196|197|198|199|200|201|202|203|(4:205|(10:206|207|208|209|210|211|212|(1:214)|215|216)|219|220)(4:259|260|258|220))(1:279)|221|(4:224|(3:242|243|244)(6:226|227|(2:228|(2:230|(1:232)(2:233|234))(2:240|241))|(1:236)|237|238)|239|222)|245|246|247)(1:281)|248|184)|282)|49|50|(3:52|(6:55|(6:57|58|59|60|61|(3:(9:63|64|65|66|67|(3:69|70|71)(1:131)|72|73|(1:76)(1:75))|77|78)(4:138|139|127|78))(1:156)|79|(2:80|(2:82|(3:118|119|120)(8:84|(2:85|(4:87|(3:89|(1:91)(1:114)|92)(1:115)|93|(1:1)(2:97|(1:99)(2:100|101)))(2:116|117))|108|(1:110)(1:112)|111|103|104|105))(0))|121|53)|157)|158|(10:161|162|163|164|165|166|168|(3:170|171|172)(1:174)|173|159)|181|182)|507)|522|36|37|38|39|40|(0)(0)|44|(0)|46|47|(0)|49|50|(0)|158|(1:159)|181|182|(5:(0)|(0)|(0)|(0)|(0))) */
|
||||
/* JADX WARN: Code restructure failed: missing block: B:102:0x09ef, code lost:
|
||||
|
||||
if (r11 != false) goto L482;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:126:0x08d3, code lost:
|
||||
|
||||
if (r13 != null) goto L357;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:257:0x0730, code lost:
|
||||
|
||||
if (r6 != null) goto L278;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:441:0x02e7, code lost:
|
||||
|
||||
if (r6 == null) goto L134;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:489:0x01b5, code lost:
|
||||
|
||||
r0 = e;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:490:0x01b6, code lost:
|
||||
|
||||
r17 = r2;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:491:0x01b8, code lost:
|
||||
|
||||
r18 = com.google.firebase.messaging.Constants.ScionAnalytics.MessageType.DATA_MESSAGE;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:493:0x0226, code lost:
|
||||
|
||||
r0 = e;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:494:0x0227, code lost:
|
||||
|
||||
r17 = r2;
|
||||
r18 = com.google.firebase.messaging.Constants.ScionAnalytics.MessageType.DATA_MESSAGE;
|
||||
r19 = "audience_id";
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:495:0x0231, code lost:
|
||||
|
||||
r7 = null;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:496:0x0224, code lost:
|
||||
|
||||
r0 = th;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:497:0x022e, code lost:
|
||||
|
||||
r5 = null;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:511:0x016a, code lost:
|
||||
|
||||
if (r5 == null) goto L44;
|
||||
*/
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
/* JADX WARN: Removed duplicated region for block: B:161:0x0a14 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:183:0x0598 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:283:0x0259 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:393:0x02ff */
|
||||
/* JADX WARN: Removed duplicated region for block: B:42:0x01a4 A[Catch: all -> 0x01b2, SQLiteException -> 0x01b5, TRY_LEAVE, TryCatch #10 {all -> 0x01b2, blocks: (B:40:0x019e, B:42:0x01a4, B:454:0x01be, B:455:0x01c3, B:457:0x01cd, B:458:0x01dd, B:459:0x0209, B:472:0x01ec, B:477:0x01fc, B:480:0x0202, B:466:0x0232), top: B:39:0x019e }] */
|
||||
/* JADX WARN: Removed duplicated region for block: B:447:0x03f5 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:454:0x01be A[Catch: all -> 0x01b2, SQLiteException -> 0x01b5, TRY_ENTER, TryCatch #10 {all -> 0x01b2, blocks: (B:40:0x019e, B:42:0x01a4, B:454:0x01be, B:455:0x01c3, B:457:0x01cd, B:458:0x01dd, B:459:0x0209, B:472:0x01ec, B:477:0x01fc, B:480:0x0202, B:466:0x0232), top: B:39:0x019e }] */
|
||||
/* JADX WARN: Removed duplicated region for block: B:468:0x0249 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:516:0x016f */
|
||||
/* JADX WARN: Removed duplicated region for block: B:52:0x07df */
|
||||
/* JADX WARN: Type inference failed for: r0v51, types: [s.e, s.j] */
|
||||
/* JADX WARN: Type inference failed for: r0v57, types: [java.util.Map] */
|
||||
/* JADX WARN: Type inference failed for: r0v73 */
|
||||
/* JADX WARN: Type inference failed for: r0v75, types: [java.util.Map] */
|
||||
/* JADX WARN: Type inference failed for: r5v35, types: [java.lang.String] */
|
||||
/* JADX WARN: Type inference failed for: r5v36, types: [android.database.sqlite.SQLiteDatabase] */
|
||||
/* JADX WARN: Type inference failed for: r5v6 */
|
||||
/* JADX WARN: Type inference failed for: r5v7, types: [android.database.Cursor] */
|
||||
/* JADX WARN: Type inference failed for: r5v8 */
|
||||
/* JADX WARN: Unreachable blocks removed: 1, instructions: 1 */
|
||||
/* JADX WARN: Unreachable blocks removed: 2, instructions: 7 */
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final java.util.List zza(java.lang.String r47, java.util.List r48, java.util.List r49, java.lang.Long r50, java.lang.Long r51) {
|
||||
/*
|
||||
Method dump skipped, instructions count: 2722
|
||||
To view this dump add '--comments-level debug' option
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzaa.zza(java.lang.String, java.util.List, java.util.List, java.lang.Long, java.lang.Long):java.util.List");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzku
|
||||
public final boolean zzb() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Looper;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzab {
|
||||
public zzab(Context context) {
|
||||
}
|
||||
|
||||
public static final boolean zza() {
|
||||
return Looper.myLooper() == Looper.getMainLooper();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
|
||||
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
|
||||
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
|
||||
|
||||
@SafeParcelable.Class(creator = "ConditionalUserPropertyParcelCreator")
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzac extends AbstractSafeParcelable {
|
||||
public static final Parcelable.Creator<zzac> CREATOR = new zzad();
|
||||
|
||||
@SafeParcelable.Field(id = 2)
|
||||
public String zza;
|
||||
|
||||
@SafeParcelable.Field(id = 3)
|
||||
public String zzb;
|
||||
|
||||
@SafeParcelable.Field(id = 4)
|
||||
public zzlk zzc;
|
||||
|
||||
@SafeParcelable.Field(id = 5)
|
||||
public long zzd;
|
||||
|
||||
@SafeParcelable.Field(id = 6)
|
||||
public boolean zze;
|
||||
|
||||
@SafeParcelable.Field(id = 7)
|
||||
public String zzf;
|
||||
|
||||
@SafeParcelable.Field(id = 8)
|
||||
public final zzau zzg;
|
||||
|
||||
@SafeParcelable.Field(id = 9)
|
||||
public long zzh;
|
||||
|
||||
@SafeParcelable.Field(id = 10)
|
||||
public zzau zzi;
|
||||
|
||||
@SafeParcelable.Field(id = 11)
|
||||
public final long zzj;
|
||||
|
||||
@SafeParcelable.Field(id = 12)
|
||||
public final zzau zzk;
|
||||
|
||||
public zzac(zzac zzacVar) {
|
||||
Preconditions.checkNotNull(zzacVar);
|
||||
this.zza = zzacVar.zza;
|
||||
this.zzb = zzacVar.zzb;
|
||||
this.zzc = zzacVar.zzc;
|
||||
this.zzd = zzacVar.zzd;
|
||||
this.zze = zzacVar.zze;
|
||||
this.zzf = zzacVar.zzf;
|
||||
this.zzg = zzacVar.zzg;
|
||||
this.zzh = zzacVar.zzh;
|
||||
this.zzi = zzacVar.zzi;
|
||||
this.zzj = zzacVar.zzj;
|
||||
this.zzk = zzacVar.zzk;
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
public final void writeToParcel(Parcel parcel, int i) {
|
||||
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
|
||||
SafeParcelWriter.writeString(parcel, 2, this.zza, false);
|
||||
SafeParcelWriter.writeString(parcel, 3, this.zzb, false);
|
||||
SafeParcelWriter.writeParcelable(parcel, 4, this.zzc, i, false);
|
||||
SafeParcelWriter.writeLong(parcel, 5, this.zzd);
|
||||
SafeParcelWriter.writeBoolean(parcel, 6, this.zze);
|
||||
SafeParcelWriter.writeString(parcel, 7, this.zzf, false);
|
||||
SafeParcelWriter.writeParcelable(parcel, 8, this.zzg, i, false);
|
||||
SafeParcelWriter.writeLong(parcel, 9, this.zzh);
|
||||
SafeParcelWriter.writeParcelable(parcel, 10, this.zzi, i, false);
|
||||
SafeParcelWriter.writeLong(parcel, 11, this.zzj);
|
||||
SafeParcelWriter.writeParcelable(parcel, 12, this.zzk, i, false);
|
||||
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
|
||||
}
|
||||
|
||||
@SafeParcelable.Constructor
|
||||
public zzac(@SafeParcelable.Param(id = 2) String str, @SafeParcelable.Param(id = 3) String str2, @SafeParcelable.Param(id = 4) zzlk zzlkVar, @SafeParcelable.Param(id = 5) long j4, @SafeParcelable.Param(id = 6) boolean z3, @SafeParcelable.Param(id = 7) String str3, @SafeParcelable.Param(id = 8) zzau zzauVar, @SafeParcelable.Param(id = 9) long j5, @SafeParcelable.Param(id = 10) zzau zzauVar2, @SafeParcelable.Param(id = 11) long j6, @SafeParcelable.Param(id = 12) zzau zzauVar3) {
|
||||
this.zza = str;
|
||||
this.zzb = str2;
|
||||
this.zzc = zzlkVar;
|
||||
this.zzd = j4;
|
||||
this.zze = z3;
|
||||
this.zzf = str3;
|
||||
this.zzg = zzauVar;
|
||||
this.zzh = j5;
|
||||
this.zzi = zzauVar2;
|
||||
this.zzj = j6;
|
||||
this.zzk = zzauVar3;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzad implements Parcelable.Creator {
|
||||
@Override // android.os.Parcelable.Creator
|
||||
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
|
||||
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
|
||||
String str = null;
|
||||
String str2 = null;
|
||||
zzlk zzlkVar = null;
|
||||
String str3 = null;
|
||||
zzau zzauVar = null;
|
||||
zzau zzauVar2 = null;
|
||||
zzau zzauVar3 = null;
|
||||
long j4 = 0;
|
||||
long j5 = 0;
|
||||
long j6 = 0;
|
||||
boolean z3 = false;
|
||||
while (parcel.dataPosition() < validateObjectHeader) {
|
||||
int readHeader = SafeParcelReader.readHeader(parcel);
|
||||
switch (SafeParcelReader.getFieldId(readHeader)) {
|
||||
case 2:
|
||||
str = SafeParcelReader.createString(parcel, readHeader);
|
||||
break;
|
||||
case 3:
|
||||
str2 = SafeParcelReader.createString(parcel, readHeader);
|
||||
break;
|
||||
case 4:
|
||||
zzlkVar = (zzlk) SafeParcelReader.createParcelable(parcel, readHeader, zzlk.CREATOR);
|
||||
break;
|
||||
case 5:
|
||||
j4 = SafeParcelReader.readLong(parcel, readHeader);
|
||||
break;
|
||||
case 6:
|
||||
z3 = SafeParcelReader.readBoolean(parcel, readHeader);
|
||||
break;
|
||||
case 7:
|
||||
str3 = SafeParcelReader.createString(parcel, readHeader);
|
||||
break;
|
||||
case 8:
|
||||
zzauVar = (zzau) SafeParcelReader.createParcelable(parcel, readHeader, zzau.CREATOR);
|
||||
break;
|
||||
case 9:
|
||||
j5 = SafeParcelReader.readLong(parcel, readHeader);
|
||||
break;
|
||||
case 10:
|
||||
zzauVar2 = (zzau) SafeParcelReader.createParcelable(parcel, readHeader, zzau.CREATOR);
|
||||
break;
|
||||
case 11:
|
||||
j6 = SafeParcelReader.readLong(parcel, readHeader);
|
||||
break;
|
||||
case 12:
|
||||
zzauVar3 = (zzau) SafeParcelReader.createParcelable(parcel, readHeader, zzau.CREATOR);
|
||||
break;
|
||||
default:
|
||||
SafeParcelReader.skipUnknownField(parcel, readHeader);
|
||||
break;
|
||||
}
|
||||
}
|
||||
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
|
||||
return new zzac(str, str2, zzlkVar, j4, z3, str3, zzauVar, j5, zzauVar2, j6, zzauVar3);
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable.Creator
|
||||
public final /* synthetic */ Object[] newArray(int i) {
|
||||
return new zzac[i];
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzaf {
|
||||
String zza(String str, String str2);
|
||||
}
|
||||
@@ -0,0 +1,298 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import C.w;
|
||||
import android.content.pm.ApplicationInfo;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.os.Bundle;
|
||||
import android.text.TextUtils;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import com.google.android.gms.common.util.ProcessUtils;
|
||||
import com.google.android.gms.common.wrappers.Wrappers;
|
||||
import com.google.firebase.messaging.ServiceStarter;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import org.checkerframework.checker.nullness.qual.EnsuresNonNull;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzag extends zzgw {
|
||||
private Boolean zza;
|
||||
private zzaf zzb;
|
||||
private Boolean zzc;
|
||||
|
||||
public zzag(zzgd zzgdVar) {
|
||||
super(zzgdVar);
|
||||
this.zzb = new zzaf() { // from class: com.google.android.gms.measurement.internal.zzae
|
||||
@Override // com.google.android.gms.measurement.internal.zzaf
|
||||
public final String zza(String str, String str2) {
|
||||
return null;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
public static final long zzA() {
|
||||
return ((Long) zzeg.zzD.zza(null)).longValue();
|
||||
}
|
||||
|
||||
private final String zzB(String str, String str2) {
|
||||
try {
|
||||
String str3 = (String) Class.forName("android.os.SystemProperties").getMethod("get", String.class, String.class).invoke(null, str, "");
|
||||
Preconditions.checkNotNull(str3);
|
||||
return str3;
|
||||
} catch (ClassNotFoundException e4) {
|
||||
this.zzt.zzaA().zzd().zzb("Could not find SystemProperties class", e4);
|
||||
return "";
|
||||
} catch (IllegalAccessException e5) {
|
||||
this.zzt.zzaA().zzd().zzb("Could not access SystemProperties.get()", e5);
|
||||
return "";
|
||||
} catch (NoSuchMethodException e6) {
|
||||
this.zzt.zzaA().zzd().zzb("Could not find SystemProperties.get() method", e6);
|
||||
return "";
|
||||
} catch (InvocationTargetException e7) {
|
||||
this.zzt.zzaA().zzd().zzb("SystemProperties.get() threw an exception", e7);
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
public static final long zzz() {
|
||||
return ((Long) zzeg.zzd.zza(null)).longValue();
|
||||
}
|
||||
|
||||
public final double zza(String str, zzef zzefVar) {
|
||||
if (str == null) {
|
||||
return ((Double) zzefVar.zza(null)).doubleValue();
|
||||
}
|
||||
String zza = this.zzb.zza(str, zzefVar.zzb());
|
||||
if (TextUtils.isEmpty(zza)) {
|
||||
return ((Double) zzefVar.zza(null)).doubleValue();
|
||||
}
|
||||
try {
|
||||
return ((Double) zzefVar.zza(Double.valueOf(Double.parseDouble(zza)))).doubleValue();
|
||||
} catch (NumberFormatException unused) {
|
||||
return ((Double) zzefVar.zza(null)).doubleValue();
|
||||
}
|
||||
}
|
||||
|
||||
public final int zzb(String str) {
|
||||
return zzf(str, zzeg.zzH, ServiceStarter.ERROR_UNKNOWN, 2000);
|
||||
}
|
||||
|
||||
public final int zzc() {
|
||||
return this.zzt.zzv().zzai(201500000, true) ? 100 : 25;
|
||||
}
|
||||
|
||||
public final int zzd(String str) {
|
||||
return zzf(str, zzeg.zzI, 25, 100);
|
||||
}
|
||||
|
||||
public final int zze(String str, zzef zzefVar) {
|
||||
if (str == null) {
|
||||
return ((Integer) zzefVar.zza(null)).intValue();
|
||||
}
|
||||
String zza = this.zzb.zza(str, zzefVar.zzb());
|
||||
if (TextUtils.isEmpty(zza)) {
|
||||
return ((Integer) zzefVar.zza(null)).intValue();
|
||||
}
|
||||
try {
|
||||
return ((Integer) zzefVar.zza(Integer.valueOf(Integer.parseInt(zza)))).intValue();
|
||||
} catch (NumberFormatException unused) {
|
||||
return ((Integer) zzefVar.zza(null)).intValue();
|
||||
}
|
||||
}
|
||||
|
||||
public final int zzf(String str, zzef zzefVar, int i, int i4) {
|
||||
return Math.max(Math.min(zze(str, zzefVar), i4), i);
|
||||
}
|
||||
|
||||
public final long zzh() {
|
||||
this.zzt.zzay();
|
||||
return 79000L;
|
||||
}
|
||||
|
||||
public final long zzi(String str, zzef zzefVar) {
|
||||
if (str == null) {
|
||||
return ((Long) zzefVar.zza(null)).longValue();
|
||||
}
|
||||
String zza = this.zzb.zza(str, zzefVar.zzb());
|
||||
if (TextUtils.isEmpty(zza)) {
|
||||
return ((Long) zzefVar.zza(null)).longValue();
|
||||
}
|
||||
try {
|
||||
return ((Long) zzefVar.zza(Long.valueOf(Long.parseLong(zza)))).longValue();
|
||||
} catch (NumberFormatException unused) {
|
||||
return ((Long) zzefVar.zza(null)).longValue();
|
||||
}
|
||||
}
|
||||
|
||||
public final Bundle zzj() {
|
||||
try {
|
||||
if (this.zzt.zzaw().getPackageManager() == null) {
|
||||
this.zzt.zzaA().zzd().zza("Failed to load metadata: PackageManager is null");
|
||||
return null;
|
||||
}
|
||||
ApplicationInfo applicationInfo = Wrappers.packageManager(this.zzt.zzaw()).getApplicationInfo(this.zzt.zzaw().getPackageName(), 128);
|
||||
if (applicationInfo != null) {
|
||||
return applicationInfo.metaData;
|
||||
}
|
||||
this.zzt.zzaA().zzd().zza("Failed to load metadata: ApplicationInfo is null");
|
||||
return null;
|
||||
} catch (PackageManager.NameNotFoundException e4) {
|
||||
this.zzt.zzaA().zzd().zzb("Failed to load metadata: Package name not found", e4);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public final Boolean zzk(String str) {
|
||||
Preconditions.checkNotEmpty(str);
|
||||
Bundle zzj = zzj();
|
||||
if (zzj == null) {
|
||||
w.v(this.zzt, "Failed to load metadata: Metadata bundle is null");
|
||||
return null;
|
||||
}
|
||||
if (zzj.containsKey(str)) {
|
||||
return Boolean.valueOf(zzj.getBoolean(str));
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public final String zzl() {
|
||||
return zzB("debug.firebase.analytics.app", "");
|
||||
}
|
||||
|
||||
public final String zzm() {
|
||||
return zzB("debug.deferred.deeplink", "");
|
||||
}
|
||||
|
||||
public final String zzn() {
|
||||
this.zzt.zzay();
|
||||
return "FA";
|
||||
}
|
||||
|
||||
public final String zzo(String str, zzef zzefVar) {
|
||||
return str == null ? (String) zzefVar.zza(null) : (String) zzefVar.zza(this.zzb.zza(str, zzefVar.zzb()));
|
||||
}
|
||||
|
||||
/* JADX WARN: Removed duplicated region for block: B:8:0x0026 A[EXC_TOP_SPLITTER, SYNTHETIC] */
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final java.util.List zzp(java.lang.String r4) {
|
||||
/*
|
||||
r3 = this;
|
||||
java.lang.String r4 = "analytics.safelisted_events"
|
||||
com.google.android.gms.common.internal.Preconditions.checkNotEmpty(r4)
|
||||
android.os.Bundle r0 = r3.zzj()
|
||||
r1 = 0
|
||||
if (r0 != 0) goto L15
|
||||
com.google.android.gms.measurement.internal.zzgd r4 = r3.zzt
|
||||
java.lang.String r0 = "Failed to load metadata: Metadata bundle is null"
|
||||
C.w.v(r4, r0)
|
||||
L13:
|
||||
r4 = r1
|
||||
goto L24
|
||||
L15:
|
||||
boolean r2 = r0.containsKey(r4)
|
||||
if (r2 != 0) goto L1c
|
||||
goto L13
|
||||
L1c:
|
||||
int r4 = r0.getInt(r4)
|
||||
java.lang.Integer r4 = java.lang.Integer.valueOf(r4)
|
||||
L24:
|
||||
if (r4 == 0) goto L50
|
||||
com.google.android.gms.measurement.internal.zzgd r0 = r3.zzt // Catch: android.content.res.Resources.NotFoundException -> L40
|
||||
android.content.Context r0 = r0.zzaw() // Catch: android.content.res.Resources.NotFoundException -> L40
|
||||
android.content.res.Resources r0 = r0.getResources() // Catch: android.content.res.Resources.NotFoundException -> L40
|
||||
int r4 = r4.intValue() // Catch: android.content.res.Resources.NotFoundException -> L40
|
||||
java.lang.String[] r4 = r0.getStringArray(r4) // Catch: android.content.res.Resources.NotFoundException -> L40
|
||||
if (r4 != 0) goto L3b
|
||||
return r1
|
||||
L3b:
|
||||
java.util.List r3 = java.util.Arrays.asList(r4) // Catch: android.content.res.Resources.NotFoundException -> L40
|
||||
return r3
|
||||
L40:
|
||||
r4 = move-exception
|
||||
com.google.android.gms.measurement.internal.zzgd r3 = r3.zzt
|
||||
com.google.android.gms.measurement.internal.zzet r3 = r3.zzaA()
|
||||
com.google.android.gms.measurement.internal.zzer r3 = r3.zzd()
|
||||
java.lang.String r0 = "Failed to load string array from metadata: resource not found"
|
||||
r3.zzb(r0, r4)
|
||||
L50:
|
||||
return r1
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzag.zzp(java.lang.String):java.util.List");
|
||||
}
|
||||
|
||||
public final void zzq(zzaf zzafVar) {
|
||||
this.zzb = zzafVar;
|
||||
}
|
||||
|
||||
public final boolean zzr() {
|
||||
Boolean zzk = zzk("google_analytics_adid_collection_enabled");
|
||||
return zzk == null || zzk.booleanValue();
|
||||
}
|
||||
|
||||
public final boolean zzs(String str, zzef zzefVar) {
|
||||
if (str == null) {
|
||||
return ((Boolean) zzefVar.zza(null)).booleanValue();
|
||||
}
|
||||
String zza = this.zzb.zza(str, zzefVar.zzb());
|
||||
return TextUtils.isEmpty(zza) ? ((Boolean) zzefVar.zza(null)).booleanValue() : ((Boolean) zzefVar.zza(Boolean.valueOf("1".equals(zza)))).booleanValue();
|
||||
}
|
||||
|
||||
public final boolean zzt(String str) {
|
||||
return "1".equals(this.zzb.zza(str, "gaia_collection_enabled"));
|
||||
}
|
||||
|
||||
public final boolean zzu() {
|
||||
Boolean zzk = zzk("google_analytics_automatic_screen_reporting_enabled");
|
||||
return zzk == null || zzk.booleanValue();
|
||||
}
|
||||
|
||||
public final boolean zzv() {
|
||||
this.zzt.zzay();
|
||||
Boolean zzk = zzk("firebase_analytics_collection_deactivated");
|
||||
return zzk != null && zzk.booleanValue();
|
||||
}
|
||||
|
||||
public final boolean zzw(String str) {
|
||||
return "1".equals(this.zzb.zza(str, "measurement.event_sampling_enabled"));
|
||||
}
|
||||
|
||||
public final boolean zzx() {
|
||||
if (this.zza == null) {
|
||||
Boolean zzk = zzk("app_measurement_lite");
|
||||
this.zza = zzk;
|
||||
if (zzk == null) {
|
||||
this.zza = Boolean.FALSE;
|
||||
}
|
||||
}
|
||||
return this.zza.booleanValue() || !this.zzt.zzN();
|
||||
}
|
||||
|
||||
@EnsuresNonNull({"this.isMainProcess"})
|
||||
public final boolean zzy() {
|
||||
if (this.zzc == null) {
|
||||
synchronized (this) {
|
||||
try {
|
||||
if (this.zzc == null) {
|
||||
ApplicationInfo applicationInfo = this.zzt.zzaw().getApplicationInfo();
|
||||
String myProcessName = ProcessUtils.getMyProcessName();
|
||||
if (applicationInfo != null) {
|
||||
String str = applicationInfo.processName;
|
||||
boolean z3 = false;
|
||||
if (str != null && str.equals(myProcessName)) {
|
||||
z3 = true;
|
||||
}
|
||||
this.zzc = Boolean.valueOf(z3);
|
||||
}
|
||||
if (this.zzc == null) {
|
||||
this.zzc = Boolean.TRUE;
|
||||
this.zzt.zzaA().zzd().zza("My process not in the list of running processes");
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
}
|
||||
}
|
||||
}
|
||||
return this.zzc.booleanValue();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzah {
|
||||
final byte[] zza;
|
||||
final String zzb;
|
||||
final String zzc;
|
||||
|
||||
public zzah(byte[] bArr, String str, String str2) {
|
||||
this.zza = bArr;
|
||||
this.zzb = str;
|
||||
this.zzc = str2;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzai {
|
||||
long zza;
|
||||
long zzb;
|
||||
long zzc;
|
||||
long zzd;
|
||||
long zze;
|
||||
}
|
||||
@@ -0,0 +1,107 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import C.w;
|
||||
import android.content.Context;
|
||||
import android.database.sqlite.SQLiteDatabase;
|
||||
import android.database.sqlite.SQLiteException;
|
||||
import android.database.sqlite.SQLiteOpenHelper;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzaj extends SQLiteOpenHelper {
|
||||
final /* synthetic */ zzak zza;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public zzaj(zzak zzakVar, Context context, String str) {
|
||||
super(context, "google_app_measurement.db", (SQLiteDatabase.CursorFactory) null, 1);
|
||||
this.zza = zzakVar;
|
||||
}
|
||||
|
||||
@Override // android.database.sqlite.SQLiteOpenHelper
|
||||
public final SQLiteDatabase getWritableDatabase() {
|
||||
zzkq zzkqVar;
|
||||
zzkq zzkqVar2;
|
||||
zzkq zzkqVar3;
|
||||
zzak zzakVar = this.zza;
|
||||
zzkqVar = zzakVar.zzk;
|
||||
zzakVar.zzt.zzf();
|
||||
if (!zzkqVar.zzc(3600000L)) {
|
||||
throw new SQLiteException("Database open failed");
|
||||
}
|
||||
try {
|
||||
return super.getWritableDatabase();
|
||||
} catch (SQLiteException unused) {
|
||||
zzkqVar2 = this.zza.zzk;
|
||||
zzkqVar2.zzb();
|
||||
w.v(this.zza.zzt, "Opening the database failed, dropping and recreating it");
|
||||
this.zza.zzt.zzf();
|
||||
if (!this.zza.zzt.zzaw().getDatabasePath("google_app_measurement.db").delete()) {
|
||||
this.zza.zzt.zzaA().zzd().zzb("Failed to delete corrupted db file", "google_app_measurement.db");
|
||||
}
|
||||
try {
|
||||
SQLiteDatabase writableDatabase = super.getWritableDatabase();
|
||||
zzkqVar3 = this.zza.zzk;
|
||||
zzkqVar3.zza();
|
||||
return writableDatabase;
|
||||
} catch (SQLiteException e4) {
|
||||
this.zza.zzt.zzaA().zzd().zzb("Failed to open freshly created database", e4);
|
||||
throw e4;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.database.sqlite.SQLiteOpenHelper
|
||||
public final void onCreate(SQLiteDatabase sQLiteDatabase) {
|
||||
zzal.zzb(this.zza.zzt.zzaA(), sQLiteDatabase);
|
||||
}
|
||||
|
||||
@Override // android.database.sqlite.SQLiteOpenHelper
|
||||
public final void onDowngrade(SQLiteDatabase sQLiteDatabase, int i, int i4) {
|
||||
}
|
||||
|
||||
@Override // android.database.sqlite.SQLiteOpenHelper
|
||||
public final void onOpen(SQLiteDatabase sQLiteDatabase) {
|
||||
String[] strArr;
|
||||
String[] strArr2;
|
||||
String[] strArr3;
|
||||
String[] strArr4;
|
||||
String[] strArr5;
|
||||
String[] strArr6;
|
||||
String[] strArr7;
|
||||
String[] strArr8;
|
||||
zzet zzaA = this.zza.zzt.zzaA();
|
||||
strArr = zzak.zza;
|
||||
zzal.zza(zzaA, sQLiteDatabase, "events", "CREATE TABLE IF NOT EXISTS events ( app_id TEXT NOT NULL, name TEXT NOT NULL, lifetime_count INTEGER NOT NULL, current_bundle_count INTEGER NOT NULL, last_fire_timestamp INTEGER NOT NULL, PRIMARY KEY (app_id, name)) ;", "app_id,name,lifetime_count,current_bundle_count,last_fire_timestamp", strArr);
|
||||
zzal.zza(this.zza.zzt.zzaA(), sQLiteDatabase, "conditional_properties", "CREATE TABLE IF NOT EXISTS conditional_properties ( app_id TEXT NOT NULL, origin TEXT NOT NULL, name TEXT NOT NULL, value BLOB NOT NULL, creation_timestamp INTEGER NOT NULL, active INTEGER NOT NULL, trigger_event_name TEXT, trigger_timeout INTEGER NOT NULL, timed_out_event BLOB,triggered_event BLOB, triggered_timestamp INTEGER NOT NULL, time_to_live INTEGER NOT NULL, expired_event BLOB, PRIMARY KEY (app_id, name)) ;", "app_id,origin,name,value,active,trigger_event_name,trigger_timeout,creation_timestamp,timed_out_event,triggered_event,triggered_timestamp,time_to_live,expired_event", null);
|
||||
zzet zzaA2 = this.zza.zzt.zzaA();
|
||||
strArr2 = zzak.zzb;
|
||||
zzal.zza(zzaA2, sQLiteDatabase, "user_attributes", "CREATE TABLE IF NOT EXISTS user_attributes ( app_id TEXT NOT NULL, name TEXT NOT NULL, set_timestamp INTEGER NOT NULL, value BLOB NOT NULL, PRIMARY KEY (app_id, name)) ;", "app_id,name,set_timestamp,value", strArr2);
|
||||
zzet zzaA3 = this.zza.zzt.zzaA();
|
||||
strArr3 = zzak.zzc;
|
||||
zzal.zza(zzaA3, sQLiteDatabase, "apps", "CREATE TABLE IF NOT EXISTS apps ( app_id TEXT NOT NULL, app_instance_id TEXT, gmp_app_id TEXT, resettable_device_id_hash TEXT, last_bundle_index INTEGER NOT NULL, last_bundle_end_timestamp INTEGER NOT NULL, PRIMARY KEY (app_id)) ;", "app_id,app_instance_id,gmp_app_id,resettable_device_id_hash,last_bundle_index,last_bundle_end_timestamp", strArr3);
|
||||
zzet zzaA4 = this.zza.zzt.zzaA();
|
||||
strArr4 = zzak.zze;
|
||||
zzal.zza(zzaA4, sQLiteDatabase, "queue", "CREATE TABLE IF NOT EXISTS queue ( app_id TEXT NOT NULL, bundle_end_timestamp INTEGER NOT NULL, data BLOB NOT NULL);", "app_id,bundle_end_timestamp,data", strArr4);
|
||||
zzal.zza(this.zza.zzt.zzaA(), sQLiteDatabase, "raw_events_metadata", "CREATE TABLE IF NOT EXISTS raw_events_metadata ( app_id TEXT NOT NULL, metadata_fingerprint INTEGER NOT NULL, metadata BLOB NOT NULL, PRIMARY KEY (app_id, metadata_fingerprint));", "app_id,metadata_fingerprint,metadata", null);
|
||||
zzet zzaA5 = this.zza.zzt.zzaA();
|
||||
strArr5 = zzak.zzd;
|
||||
zzal.zza(zzaA5, sQLiteDatabase, "raw_events", "CREATE TABLE IF NOT EXISTS raw_events ( app_id TEXT NOT NULL, name TEXT NOT NULL, timestamp INTEGER NOT NULL, metadata_fingerprint INTEGER NOT NULL, data BLOB NOT NULL);", "app_id,name,timestamp,metadata_fingerprint,data", strArr5);
|
||||
zzet zzaA6 = this.zza.zzt.zzaA();
|
||||
strArr6 = zzak.zzg;
|
||||
zzal.zza(zzaA6, sQLiteDatabase, "event_filters", "CREATE TABLE IF NOT EXISTS event_filters ( app_id TEXT NOT NULL, audience_id INTEGER NOT NULL, filter_id INTEGER NOT NULL, event_name TEXT NOT NULL, data BLOB NOT NULL, PRIMARY KEY (app_id, event_name, audience_id, filter_id));", "app_id,audience_id,filter_id,event_name,data", strArr6);
|
||||
zzet zzaA7 = this.zza.zzt.zzaA();
|
||||
strArr7 = zzak.zzh;
|
||||
zzal.zza(zzaA7, sQLiteDatabase, "property_filters", "CREATE TABLE IF NOT EXISTS property_filters ( app_id TEXT NOT NULL, audience_id INTEGER NOT NULL, filter_id INTEGER NOT NULL, property_name TEXT NOT NULL, data BLOB NOT NULL, PRIMARY KEY (app_id, property_name, audience_id, filter_id));", "app_id,audience_id,filter_id,property_name,data", strArr7);
|
||||
zzal.zza(this.zza.zzt.zzaA(), sQLiteDatabase, "audience_filter_values", "CREATE TABLE IF NOT EXISTS audience_filter_values ( app_id TEXT NOT NULL, audience_id INTEGER NOT NULL, current_results BLOB, PRIMARY KEY (app_id, audience_id));", "app_id,audience_id,current_results", null);
|
||||
zzet zzaA8 = this.zza.zzt.zzaA();
|
||||
strArr8 = zzak.zzi;
|
||||
zzal.zza(zzaA8, sQLiteDatabase, "app2", "CREATE TABLE IF NOT EXISTS app2 ( app_id TEXT NOT NULL, first_open_count INTEGER NOT NULL, PRIMARY KEY (app_id));", "app_id,first_open_count", strArr8);
|
||||
zzal.zza(this.zza.zzt.zzaA(), sQLiteDatabase, "main_event_params", "CREATE TABLE IF NOT EXISTS main_event_params ( app_id TEXT NOT NULL, event_id TEXT NOT NULL, children_to_process INTEGER NOT NULL, main_event BLOB NOT NULL, PRIMARY KEY (app_id));", "app_id,event_id,children_to_process,main_event", null);
|
||||
zzal.zza(this.zza.zzt.zzaA(), sQLiteDatabase, "default_event_params", "CREATE TABLE IF NOT EXISTS default_event_params ( app_id TEXT NOT NULL, parameters BLOB NOT NULL, PRIMARY KEY (app_id));", "app_id,parameters", null);
|
||||
zzal.zza(this.zza.zzt.zzaA(), sQLiteDatabase, "consent_settings", "CREATE TABLE IF NOT EXISTS consent_settings ( app_id TEXT NOT NULL, consent_state TEXT NOT NULL, PRIMARY KEY (app_id));", "app_id,consent_state", null);
|
||||
}
|
||||
|
||||
@Override // android.database.sqlite.SQLiteOpenHelper
|
||||
public final void onUpgrade(SQLiteDatabase sQLiteDatabase, int i, int i4) {
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,45 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import android.database.sqlite.SQLiteDatabase;
|
||||
import java.io.File;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzal {
|
||||
/* JADX WARN: Code restructure failed: missing block: B:9:0x0024, code lost:
|
||||
|
||||
if (r0 == false) goto L21;
|
||||
*/
|
||||
/* JADX WARN: Removed duplicated region for block: B:58:0x00e2 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:60:? A[SYNTHETIC] */
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public static void zza(com.google.android.gms.measurement.internal.zzet r12, android.database.sqlite.SQLiteDatabase r13, java.lang.String r14, java.lang.String r15, java.lang.String r16, java.lang.String[] r17) throws android.database.sqlite.SQLiteException {
|
||||
/*
|
||||
Method dump skipped, instructions count: 238
|
||||
To view this dump add '--comments-level debug' option
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzal.zza(com.google.android.gms.measurement.internal.zzet, android.database.sqlite.SQLiteDatabase, java.lang.String, java.lang.String, java.lang.String, java.lang.String[]):void");
|
||||
}
|
||||
|
||||
public static void zzb(zzet zzetVar, SQLiteDatabase sQLiteDatabase) {
|
||||
if (zzetVar == null) {
|
||||
throw new IllegalArgumentException("Monitor must not be null");
|
||||
}
|
||||
File file = new File(sQLiteDatabase.getPath());
|
||||
if (!file.setReadable(false, false)) {
|
||||
zzetVar.zzk().zza("Failed to turn off database read permission");
|
||||
}
|
||||
if (!file.setWritable(false, false)) {
|
||||
zzetVar.zzk().zza("Failed to turn off database write permission");
|
||||
}
|
||||
if (!file.setReadable(true, true)) {
|
||||
zzetVar.zzk().zza("Failed to turn on database read permission for owner");
|
||||
}
|
||||
if (file.setWritable(true, true)) {
|
||||
return;
|
||||
}
|
||||
zzetVar.zzk().zza("Failed to turn on database write permission for owner");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzam implements Runnable {
|
||||
final /* synthetic */ zzgy zza;
|
||||
final /* synthetic */ zzan zzb;
|
||||
|
||||
public zzam(zzan zzanVar, zzgy zzgyVar) {
|
||||
this.zzb = zzanVar;
|
||||
this.zza = zzgyVar;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
this.zza.zzay();
|
||||
if (zzab.zza()) {
|
||||
this.zza.zzaB().zzp(this);
|
||||
return;
|
||||
}
|
||||
boolean zze = this.zzb.zze();
|
||||
this.zzb.zzd = 0L;
|
||||
if (zze) {
|
||||
this.zzb.zzc();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import android.os.Handler;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzan {
|
||||
private static volatile Handler zza;
|
||||
private final zzgy zzb;
|
||||
private final Runnable zzc;
|
||||
private volatile long zzd;
|
||||
|
||||
public zzan(zzgy zzgyVar) {
|
||||
Preconditions.checkNotNull(zzgyVar);
|
||||
this.zzb = zzgyVar;
|
||||
this.zzc = new zzam(this, zzgyVar);
|
||||
}
|
||||
|
||||
private final Handler zzf() {
|
||||
Handler handler;
|
||||
if (zza != null) {
|
||||
return zza;
|
||||
}
|
||||
synchronized (zzan.class) {
|
||||
try {
|
||||
if (zza == null) {
|
||||
zza = new com.google.android.gms.internal.measurement.zzby(this.zzb.zzaw().getMainLooper());
|
||||
}
|
||||
handler = zza;
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
return handler;
|
||||
}
|
||||
|
||||
public final void zzb() {
|
||||
this.zzd = 0L;
|
||||
zzf().removeCallbacks(this.zzc);
|
||||
}
|
||||
|
||||
public abstract void zzc();
|
||||
|
||||
public final void zzd(long j4) {
|
||||
zzb();
|
||||
if (j4 >= 0) {
|
||||
this.zzd = this.zzb.zzax().currentTimeMillis();
|
||||
if (zzf().postDelayed(this.zzc, j4)) {
|
||||
return;
|
||||
}
|
||||
this.zzb.zzaA().zzd().zzb("Failed to schedule delayed post. time", Long.valueOf(j4));
|
||||
}
|
||||
}
|
||||
|
||||
public final boolean zze() {
|
||||
return this.zzd != 0;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import D.h;
|
||||
import android.accounts.Account;
|
||||
import android.accounts.AccountManager;
|
||||
import android.accounts.AuthenticatorException;
|
||||
import android.accounts.OperationCanceledException;
|
||||
import com.google.android.gms.common.internal.AccountType;
|
||||
import java.io.IOException;
|
||||
import java.util.Calendar;
|
||||
import java.util.Locale;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzao extends zzgx {
|
||||
private long zza;
|
||||
private String zzb;
|
||||
private AccountManager zzc;
|
||||
private Boolean zzd;
|
||||
private long zze;
|
||||
|
||||
public zzao(zzgd zzgdVar) {
|
||||
super(zzgdVar);
|
||||
}
|
||||
|
||||
public final long zza() {
|
||||
zzg();
|
||||
return this.zze;
|
||||
}
|
||||
|
||||
public final long zzb() {
|
||||
zzv();
|
||||
return this.zza;
|
||||
}
|
||||
|
||||
public final String zzc() {
|
||||
zzv();
|
||||
return this.zzb;
|
||||
}
|
||||
|
||||
public final void zzd() {
|
||||
zzg();
|
||||
this.zzd = null;
|
||||
this.zze = 0L;
|
||||
}
|
||||
|
||||
public final boolean zze() {
|
||||
Account[] result;
|
||||
zzg();
|
||||
long currentTimeMillis = this.zzt.zzax().currentTimeMillis();
|
||||
if (currentTimeMillis - this.zze > 86400000) {
|
||||
this.zzd = null;
|
||||
}
|
||||
Boolean bool = this.zzd;
|
||||
if (bool != null) {
|
||||
return bool.booleanValue();
|
||||
}
|
||||
if (h.checkSelfPermission(this.zzt.zzaw(), "android.permission.GET_ACCOUNTS") != 0) {
|
||||
this.zzt.zzaA().zzm().zza("Permission error checking for dasher/unicorn accounts");
|
||||
this.zze = currentTimeMillis;
|
||||
this.zzd = Boolean.FALSE;
|
||||
return false;
|
||||
}
|
||||
if (this.zzc == null) {
|
||||
this.zzc = AccountManager.get(this.zzt.zzaw());
|
||||
}
|
||||
try {
|
||||
result = this.zzc.getAccountsByTypeAndFeatures(AccountType.GOOGLE, new String[]{"service_HOSTED"}, null, null).getResult();
|
||||
} catch (AuthenticatorException | OperationCanceledException | IOException e4) {
|
||||
this.zzt.zzaA().zzh().zzb("Exception checking account types", e4);
|
||||
}
|
||||
if (result != null && result.length > 0) {
|
||||
this.zzd = Boolean.TRUE;
|
||||
this.zze = currentTimeMillis;
|
||||
return true;
|
||||
}
|
||||
Account[] result2 = this.zzc.getAccountsByTypeAndFeatures(AccountType.GOOGLE, new String[]{"service_uca"}, null, null).getResult();
|
||||
if (result2 != null && result2.length > 0) {
|
||||
this.zzd = Boolean.TRUE;
|
||||
this.zze = currentTimeMillis;
|
||||
return true;
|
||||
}
|
||||
this.zze = currentTimeMillis;
|
||||
this.zzd = Boolean.FALSE;
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzgx
|
||||
public final boolean zzf() {
|
||||
Calendar calendar = Calendar.getInstance();
|
||||
this.zza = TimeUnit.MINUTES.convert(calendar.get(16) + calendar.get(15), TimeUnit.MILLISECONDS);
|
||||
Locale locale = Locale.getDefault();
|
||||
String language = locale.getLanguage();
|
||||
Locale locale2 = Locale.ENGLISH;
|
||||
this.zzb = language.toLowerCase(locale2) + "-" + locale.getCountry().toLowerCase(locale2);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import C.w;
|
||||
import android.os.Bundle;
|
||||
import android.text.TextUtils;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import java.util.Iterator;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzap {
|
||||
final String zza;
|
||||
final String zzb;
|
||||
final String zzc;
|
||||
final long zzd;
|
||||
final long zze;
|
||||
final zzas zzf;
|
||||
|
||||
public zzap(zzgd zzgdVar, String str, String str2, String str3, long j4, long j5, Bundle bundle) {
|
||||
zzas zzasVar;
|
||||
Preconditions.checkNotEmpty(str2);
|
||||
Preconditions.checkNotEmpty(str3);
|
||||
this.zza = str2;
|
||||
this.zzb = str3;
|
||||
this.zzc = true == TextUtils.isEmpty(str) ? null : str;
|
||||
this.zzd = j4;
|
||||
this.zze = j5;
|
||||
if (j5 != 0 && j5 > j4) {
|
||||
zzgdVar.zzaA().zzk().zzb("Event created with reverse previous/current timestamps. appId", zzet.zzn(str2));
|
||||
}
|
||||
if (bundle != null && !bundle.isEmpty()) {
|
||||
Bundle bundle2 = new Bundle(bundle);
|
||||
Iterator<String> it = bundle2.keySet().iterator();
|
||||
while (it.hasNext()) {
|
||||
String next = it.next();
|
||||
if (next == null) {
|
||||
zzgdVar.zzaA().zzd().zza("Param name can't be null");
|
||||
it.remove();
|
||||
} else {
|
||||
Object zzA = zzgdVar.zzv().zzA(next, bundle2.get(next));
|
||||
if (zzA == null) {
|
||||
zzgdVar.zzaA().zzk().zzb("Param value can't be null", zzgdVar.zzj().zze(next));
|
||||
it.remove();
|
||||
} else {
|
||||
zzgdVar.zzv().zzP(bundle2, next, zzA);
|
||||
}
|
||||
}
|
||||
}
|
||||
zzasVar = new zzas(bundle2);
|
||||
} else {
|
||||
zzasVar = new zzas(new Bundle());
|
||||
}
|
||||
this.zzf = zzasVar;
|
||||
}
|
||||
|
||||
public final String toString() {
|
||||
String str = this.zza;
|
||||
String str2 = this.zzb;
|
||||
String zzasVar = this.zzf.toString();
|
||||
StringBuilder sb = new StringBuilder("Event{appId='");
|
||||
sb.append(str);
|
||||
sb.append("', name='");
|
||||
sb.append(str2);
|
||||
sb.append("', params=");
|
||||
return w.r(sb, zzasVar, "}");
|
||||
}
|
||||
|
||||
public final zzap zza(zzgd zzgdVar, long j4) {
|
||||
return new zzap(zzgdVar, this.zzc, this.zza, this.zzb, this.zzd, j4, this.zzf);
|
||||
}
|
||||
|
||||
private zzap(zzgd zzgdVar, String str, String str2, String str3, long j4, long j5, zzas zzasVar) {
|
||||
Preconditions.checkNotEmpty(str2);
|
||||
Preconditions.checkNotEmpty(str3);
|
||||
Preconditions.checkNotNull(zzasVar);
|
||||
this.zza = str2;
|
||||
this.zzb = str3;
|
||||
this.zzc = true == TextUtils.isEmpty(str) ? null : str;
|
||||
this.zzd = j4;
|
||||
this.zze = j5;
|
||||
if (j5 != 0 && j5 > j4) {
|
||||
zzgdVar.zzaA().zzk().zzc("Event created with reverse previous/current timestamps. appId, name", zzet.zzn(str2), zzet.zzn(str3));
|
||||
}
|
||||
this.zzf = zzasVar;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzaq {
|
||||
final String zza;
|
||||
final String zzb;
|
||||
final long zzc;
|
||||
final long zzd;
|
||||
final long zze;
|
||||
final long zzf;
|
||||
final long zzg;
|
||||
final Long zzh;
|
||||
final Long zzi;
|
||||
final Long zzj;
|
||||
final Boolean zzk;
|
||||
|
||||
public zzaq(String str, String str2, long j4, long j5, long j6, long j7, long j8, Long l4, Long l5, Long l6, Boolean bool) {
|
||||
Preconditions.checkNotEmpty(str);
|
||||
Preconditions.checkNotEmpty(str2);
|
||||
Preconditions.checkArgument(j4 >= 0);
|
||||
Preconditions.checkArgument(j5 >= 0);
|
||||
Preconditions.checkArgument(j6 >= 0);
|
||||
Preconditions.checkArgument(j8 >= 0);
|
||||
this.zza = str;
|
||||
this.zzb = str2;
|
||||
this.zzc = j4;
|
||||
this.zzd = j5;
|
||||
this.zze = j6;
|
||||
this.zzf = j7;
|
||||
this.zzg = j8;
|
||||
this.zzh = l4;
|
||||
this.zzi = l5;
|
||||
this.zzj = l6;
|
||||
this.zzk = bool;
|
||||
}
|
||||
|
||||
public final zzaq zza(Long l4, Long l5, Boolean bool) {
|
||||
return new zzaq(this.zza, this.zzb, this.zzc, this.zzd, this.zze, this.zzf, this.zzg, this.zzh, l4, l5, bool);
|
||||
}
|
||||
|
||||
public final zzaq zzb(long j4, long j5) {
|
||||
return new zzaq(this.zza, this.zzb, this.zzc, this.zzd, this.zze, this.zzf, j4, Long.valueOf(j5), this.zzi, this.zzj, this.zzk);
|
||||
}
|
||||
|
||||
public final zzaq zzc(long j4) {
|
||||
return new zzaq(this.zza, this.zzb, this.zzc, this.zzd, this.zze, j4, this.zzg, this.zzh, this.zzi, this.zzj, this.zzk);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import android.os.Bundle;
|
||||
import java.util.Iterator;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzar implements Iterator {
|
||||
final Iterator zza;
|
||||
final /* synthetic */ zzas zzb;
|
||||
|
||||
public zzar(zzas zzasVar) {
|
||||
Bundle bundle;
|
||||
this.zzb = zzasVar;
|
||||
bundle = zzasVar.zza;
|
||||
this.zza = bundle.keySet().iterator();
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public final boolean hasNext() {
|
||||
return this.zza.hasNext();
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
public final void remove() {
|
||||
throw new UnsupportedOperationException("Remove not supported");
|
||||
}
|
||||
|
||||
@Override // java.util.Iterator
|
||||
/* renamed from: zza, reason: merged with bridge method [inline-methods] */
|
||||
public final String next() {
|
||||
return (String) this.zza.next();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
|
||||
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
|
||||
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
|
||||
import java.util.Iterator;
|
||||
|
||||
@SafeParcelable.Class(creator = "EventParamsCreator")
|
||||
@SafeParcelable.Reserved({1})
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzas extends AbstractSafeParcelable implements Iterable<String> {
|
||||
public static final Parcelable.Creator<zzas> CREATOR = new zzat();
|
||||
|
||||
@SafeParcelable.Field(getter = "z", id = 2)
|
||||
private final Bundle zza;
|
||||
|
||||
@SafeParcelable.Constructor
|
||||
public zzas(@SafeParcelable.Param(id = 2) Bundle bundle) {
|
||||
this.zza = bundle;
|
||||
}
|
||||
|
||||
@Override // java.lang.Iterable
|
||||
public final Iterator<String> iterator() {
|
||||
return new zzar(this);
|
||||
}
|
||||
|
||||
public final String toString() {
|
||||
return this.zza.toString();
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
public final void writeToParcel(Parcel parcel, int i) {
|
||||
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
|
||||
SafeParcelWriter.writeBundle(parcel, 2, zzc(), false);
|
||||
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
|
||||
}
|
||||
|
||||
public final int zza() {
|
||||
return this.zza.size();
|
||||
}
|
||||
|
||||
public final Bundle zzc() {
|
||||
return new Bundle(this.zza);
|
||||
}
|
||||
|
||||
public final Double zzd(String str) {
|
||||
return Double.valueOf(this.zza.getDouble("value"));
|
||||
}
|
||||
|
||||
public final Long zze(String str) {
|
||||
return Long.valueOf(this.zza.getLong("value"));
|
||||
}
|
||||
|
||||
public final Object zzf(String str) {
|
||||
return this.zza.get(str);
|
||||
}
|
||||
|
||||
public final String zzg(String str) {
|
||||
return this.zza.getString(str);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzat implements Parcelable.Creator {
|
||||
@Override // android.os.Parcelable.Creator
|
||||
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
|
||||
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
|
||||
Bundle bundle = null;
|
||||
while (parcel.dataPosition() < validateObjectHeader) {
|
||||
int readHeader = SafeParcelReader.readHeader(parcel);
|
||||
if (SafeParcelReader.getFieldId(readHeader) != 2) {
|
||||
SafeParcelReader.skipUnknownField(parcel, readHeader);
|
||||
} else {
|
||||
bundle = SafeParcelReader.createBundle(parcel, readHeader);
|
||||
}
|
||||
}
|
||||
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
|
||||
return new zzas(bundle);
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable.Creator
|
||||
public final /* synthetic */ Object[] newArray(int i) {
|
||||
return new zzas[i];
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
|
||||
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
|
||||
|
||||
@SafeParcelable.Class(creator = "EventParcelCreator")
|
||||
@SafeParcelable.Reserved({1})
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzau extends AbstractSafeParcelable {
|
||||
public static final Parcelable.Creator<zzau> CREATOR = new zzav();
|
||||
|
||||
@SafeParcelable.Field(id = 2)
|
||||
public final String zza;
|
||||
|
||||
@SafeParcelable.Field(id = 3)
|
||||
public final zzas zzb;
|
||||
|
||||
@SafeParcelable.Field(id = 4)
|
||||
public final String zzc;
|
||||
|
||||
@SafeParcelable.Field(id = 5)
|
||||
public final long zzd;
|
||||
|
||||
public zzau(zzau zzauVar, long j4) {
|
||||
Preconditions.checkNotNull(zzauVar);
|
||||
this.zza = zzauVar.zza;
|
||||
this.zzb = zzauVar.zzb;
|
||||
this.zzc = zzauVar.zzc;
|
||||
this.zzd = j4;
|
||||
}
|
||||
|
||||
public final String toString() {
|
||||
return "origin=" + this.zzc + ",name=" + this.zza + ",params=" + String.valueOf(this.zzb);
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable
|
||||
public final void writeToParcel(Parcel parcel, int i) {
|
||||
zzav.zza(this, parcel, i);
|
||||
}
|
||||
|
||||
@SafeParcelable.Constructor
|
||||
public zzau(@SafeParcelable.Param(id = 2) String str, @SafeParcelable.Param(id = 3) zzas zzasVar, @SafeParcelable.Param(id = 4) String str2, @SafeParcelable.Param(id = 5) long j4) {
|
||||
this.zza = str;
|
||||
this.zzb = zzasVar;
|
||||
this.zzc = str2;
|
||||
this.zzd = j4;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
|
||||
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzav implements Parcelable.Creator {
|
||||
public static void zza(zzau zzauVar, Parcel parcel, int i) {
|
||||
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
|
||||
SafeParcelWriter.writeString(parcel, 2, zzauVar.zza, false);
|
||||
SafeParcelWriter.writeParcelable(parcel, 3, zzauVar.zzb, i, false);
|
||||
SafeParcelWriter.writeString(parcel, 4, zzauVar.zzc, false);
|
||||
SafeParcelWriter.writeLong(parcel, 5, zzauVar.zzd);
|
||||
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable.Creator
|
||||
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
|
||||
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
|
||||
long j4 = 0;
|
||||
String str = null;
|
||||
zzas zzasVar = null;
|
||||
String str2 = null;
|
||||
while (parcel.dataPosition() < validateObjectHeader) {
|
||||
int readHeader = SafeParcelReader.readHeader(parcel);
|
||||
int fieldId = SafeParcelReader.getFieldId(readHeader);
|
||||
if (fieldId == 2) {
|
||||
str = SafeParcelReader.createString(parcel, readHeader);
|
||||
} else if (fieldId == 3) {
|
||||
zzasVar = (zzas) SafeParcelReader.createParcelable(parcel, readHeader, zzas.CREATOR);
|
||||
} else if (fieldId == 4) {
|
||||
str2 = SafeParcelReader.createString(parcel, readHeader);
|
||||
} else if (fieldId != 5) {
|
||||
SafeParcelReader.skipUnknownField(parcel, readHeader);
|
||||
} else {
|
||||
j4 = SafeParcelReader.readLong(parcel, readHeader);
|
||||
}
|
||||
}
|
||||
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
|
||||
return new zzau(str, zzasVar, str2, j4);
|
||||
}
|
||||
|
||||
@Override // android.os.Parcelable.Creator
|
||||
public final /* synthetic */ Object[] newArray(int i) {
|
||||
return new zzau[i];
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzb implements Runnable {
|
||||
final /* synthetic */ String zza;
|
||||
final /* synthetic */ long zzb;
|
||||
final /* synthetic */ zzd zzc;
|
||||
|
||||
public zzb(zzd zzdVar, String str, long j4) {
|
||||
this.zzc = zzdVar;
|
||||
this.zza = str;
|
||||
this.zzb = j4;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
zzd.zzb(this.zzc, this.zza, this.zzb);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzc implements Runnable {
|
||||
final /* synthetic */ long zza;
|
||||
final /* synthetic */ zzd zzb;
|
||||
|
||||
public zzc(zzd zzdVar, long j4) {
|
||||
this.zzb = zzdVar;
|
||||
this.zza = j4;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
this.zzb.zzj(this.zza);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,144 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import C.w;
|
||||
import android.os.Bundle;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import java.util.Iterator;
|
||||
import java.util.Map;
|
||||
import s.j;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzd extends zze {
|
||||
private final Map zza;
|
||||
private final Map zzb;
|
||||
private long zzc;
|
||||
|
||||
/* JADX WARN: Type inference failed for: r2v1, types: [java.util.Map, s.j] */
|
||||
/* JADX WARN: Type inference failed for: r2v2, types: [java.util.Map, s.j] */
|
||||
public zzd(zzgd zzgdVar) {
|
||||
super(zzgdVar);
|
||||
this.zzb = new j(0);
|
||||
this.zza = new j(0);
|
||||
}
|
||||
|
||||
public static /* synthetic */ void zza(zzd zzdVar, String str, long j4) {
|
||||
zzdVar.zzg();
|
||||
Preconditions.checkNotEmpty(str);
|
||||
if (zzdVar.zzb.isEmpty()) {
|
||||
zzdVar.zzc = j4;
|
||||
}
|
||||
Integer num = (Integer) zzdVar.zzb.get(str);
|
||||
if (num != null) {
|
||||
zzdVar.zzb.put(str, Integer.valueOf(num.intValue() + 1));
|
||||
} else if (zzdVar.zzb.size() >= 100) {
|
||||
w.A(zzdVar.zzt, "Too many ads visible");
|
||||
} else {
|
||||
zzdVar.zzb.put(str, 1);
|
||||
zzdVar.zza.put(str, Long.valueOf(j4));
|
||||
}
|
||||
}
|
||||
|
||||
public static /* synthetic */ void zzb(zzd zzdVar, String str, long j4) {
|
||||
zzdVar.zzg();
|
||||
Preconditions.checkNotEmpty(str);
|
||||
Integer num = (Integer) zzdVar.zzb.get(str);
|
||||
if (num == null) {
|
||||
zzdVar.zzt.zzaA().zzd().zzb("Call to endAdUnitExposure for unknown ad unit id", str);
|
||||
return;
|
||||
}
|
||||
zzir zzj = zzdVar.zzt.zzs().zzj(false);
|
||||
int intValue = num.intValue() - 1;
|
||||
if (intValue != 0) {
|
||||
zzdVar.zzb.put(str, Integer.valueOf(intValue));
|
||||
return;
|
||||
}
|
||||
zzdVar.zzb.remove(str);
|
||||
Long l4 = (Long) zzdVar.zza.get(str);
|
||||
if (l4 == null) {
|
||||
w.v(zzdVar.zzt, "First ad unit exposure time was never set");
|
||||
} else {
|
||||
long longValue = j4 - l4.longValue();
|
||||
zzdVar.zza.remove(str);
|
||||
zzdVar.zzi(str, longValue, zzj);
|
||||
}
|
||||
if (zzdVar.zzb.isEmpty()) {
|
||||
long j5 = zzdVar.zzc;
|
||||
if (j5 == 0) {
|
||||
w.v(zzdVar.zzt, "First ad exposure time was never set");
|
||||
} else {
|
||||
zzdVar.zzh(j4 - j5, zzj);
|
||||
zzdVar.zzc = 0L;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private final void zzh(long j4, zzir zzirVar) {
|
||||
if (zzirVar == null) {
|
||||
a.y(this.zzt, "Not logging ad exposure. No active activity");
|
||||
return;
|
||||
}
|
||||
if (j4 < 1000) {
|
||||
this.zzt.zzaA().zzj().zzb("Not logging ad exposure. Less than 1000 ms. exposure", Long.valueOf(j4));
|
||||
return;
|
||||
}
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putLong("_xt", j4);
|
||||
zzlp.zzK(zzirVar, bundle, true);
|
||||
this.zzt.zzq().zzG("am", "_xa", bundle);
|
||||
}
|
||||
|
||||
private final void zzi(String str, long j4, zzir zzirVar) {
|
||||
if (zzirVar == null) {
|
||||
a.y(this.zzt, "Not logging ad unit exposure. No active activity");
|
||||
return;
|
||||
}
|
||||
if (j4 < 1000) {
|
||||
this.zzt.zzaA().zzj().zzb("Not logging ad unit exposure. Less than 1000 ms. exposure", Long.valueOf(j4));
|
||||
return;
|
||||
}
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putString("_ai", str);
|
||||
bundle.putLong("_xt", j4);
|
||||
zzlp.zzK(zzirVar, bundle, true);
|
||||
this.zzt.zzq().zzG("am", "_xu", bundle);
|
||||
}
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: private */
|
||||
public final void zzj(long j4) {
|
||||
Iterator it = this.zza.keySet().iterator();
|
||||
while (it.hasNext()) {
|
||||
this.zza.put((String) it.next(), Long.valueOf(j4));
|
||||
}
|
||||
if (this.zza.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
this.zzc = j4;
|
||||
}
|
||||
|
||||
public final void zzd(String str, long j4) {
|
||||
if (str == null || str.length() == 0) {
|
||||
w.v(this.zzt, "Ad unit id must be a non-empty string");
|
||||
} else {
|
||||
this.zzt.zzaB().zzp(new zza(this, str, j4));
|
||||
}
|
||||
}
|
||||
|
||||
public final void zze(String str, long j4) {
|
||||
if (str == null || str.length() == 0) {
|
||||
w.v(this.zzt, "Ad unit id must be a non-empty string");
|
||||
} else {
|
||||
this.zzt.zzaB().zzp(new zzb(this, str, j4));
|
||||
}
|
||||
}
|
||||
|
||||
public final void zzf(long j4) {
|
||||
zzir zzj = this.zzt.zzs().zzj(false);
|
||||
for (String str : this.zza.keySet()) {
|
||||
zzi(str, j4 - ((Long) this.zza.get(str)).longValue(), zzj);
|
||||
}
|
||||
if (!this.zza.isEmpty()) {
|
||||
zzh(j4 - this.zzc, zzj);
|
||||
}
|
||||
zzj(j4);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
/* loaded from: classes3.dex */
|
||||
public class zze extends zzgw implements zzgy {
|
||||
public zze(zzgd zzgdVar) {
|
||||
super(zzgdVar);
|
||||
Preconditions.checkNotNull(zzgdVar);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzgw
|
||||
public final void zzg() {
|
||||
this.zzt.zzaB().zzg();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzec {
|
||||
Object zza();
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzed {
|
||||
static zzab zza;
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzef {
|
||||
private static final Object zza = new Object();
|
||||
private final String zzb;
|
||||
private final zzec zzc;
|
||||
private final Object zzd;
|
||||
private final Object zze;
|
||||
private final Object zzf = new Object();
|
||||
private volatile Object zzg = null;
|
||||
private volatile Object zzh = null;
|
||||
|
||||
public /* synthetic */ zzef(String str, Object obj, Object obj2, zzec zzecVar, zzee zzeeVar) {
|
||||
this.zzb = str;
|
||||
this.zzd = obj;
|
||||
this.zze = obj2;
|
||||
this.zzc = zzecVar;
|
||||
}
|
||||
|
||||
public final Object zza(Object obj) {
|
||||
List<zzef> list;
|
||||
synchronized (this.zzf) {
|
||||
}
|
||||
if (obj != null) {
|
||||
return obj;
|
||||
}
|
||||
if (zzed.zza == null) {
|
||||
return this.zzd;
|
||||
}
|
||||
synchronized (zza) {
|
||||
try {
|
||||
if (zzab.zza()) {
|
||||
return this.zzh == null ? this.zzd : this.zzh;
|
||||
}
|
||||
try {
|
||||
list = zzeg.zzaJ;
|
||||
for (zzef zzefVar : list) {
|
||||
if (zzab.zza()) {
|
||||
throw new IllegalStateException("Refreshing flag cache must be done on a worker thread.");
|
||||
}
|
||||
Object obj2 = null;
|
||||
try {
|
||||
zzec zzecVar = zzefVar.zzc;
|
||||
if (zzecVar != null) {
|
||||
obj2 = zzecVar.zza();
|
||||
}
|
||||
} catch (IllegalStateException unused) {
|
||||
}
|
||||
synchronized (zza) {
|
||||
zzefVar.zzh = obj2;
|
||||
}
|
||||
}
|
||||
} catch (SecurityException unused2) {
|
||||
}
|
||||
zzec zzecVar2 = this.zzc;
|
||||
if (zzecVar2 == null) {
|
||||
return this.zzd;
|
||||
}
|
||||
try {
|
||||
return zzecVar2.zza();
|
||||
} catch (IllegalStateException unused3) {
|
||||
return this.zzd;
|
||||
} catch (SecurityException unused4) {
|
||||
return this.zzd;
|
||||
}
|
||||
} finally {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public final String zzb() {
|
||||
return this.zzb;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,706 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import com.adif.elcanomovil.domain.usecases.logos.ManageLogosUseCaseKt;
|
||||
import com.google.android.gms.internal.measurement.zzod;
|
||||
import com.google.android.gms.internal.measurement.zzog;
|
||||
import com.google.android.gms.internal.measurement.zzoj;
|
||||
import com.google.android.gms.internal.measurement.zzom;
|
||||
import com.google.android.gms.internal.measurement.zzop;
|
||||
import com.google.android.gms.internal.measurement.zzos;
|
||||
import com.google.android.gms.internal.measurement.zzov;
|
||||
import com.google.android.gms.internal.measurement.zzoy;
|
||||
import com.google.android.gms.internal.measurement.zzpb;
|
||||
import com.google.android.gms.internal.measurement.zzpe;
|
||||
import com.google.android.gms.internal.measurement.zzph;
|
||||
import com.google.android.gms.internal.measurement.zzpk;
|
||||
import com.google.android.gms.internal.measurement.zzpn;
|
||||
import com.google.android.gms.internal.measurement.zzpq;
|
||||
import com.google.android.gms.internal.measurement.zzpt;
|
||||
import com.google.android.gms.internal.measurement.zzpw;
|
||||
import com.google.android.gms.internal.measurement.zzpz;
|
||||
import com.google.android.gms.internal.measurement.zzqc;
|
||||
import com.google.android.gms.internal.measurement.zzqf;
|
||||
import com.google.android.gms.internal.measurement.zzqi;
|
||||
import com.google.android.gms.internal.measurement.zzql;
|
||||
import com.google.android.gms.internal.measurement.zzqo;
|
||||
import com.google.android.gms.internal.measurement.zzqr;
|
||||
import com.google.android.gms.internal.measurement.zzqu;
|
||||
import com.google.android.gms.internal.measurement.zzqx;
|
||||
import com.google.android.gms.internal.measurement.zzra;
|
||||
import com.google.android.gms.internal.measurement.zzrd;
|
||||
import com.google.android.gms.internal.measurement.zzrg;
|
||||
import com.google.android.gms.internal.measurement.zzrj;
|
||||
import com.google.android.gms.internal.measurement.zzrm;
|
||||
import com.google.android.gms.internal.measurement.zzrp;
|
||||
import com.google.firebase.messaging.ServiceStarter;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
import kotlinx.coroutines.test.TestBuildersKt;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzeg {
|
||||
public static final zzef zzA;
|
||||
public static final zzef zzB;
|
||||
public static final zzef zzC;
|
||||
public static final zzef zzD;
|
||||
public static final zzef zzE;
|
||||
public static final zzef zzF;
|
||||
public static final zzef zzG;
|
||||
public static final zzef zzH;
|
||||
public static final zzef zzI;
|
||||
public static final zzef zzJ;
|
||||
public static final zzef zzK;
|
||||
public static final zzef zzL;
|
||||
public static final zzef zzM;
|
||||
public static final zzef zzN;
|
||||
public static final zzef zzO;
|
||||
public static final zzef zzP;
|
||||
public static final zzef zzQ;
|
||||
public static final zzef zzR;
|
||||
public static final zzef zzS;
|
||||
public static final zzef zzT;
|
||||
public static final zzef zzU;
|
||||
public static final zzef zzV;
|
||||
public static final zzef zzW;
|
||||
public static final zzef zzX;
|
||||
public static final zzef zzY;
|
||||
public static final zzef zzZ;
|
||||
public static final zzef zzaA;
|
||||
public static final zzef zzaB;
|
||||
public static final zzef zzaC;
|
||||
public static final zzef zzaD;
|
||||
public static final zzef zzaE;
|
||||
public static final zzef zzaF;
|
||||
public static final zzef zzaG;
|
||||
public static final zzef zzaH;
|
||||
public static final zzef zzaI;
|
||||
public static final zzef zzaa;
|
||||
public static final zzef zzab;
|
||||
public static final zzef zzac;
|
||||
public static final zzef zzad;
|
||||
public static final zzef zzae;
|
||||
public static final zzef zzaf;
|
||||
public static final zzef zzag;
|
||||
public static final zzef zzah;
|
||||
public static final zzef zzai;
|
||||
public static final zzef zzaj;
|
||||
public static final zzef zzak;
|
||||
public static final zzef zzal;
|
||||
public static final zzef zzam;
|
||||
public static final zzef zzan;
|
||||
public static final zzef zzao;
|
||||
public static final zzef zzap;
|
||||
public static final zzef zzaq;
|
||||
public static final zzef zzar;
|
||||
public static final zzef zzas;
|
||||
public static final zzef zzat;
|
||||
public static final zzef zzau;
|
||||
public static final zzef zzav;
|
||||
public static final zzef zzaw;
|
||||
public static final zzef zzax;
|
||||
public static final zzef zzay;
|
||||
public static final zzef zzaz;
|
||||
public static final zzef zzx;
|
||||
public static final zzef zzy;
|
||||
public static final zzef zzz;
|
||||
private static final List zzaJ = Collections.synchronizedList(new ArrayList());
|
||||
private static final Set zzaK = Collections.synchronizedSet(new HashSet());
|
||||
public static final zzef zza = zza("measurement.ad_id_cache_time", 10000L, 10000L, new zzec() { // from class: com.google.android.gms.measurement.internal.zzbh
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Long.valueOf(zzoj.zzb());
|
||||
}
|
||||
});
|
||||
public static final zzef zzb = zza("measurement.app_uninstalled_additional_ad_id_cache_time", 3600000L, 3600000L, new zzec() { // from class: com.google.android.gms.measurement.internal.zzaz
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Long.valueOf(zzoj.zzc());
|
||||
}
|
||||
});
|
||||
public static final zzef zzc = zza("measurement.monitoring.sample_period_millis", 86400000L, 86400000L, new zzec() { // from class: com.google.android.gms.measurement.internal.zzbl
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Long.valueOf(zzoj.zzn());
|
||||
}
|
||||
});
|
||||
public static final zzef zzd = zza("measurement.config.cache_time", 86400000L, 3600000L, new zzec() { // from class: com.google.android.gms.measurement.internal.zzbx
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Long.valueOf(zzoj.zze());
|
||||
}
|
||||
});
|
||||
public static final zzef zze = zza("measurement.config.url_scheme", "https", "https", new zzec() { // from class: com.google.android.gms.measurement.internal.zzcj
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return zzoj.zzM();
|
||||
}
|
||||
});
|
||||
public static final zzef zzf = zza("measurement.config.url_authority", "app-measurement.com", "app-measurement.com", new zzec() { // from class: com.google.android.gms.measurement.internal.zzcv
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return zzoj.zzL();
|
||||
}
|
||||
});
|
||||
public static final zzef zzg = zza("measurement.upload.max_bundles", 100, 100, new zzec() { // from class: com.google.android.gms.measurement.internal.zzdh
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Integer.valueOf((int) zzoj.zzy());
|
||||
}
|
||||
});
|
||||
public static final zzef zzh = zza("measurement.upload.max_batch_size", 65536, 65536, new zzec() { // from class: com.google.android.gms.measurement.internal.zzdt
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Integer.valueOf((int) zzoj.zzG());
|
||||
}
|
||||
});
|
||||
public static final zzef zzi = zza("measurement.upload.max_bundle_size", 65536, 65536, new zzec() { // from class: com.google.android.gms.measurement.internal.zzdy
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Integer.valueOf((int) zzoj.zzx());
|
||||
}
|
||||
});
|
||||
public static final zzef zzj = zza("measurement.upload.max_events_per_bundle", 1000, 1000, new zzec() { // from class: com.google.android.gms.measurement.internal.zzdz
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Integer.valueOf((int) zzoj.zzB());
|
||||
}
|
||||
});
|
||||
public static final zzef zzk = zza("measurement.upload.max_events_per_day", 100000, 100000, new zzec() { // from class: com.google.android.gms.measurement.internal.zzbs
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Integer.valueOf((int) zzoj.zzC());
|
||||
}
|
||||
});
|
||||
public static final zzef zzl = zza("measurement.upload.max_error_events_per_day", 1000, 1000, new zzec() { // from class: com.google.android.gms.measurement.internal.zzcd
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Integer.valueOf((int) zzoj.zzA());
|
||||
}
|
||||
});
|
||||
public static final zzef zzm = zza("measurement.upload.max_public_events_per_day", 50000, 50000, new zzec() { // from class: com.google.android.gms.measurement.internal.zzco
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Integer.valueOf((int) zzoj.zzD());
|
||||
}
|
||||
});
|
||||
public static final zzef zzn = zza("measurement.upload.max_conversions_per_day", 10000, 10000, new zzec() { // from class: com.google.android.gms.measurement.internal.zzcz
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Integer.valueOf((int) zzoj.zzz());
|
||||
}
|
||||
});
|
||||
public static final zzef zzo = zza("measurement.upload.max_realtime_events_per_day", 10, 10, new zzec() { // from class: com.google.android.gms.measurement.internal.zzdk
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Integer.valueOf((int) zzoj.zzF());
|
||||
}
|
||||
});
|
||||
public static final zzef zzp = zza("measurement.store.max_stored_events_per_app", 100000, 100000, new zzec() { // from class: com.google.android.gms.measurement.internal.zzdv
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Integer.valueOf((int) zzoj.zzh());
|
||||
}
|
||||
});
|
||||
public static final zzef zzq = zza("measurement.upload.url", "https://app-measurement.com/a", "https://app-measurement.com/a", new zzec() { // from class: com.google.android.gms.measurement.internal.zzea
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return zzoj.zzN();
|
||||
}
|
||||
});
|
||||
public static final zzef zzr = zza("measurement.upload.backoff_period", 43200000L, 43200000L, new zzec() { // from class: com.google.android.gms.measurement.internal.zzeb
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Long.valueOf(zzoj.zzu());
|
||||
}
|
||||
});
|
||||
public static final zzef zzs = zza("measurement.upload.window_interval", 3600000L, 3600000L, new zzec() { // from class: com.google.android.gms.measurement.internal.zzax
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Long.valueOf(zzoj.zzJ());
|
||||
}
|
||||
});
|
||||
public static final zzef zzt = zza("measurement.upload.interval", 3600000L, 3600000L, new zzec() { // from class: com.google.android.gms.measurement.internal.zzay
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Long.valueOf(zzoj.zzw());
|
||||
}
|
||||
});
|
||||
public static final zzef zzu = zza("measurement.upload.realtime_upload_interval", 10000L, 10000L, new zzec() { // from class: com.google.android.gms.measurement.internal.zzba
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Long.valueOf(zzoj.zzo());
|
||||
}
|
||||
});
|
||||
public static final zzef zzv = zza("measurement.upload.debug_upload_interval", 1000L, 1000L, new zzec() { // from class: com.google.android.gms.measurement.internal.zzbb
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Long.valueOf(zzoj.zzf());
|
||||
}
|
||||
});
|
||||
public static final zzef zzw = zza("measurement.upload.minimum_delay", 500L, 500L, new zzec() { // from class: com.google.android.gms.measurement.internal.zzbc
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Long.valueOf(zzoj.zzm());
|
||||
}
|
||||
});
|
||||
|
||||
static {
|
||||
Long valueOf = Long.valueOf(TestBuildersKt.DEFAULT_DISPATCH_TIMEOUT_MS);
|
||||
zzx = zza("measurement.alarm_manager.minimum_interval", valueOf, valueOf, new zzec() { // from class: com.google.android.gms.measurement.internal.zzbd
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Long.valueOf(zzoj.zzl());
|
||||
}
|
||||
});
|
||||
zzy = zza("measurement.upload.stale_data_deletion_interval", 86400000L, 86400000L, new zzec() { // from class: com.google.android.gms.measurement.internal.zzbe
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Long.valueOf(zzoj.zzr());
|
||||
}
|
||||
});
|
||||
Long valueOf2 = Long.valueOf(ManageLogosUseCaseKt.OPERATOR_LOGO_CACHE_TIMEOUT);
|
||||
zzz = zza("measurement.upload.refresh_blacklisted_config_interval", valueOf2, valueOf2, new zzec() { // from class: com.google.android.gms.measurement.internal.zzbf
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Long.valueOf(zzoj.zzp());
|
||||
}
|
||||
});
|
||||
zzA = zza("measurement.upload.initial_upload_delay_time", 15000L, 15000L, new zzec() { // from class: com.google.android.gms.measurement.internal.zzbg
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Long.valueOf(zzoj.zzv());
|
||||
}
|
||||
});
|
||||
zzB = zza("measurement.upload.retry_time", 1800000L, 1800000L, new zzec() { // from class: com.google.android.gms.measurement.internal.zzbi
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Long.valueOf(zzoj.zzI());
|
||||
}
|
||||
});
|
||||
zzC = zza("measurement.upload.retry_count", 6, 6, new zzec() { // from class: com.google.android.gms.measurement.internal.zzbj
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Integer.valueOf((int) zzoj.zzH());
|
||||
}
|
||||
});
|
||||
zzD = zza("measurement.upload.max_queue_time", 2419200000L, 2419200000L, new zzec() { // from class: com.google.android.gms.measurement.internal.zzbk
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Long.valueOf(zzoj.zzE());
|
||||
}
|
||||
});
|
||||
zzE = zza("measurement.lifetimevalue.max_currency_tracked", 4, 4, new zzec() { // from class: com.google.android.gms.measurement.internal.zzbm
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Integer.valueOf((int) zzoj.zzg());
|
||||
}
|
||||
});
|
||||
zzF = zza("measurement.audience.filter_result_max_count", 200, 200, new zzec() { // from class: com.google.android.gms.measurement.internal.zzbn
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Integer.valueOf((int) zzoj.zzj());
|
||||
}
|
||||
});
|
||||
zzG = zza("measurement.upload.max_public_user_properties", 25, 25, null);
|
||||
Integer valueOf3 = Integer.valueOf(ServiceStarter.ERROR_UNKNOWN);
|
||||
zzH = zza("measurement.upload.max_event_name_cardinality", valueOf3, valueOf3, null);
|
||||
zzI = zza("measurement.upload.max_public_event_params", 25, 25, null);
|
||||
zzJ = zza("measurement.service_client.idle_disconnect_millis", 5000L, 5000L, new zzec() { // from class: com.google.android.gms.measurement.internal.zzbo
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Long.valueOf(zzoj.zzq());
|
||||
}
|
||||
});
|
||||
Boolean bool = Boolean.FALSE;
|
||||
zzK = zza("measurement.test.boolean_flag", bool, bool, new zzec() { // from class: com.google.android.gms.measurement.internal.zzbp
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzqc.zzg());
|
||||
}
|
||||
});
|
||||
zzL = zza("measurement.test.string_flag", "---", "---", new zzec() { // from class: com.google.android.gms.measurement.internal.zzbq
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return zzqc.zzf();
|
||||
}
|
||||
});
|
||||
zzM = zza("measurement.test.long_flag", -1L, -1L, new zzec() { // from class: com.google.android.gms.measurement.internal.zzbr
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Long.valueOf(zzqc.zzd());
|
||||
}
|
||||
});
|
||||
zzN = zza("measurement.test.int_flag", -2, -2, new zzec() { // from class: com.google.android.gms.measurement.internal.zzbt
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Integer.valueOf((int) zzqc.zzc());
|
||||
}
|
||||
});
|
||||
Double valueOf4 = Double.valueOf(-3.0d);
|
||||
zzO = zza("measurement.test.double_flag", valueOf4, valueOf4, new zzec() { // from class: com.google.android.gms.measurement.internal.zzbu
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Double.valueOf(zzqc.zzb());
|
||||
}
|
||||
});
|
||||
zzP = zza("measurement.experiment.max_ids", 50, 50, new zzec() { // from class: com.google.android.gms.measurement.internal.zzbv
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Integer.valueOf((int) zzoj.zzi());
|
||||
}
|
||||
});
|
||||
zzQ = zza("measurement.upload.max_item_scoped_custom_parameters", 27, 27, new zzec() { // from class: com.google.android.gms.measurement.internal.zzbw
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Integer.valueOf((int) zzoj.zzk());
|
||||
}
|
||||
});
|
||||
zzR = zza("measurement.max_bundles_per_iteration", 100, 100, new zzec() { // from class: com.google.android.gms.measurement.internal.zzby
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Integer.valueOf((int) zzoj.zzd());
|
||||
}
|
||||
});
|
||||
zzS = zza("measurement.sdk.attribution.cache.ttl", valueOf2, valueOf2, new zzec() { // from class: com.google.android.gms.measurement.internal.zzbz
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Long.valueOf(zzoj.zzs());
|
||||
}
|
||||
});
|
||||
zzT = zza("measurement.redaction.app_instance_id.ttl", 7200000L, 7200000L, new zzec() { // from class: com.google.android.gms.measurement.internal.zzca
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Long.valueOf(zzoj.zzt());
|
||||
}
|
||||
});
|
||||
Boolean bool2 = Boolean.TRUE;
|
||||
zzU = zza("measurement.collection.log_event_and_bundle_v2", bool2, bool2, new zzec() { // from class: com.google.android.gms.measurement.internal.zzcb
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzqf.zzc());
|
||||
}
|
||||
});
|
||||
zzV = zza("measurement.quality.checksum", bool, bool, null);
|
||||
zzW = zza("measurement.audience.use_bundle_end_timestamp_for_non_sequence_property_filters", bool, bool, new zzec() { // from class: com.google.android.gms.measurement.internal.zzcc
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzoy.zze());
|
||||
}
|
||||
});
|
||||
zzX = zza("measurement.audience.refresh_event_count_filters_timestamp", bool, bool, new zzec() { // from class: com.google.android.gms.measurement.internal.zzce
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzoy.zzd());
|
||||
}
|
||||
});
|
||||
zzY = zza("measurement.audience.use_bundle_timestamp_for_event_count_filters", bool, bool, new zzec() { // from class: com.google.android.gms.measurement.internal.zzcf
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzoy.zzf());
|
||||
}
|
||||
});
|
||||
zzZ = zza("measurement.sdk.collection.retrieve_deeplink_from_bow_2", bool2, bool2, new zzec() { // from class: com.google.android.gms.measurement.internal.zzcg
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzrm.zzc());
|
||||
}
|
||||
});
|
||||
zzaa = zza("measurement.sdk.collection.last_deep_link_referrer_campaign2", bool, bool, new zzec() { // from class: com.google.android.gms.measurement.internal.zzch
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzpt.zzc());
|
||||
}
|
||||
});
|
||||
zzab = zza("measurement.lifecycle.app_in_background_parameter", bool, bool, new zzec() { // from class: com.google.android.gms.measurement.internal.zzci
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzpw.zzc());
|
||||
}
|
||||
});
|
||||
zzac = zza("measurement.integration.disable_firebase_instance_id", bool, bool, new zzec() { // from class: com.google.android.gms.measurement.internal.zzck
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzrj.zzd());
|
||||
}
|
||||
});
|
||||
zzad = zza("measurement.collection.service.update_with_analytics_fix", bool, bool, new zzec() { // from class: com.google.android.gms.measurement.internal.zzcl
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzrp.zzc());
|
||||
}
|
||||
});
|
||||
zzae = zza("measurement.client.firebase_feature_rollout.v1.enable", bool2, bool2, new zzec() { // from class: com.google.android.gms.measurement.internal.zzcm
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzos.zzd());
|
||||
}
|
||||
});
|
||||
zzaf = zza("measurement.client.sessions.check_on_reset_and_enable2", bool2, bool2, new zzec() { // from class: com.google.android.gms.measurement.internal.zzcn
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzph.zzd());
|
||||
}
|
||||
});
|
||||
zzag = zza("measurement.collection.synthetic_data_mitigation", bool, bool, new zzec() { // from class: com.google.android.gms.measurement.internal.zzcp
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzrg.zzc());
|
||||
}
|
||||
});
|
||||
zzah = zza("measurement.service.storage_consent_support_version", 203600, 203600, new zzec() { // from class: com.google.android.gms.measurement.internal.zzcq
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Integer.valueOf((int) zzom.zzb());
|
||||
}
|
||||
});
|
||||
zzai = zza("measurement.client.click_identifier_control.dev", bool, bool, new zzec() { // from class: com.google.android.gms.measurement.internal.zzcr
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzod.zzc());
|
||||
}
|
||||
});
|
||||
zzaj = zza("measurement.service.click_identifier_control", bool, bool, new zzec() { // from class: com.google.android.gms.measurement.internal.zzcs
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzog.zzc());
|
||||
}
|
||||
});
|
||||
zzak = zza("measurement.service.store_null_safelist", bool2, bool2, new zzec() { // from class: com.google.android.gms.measurement.internal.zzct
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzop.zzd());
|
||||
}
|
||||
});
|
||||
zzal = zza("measurement.service.store_safelist", bool2, bool2, new zzec() { // from class: com.google.android.gms.measurement.internal.zzcu
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzop.zze());
|
||||
}
|
||||
});
|
||||
zzam = zza("measurement.collection.enable_session_stitching_token.first_open_fix", bool2, bool2, new zzec() { // from class: com.google.android.gms.measurement.internal.zzcw
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzqu.zze());
|
||||
}
|
||||
});
|
||||
zzan = zza("measurement.collection.enable_session_stitching_token.client.dev", bool2, bool2, new zzec() { // from class: com.google.android.gms.measurement.internal.zzcx
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzqu.zzd());
|
||||
}
|
||||
});
|
||||
zzao = zza("measurement.session_stitching_token_enabled", bool, bool, new zzec() { // from class: com.google.android.gms.measurement.internal.zzcy
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzqu.zzf());
|
||||
}
|
||||
});
|
||||
zzap = zza("measurement.sgtm.client.dev", bool, bool, new zzec() { // from class: com.google.android.gms.measurement.internal.zzda
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzrd.zzd());
|
||||
}
|
||||
});
|
||||
zzaq = zza("measurement.sgtm.service", bool, bool, new zzec() { // from class: com.google.android.gms.measurement.internal.zzdb
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzrd.zze());
|
||||
}
|
||||
});
|
||||
zzar = zza("measurement.redaction.retain_major_os_version", bool2, bool2, new zzec() { // from class: com.google.android.gms.measurement.internal.zzdc
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzql.zzc());
|
||||
}
|
||||
});
|
||||
zzas = zza("measurement.redaction.scion_payload_generator", bool2, bool2, new zzec() { // from class: com.google.android.gms.measurement.internal.zzdd
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzql.zzd());
|
||||
}
|
||||
});
|
||||
zzat = zza("measurement.service.clear_global_params_on_uninstall", bool2, bool2, new zzec() { // from class: com.google.android.gms.measurement.internal.zzde
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzpk.zzd());
|
||||
}
|
||||
});
|
||||
zzau = zza("measurement.sessionid.enable_client_session_id", bool2, bool2, new zzec() { // from class: com.google.android.gms.measurement.internal.zzdf
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzqr.zzd());
|
||||
}
|
||||
});
|
||||
zzav = zza("measurement.sfmc.client", bool2, bool2, new zzec() { // from class: com.google.android.gms.measurement.internal.zzdg
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzra.zzd());
|
||||
}
|
||||
});
|
||||
zzaw = zza("measurement.sfmc.service", bool2, bool2, new zzec() { // from class: com.google.android.gms.measurement.internal.zzdi
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzra.zze());
|
||||
}
|
||||
});
|
||||
zzax = zza("measurement.gmscore_feature_tracking", bool2, bool2, new zzec() { // from class: com.google.android.gms.measurement.internal.zzdj
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzpn.zzd());
|
||||
}
|
||||
});
|
||||
zzay = zza("measurement.fix_health_monitor_stack_trace", bool2, bool2, new zzec() { // from class: com.google.android.gms.measurement.internal.zzdl
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzpe.zzd());
|
||||
}
|
||||
});
|
||||
zzaz = zza("measurement.item_scoped_custom_parameters.client", bool2, bool2, new zzec() { // from class: com.google.android.gms.measurement.internal.zzdm
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzpq.zzd());
|
||||
}
|
||||
});
|
||||
zzaA = zza("measurement.item_scoped_custom_parameters.service", bool, bool, new zzec() { // from class: com.google.android.gms.measurement.internal.zzdn
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzpq.zze());
|
||||
}
|
||||
});
|
||||
zzaB = zza("measurement.remove_app_background.client", bool, bool, new zzec() { // from class: com.google.android.gms.measurement.internal.zzdo
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzqo.zzd());
|
||||
}
|
||||
});
|
||||
zzaC = zza("measurement.rb.attribution.service", bool, bool, new zzec() { // from class: com.google.android.gms.measurement.internal.zzdp
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzqi.zzc());
|
||||
}
|
||||
});
|
||||
zzaD = zza("measurement.collection.client.log_target_api_version", bool2, bool2, new zzec() { // from class: com.google.android.gms.measurement.internal.zzdq
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
return Boolean.valueOf(zzpz.zzd());
|
||||
}
|
||||
});
|
||||
zzaE = zza("measurement.collection.service.log_target_api_version", bool2, bool2, new zzec() { // from class: com.google.android.gms.measurement.internal.zzdr
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
return Boolean.valueOf(zzpz.zze());
|
||||
}
|
||||
});
|
||||
zzaF = zza("measurement.client.deep_link_referrer_fix", bool2, bool2, new zzec() { // from class: com.google.android.gms.measurement.internal.zzds
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
return Boolean.valueOf(zzpb.zzd());
|
||||
}
|
||||
});
|
||||
zzaG = zza("measurement.client.sessions.enable_fix_background_engagement", bool, bool, new zzec() { // from class: com.google.android.gms.measurement.internal.zzdu
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
return Boolean.valueOf(zzqx.zzc());
|
||||
}
|
||||
});
|
||||
zzaH = zza("measurement.link_sst_to_sid", bool2, bool2, new zzec() { // from class: com.google.android.gms.measurement.internal.zzdw
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
zzef zzefVar = zzeg.zza;
|
||||
return Boolean.valueOf(zzqu.zzg());
|
||||
}
|
||||
});
|
||||
zzaI = zza("measurement.client.ad_id_consent_fix", bool2, bool2, new zzec() { // from class: com.google.android.gms.measurement.internal.zzdx
|
||||
@Override // com.google.android.gms.measurement.internal.zzec
|
||||
public final Object zza() {
|
||||
return Boolean.valueOf(zzov.zzd());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public static zzef zza(String str, Object obj, Object obj2, zzec zzecVar) {
|
||||
zzef zzefVar = new zzef(str, obj, obj2, zzecVar, null);
|
||||
zzaJ.add(zzefVar);
|
||||
return zzefVar;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,179 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.os.IBinder;
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzeh extends com.google.android.gms.internal.measurement.zzbm implements zzej {
|
||||
public zzeh(IBinder iBinder) {
|
||||
super(iBinder, "com.google.android.gms.measurement.internal.IMeasurementService");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzej
|
||||
public final String zzd(zzq zzqVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.measurement.zzbo.zzd(zza, zzqVar);
|
||||
Parcel zzb = zzb(11, zza);
|
||||
String readString = zzb.readString();
|
||||
zzb.recycle();
|
||||
return readString;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzej
|
||||
public final List zze(zzq zzqVar, boolean z3) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.measurement.zzbo.zzd(zza, zzqVar);
|
||||
zza.writeInt(z3 ? 1 : 0);
|
||||
Parcel zzb = zzb(7, zza);
|
||||
ArrayList createTypedArrayList = zzb.createTypedArrayList(zzlk.CREATOR);
|
||||
zzb.recycle();
|
||||
return createTypedArrayList;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzej
|
||||
public final List zzf(String str, String str2, zzq zzqVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
zza.writeString(str);
|
||||
zza.writeString(str2);
|
||||
com.google.android.gms.internal.measurement.zzbo.zzd(zza, zzqVar);
|
||||
Parcel zzb = zzb(16, zza);
|
||||
ArrayList createTypedArrayList = zzb.createTypedArrayList(zzac.CREATOR);
|
||||
zzb.recycle();
|
||||
return createTypedArrayList;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzej
|
||||
public final List zzg(String str, String str2, String str3) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
zza.writeString(null);
|
||||
zza.writeString(str2);
|
||||
zza.writeString(str3);
|
||||
Parcel zzb = zzb(17, zza);
|
||||
ArrayList createTypedArrayList = zzb.createTypedArrayList(zzac.CREATOR);
|
||||
zzb.recycle();
|
||||
return createTypedArrayList;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzej
|
||||
public final List zzh(String str, String str2, boolean z3, zzq zzqVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
zza.writeString(str);
|
||||
zza.writeString(str2);
|
||||
int i = com.google.android.gms.internal.measurement.zzbo.zza;
|
||||
zza.writeInt(z3 ? 1 : 0);
|
||||
com.google.android.gms.internal.measurement.zzbo.zzd(zza, zzqVar);
|
||||
Parcel zzb = zzb(14, zza);
|
||||
ArrayList createTypedArrayList = zzb.createTypedArrayList(zzlk.CREATOR);
|
||||
zzb.recycle();
|
||||
return createTypedArrayList;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzej
|
||||
public final List zzi(String str, String str2, String str3, boolean z3) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
zza.writeString(null);
|
||||
zza.writeString(str2);
|
||||
zza.writeString(str3);
|
||||
int i = com.google.android.gms.internal.measurement.zzbo.zza;
|
||||
zza.writeInt(z3 ? 1 : 0);
|
||||
Parcel zzb = zzb(15, zza);
|
||||
ArrayList createTypedArrayList = zzb.createTypedArrayList(zzlk.CREATOR);
|
||||
zzb.recycle();
|
||||
return createTypedArrayList;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzej
|
||||
public final void zzj(zzq zzqVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.measurement.zzbo.zzd(zza, zzqVar);
|
||||
zzc(4, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzej
|
||||
public final void zzk(zzau zzauVar, zzq zzqVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.measurement.zzbo.zzd(zza, zzauVar);
|
||||
com.google.android.gms.internal.measurement.zzbo.zzd(zza, zzqVar);
|
||||
zzc(1, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzej
|
||||
public final void zzl(zzau zzauVar, String str, String str2) throws RemoteException {
|
||||
throw null;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzej
|
||||
public final void zzm(zzq zzqVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.measurement.zzbo.zzd(zza, zzqVar);
|
||||
zzc(18, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzej
|
||||
public final void zzn(zzac zzacVar, zzq zzqVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.measurement.zzbo.zzd(zza, zzacVar);
|
||||
com.google.android.gms.internal.measurement.zzbo.zzd(zza, zzqVar);
|
||||
zzc(12, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzej
|
||||
public final void zzo(zzac zzacVar) throws RemoteException {
|
||||
throw null;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzej
|
||||
public final void zzp(zzq zzqVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.measurement.zzbo.zzd(zza, zzqVar);
|
||||
zzc(20, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzej
|
||||
public final void zzq(long j4, String str, String str2, String str3) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
zza.writeLong(j4);
|
||||
zza.writeString(str);
|
||||
zza.writeString(str2);
|
||||
zza.writeString(str3);
|
||||
zzc(10, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzej
|
||||
public final void zzr(Bundle bundle, zzq zzqVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.measurement.zzbo.zzd(zza, bundle);
|
||||
com.google.android.gms.internal.measurement.zzbo.zzd(zza, zzqVar);
|
||||
zzc(19, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzej
|
||||
public final void zzs(zzq zzqVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.measurement.zzbo.zzd(zza, zzqVar);
|
||||
zzc(6, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzej
|
||||
public final void zzt(zzlk zzlkVar, zzq zzqVar) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.measurement.zzbo.zzd(zza, zzlkVar);
|
||||
com.google.android.gms.internal.measurement.zzbo.zzd(zza, zzqVar);
|
||||
zzc(2, zza);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzej
|
||||
public final byte[] zzu(zzau zzauVar, String str) throws RemoteException {
|
||||
Parcel zza = zza();
|
||||
com.google.android.gms.internal.measurement.zzbo.zzd(zza, zzauVar);
|
||||
zza.writeString(str);
|
||||
Parcel zzb = zzb(9, zza);
|
||||
byte[] createByteArray = zzb.createByteArray();
|
||||
zzb.recycle();
|
||||
return createByteArray;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,159 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
import java.util.List;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzei extends com.google.android.gms.internal.measurement.zzbn implements zzej {
|
||||
public zzei() {
|
||||
super("com.google.android.gms.measurement.internal.IMeasurementService");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzbn
|
||||
public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i4) throws RemoteException {
|
||||
switch (i) {
|
||||
case 1:
|
||||
zzau zzauVar = (zzau) com.google.android.gms.internal.measurement.zzbo.zza(parcel, zzau.CREATOR);
|
||||
zzq zzqVar = (zzq) com.google.android.gms.internal.measurement.zzbo.zza(parcel, zzq.CREATOR);
|
||||
com.google.android.gms.internal.measurement.zzbo.zzc(parcel);
|
||||
zzk(zzauVar, zzqVar);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
case 2:
|
||||
zzlk zzlkVar = (zzlk) com.google.android.gms.internal.measurement.zzbo.zza(parcel, zzlk.CREATOR);
|
||||
zzq zzqVar2 = (zzq) com.google.android.gms.internal.measurement.zzbo.zza(parcel, zzq.CREATOR);
|
||||
com.google.android.gms.internal.measurement.zzbo.zzc(parcel);
|
||||
zzt(zzlkVar, zzqVar2);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
case 3:
|
||||
case 8:
|
||||
default:
|
||||
return false;
|
||||
case 4:
|
||||
zzq zzqVar3 = (zzq) com.google.android.gms.internal.measurement.zzbo.zza(parcel, zzq.CREATOR);
|
||||
com.google.android.gms.internal.measurement.zzbo.zzc(parcel);
|
||||
zzj(zzqVar3);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
case 5:
|
||||
zzau zzauVar2 = (zzau) com.google.android.gms.internal.measurement.zzbo.zza(parcel, zzau.CREATOR);
|
||||
String readString = parcel.readString();
|
||||
String readString2 = parcel.readString();
|
||||
com.google.android.gms.internal.measurement.zzbo.zzc(parcel);
|
||||
zzl(zzauVar2, readString, readString2);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
case 6:
|
||||
zzq zzqVar4 = (zzq) com.google.android.gms.internal.measurement.zzbo.zza(parcel, zzq.CREATOR);
|
||||
com.google.android.gms.internal.measurement.zzbo.zzc(parcel);
|
||||
zzs(zzqVar4);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
case 7:
|
||||
zzq zzqVar5 = (zzq) com.google.android.gms.internal.measurement.zzbo.zza(parcel, zzq.CREATOR);
|
||||
boolean zzf = com.google.android.gms.internal.measurement.zzbo.zzf(parcel);
|
||||
com.google.android.gms.internal.measurement.zzbo.zzc(parcel);
|
||||
List zze = zze(zzqVar5, zzf);
|
||||
parcel2.writeNoException();
|
||||
parcel2.writeTypedList(zze);
|
||||
return true;
|
||||
case 9:
|
||||
zzau zzauVar3 = (zzau) com.google.android.gms.internal.measurement.zzbo.zza(parcel, zzau.CREATOR);
|
||||
String readString3 = parcel.readString();
|
||||
com.google.android.gms.internal.measurement.zzbo.zzc(parcel);
|
||||
byte[] zzu = zzu(zzauVar3, readString3);
|
||||
parcel2.writeNoException();
|
||||
parcel2.writeByteArray(zzu);
|
||||
return true;
|
||||
case 10:
|
||||
long readLong = parcel.readLong();
|
||||
String readString4 = parcel.readString();
|
||||
String readString5 = parcel.readString();
|
||||
String readString6 = parcel.readString();
|
||||
com.google.android.gms.internal.measurement.zzbo.zzc(parcel);
|
||||
zzq(readLong, readString4, readString5, readString6);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
case 11:
|
||||
zzq zzqVar6 = (zzq) com.google.android.gms.internal.measurement.zzbo.zza(parcel, zzq.CREATOR);
|
||||
com.google.android.gms.internal.measurement.zzbo.zzc(parcel);
|
||||
String zzd = zzd(zzqVar6);
|
||||
parcel2.writeNoException();
|
||||
parcel2.writeString(zzd);
|
||||
return true;
|
||||
case 12:
|
||||
zzac zzacVar = (zzac) com.google.android.gms.internal.measurement.zzbo.zza(parcel, zzac.CREATOR);
|
||||
zzq zzqVar7 = (zzq) com.google.android.gms.internal.measurement.zzbo.zza(parcel, zzq.CREATOR);
|
||||
com.google.android.gms.internal.measurement.zzbo.zzc(parcel);
|
||||
zzn(zzacVar, zzqVar7);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
case 13:
|
||||
zzac zzacVar2 = (zzac) com.google.android.gms.internal.measurement.zzbo.zza(parcel, zzac.CREATOR);
|
||||
com.google.android.gms.internal.measurement.zzbo.zzc(parcel);
|
||||
zzo(zzacVar2);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
case 14:
|
||||
String readString7 = parcel.readString();
|
||||
String readString8 = parcel.readString();
|
||||
boolean zzf2 = com.google.android.gms.internal.measurement.zzbo.zzf(parcel);
|
||||
zzq zzqVar8 = (zzq) com.google.android.gms.internal.measurement.zzbo.zza(parcel, zzq.CREATOR);
|
||||
com.google.android.gms.internal.measurement.zzbo.zzc(parcel);
|
||||
List zzh = zzh(readString7, readString8, zzf2, zzqVar8);
|
||||
parcel2.writeNoException();
|
||||
parcel2.writeTypedList(zzh);
|
||||
return true;
|
||||
case 15:
|
||||
String readString9 = parcel.readString();
|
||||
String readString10 = parcel.readString();
|
||||
String readString11 = parcel.readString();
|
||||
boolean zzf3 = com.google.android.gms.internal.measurement.zzbo.zzf(parcel);
|
||||
com.google.android.gms.internal.measurement.zzbo.zzc(parcel);
|
||||
List zzi = zzi(readString9, readString10, readString11, zzf3);
|
||||
parcel2.writeNoException();
|
||||
parcel2.writeTypedList(zzi);
|
||||
return true;
|
||||
case 16:
|
||||
String readString12 = parcel.readString();
|
||||
String readString13 = parcel.readString();
|
||||
zzq zzqVar9 = (zzq) com.google.android.gms.internal.measurement.zzbo.zza(parcel, zzq.CREATOR);
|
||||
com.google.android.gms.internal.measurement.zzbo.zzc(parcel);
|
||||
List zzf4 = zzf(readString12, readString13, zzqVar9);
|
||||
parcel2.writeNoException();
|
||||
parcel2.writeTypedList(zzf4);
|
||||
return true;
|
||||
case 17:
|
||||
String readString14 = parcel.readString();
|
||||
String readString15 = parcel.readString();
|
||||
String readString16 = parcel.readString();
|
||||
com.google.android.gms.internal.measurement.zzbo.zzc(parcel);
|
||||
List zzg = zzg(readString14, readString15, readString16);
|
||||
parcel2.writeNoException();
|
||||
parcel2.writeTypedList(zzg);
|
||||
return true;
|
||||
case 18:
|
||||
zzq zzqVar10 = (zzq) com.google.android.gms.internal.measurement.zzbo.zza(parcel, zzq.CREATOR);
|
||||
com.google.android.gms.internal.measurement.zzbo.zzc(parcel);
|
||||
zzm(zzqVar10);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
case 19:
|
||||
Bundle bundle = (Bundle) com.google.android.gms.internal.measurement.zzbo.zza(parcel, Bundle.CREATOR);
|
||||
zzq zzqVar11 = (zzq) com.google.android.gms.internal.measurement.zzbo.zza(parcel, zzq.CREATOR);
|
||||
com.google.android.gms.internal.measurement.zzbo.zzc(parcel);
|
||||
zzr(bundle, zzqVar11);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
case 20:
|
||||
zzq zzqVar12 = (zzq) com.google.android.gms.internal.measurement.zzbo.zza(parcel, zzq.CREATOR);
|
||||
com.google.android.gms.internal.measurement.zzbo.zzc(parcel);
|
||||
zzp(zzqVar12);
|
||||
parcel2.writeNoException();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.os.IInterface;
|
||||
import android.os.RemoteException;
|
||||
import java.util.List;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzej extends IInterface {
|
||||
String zzd(zzq zzqVar) throws RemoteException;
|
||||
|
||||
List zze(zzq zzqVar, boolean z3) throws RemoteException;
|
||||
|
||||
List zzf(String str, String str2, zzq zzqVar) throws RemoteException;
|
||||
|
||||
List zzg(String str, String str2, String str3) throws RemoteException;
|
||||
|
||||
List zzh(String str, String str2, boolean z3, zzq zzqVar) throws RemoteException;
|
||||
|
||||
List zzi(String str, String str2, String str3, boolean z3) throws RemoteException;
|
||||
|
||||
void zzj(zzq zzqVar) throws RemoteException;
|
||||
|
||||
void zzk(zzau zzauVar, zzq zzqVar) throws RemoteException;
|
||||
|
||||
void zzl(zzau zzauVar, String str, String str2) throws RemoteException;
|
||||
|
||||
void zzm(zzq zzqVar) throws RemoteException;
|
||||
|
||||
void zzn(zzac zzacVar, zzq zzqVar) throws RemoteException;
|
||||
|
||||
void zzo(zzac zzacVar) throws RemoteException;
|
||||
|
||||
void zzp(zzq zzqVar) throws RemoteException;
|
||||
|
||||
void zzq(long j4, String str, String str2, String str3) throws RemoteException;
|
||||
|
||||
void zzr(Bundle bundle, zzq zzqVar) throws RemoteException;
|
||||
|
||||
void zzs(zzq zzqVar) throws RemoteException;
|
||||
|
||||
void zzt(zzlk zzlkVar, zzq zzqVar) throws RemoteException;
|
||||
|
||||
byte[] zzu(zzau zzauVar, String str) throws RemoteException;
|
||||
}
|
||||
@@ -0,0 +1,159 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import java.math.BigInteger;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzek extends zzf {
|
||||
private String zza;
|
||||
private String zzb;
|
||||
private int zzc;
|
||||
private String zzd;
|
||||
private String zze;
|
||||
private long zzf;
|
||||
private final long zzg;
|
||||
private List zzh;
|
||||
private String zzi;
|
||||
private int zzj;
|
||||
private String zzk;
|
||||
private String zzl;
|
||||
private String zzm;
|
||||
private long zzn;
|
||||
private String zzo;
|
||||
|
||||
public zzek(zzgd zzgdVar, long j4) {
|
||||
super(zzgdVar);
|
||||
this.zzn = 0L;
|
||||
this.zzo = null;
|
||||
this.zzg = j4;
|
||||
}
|
||||
|
||||
/* JADX WARN: Can't wrap try/catch for region: R(20:1|(1:3)(6:67|68|(1:70)(2:85|(1:87))|71|72|(20:74|(1:76)(1:83)|78|79|5|(1:66)(1:9)|10|11|13|(1:15)|16|17|(1:19)(1:54)|20|(3:22|(1:24)(1:26)|25)|(3:28|(1:30)(1:33)|31)|34|(3:36|(1:38)(3:45|(3:48|(1:50)(1:51)|46)|52)|(2:40|41)(2:43|44))|53|(0)(0)))|4|5|(1:7)|66|10|11|13|(0)|16|17|(0)(0)|20|(0)|(0)|34|(0)|53|(0)(0)) */
|
||||
/* JADX WARN: Code restructure failed: missing block: B:55:0x01a2, code lost:
|
||||
|
||||
r2 = move-exception;
|
||||
*/
|
||||
/* JADX WARN: Code restructure failed: missing block: B:57:0x01c5, code lost:
|
||||
|
||||
r11.zzt.zzaA().zzd().zzc("Fetching Google App Id failed with exception. appId", com.google.android.gms.measurement.internal.zzet.zzn(r0), r2);
|
||||
*/
|
||||
/* JADX WARN: Removed duplicated region for block: B:12:0x00cf */
|
||||
/* JADX WARN: Removed duplicated region for block: B:15:0x0151 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:19:0x0171 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:22:0x017b A[Catch: IllegalStateException -> 0x01a2, TryCatch #0 {IllegalStateException -> 0x01a2, blocks: (B:17:0x0159, B:20:0x0173, B:22:0x017b, B:25:0x0199, B:26:0x0195, B:28:0x01a6, B:30:0x01bc, B:31:0x01c1, B:33:0x01bf), top: B:16:0x0159 }] */
|
||||
/* JADX WARN: Removed duplicated region for block: B:28:0x01a6 A[Catch: IllegalStateException -> 0x01a2, TryCatch #0 {IllegalStateException -> 0x01a2, blocks: (B:17:0x0159, B:20:0x0173, B:22:0x017b, B:25:0x0199, B:26:0x0195, B:28:0x01a6, B:30:0x01bc, B:31:0x01c1, B:33:0x01bf), top: B:16:0x0159 }] */
|
||||
/* JADX WARN: Removed duplicated region for block: B:36:0x01ef */
|
||||
/* JADX WARN: Removed duplicated region for block: B:40:0x0228 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:43:0x0235 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:54:0x0172 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:58:0x00df */
|
||||
/* JADX WARN: Removed duplicated region for block: B:59:0x00ef */
|
||||
/* JADX WARN: Removed duplicated region for block: B:60:0x00ff */
|
||||
/* JADX WARN: Removed duplicated region for block: B:61:0x0107 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:62:0x0117 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:63:0x0127 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:64:0x012f */
|
||||
/* JADX WARN: Removed duplicated region for block: B:65:0x013f */
|
||||
/* JADX WARN: Removed duplicated region for block: B:7:0x00b5 */
|
||||
@Override // com.google.android.gms.measurement.internal.zzf
|
||||
@org.checkerframework.checker.nullness.qual.EnsuresNonNull({com.google.firebase.remoteconfig.RemoteConfigConstants.RequestFieldKey.APP_ID, "appStore", "appName", "gmpAppId", "gaAppId"})
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final void zzd() {
|
||||
/*
|
||||
Method dump skipped, instructions count: 588
|
||||
To view this dump add '--comments-level debug' option
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzek.zzd():void");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzf
|
||||
public final boolean zzf() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public final int zzh() {
|
||||
zza();
|
||||
return this.zzj;
|
||||
}
|
||||
|
||||
public final int zzi() {
|
||||
zza();
|
||||
return this.zzc;
|
||||
}
|
||||
|
||||
/* JADX WARN: Removed duplicated region for block: B:30:0x0188 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:33:0x01d3 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:37:0x01fc */
|
||||
/* JADX WARN: Removed duplicated region for block: B:40:0x0220 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:55:0x0267 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:58:0x0283 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:77:0x0269 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:78:0x0256 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:79:0x01d7 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:80:0x018e */
|
||||
/* JADX WARN: Unreachable blocks removed: 1, instructions: 1 */
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final com.google.android.gms.measurement.internal.zzq zzj(java.lang.String r36) {
|
||||
/*
|
||||
Method dump skipped, instructions count: 753
|
||||
To view this dump add '--comments-level debug' option
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzek.zzj(java.lang.String):com.google.android.gms.measurement.internal.zzq");
|
||||
}
|
||||
|
||||
public final String zzk() {
|
||||
zza();
|
||||
return this.zzl;
|
||||
}
|
||||
|
||||
public final String zzl() {
|
||||
zza();
|
||||
Preconditions.checkNotNull(this.zza);
|
||||
return this.zza;
|
||||
}
|
||||
|
||||
public final String zzm() {
|
||||
zzg();
|
||||
zza();
|
||||
Preconditions.checkNotNull(this.zzk);
|
||||
return this.zzk;
|
||||
}
|
||||
|
||||
public final List zzn() {
|
||||
return this.zzh;
|
||||
}
|
||||
|
||||
public final void zzo() {
|
||||
String format;
|
||||
zzg();
|
||||
if (this.zzt.zzm().zzc().zzj(zzha.ANALYTICS_STORAGE)) {
|
||||
byte[] bArr = new byte[16];
|
||||
this.zzt.zzv().zzG().nextBytes(bArr);
|
||||
format = String.format(Locale.US, "%032x", new BigInteger(1, bArr));
|
||||
} else {
|
||||
this.zzt.zzaA().zzc().zza("Analytics Storage consent is not granted");
|
||||
format = null;
|
||||
}
|
||||
this.zzt.zzaA().zzc().zza("Resetting session stitching token to ".concat(format == null ? "null" : "not null"));
|
||||
this.zzm = format;
|
||||
this.zzn = this.zzt.zzax().currentTimeMillis();
|
||||
}
|
||||
|
||||
public final boolean zzp(String str) {
|
||||
String str2 = this.zzo;
|
||||
boolean z3 = false;
|
||||
if (str2 != null && !str2.equals(str)) {
|
||||
z3 = true;
|
||||
}
|
||||
this.zzo = str;
|
||||
return z3;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import C.w;
|
||||
import android.content.Context;
|
||||
import android.database.sqlite.SQLiteDatabase;
|
||||
import android.database.sqlite.SQLiteDatabaseLockedException;
|
||||
import android.database.sqlite.SQLiteException;
|
||||
import android.database.sqlite.SQLiteOpenHelper;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzel extends SQLiteOpenHelper {
|
||||
final /* synthetic */ zzem zza;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public zzel(zzem zzemVar, Context context, String str) {
|
||||
super(context, "google_app_measurement_local.db", (SQLiteDatabase.CursorFactory) null, 1);
|
||||
this.zza = zzemVar;
|
||||
}
|
||||
|
||||
@Override // android.database.sqlite.SQLiteOpenHelper
|
||||
public final SQLiteDatabase getWritableDatabase() throws SQLiteException {
|
||||
try {
|
||||
return super.getWritableDatabase();
|
||||
} catch (SQLiteDatabaseLockedException e4) {
|
||||
throw e4;
|
||||
} catch (SQLiteException unused) {
|
||||
w.v(this.zza.zzt, "Opening the local database failed, dropping and recreating it");
|
||||
this.zza.zzt.zzf();
|
||||
if (!this.zza.zzt.zzaw().getDatabasePath("google_app_measurement_local.db").delete()) {
|
||||
this.zza.zzt.zzaA().zzd().zzb("Failed to delete corrupted local db file", "google_app_measurement_local.db");
|
||||
}
|
||||
try {
|
||||
return super.getWritableDatabase();
|
||||
} catch (SQLiteException e5) {
|
||||
this.zza.zzt.zzaA().zzd().zzb("Failed to open local database. Events will bypass local storage", e5);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.database.sqlite.SQLiteOpenHelper
|
||||
public final void onCreate(SQLiteDatabase sQLiteDatabase) {
|
||||
zzal.zzb(this.zza.zzt.zzaA(), sQLiteDatabase);
|
||||
}
|
||||
|
||||
@Override // android.database.sqlite.SQLiteOpenHelper
|
||||
public final void onDowngrade(SQLiteDatabase sQLiteDatabase, int i, int i4) {
|
||||
}
|
||||
|
||||
@Override // android.database.sqlite.SQLiteOpenHelper
|
||||
public final void onOpen(SQLiteDatabase sQLiteDatabase) {
|
||||
zzal.zza(this.zza.zzt.zzaA(), sQLiteDatabase, "messages", "create table if not exists messages ( type INTEGER NOT NULL, entry BLOB NOT NULL)", "type,entry", null);
|
||||
}
|
||||
|
||||
@Override // android.database.sqlite.SQLiteOpenHelper
|
||||
public final void onUpgrade(SQLiteDatabase sQLiteDatabase, int i, int i4) {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,202 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import C.w;
|
||||
import android.content.Context;
|
||||
import android.database.sqlite.SQLiteDatabase;
|
||||
import android.database.sqlite.SQLiteDatabaseLockedException;
|
||||
import android.database.sqlite.SQLiteException;
|
||||
import android.database.sqlite.SQLiteFullException;
|
||||
import android.os.Parcel;
|
||||
import android.os.SystemClock;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzem extends zzf {
|
||||
private final zzel zza;
|
||||
private boolean zzb;
|
||||
|
||||
public zzem(zzgd zzgdVar) {
|
||||
super(zzgdVar);
|
||||
Context zzaw = this.zzt.zzaw();
|
||||
this.zzt.zzf();
|
||||
this.zza = new zzel(this, zzaw, "google_app_measurement_local.db");
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
/* JADX WARN: Removed duplicated region for block: B:16:0x0165 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:18:0x016a */
|
||||
/* JADX WARN: Removed duplicated region for block: B:25:0x0135 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:27:0x013a */
|
||||
/* JADX WARN: Removed duplicated region for block: B:30:0x015c A[SYNTHETIC] */
|
||||
/* JADX WARN: Removed duplicated region for block: B:37:0x0156 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:41:0x015c A[SYNTHETIC] */
|
||||
/* JADX WARN: Removed duplicated region for block: B:49:0x011f */
|
||||
/* JADX WARN: Removed duplicated region for block: B:51:0x015c A[SYNTHETIC] */
|
||||
/* JADX WARN: Removed duplicated region for block: B:52:0x00fe A[EXC_TOP_SPLITTER, SYNTHETIC] */
|
||||
/* JADX WARN: Removed duplicated region for block: B:83:0x00de */
|
||||
/* JADX WARN: Type inference failed for: r10v0 */
|
||||
/* JADX WARN: Type inference failed for: r10v16 */
|
||||
/* JADX WARN: Type inference failed for: r10v2 */
|
||||
/* JADX WARN: Type inference failed for: r10v3, types: [android.database.Cursor] */
|
||||
/* JADX WARN: Type inference failed for: r10v6, types: [android.database.Cursor] */
|
||||
/* JADX WARN: Type inference failed for: r2v0 */
|
||||
/* JADX WARN: Type inference failed for: r2v1, types: [int, boolean] */
|
||||
/* JADX WARN: Type inference failed for: r2v11 */
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
private final boolean zzq(int r18, byte[] r19) {
|
||||
/*
|
||||
Method dump skipped, instructions count: 376
|
||||
To view this dump add '--comments-level debug' option
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzem.zzq(int, byte[]):boolean");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzf
|
||||
public final boolean zzf() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public final SQLiteDatabase zzh() throws SQLiteException {
|
||||
if (this.zzb) {
|
||||
return null;
|
||||
}
|
||||
SQLiteDatabase writableDatabase = this.zza.getWritableDatabase();
|
||||
if (writableDatabase != null) {
|
||||
return writableDatabase;
|
||||
}
|
||||
this.zzb = true;
|
||||
return null;
|
||||
}
|
||||
|
||||
/* JADX WARN: Removed duplicated region for block: B:133:0x021d */
|
||||
/* JADX WARN: Removed duplicated region for block: B:135:0x0222 */
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final java.util.List zzi(int r23) {
|
||||
/*
|
||||
Method dump skipped, instructions count: 559
|
||||
To view this dump add '--comments-level debug' option
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzem.zzi(int):java.util.List");
|
||||
}
|
||||
|
||||
public final void zzj() {
|
||||
int delete;
|
||||
zzg();
|
||||
try {
|
||||
SQLiteDatabase zzh = zzh();
|
||||
if (zzh == null || (delete = zzh.delete("messages", null, null)) <= 0) {
|
||||
return;
|
||||
}
|
||||
this.zzt.zzaA().zzj().zzb("Reset local analytics data. records", Integer.valueOf(delete));
|
||||
} catch (SQLiteException e4) {
|
||||
this.zzt.zzaA().zzd().zzb("Error resetting local analytics data. error", e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final boolean zzk() {
|
||||
return zzq(3, new byte[0]);
|
||||
}
|
||||
|
||||
public final boolean zzl() {
|
||||
Context zzaw = this.zzt.zzaw();
|
||||
this.zzt.zzf();
|
||||
return zzaw.getDatabasePath("google_app_measurement_local.db").exists();
|
||||
}
|
||||
|
||||
public final boolean zzm() {
|
||||
int i;
|
||||
zzg();
|
||||
if (!this.zzb && zzl()) {
|
||||
int i4 = 5;
|
||||
for (0; i < 5; i + 1) {
|
||||
SQLiteDatabase sQLiteDatabase = null;
|
||||
try {
|
||||
try {
|
||||
try {
|
||||
SQLiteDatabase zzh = zzh();
|
||||
if (zzh == null) {
|
||||
this.zzb = true;
|
||||
return false;
|
||||
}
|
||||
zzh.beginTransaction();
|
||||
zzh.delete("messages", "type == ?", new String[]{Integer.toString(3)});
|
||||
zzh.setTransactionSuccessful();
|
||||
zzh.endTransaction();
|
||||
zzh.close();
|
||||
return true;
|
||||
} catch (SQLiteException e4) {
|
||||
if (0 != 0) {
|
||||
try {
|
||||
if (sQLiteDatabase.inTransaction()) {
|
||||
sQLiteDatabase.endTransaction();
|
||||
}
|
||||
} catch (Throwable th) {
|
||||
if (0 != 0) {
|
||||
sQLiteDatabase.close();
|
||||
}
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
this.zzt.zzaA().zzd().zzb("Error deleting app launch break from local database", e4);
|
||||
this.zzb = true;
|
||||
if (0 != 0) {
|
||||
sQLiteDatabase.close();
|
||||
}
|
||||
}
|
||||
} catch (SQLiteDatabaseLockedException unused) {
|
||||
SystemClock.sleep(i4);
|
||||
i4 += 20;
|
||||
i = 0 == 0 ? i + 1 : 0;
|
||||
sQLiteDatabase.close();
|
||||
}
|
||||
} catch (SQLiteFullException e5) {
|
||||
this.zzt.zzaA().zzd().zzb("Error deleting app launch break from local database", e5);
|
||||
this.zzb = true;
|
||||
if (0 == 0) {
|
||||
}
|
||||
sQLiteDatabase.close();
|
||||
}
|
||||
}
|
||||
w.A(this.zzt, "Error deleting app launch break from local database in reasonable time");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public final boolean zzn(zzac zzacVar) {
|
||||
byte[] zzap = this.zzt.zzv().zzap(zzacVar);
|
||||
if (zzap.length <= 131072) {
|
||||
return zzq(2, zzap);
|
||||
}
|
||||
this.zzt.zzaA().zzh().zza("Conditional user property too long for local database. Sending directly to service");
|
||||
return false;
|
||||
}
|
||||
|
||||
public final boolean zzo(zzau zzauVar) {
|
||||
Parcel obtain = Parcel.obtain();
|
||||
zzav.zza(zzauVar, obtain, 0);
|
||||
byte[] marshall = obtain.marshall();
|
||||
obtain.recycle();
|
||||
if (marshall.length <= 131072) {
|
||||
return zzq(0, marshall);
|
||||
}
|
||||
this.zzt.zzaA().zzh().zza("Event is too long for local database. Sending event directly to service");
|
||||
return false;
|
||||
}
|
||||
|
||||
public final boolean zzp(zzlk zzlkVar) {
|
||||
Parcel obtain = Parcel.obtain();
|
||||
zzll.zza(zzlkVar, obtain, 0);
|
||||
byte[] marshall = obtain.marshall();
|
||||
obtain.recycle();
|
||||
if (marshall.length <= 131072) {
|
||||
return zzq(1, marshall);
|
||||
}
|
||||
this.zzt.zzaA().zzh().zza("User property too long for local database. Sending directly to service");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzen {
|
||||
boolean zza();
|
||||
}
|
||||
@@ -0,0 +1,125 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import C.w;
|
||||
import android.os.Bundle;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import java.util.ArrayList;
|
||||
import java.util.concurrent.atomic.AtomicReference;
|
||||
import u.AbstractC0629f;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzeo {
|
||||
protected static final AtomicReference zza = new AtomicReference();
|
||||
protected static final AtomicReference zzb = new AtomicReference();
|
||||
protected static final AtomicReference zzc = new AtomicReference();
|
||||
private final zzen zzd;
|
||||
|
||||
public zzeo(zzen zzenVar) {
|
||||
this.zzd = zzenVar;
|
||||
}
|
||||
|
||||
private static final String zzg(String str, String[] strArr, String[] strArr2, AtomicReference atomicReference) {
|
||||
String str2;
|
||||
Preconditions.checkNotNull(strArr);
|
||||
Preconditions.checkNotNull(strArr2);
|
||||
Preconditions.checkNotNull(atomicReference);
|
||||
Preconditions.checkArgument(strArr.length == strArr2.length);
|
||||
for (int i = 0; i < strArr.length; i++) {
|
||||
Object obj = strArr[i];
|
||||
if (str == obj || str.equals(obj)) {
|
||||
synchronized (atomicReference) {
|
||||
try {
|
||||
String[] strArr3 = (String[]) atomicReference.get();
|
||||
if (strArr3 == null) {
|
||||
strArr3 = new String[strArr2.length];
|
||||
atomicReference.set(strArr3);
|
||||
}
|
||||
str2 = strArr3[i];
|
||||
if (str2 == null) {
|
||||
str2 = strArr2[i] + "(" + strArr[i] + ")";
|
||||
strArr3[i] = str2;
|
||||
}
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
return str2;
|
||||
}
|
||||
}
|
||||
return str;
|
||||
}
|
||||
|
||||
public final String zza(Object[] objArr) {
|
||||
if (objArr == null) {
|
||||
return "[]";
|
||||
}
|
||||
StringBuilder a2 = AbstractC0629f.a("[");
|
||||
for (Object obj : objArr) {
|
||||
String zzb2 = obj instanceof Bundle ? zzb((Bundle) obj) : String.valueOf(obj);
|
||||
if (zzb2 != null) {
|
||||
if (a2.length() != 1) {
|
||||
a2.append(", ");
|
||||
}
|
||||
a2.append(zzb2);
|
||||
}
|
||||
}
|
||||
a2.append("]");
|
||||
return a2.toString();
|
||||
}
|
||||
|
||||
public final String zzb(Bundle bundle) {
|
||||
if (bundle == null) {
|
||||
return null;
|
||||
}
|
||||
if (!this.zzd.zza()) {
|
||||
return bundle.toString();
|
||||
}
|
||||
StringBuilder a2 = AbstractC0629f.a("Bundle[{");
|
||||
for (String str : bundle.keySet()) {
|
||||
if (a2.length() != 8) {
|
||||
a2.append(", ");
|
||||
}
|
||||
a2.append(zze(str));
|
||||
a2.append("=");
|
||||
Object obj = bundle.get(str);
|
||||
a2.append(obj instanceof Bundle ? zza(new Object[]{obj}) : obj instanceof Object[] ? zza((Object[]) obj) : obj instanceof ArrayList ? zza(((ArrayList) obj).toArray()) : String.valueOf(obj));
|
||||
}
|
||||
a2.append("}]");
|
||||
return a2.toString();
|
||||
}
|
||||
|
||||
public final String zzc(zzau zzauVar) {
|
||||
if (!this.zzd.zza()) {
|
||||
return zzauVar.toString();
|
||||
}
|
||||
StringBuilder sb = new StringBuilder("origin=");
|
||||
sb.append(zzauVar.zzc);
|
||||
sb.append(",name=");
|
||||
sb.append(zzd(zzauVar.zza));
|
||||
sb.append(",params=");
|
||||
zzas zzasVar = zzauVar.zzb;
|
||||
sb.append(zzasVar == null ? null : !this.zzd.zza() ? zzasVar.toString() : zzb(zzasVar.zzc()));
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
public final String zzd(String str) {
|
||||
if (str == null) {
|
||||
return null;
|
||||
}
|
||||
return !this.zzd.zza() ? str : zzg(str, zzhc.zzc, zzhc.zza, zza);
|
||||
}
|
||||
|
||||
public final String zze(String str) {
|
||||
if (str == null) {
|
||||
return null;
|
||||
}
|
||||
return !this.zzd.zza() ? str : zzg(str, zzhd.zzb, zzhd.zza, zzb);
|
||||
}
|
||||
|
||||
public final String zzf(String str) {
|
||||
if (str == null) {
|
||||
return null;
|
||||
}
|
||||
return !this.zzd.zza() ? str : str.startsWith("_exp_") ? w.o("experiment_id(", str, ")") : zzg(str, zzhe.zzb, zzhe.zza, zzc);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.IBinder;
|
||||
import android.os.IInterface;
|
||||
import android.os.Looper;
|
||||
import com.google.android.gms.common.GooglePlayServicesUtilLight;
|
||||
import com.google.android.gms.common.internal.BaseGmsClient;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzep extends BaseGmsClient {
|
||||
public zzep(Context context, Looper looper, BaseGmsClient.BaseConnectionCallbacks baseConnectionCallbacks, BaseGmsClient.BaseOnConnectionFailedListener baseOnConnectionFailedListener) {
|
||||
super(context, looper, 93, baseConnectionCallbacks, baseOnConnectionFailedListener, null);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.common.internal.BaseGmsClient
|
||||
public final /* synthetic */ IInterface createServiceInterface(IBinder iBinder) {
|
||||
if (iBinder == null) {
|
||||
return null;
|
||||
}
|
||||
IInterface queryLocalInterface = iBinder.queryLocalInterface("com.google.android.gms.measurement.internal.IMeasurementService");
|
||||
return queryLocalInterface instanceof zzej ? (zzej) queryLocalInterface : new zzeh(iBinder);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.common.internal.BaseGmsClient, com.google.android.gms.common.api.Api.Client
|
||||
public final int getMinApkVersion() {
|
||||
return GooglePlayServicesUtilLight.GOOGLE_PLAY_SERVICES_VERSION_CODE;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.common.internal.BaseGmsClient
|
||||
public final String getServiceDescriptor() {
|
||||
return "com.google.android.gms.measurement.internal.IMeasurementService";
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.common.internal.BaseGmsClient
|
||||
public final String getStartServiceAction() {
|
||||
return "com.google.android.gms.measurement.START";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import C.w;
|
||||
import android.util.Log;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzeq implements Runnable {
|
||||
final /* synthetic */ int zza;
|
||||
final /* synthetic */ String zzb;
|
||||
final /* synthetic */ Object zzc;
|
||||
final /* synthetic */ Object zzd;
|
||||
final /* synthetic */ Object zze;
|
||||
final /* synthetic */ zzet zzf;
|
||||
|
||||
public zzeq(zzet zzetVar, int i, String str, Object obj, Object obj2, Object obj3) {
|
||||
this.zzf = zzetVar;
|
||||
this.zza = i;
|
||||
this.zzb = str;
|
||||
this.zzc = obj;
|
||||
this.zzd = obj2;
|
||||
this.zze = obj3;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
char c4;
|
||||
long j4;
|
||||
char c5;
|
||||
long j5;
|
||||
zzfi zzm = this.zzf.zzt.zzm();
|
||||
if (!zzm.zzy()) {
|
||||
Log.println(6, this.zzf.zzr(), "Persisted config not initialized. Not logging error/warn");
|
||||
return;
|
||||
}
|
||||
zzet zzetVar = this.zzf;
|
||||
c4 = zzetVar.zza;
|
||||
if (c4 == 0) {
|
||||
if (zzetVar.zzt.zzf().zzy()) {
|
||||
zzet zzetVar2 = this.zzf;
|
||||
zzetVar2.zzt.zzay();
|
||||
zzetVar2.zza = 'C';
|
||||
} else {
|
||||
zzet zzetVar3 = this.zzf;
|
||||
zzetVar3.zzt.zzay();
|
||||
zzetVar3.zza = 'c';
|
||||
}
|
||||
}
|
||||
zzet zzetVar4 = this.zzf;
|
||||
j4 = zzetVar4.zzb;
|
||||
if (j4 < 0) {
|
||||
zzetVar4.zzt.zzf().zzh();
|
||||
zzetVar4.zzb = 79000L;
|
||||
}
|
||||
char charAt = "01VDIWEA?".charAt(this.zza);
|
||||
zzet zzetVar5 = this.zzf;
|
||||
c5 = zzetVar5.zza;
|
||||
j5 = zzetVar5.zzb;
|
||||
String zzo = zzet.zzo(true, this.zzb, this.zzc, this.zzd, this.zze);
|
||||
StringBuilder sb = new StringBuilder("2");
|
||||
sb.append(charAt);
|
||||
sb.append(c5);
|
||||
sb.append(j5);
|
||||
String r4 = w.r(sb, ":", zzo);
|
||||
if (r4.length() > 1024) {
|
||||
r4 = this.zzb.substring(0, 1024);
|
||||
}
|
||||
zzfg zzfgVar = zzm.zzb;
|
||||
if (zzfgVar != null) {
|
||||
zzfgVar.zzb(r4, 1L);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzer {
|
||||
final /* synthetic */ zzet zza;
|
||||
private final int zzb;
|
||||
private final boolean zzc;
|
||||
private final boolean zzd;
|
||||
|
||||
public zzer(zzet zzetVar, int i, boolean z3, boolean z4) {
|
||||
this.zza = zzetVar;
|
||||
this.zzb = i;
|
||||
this.zzc = z3;
|
||||
this.zzd = z4;
|
||||
}
|
||||
|
||||
public final void zza(String str) {
|
||||
this.zza.zzu(this.zzb, this.zzc, this.zzd, str, null, null, null);
|
||||
}
|
||||
|
||||
public final void zzb(String str, Object obj) {
|
||||
this.zza.zzu(this.zzb, this.zzc, this.zzd, str, obj, null, null);
|
||||
}
|
||||
|
||||
public final void zzc(String str, Object obj, Object obj2) {
|
||||
this.zza.zzu(this.zzb, this.zzc, this.zzd, str, obj, obj2, null);
|
||||
}
|
||||
|
||||
public final void zzd(String str, Object obj, Object obj2, Object obj3) {
|
||||
this.zza.zzu(this.zzb, this.zzc, this.zzd, str, obj, obj2, obj3);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzes {
|
||||
private final String zza;
|
||||
|
||||
public zzes(String str) {
|
||||
this.zza = str;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,235 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import com.google.android.gms.internal.measurement.zzpe;
|
||||
import org.checkerframework.checker.nullness.qual.EnsuresNonNull;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzet extends zzgx {
|
||||
private char zza;
|
||||
private long zzb;
|
||||
private String zzc;
|
||||
private final zzer zzd;
|
||||
private final zzer zze;
|
||||
private final zzer zzf;
|
||||
private final zzer zzg;
|
||||
private final zzer zzh;
|
||||
private final zzer zzi;
|
||||
private final zzer zzj;
|
||||
private final zzer zzk;
|
||||
private final zzer zzl;
|
||||
|
||||
public zzet(zzgd zzgdVar) {
|
||||
super(zzgdVar);
|
||||
this.zza = (char) 0;
|
||||
this.zzb = -1L;
|
||||
this.zzd = new zzer(this, 6, false, false);
|
||||
this.zze = new zzer(this, 6, true, false);
|
||||
this.zzf = new zzer(this, 6, false, true);
|
||||
this.zzg = new zzer(this, 5, false, false);
|
||||
this.zzh = new zzer(this, 5, true, false);
|
||||
this.zzi = new zzer(this, 5, false, true);
|
||||
this.zzj = new zzer(this, 4, false, false);
|
||||
this.zzk = new zzer(this, 3, false, false);
|
||||
this.zzl = new zzer(this, 2, false, false);
|
||||
}
|
||||
|
||||
public static Object zzn(String str) {
|
||||
if (str == null) {
|
||||
return null;
|
||||
}
|
||||
return new zzes(str);
|
||||
}
|
||||
|
||||
public static String zzo(boolean z3, String str, Object obj, Object obj2, Object obj3) {
|
||||
String zzp = zzp(z3, obj);
|
||||
String zzp2 = zzp(z3, obj2);
|
||||
String zzp3 = zzp(z3, obj3);
|
||||
StringBuilder sb = new StringBuilder();
|
||||
String str2 = "";
|
||||
if (str == null) {
|
||||
str = "";
|
||||
}
|
||||
if (!TextUtils.isEmpty(str)) {
|
||||
sb.append(str);
|
||||
str2 = ": ";
|
||||
}
|
||||
String str3 = ", ";
|
||||
if (!TextUtils.isEmpty(zzp)) {
|
||||
sb.append(str2);
|
||||
sb.append(zzp);
|
||||
str2 = ", ";
|
||||
}
|
||||
if (TextUtils.isEmpty(zzp2)) {
|
||||
str3 = str2;
|
||||
} else {
|
||||
sb.append(str2);
|
||||
sb.append(zzp2);
|
||||
}
|
||||
if (!TextUtils.isEmpty(zzp3)) {
|
||||
sb.append(str3);
|
||||
sb.append(zzp3);
|
||||
}
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
public static String zzp(boolean z3, Object obj) {
|
||||
String str;
|
||||
String className;
|
||||
if (obj == null) {
|
||||
return "";
|
||||
}
|
||||
if (obj instanceof Integer) {
|
||||
obj = Long.valueOf(((Integer) obj).intValue());
|
||||
}
|
||||
int i = 0;
|
||||
if (obj instanceof Long) {
|
||||
if (!z3) {
|
||||
return obj.toString();
|
||||
}
|
||||
Long l4 = (Long) obj;
|
||||
if (Math.abs(l4.longValue()) < 100) {
|
||||
return obj.toString();
|
||||
}
|
||||
char charAt = obj.toString().charAt(0);
|
||||
String valueOf = String.valueOf(Math.abs(l4.longValue()));
|
||||
long round = Math.round(Math.pow(10.0d, valueOf.length() - 1));
|
||||
long round2 = Math.round(Math.pow(10.0d, valueOf.length()) - 1.0d);
|
||||
StringBuilder sb = new StringBuilder();
|
||||
String str2 = charAt == '-' ? "-" : "";
|
||||
sb.append(str2);
|
||||
sb.append(round);
|
||||
sb.append("...");
|
||||
sb.append(str2);
|
||||
sb.append(round2);
|
||||
return sb.toString();
|
||||
}
|
||||
if (obj instanceof Boolean) {
|
||||
return obj.toString();
|
||||
}
|
||||
if (!(obj instanceof Throwable)) {
|
||||
if (!(obj instanceof zzes)) {
|
||||
return z3 ? "-" : obj.toString();
|
||||
}
|
||||
str = ((zzes) obj).zza;
|
||||
return str;
|
||||
}
|
||||
Throwable th = (Throwable) obj;
|
||||
StringBuilder sb2 = new StringBuilder(z3 ? th.getClass().getName() : th.toString());
|
||||
String zzq = zzq(zzgd.class.getCanonicalName());
|
||||
StackTraceElement[] stackTrace = th.getStackTrace();
|
||||
int length = stackTrace.length;
|
||||
while (true) {
|
||||
if (i >= length) {
|
||||
break;
|
||||
}
|
||||
StackTraceElement stackTraceElement = stackTrace[i];
|
||||
if (!stackTraceElement.isNativeMethod() && (className = stackTraceElement.getClassName()) != null && zzq(className).equals(zzq)) {
|
||||
sb2.append(": ");
|
||||
sb2.append(stackTraceElement);
|
||||
break;
|
||||
}
|
||||
i++;
|
||||
}
|
||||
return sb2.toString();
|
||||
}
|
||||
|
||||
public static String zzq(String str) {
|
||||
if (TextUtils.isEmpty(str)) {
|
||||
return "";
|
||||
}
|
||||
int lastIndexOf = str.lastIndexOf(46);
|
||||
if (lastIndexOf != -1) {
|
||||
return str.substring(0, lastIndexOf);
|
||||
}
|
||||
zzpe.zzc();
|
||||
return ((Boolean) zzeg.zzay.zza(null)).booleanValue() ? "" : str;
|
||||
}
|
||||
|
||||
public final zzer zzc() {
|
||||
return this.zzk;
|
||||
}
|
||||
|
||||
public final zzer zzd() {
|
||||
return this.zzd;
|
||||
}
|
||||
|
||||
public final zzer zze() {
|
||||
return this.zzf;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzgx
|
||||
public final boolean zzf() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public final zzer zzh() {
|
||||
return this.zze;
|
||||
}
|
||||
|
||||
public final zzer zzi() {
|
||||
return this.zzj;
|
||||
}
|
||||
|
||||
public final zzer zzj() {
|
||||
return this.zzl;
|
||||
}
|
||||
|
||||
public final zzer zzk() {
|
||||
return this.zzg;
|
||||
}
|
||||
|
||||
public final zzer zzl() {
|
||||
return this.zzi;
|
||||
}
|
||||
|
||||
public final zzer zzm() {
|
||||
return this.zzh;
|
||||
}
|
||||
|
||||
@EnsuresNonNull({"logTagDoNotUseDirectly"})
|
||||
public final String zzr() {
|
||||
String str;
|
||||
synchronized (this) {
|
||||
try {
|
||||
if (this.zzc == null) {
|
||||
if (this.zzt.zzy() != null) {
|
||||
this.zzc = this.zzt.zzy();
|
||||
} else {
|
||||
this.zzc = this.zzt.zzf().zzn();
|
||||
}
|
||||
}
|
||||
Preconditions.checkNotNull(this.zzc);
|
||||
str = this.zzc;
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
return str;
|
||||
}
|
||||
|
||||
public final void zzu(int i, boolean z3, boolean z4, String str, Object obj, Object obj2, Object obj3) {
|
||||
if (!z3 && Log.isLoggable(zzr(), i)) {
|
||||
Log.println(i, zzr(), zzo(false, str, obj, obj2, obj3));
|
||||
}
|
||||
if (z4 || i < 5) {
|
||||
return;
|
||||
}
|
||||
Preconditions.checkNotNull(str);
|
||||
zzga zzo = this.zzt.zzo();
|
||||
if (zzo == null) {
|
||||
Log.println(6, zzr(), "Scheduler not set. Not logging error/warn");
|
||||
} else {
|
||||
if (!zzo.zzy()) {
|
||||
Log.println(6, zzr(), "Scheduler not initialized. Not logging error/warn");
|
||||
return;
|
||||
}
|
||||
if (i >= 9) {
|
||||
i = 8;
|
||||
}
|
||||
zzo.zzp(new zzeq(this, i, str, obj, obj2, obj3));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import android.os.Bundle;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzeu {
|
||||
public final String zza;
|
||||
public final String zzb;
|
||||
public final long zzc;
|
||||
public final Bundle zzd;
|
||||
|
||||
public zzeu(String str, String str2, Bundle bundle, long j4) {
|
||||
this.zza = str;
|
||||
this.zzb = str2;
|
||||
this.zzd = bundle;
|
||||
this.zzc = j4;
|
||||
}
|
||||
|
||||
public static zzeu zzb(zzau zzauVar) {
|
||||
return new zzeu(zzauVar.zza, zzauVar.zzc, zzauVar.zzb.zzc(), zzauVar.zzd);
|
||||
}
|
||||
|
||||
public final String toString() {
|
||||
return "origin=" + this.zzb + ",name=" + this.zza + ",params=" + this.zzd.toString();
|
||||
}
|
||||
|
||||
public final zzau zza() {
|
||||
return new zzau(this.zza, new zzas(new Bundle(this.zzd)), this.zzb, this.zzc);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zzev {
|
||||
void zza(String str, int i, Throwable th, byte[] bArr, Map map);
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import java.util.Map;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzex implements Runnable {
|
||||
private final zzev zza;
|
||||
private final int zzb;
|
||||
private final Throwable zzc;
|
||||
private final byte[] zzd;
|
||||
private final String zze;
|
||||
private final Map zzf;
|
||||
|
||||
public /* synthetic */ zzex(String str, zzev zzevVar, int i, Throwable th, byte[] bArr, Map map, zzew zzewVar) {
|
||||
Preconditions.checkNotNull(zzevVar);
|
||||
this.zza = zzevVar;
|
||||
this.zzb = i;
|
||||
this.zzc = th;
|
||||
this.zzd = bArr;
|
||||
this.zze = str;
|
||||
this.zzf = map;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
this.zza.zza(this.zze, this.zzb, this.zzc, this.zzd, this.zzf);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import java.net.URL;
|
||||
import java.util.Map;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzey implements Runnable {
|
||||
final /* synthetic */ zzez zza;
|
||||
private final URL zzb;
|
||||
private final byte[] zzc;
|
||||
private final zzev zzd;
|
||||
private final String zze;
|
||||
private final Map zzf;
|
||||
|
||||
public zzey(zzez zzezVar, String str, URL url, byte[] bArr, Map map, zzev zzevVar) {
|
||||
this.zza = zzezVar;
|
||||
Preconditions.checkNotEmpty(str);
|
||||
Preconditions.checkNotNull(url);
|
||||
Preconditions.checkNotNull(zzevVar);
|
||||
this.zzb = url;
|
||||
this.zzc = bArr;
|
||||
this.zzd = zzevVar;
|
||||
this.zze = str;
|
||||
this.zzf = map;
|
||||
}
|
||||
|
||||
/* JADX WARN: Not initialized variable reg: 11, insn: 0x0108: MOVE (r9 I:??[OBJECT, ARRAY]) = (r11 I:??[OBJECT, ARRAY]), block:B:80:0x0106 */
|
||||
/* JADX WARN: Not initialized variable reg: 11, insn: 0x010b: MOVE (r10 I:??[OBJECT, ARRAY]) = (r11 I:??[OBJECT, ARRAY]), block:B:78:0x010a */
|
||||
/* JADX WARN: Removed duplicated region for block: B:24:0x018a */
|
||||
/* JADX WARN: Removed duplicated region for block: B:28:0x016e A[EXC_TOP_SPLITTER, SYNTHETIC] */
|
||||
/* JADX WARN: Removed duplicated region for block: B:38:0x014d */
|
||||
/* JADX WARN: Removed duplicated region for block: B:41:0x0131 A[EXC_TOP_SPLITTER, SYNTHETIC] */
|
||||
@Override // java.lang.Runnable
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final void run() {
|
||||
/*
|
||||
Method dump skipped, instructions count: 420
|
||||
To view this dump add '--comments-level debug' option
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzey.run():void");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import android.net.ConnectivityManager;
|
||||
import android.net.NetworkInfo;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzez extends zzku {
|
||||
public zzez(zzlh zzlhVar) {
|
||||
super(zzlhVar);
|
||||
}
|
||||
|
||||
public final boolean zza() {
|
||||
zzW();
|
||||
ConnectivityManager connectivityManager = (ConnectivityManager) this.zzt.zzaw().getSystemService("connectivity");
|
||||
NetworkInfo networkInfo = null;
|
||||
if (connectivityManager != null) {
|
||||
try {
|
||||
networkInfo = connectivityManager.getActiveNetworkInfo();
|
||||
} catch (SecurityException unused) {
|
||||
}
|
||||
}
|
||||
return networkInfo != null && networkInfo.isConnected();
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzku
|
||||
public final boolean zzb() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
/* loaded from: classes3.dex */
|
||||
public abstract class zzf extends zze {
|
||||
private boolean zza;
|
||||
|
||||
public zzf(zzgd zzgdVar) {
|
||||
super(zzgdVar);
|
||||
this.zzt.zzD();
|
||||
}
|
||||
|
||||
public final void zza() {
|
||||
if (!zze()) {
|
||||
throw new IllegalStateException("Not initialized");
|
||||
}
|
||||
}
|
||||
|
||||
public final void zzb() {
|
||||
if (this.zza) {
|
||||
throw new IllegalStateException("Can't initialize twice");
|
||||
}
|
||||
if (zzf()) {
|
||||
return;
|
||||
}
|
||||
this.zzt.zzB();
|
||||
this.zza = true;
|
||||
}
|
||||
|
||||
public final void zzc() {
|
||||
if (this.zza) {
|
||||
throw new IllegalStateException("Can't initialize twice");
|
||||
}
|
||||
zzd();
|
||||
this.zzt.zzB();
|
||||
this.zza = true;
|
||||
}
|
||||
|
||||
public void zzd() {
|
||||
}
|
||||
|
||||
public final boolean zze() {
|
||||
return this.zza;
|
||||
}
|
||||
|
||||
public abstract boolean zzf();
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzfa implements Runnable {
|
||||
final /* synthetic */ boolean zza;
|
||||
final /* synthetic */ zzfb zzb;
|
||||
|
||||
public zzfa(zzfb zzfbVar, boolean z3) {
|
||||
this.zzb = zzfbVar;
|
||||
this.zza = z3;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
zzlh zzlhVar;
|
||||
zzlhVar = this.zzb.zzb;
|
||||
zzlhVar.zzJ(this.zza);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import android.content.BroadcastReceiver;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.IntentFilter;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import com.google.android.gms.common.util.VisibleForTesting;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzfb extends BroadcastReceiver {
|
||||
|
||||
@VisibleForTesting
|
||||
static final String zza = "com.google.android.gms.measurement.internal.zzfb";
|
||||
private final zzlh zzb;
|
||||
private boolean zzc;
|
||||
private boolean zzd;
|
||||
|
||||
public zzfb(zzlh zzlhVar) {
|
||||
Preconditions.checkNotNull(zzlhVar);
|
||||
this.zzb = zzlhVar;
|
||||
}
|
||||
|
||||
@Override // android.content.BroadcastReceiver
|
||||
public final void onReceive(Context context, Intent intent) {
|
||||
this.zzb.zzB();
|
||||
String action = intent.getAction();
|
||||
this.zzb.zzaA().zzj().zzb("NetworkBroadcastReceiver received action", action);
|
||||
if (!"android.net.conn.CONNECTIVITY_CHANGE".equals(action)) {
|
||||
this.zzb.zzaA().zzk().zzb("NetworkBroadcastReceiver received unknown action", action);
|
||||
return;
|
||||
}
|
||||
boolean zza2 = this.zzb.zzj().zza();
|
||||
if (this.zzd != zza2) {
|
||||
this.zzd = zza2;
|
||||
this.zzb.zzaB().zzp(new zzfa(this, zza2));
|
||||
}
|
||||
}
|
||||
|
||||
public final void zzb() {
|
||||
this.zzb.zzB();
|
||||
this.zzb.zzaB().zzg();
|
||||
if (this.zzc) {
|
||||
return;
|
||||
}
|
||||
this.zzb.zzaw().registerReceiver(this, new IntentFilter("android.net.conn.CONNECTIVITY_CHANGE"));
|
||||
this.zzd = this.zzb.zzj().zza();
|
||||
this.zzb.zzaA().zzj().zzb("Registering connectivity change receiver. Network connected", Boolean.valueOf(this.zzd));
|
||||
this.zzc = true;
|
||||
}
|
||||
|
||||
public final void zzc() {
|
||||
this.zzb.zzB();
|
||||
this.zzb.zzaB().zzg();
|
||||
this.zzb.zzaB().zzg();
|
||||
if (this.zzc) {
|
||||
this.zzb.zzaA().zzj().zza("Unregistering connectivity change receiver");
|
||||
this.zzc = false;
|
||||
this.zzd = false;
|
||||
try {
|
||||
this.zzb.zzaw().unregisterReceiver(this);
|
||||
} catch (IllegalArgumentException e4) {
|
||||
this.zzb.zzaA().zzd().zzb("Failed to unregister the network broadcast receiver", e4);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import android.content.SharedPreferences;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzfc {
|
||||
final /* synthetic */ zzfi zza;
|
||||
private final String zzb;
|
||||
private final boolean zzc;
|
||||
private boolean zzd;
|
||||
private boolean zze;
|
||||
|
||||
public zzfc(zzfi zzfiVar, String str, boolean z3) {
|
||||
this.zza = zzfiVar;
|
||||
Preconditions.checkNotEmpty(str);
|
||||
this.zzb = str;
|
||||
this.zzc = z3;
|
||||
}
|
||||
|
||||
public final void zza(boolean z3) {
|
||||
SharedPreferences.Editor edit = this.zza.zza().edit();
|
||||
edit.putBoolean(this.zzb, z3);
|
||||
edit.apply();
|
||||
this.zze = z3;
|
||||
}
|
||||
|
||||
public final boolean zzb() {
|
||||
if (!this.zzd) {
|
||||
this.zzd = true;
|
||||
this.zze = this.zza.zza().getBoolean(this.zzb, this.zzc);
|
||||
}
|
||||
return this.zze;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,117 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import C.w;
|
||||
import android.content.SharedPreferences;
|
||||
import android.os.Bundle;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import org.json.JSONArray;
|
||||
import org.json.JSONException;
|
||||
import org.json.JSONObject;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzfd {
|
||||
final /* synthetic */ zzfi zza;
|
||||
private final String zzb;
|
||||
private final Bundle zzc;
|
||||
private Bundle zzd;
|
||||
|
||||
public zzfd(zzfi zzfiVar, String str, Bundle bundle) {
|
||||
this.zza = zzfiVar;
|
||||
Preconditions.checkNotEmpty("default_event_parameters");
|
||||
this.zzb = "default_event_parameters";
|
||||
this.zzc = new Bundle();
|
||||
}
|
||||
|
||||
public final Bundle zza() {
|
||||
char c4;
|
||||
if (this.zzd == null) {
|
||||
String string = this.zza.zza().getString(this.zzb, null);
|
||||
if (string != null) {
|
||||
try {
|
||||
Bundle bundle = new Bundle();
|
||||
JSONArray jSONArray = new JSONArray(string);
|
||||
for (int i = 0; i < jSONArray.length(); i++) {
|
||||
try {
|
||||
JSONObject jSONObject = jSONArray.getJSONObject(i);
|
||||
String string2 = jSONObject.getString("n");
|
||||
String string3 = jSONObject.getString("t");
|
||||
int hashCode = string3.hashCode();
|
||||
if (hashCode == 100) {
|
||||
if (string3.equals("d")) {
|
||||
c4 = 1;
|
||||
}
|
||||
c4 = 65535;
|
||||
} else if (hashCode != 108) {
|
||||
if (hashCode == 115 && string3.equals("s")) {
|
||||
c4 = 0;
|
||||
}
|
||||
c4 = 65535;
|
||||
} else {
|
||||
if (string3.equals("l")) {
|
||||
c4 = 2;
|
||||
}
|
||||
c4 = 65535;
|
||||
}
|
||||
if (c4 == 0) {
|
||||
bundle.putString(string2, jSONObject.getString("v"));
|
||||
} else if (c4 == 1) {
|
||||
bundle.putDouble(string2, Double.parseDouble(jSONObject.getString("v")));
|
||||
} else if (c4 != 2) {
|
||||
this.zza.zzt.zzaA().zzd().zzb("Unrecognized persisted bundle type. Type", string3);
|
||||
} else {
|
||||
bundle.putLong(string2, Long.parseLong(jSONObject.getString("v")));
|
||||
}
|
||||
} catch (NumberFormatException | JSONException unused) {
|
||||
this.zza.zzt.zzaA().zzd().zza("Error reading value from SharedPreferences. Value dropped");
|
||||
}
|
||||
}
|
||||
this.zzd = bundle;
|
||||
} catch (JSONException unused2) {
|
||||
w.v(this.zza.zzt, "Error loading bundle from SharedPreferences. Values will be lost");
|
||||
}
|
||||
}
|
||||
if (this.zzd == null) {
|
||||
this.zzd = this.zzc;
|
||||
}
|
||||
}
|
||||
return this.zzd;
|
||||
}
|
||||
|
||||
public final void zzb(Bundle bundle) {
|
||||
if (bundle == null) {
|
||||
bundle = new Bundle();
|
||||
}
|
||||
SharedPreferences.Editor edit = this.zza.zza().edit();
|
||||
if (bundle.size() == 0) {
|
||||
edit.remove(this.zzb);
|
||||
} else {
|
||||
String str = this.zzb;
|
||||
JSONArray jSONArray = new JSONArray();
|
||||
for (String str2 : bundle.keySet()) {
|
||||
Object obj = bundle.get(str2);
|
||||
if (obj != null) {
|
||||
try {
|
||||
JSONObject jSONObject = new JSONObject();
|
||||
jSONObject.put("n", str2);
|
||||
jSONObject.put("v", obj.toString());
|
||||
if (obj instanceof String) {
|
||||
jSONObject.put("t", "s");
|
||||
} else if (obj instanceof Long) {
|
||||
jSONObject.put("t", "l");
|
||||
} else if (obj instanceof Double) {
|
||||
jSONObject.put("t", "d");
|
||||
} else {
|
||||
this.zza.zzt.zzaA().zzd().zzb("Cannot serialize bundle value to SharedPreferences. Type", obj.getClass());
|
||||
}
|
||||
jSONArray.put(jSONObject);
|
||||
} catch (JSONException e4) {
|
||||
this.zza.zzt.zzaA().zzd().zzb("Cannot serialize bundle value to SharedPreferences", e4);
|
||||
}
|
||||
}
|
||||
}
|
||||
edit.putString(str, jSONArray.toString());
|
||||
}
|
||||
edit.apply();
|
||||
this.zzd = bundle;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import android.content.SharedPreferences;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzfe {
|
||||
final /* synthetic */ zzfi zza;
|
||||
private final String zzb;
|
||||
private final long zzc;
|
||||
private boolean zzd;
|
||||
private long zze;
|
||||
|
||||
public zzfe(zzfi zzfiVar, String str, long j4) {
|
||||
this.zza = zzfiVar;
|
||||
Preconditions.checkNotEmpty(str);
|
||||
this.zzb = str;
|
||||
this.zzc = j4;
|
||||
}
|
||||
|
||||
public final long zza() {
|
||||
if (!this.zzd) {
|
||||
this.zzd = true;
|
||||
this.zze = this.zza.zza().getLong(this.zzb, this.zzc);
|
||||
}
|
||||
return this.zze;
|
||||
}
|
||||
|
||||
public final void zzb(long j4) {
|
||||
SharedPreferences.Editor edit = this.zza.zza().edit();
|
||||
edit.putLong(this.zzb, j4);
|
||||
edit.apply();
|
||||
this.zze = j4;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import android.content.SharedPreferences;
|
||||
import android.util.Pair;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import kotlin.jvm.internal.LongCompanionObject;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzfg {
|
||||
final String zza;
|
||||
final /* synthetic */ zzfi zzb;
|
||||
private final String zzc;
|
||||
private final String zzd;
|
||||
private final long zze;
|
||||
|
||||
public /* synthetic */ zzfg(zzfi zzfiVar, String str, long j4, zzff zzffVar) {
|
||||
this.zzb = zzfiVar;
|
||||
Preconditions.checkNotEmpty("health_monitor");
|
||||
Preconditions.checkArgument(j4 > 0);
|
||||
this.zza = "health_monitor:start";
|
||||
this.zzc = "health_monitor:count";
|
||||
this.zzd = "health_monitor:value";
|
||||
this.zze = j4;
|
||||
}
|
||||
|
||||
private final long zzc() {
|
||||
return this.zzb.zza().getLong(this.zza, 0L);
|
||||
}
|
||||
|
||||
private final void zzd() {
|
||||
this.zzb.zzg();
|
||||
long currentTimeMillis = this.zzb.zzt.zzax().currentTimeMillis();
|
||||
SharedPreferences.Editor edit = this.zzb.zza().edit();
|
||||
edit.remove(this.zzc);
|
||||
edit.remove(this.zzd);
|
||||
edit.putLong(this.zza, currentTimeMillis);
|
||||
edit.apply();
|
||||
}
|
||||
|
||||
public final Pair zza() {
|
||||
long abs;
|
||||
this.zzb.zzg();
|
||||
this.zzb.zzg();
|
||||
long zzc = zzc();
|
||||
if (zzc == 0) {
|
||||
zzd();
|
||||
abs = 0;
|
||||
} else {
|
||||
abs = Math.abs(zzc - this.zzb.zzt.zzax().currentTimeMillis());
|
||||
}
|
||||
long j4 = this.zze;
|
||||
if (abs < j4) {
|
||||
return null;
|
||||
}
|
||||
if (abs > j4 + j4) {
|
||||
zzd();
|
||||
return null;
|
||||
}
|
||||
String string = this.zzb.zza().getString(this.zzd, null);
|
||||
long j5 = this.zzb.zza().getLong(this.zzc, 0L);
|
||||
zzd();
|
||||
return (string == null || j5 <= 0) ? zzfi.zza : new Pair(string, Long.valueOf(j5));
|
||||
}
|
||||
|
||||
public final void zzb(String str, long j4) {
|
||||
this.zzb.zzg();
|
||||
if (zzc() == 0) {
|
||||
zzd();
|
||||
}
|
||||
if (str == null) {
|
||||
str = "";
|
||||
}
|
||||
long j5 = this.zzb.zza().getLong(this.zzc, 0L);
|
||||
if (j5 <= 0) {
|
||||
SharedPreferences.Editor edit = this.zzb.zza().edit();
|
||||
edit.putString(this.zzd, str);
|
||||
edit.putLong(this.zzc, 1L);
|
||||
edit.apply();
|
||||
return;
|
||||
}
|
||||
long nextLong = this.zzb.zzt.zzv().zzG().nextLong() & LongCompanionObject.MAX_VALUE;
|
||||
long j6 = j5 + 1;
|
||||
long j7 = LongCompanionObject.MAX_VALUE / j6;
|
||||
SharedPreferences.Editor edit2 = this.zzb.zza().edit();
|
||||
if (nextLong < j7) {
|
||||
edit2.putString(this.zzd, str);
|
||||
}
|
||||
edit2.putLong(this.zzc, j6);
|
||||
edit2.apply();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import android.content.SharedPreferences;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzfh {
|
||||
final /* synthetic */ zzfi zza;
|
||||
private final String zzb;
|
||||
private boolean zzc;
|
||||
private String zzd;
|
||||
|
||||
public zzfh(zzfi zzfiVar, String str, String str2) {
|
||||
this.zza = zzfiVar;
|
||||
Preconditions.checkNotEmpty(str);
|
||||
this.zzb = str;
|
||||
}
|
||||
|
||||
public final String zza() {
|
||||
if (!this.zzc) {
|
||||
this.zzc = true;
|
||||
this.zzd = this.zza.zza().getString(this.zzb, null);
|
||||
}
|
||||
return this.zzd;
|
||||
}
|
||||
|
||||
public final void zzb(String str) {
|
||||
SharedPreferences.Editor edit = this.zza.zza().edit();
|
||||
edit.putString(this.zzb, str);
|
||||
edit.apply();
|
||||
this.zzd = str;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,161 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import android.content.SharedPreferences;
|
||||
import android.util.Pair;
|
||||
import com.google.android.gms.ads.identifier.AdvertisingIdClient;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import com.google.android.gms.internal.measurement.zzov;
|
||||
import org.checkerframework.checker.nullness.qual.EnsuresNonNull;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzfi extends zzgx {
|
||||
static final Pair zza = new Pair("", 0L);
|
||||
public zzfg zzb;
|
||||
public final zzfe zzc;
|
||||
public final zzfe zzd;
|
||||
public final zzfh zze;
|
||||
public final zzfe zzf;
|
||||
public final zzfc zzg;
|
||||
public final zzfh zzh;
|
||||
public final zzfc zzi;
|
||||
public final zzfe zzj;
|
||||
public final zzfe zzk;
|
||||
public boolean zzl;
|
||||
public final zzfc zzm;
|
||||
public final zzfc zzn;
|
||||
public final zzfe zzo;
|
||||
public final zzfh zzp;
|
||||
public final zzfh zzq;
|
||||
public final zzfe zzr;
|
||||
public final zzfd zzs;
|
||||
private SharedPreferences zzu;
|
||||
private String zzv;
|
||||
private boolean zzw;
|
||||
private long zzx;
|
||||
|
||||
public zzfi(zzgd zzgdVar) {
|
||||
super(zzgdVar);
|
||||
this.zzf = new zzfe(this, "session_timeout", 1800000L);
|
||||
this.zzg = new zzfc(this, "start_new_session", true);
|
||||
this.zzj = new zzfe(this, "last_pause_time", 0L);
|
||||
this.zzk = new zzfe(this, "session_id", 0L);
|
||||
this.zzh = new zzfh(this, "non_personalized_ads", null);
|
||||
this.zzi = new zzfc(this, "allow_remote_dynamite", false);
|
||||
this.zzc = new zzfe(this, "first_open_time", 0L);
|
||||
this.zzd = new zzfe(this, "app_install_time", 0L);
|
||||
this.zze = new zzfh(this, "app_instance_id", null);
|
||||
this.zzm = new zzfc(this, "app_backgrounded", false);
|
||||
this.zzn = new zzfc(this, "deep_link_retrieval_complete", false);
|
||||
this.zzo = new zzfe(this, "deep_link_retrieval_attempts", 0L);
|
||||
this.zzp = new zzfh(this, "firebase_feature_rollouts", null);
|
||||
this.zzq = new zzfh(this, "deferred_attribution_cache", null);
|
||||
this.zzr = new zzfe(this, "deferred_attribution_cache_timestamp", 0L);
|
||||
this.zzs = new zzfd(this, "default_event_parameters", null);
|
||||
}
|
||||
|
||||
public final SharedPreferences zza() {
|
||||
zzg();
|
||||
zzv();
|
||||
Preconditions.checkNotNull(this.zzu);
|
||||
return this.zzu;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzgx
|
||||
@EnsuresNonNull.List({@EnsuresNonNull({"this.preferences"}), @EnsuresNonNull({"this.monitoringSample"})})
|
||||
public final void zzaC() {
|
||||
SharedPreferences sharedPreferences = this.zzt.zzaw().getSharedPreferences("com.google.android.gms.measurement.prefs", 0);
|
||||
this.zzu = sharedPreferences;
|
||||
boolean z3 = sharedPreferences.getBoolean("has_been_opened", false);
|
||||
this.zzl = z3;
|
||||
if (!z3) {
|
||||
SharedPreferences.Editor edit = this.zzu.edit();
|
||||
edit.putBoolean("has_been_opened", true);
|
||||
edit.apply();
|
||||
}
|
||||
this.zzt.zzf();
|
||||
this.zzb = new zzfg(this, "health_monitor", Math.max(0L, ((Long) zzeg.zzc.zza(null)).longValue()), null);
|
||||
}
|
||||
|
||||
public final Pair zzb(String str) {
|
||||
zzg();
|
||||
zzov.zzc();
|
||||
if (this.zzt.zzf().zzs(null, zzeg.zzaI) && !zzc().zzj(zzha.AD_STORAGE)) {
|
||||
return new Pair("", Boolean.FALSE);
|
||||
}
|
||||
long elapsedRealtime = this.zzt.zzax().elapsedRealtime();
|
||||
String str2 = this.zzv;
|
||||
if (str2 != null && elapsedRealtime < this.zzx) {
|
||||
return new Pair(str2, Boolean.valueOf(this.zzw));
|
||||
}
|
||||
this.zzx = this.zzt.zzf().zzi(str, zzeg.zza) + elapsedRealtime;
|
||||
AdvertisingIdClient.setShouldSkipGmsCoreVersionCheck(true);
|
||||
try {
|
||||
AdvertisingIdClient.Info advertisingIdInfo = AdvertisingIdClient.getAdvertisingIdInfo(this.zzt.zzaw());
|
||||
this.zzv = "";
|
||||
String id = advertisingIdInfo.getId();
|
||||
if (id != null) {
|
||||
this.zzv = id;
|
||||
}
|
||||
this.zzw = advertisingIdInfo.isLimitAdTrackingEnabled();
|
||||
} catch (Exception e4) {
|
||||
this.zzt.zzaA().zzc().zzb("Unable to get advertising id", e4);
|
||||
this.zzv = "";
|
||||
}
|
||||
AdvertisingIdClient.setShouldSkipGmsCoreVersionCheck(false);
|
||||
return new Pair(this.zzv, Boolean.valueOf(this.zzw));
|
||||
}
|
||||
|
||||
public final zzhb zzc() {
|
||||
zzg();
|
||||
return zzhb.zzc(zza().getString("consent_settings", "G1"), zza().getInt("consent_source", 100));
|
||||
}
|
||||
|
||||
public final Boolean zzd() {
|
||||
zzg();
|
||||
if (zza().contains("measurement_enabled")) {
|
||||
return Boolean.valueOf(zza().getBoolean("measurement_enabled", true));
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzgx
|
||||
public final boolean zzf() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public final void zzh(Boolean bool) {
|
||||
zzg();
|
||||
SharedPreferences.Editor edit = zza().edit();
|
||||
if (bool != null) {
|
||||
edit.putBoolean("measurement_enabled", bool.booleanValue());
|
||||
} else {
|
||||
edit.remove("measurement_enabled");
|
||||
}
|
||||
edit.apply();
|
||||
}
|
||||
|
||||
public final void zzi(boolean z3) {
|
||||
zzg();
|
||||
this.zzt.zzaA().zzj().zzb("App measurement setting deferred collection", Boolean.valueOf(z3));
|
||||
SharedPreferences.Editor edit = zza().edit();
|
||||
edit.putBoolean("deferred_analytics_collection", z3);
|
||||
edit.apply();
|
||||
}
|
||||
|
||||
public final boolean zzj() {
|
||||
SharedPreferences sharedPreferences = this.zzu;
|
||||
if (sharedPreferences == null) {
|
||||
return false;
|
||||
}
|
||||
return sharedPreferences.contains("deferred_analytics_collection");
|
||||
}
|
||||
|
||||
public final boolean zzk(long j4) {
|
||||
return j4 - this.zzf.zza() > this.zzj.zza();
|
||||
}
|
||||
|
||||
public final boolean zzl(int i) {
|
||||
return zzhb.zzk(i, zza().getInt("consent_source", 100));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import C.w;
|
||||
import android.content.ServiceConnection;
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import com.google.android.gms.common.stats.ConnectionTracker;
|
||||
import com.google.android.gms.internal.measurement.zzra;
|
||||
import kotlinx.coroutines.DebugKt;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzfj implements Runnable {
|
||||
final /* synthetic */ com.google.android.gms.internal.measurement.zzbr zza;
|
||||
final /* synthetic */ ServiceConnection zzb;
|
||||
final /* synthetic */ zzfk zzc;
|
||||
|
||||
public zzfj(zzfk zzfkVar, com.google.android.gms.internal.measurement.zzbr zzbrVar, ServiceConnection serviceConnection) {
|
||||
this.zzc = zzfkVar;
|
||||
this.zza = zzbrVar;
|
||||
this.zzb = serviceConnection;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
String str;
|
||||
Bundle bundle;
|
||||
zzfk zzfkVar = this.zzc;
|
||||
zzfl zzflVar = zzfkVar.zza;
|
||||
str = zzfkVar.zzb;
|
||||
com.google.android.gms.internal.measurement.zzbr zzbrVar = this.zza;
|
||||
ServiceConnection serviceConnection = this.zzb;
|
||||
zzflVar.zza.zzaB().zzg();
|
||||
Bundle bundle2 = new Bundle();
|
||||
bundle2.putString("package_name", str);
|
||||
try {
|
||||
bundle = zzbrVar.zzd(bundle2);
|
||||
} catch (Exception e4) {
|
||||
zzflVar.zza.zzaA().zzd().zzb("Exception occurred while retrieving the Install Referrer", e4.getMessage());
|
||||
}
|
||||
if (bundle == null) {
|
||||
zzflVar.zza.zzaA().zzd().zza("Install Referrer Service returned a null response");
|
||||
bundle = null;
|
||||
}
|
||||
zzflVar.zza.zzaB().zzg();
|
||||
zzgd.zzO();
|
||||
if (bundle != null) {
|
||||
long j4 = bundle.getLong("install_begin_timestamp_seconds", 0L) * 1000;
|
||||
if (j4 == 0) {
|
||||
w.A(zzflVar.zza, "Service response is missing Install Referrer install timestamp");
|
||||
} else {
|
||||
String string = bundle.getString("install_referrer");
|
||||
if (string == null || string.isEmpty()) {
|
||||
w.v(zzflVar.zza, "No referrer defined in Install Referrer response");
|
||||
} else {
|
||||
zzflVar.zza.zzaA().zzj().zzb("InstallReferrer API result", string);
|
||||
zzlp zzv = zzflVar.zza.zzv();
|
||||
Uri parse = Uri.parse("?".concat(string));
|
||||
zzra.zzc();
|
||||
Bundle zzs = zzv.zzs(parse, zzflVar.zza.zzf().zzs(null, zzeg.zzaw));
|
||||
if (zzs == null) {
|
||||
w.v(zzflVar.zza, "No campaign params defined in Install Referrer result");
|
||||
} else {
|
||||
String string2 = zzs.getString("medium");
|
||||
if (string2 != null && !"(not set)".equalsIgnoreCase(string2) && !"organic".equalsIgnoreCase(string2)) {
|
||||
long j5 = bundle.getLong("referrer_click_timestamp_seconds", 0L) * 1000;
|
||||
if (j5 == 0) {
|
||||
w.v(zzflVar.zza, "Install Referrer is missing click timestamp for ad campaign");
|
||||
} else {
|
||||
zzs.putLong("click_timestamp", j5);
|
||||
}
|
||||
}
|
||||
if (j4 == zzflVar.zza.zzm().zzd.zza()) {
|
||||
a.y(zzflVar.zza, "Logging Install Referrer campaign from module while it may have already been logged.");
|
||||
}
|
||||
if (zzflVar.zza.zzJ()) {
|
||||
zzflVar.zza.zzm().zzd.zzb(j4);
|
||||
zzflVar.zza.zzaA().zzj().zzb("Logging Install Referrer campaign from gmscore with ", "referrer API v2");
|
||||
zzs.putString("_cis", "referrer API v2");
|
||||
zzflVar.zza.zzq().zzF(DebugKt.DEBUG_PROPERTY_VALUE_AUTO, "_cmp", zzs, str);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
ConnectionTracker.getInstance().unbindService(zzflVar.zza.zzaw(), serviceConnection);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import C.w;
|
||||
import android.content.ComponentName;
|
||||
import android.content.ServiceConnection;
|
||||
import android.os.IBinder;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzfk implements ServiceConnection {
|
||||
final /* synthetic */ zzfl zza;
|
||||
private final String zzb;
|
||||
|
||||
public zzfk(zzfl zzflVar, String str) {
|
||||
this.zza = zzflVar;
|
||||
this.zzb = str;
|
||||
}
|
||||
|
||||
@Override // android.content.ServiceConnection
|
||||
public final void onServiceConnected(ComponentName componentName, IBinder iBinder) {
|
||||
if (iBinder == null) {
|
||||
w.A(this.zza.zza, "Install Referrer connection returned with null binder");
|
||||
return;
|
||||
}
|
||||
try {
|
||||
com.google.android.gms.internal.measurement.zzbr zzb = com.google.android.gms.internal.measurement.zzbq.zzb(iBinder);
|
||||
if (zzb == null) {
|
||||
this.zza.zza.zzaA().zzk().zza("Install Referrer Service implementation was not found");
|
||||
} else {
|
||||
this.zza.zza.zzaA().zzj().zza("Install Referrer Service connected");
|
||||
this.zza.zza.zzaB().zzp(new zzfj(this, zzb, this));
|
||||
}
|
||||
} catch (RuntimeException e4) {
|
||||
this.zza.zza.zzaA().zzk().zzb("Exception occurred while calling Install Referrer API", e4);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.content.ServiceConnection
|
||||
public final void onServiceDisconnected(ComponentName componentName) {
|
||||
a.y(this.zza.zza, "Install Referrer Service disconnected");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import com.google.android.gms.common.wrappers.PackageManagerWrapper;
|
||||
import com.google.android.gms.common.wrappers.Wrappers;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzfl {
|
||||
final zzgd zza;
|
||||
|
||||
public zzfl(zzlh zzlhVar) {
|
||||
this.zza = zzlhVar.zzp();
|
||||
}
|
||||
|
||||
public final boolean zza() {
|
||||
try {
|
||||
PackageManagerWrapper packageManager = Wrappers.packageManager(this.zza.zzaw());
|
||||
if (packageManager != null) {
|
||||
return packageManager.getPackageInfo("com.android.vending", 128).versionCode >= 80837300;
|
||||
}
|
||||
this.zza.zzaA().zzj().zza("Failed to get PackageManager for Install Referrer Play Store compatibility check");
|
||||
return false;
|
||||
} catch (Exception e4) {
|
||||
this.zza.zzaA().zzj().zzb("Failed to retrieve Play Store version for Install Referrer", e4);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzfm {
|
||||
private final zza zza;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public interface zza {
|
||||
void doStartService(Context context, Intent intent);
|
||||
}
|
||||
|
||||
public zzfm(zza zzaVar) {
|
||||
Preconditions.checkNotNull(zzaVar);
|
||||
this.zza = zzaVar;
|
||||
}
|
||||
|
||||
public final void zza(Context context, Intent intent) {
|
||||
zzgd zzp = zzgd.zzp(context, null, null);
|
||||
zzet zzaA = zzp.zzaA();
|
||||
if (intent == null) {
|
||||
zzaA.zzk().zza("Receiver called with null intent");
|
||||
return;
|
||||
}
|
||||
zzp.zzay();
|
||||
String action = intent.getAction();
|
||||
zzaA.zzj().zzb("Local receiver got", action);
|
||||
if (!"com.google.android.gms.measurement.UPLOAD".equals(action)) {
|
||||
if ("com.android.vending.INSTALL_REFERRER".equals(action)) {
|
||||
zzaA.zzk().zza("Install Referrer Broadcasts are deprecated");
|
||||
}
|
||||
} else {
|
||||
Intent className = new Intent().setClassName(context, "com.google.android.gms.measurement.AppMeasurementService");
|
||||
className.setAction("com.google.android.gms.measurement.UPLOAD");
|
||||
zzaA.zzj().zza("Starting wakeful intent.");
|
||||
this.zza.doStartService(context, className);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import s.i;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzfr extends i {
|
||||
final /* synthetic */ zzfu zza;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public zzfr(zzfu zzfuVar, int i) {
|
||||
super(20);
|
||||
this.zza = zzfuVar;
|
||||
}
|
||||
|
||||
@Override // s.i
|
||||
public final /* bridge */ /* synthetic */ Object create(Object obj) {
|
||||
String str = (String) obj;
|
||||
Preconditions.checkNotEmpty(str);
|
||||
return zzfu.zzd(this.zza, str);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzfs implements com.google.android.gms.internal.measurement.zzr {
|
||||
final /* synthetic */ zzfu zza;
|
||||
|
||||
public zzfs(zzfu zzfuVar) {
|
||||
this.zza = zzfuVar;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzr
|
||||
public final void zza(int i, String str, List list, boolean z3, boolean z4) {
|
||||
int i4 = i - 1;
|
||||
zzer zzi = i4 != 0 ? i4 != 1 ? i4 != 3 ? i4 != 4 ? this.zza.zzt.zzaA().zzi() : z3 ? this.zza.zzt.zzaA().zzm() : !z4 ? this.zza.zzt.zzaA().zzl() : this.zza.zzt.zzaA().zzk() : this.zza.zzt.zzaA().zzj() : z3 ? this.zza.zzt.zzaA().zzh() : !z4 ? this.zza.zzt.zzaA().zze() : this.zza.zzt.zzaA().zzd() : this.zza.zzt.zzaA().zzc();
|
||||
int size = list.size();
|
||||
if (size == 1) {
|
||||
zzi.zzb(str, list.get(0));
|
||||
return;
|
||||
}
|
||||
if (size == 2) {
|
||||
zzi.zzc(str, list.get(0), list.get(1));
|
||||
} else if (size != 3) {
|
||||
zzi.zza(str);
|
||||
} else {
|
||||
zzi.zzd(str, list.get(0), list.get(1), list.get(2));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzft implements com.google.android.gms.internal.measurement.zzo {
|
||||
final /* synthetic */ String zza;
|
||||
final /* synthetic */ zzfu zzb;
|
||||
|
||||
public zzft(zzfu zzfuVar, String str) {
|
||||
this.zzb = zzfuVar;
|
||||
this.zza = str;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.internal.measurement.zzo
|
||||
public final String zza(String str) {
|
||||
Map map;
|
||||
map = this.zzb.zzg;
|
||||
Map map2 = (Map) map.get(this.zza);
|
||||
if (map2 == null || !map2.containsKey(str)) {
|
||||
return null;
|
||||
}
|
||||
return (String) map2.get(str);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,422 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import C.w;
|
||||
import android.content.ContentValues;
|
||||
import android.database.sqlite.SQLiteException;
|
||||
import android.text.TextUtils;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.Iterator;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.concurrent.Callable;
|
||||
import s.i;
|
||||
import s.j;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzfu extends zzku implements zzaf {
|
||||
final Map zza;
|
||||
final Map zzb;
|
||||
final Map zzc;
|
||||
final i zzd;
|
||||
final com.google.android.gms.internal.measurement.zzr zze;
|
||||
private final Map zzg;
|
||||
private final Map zzh;
|
||||
private final Map zzi;
|
||||
private final Map zzj;
|
||||
private final Map zzk;
|
||||
private final Map zzl;
|
||||
|
||||
/* JADX WARN: Type inference failed for: r2v1, types: [java.util.Map, s.j] */
|
||||
/* JADX WARN: Type inference failed for: r2v2, types: [java.util.Map, s.j] */
|
||||
/* JADX WARN: Type inference failed for: r2v3, types: [java.util.Map, s.j] */
|
||||
/* JADX WARN: Type inference failed for: r2v4, types: [java.util.Map, s.j] */
|
||||
/* JADX WARN: Type inference failed for: r2v5, types: [java.util.Map, s.j] */
|
||||
/* JADX WARN: Type inference failed for: r2v6, types: [java.util.Map, s.j] */
|
||||
/* JADX WARN: Type inference failed for: r2v7, types: [java.util.Map, s.j] */
|
||||
/* JADX WARN: Type inference failed for: r2v8, types: [java.util.Map, s.j] */
|
||||
/* JADX WARN: Type inference failed for: r2v9, types: [java.util.Map, s.j] */
|
||||
public zzfu(zzlh zzlhVar) {
|
||||
super(zzlhVar);
|
||||
this.zzg = new j(0);
|
||||
this.zza = new j(0);
|
||||
this.zzb = new j(0);
|
||||
this.zzc = new j(0);
|
||||
this.zzh = new j(0);
|
||||
this.zzj = new j(0);
|
||||
this.zzk = new j(0);
|
||||
this.zzl = new j(0);
|
||||
this.zzi = new j(0);
|
||||
this.zzd = new zzfr(this, 20);
|
||||
this.zze = new zzfs(this);
|
||||
}
|
||||
|
||||
private final com.google.android.gms.internal.measurement.zzff zzA(String str, byte[] bArr) {
|
||||
if (bArr == null) {
|
||||
return com.google.android.gms.internal.measurement.zzff.zzg();
|
||||
}
|
||||
try {
|
||||
com.google.android.gms.internal.measurement.zzff zzffVar = (com.google.android.gms.internal.measurement.zzff) ((com.google.android.gms.internal.measurement.zzfe) zzlj.zzm(com.google.android.gms.internal.measurement.zzff.zze(), bArr)).zzaD();
|
||||
this.zzt.zzaA().zzj().zzc("Parsed config. version, gmp_app_id", zzffVar.zzu() ? Long.valueOf(zzffVar.zzc()) : null, zzffVar.zzt() ? zzffVar.zzh() : null);
|
||||
return zzffVar;
|
||||
} catch (com.google.android.gms.internal.measurement.zzll e4) {
|
||||
this.zzt.zzaA().zzk().zzc("Unable to merge remote config. appId", zzet.zzn(str), e4);
|
||||
return com.google.android.gms.internal.measurement.zzff.zzg();
|
||||
} catch (RuntimeException e5) {
|
||||
this.zzt.zzaA().zzk().zzc("Unable to merge remote config. appId", zzet.zzn(str), e5);
|
||||
return com.google.android.gms.internal.measurement.zzff.zzg();
|
||||
}
|
||||
}
|
||||
|
||||
private final void zzB(String str, com.google.android.gms.internal.measurement.zzfe zzfeVar) {
|
||||
HashSet hashSet = new HashSet();
|
||||
j jVar = new j(0);
|
||||
j jVar2 = new j(0);
|
||||
j jVar3 = new j(0);
|
||||
Iterator it = zzfeVar.zzg().iterator();
|
||||
while (it.hasNext()) {
|
||||
hashSet.add(((com.google.android.gms.internal.measurement.zzfb) it.next()).zzb());
|
||||
}
|
||||
for (int i = 0; i < zzfeVar.zza(); i++) {
|
||||
com.google.android.gms.internal.measurement.zzfc zzfcVar = (com.google.android.gms.internal.measurement.zzfc) zzfeVar.zzb(i).zzbB();
|
||||
if (zzfcVar.zzc().isEmpty()) {
|
||||
w.A(this.zzt, "EventConfig contained null event name");
|
||||
} else {
|
||||
String zzc = zzfcVar.zzc();
|
||||
String zzb = zzhc.zzb(zzfcVar.zzc());
|
||||
if (!TextUtils.isEmpty(zzb)) {
|
||||
zzfcVar.zzb(zzb);
|
||||
zzfeVar.zzd(i, zzfcVar);
|
||||
}
|
||||
if (zzfcVar.zzf() && zzfcVar.zzd()) {
|
||||
jVar.put(zzc, Boolean.TRUE);
|
||||
}
|
||||
if (zzfcVar.zzg() && zzfcVar.zze()) {
|
||||
jVar2.put(zzfcVar.zzc(), Boolean.TRUE);
|
||||
}
|
||||
if (zzfcVar.zzh()) {
|
||||
if (zzfcVar.zza() < 2 || zzfcVar.zza() > 65535) {
|
||||
this.zzt.zzaA().zzk().zzc("Invalid sampling rate. Event name, sample rate", zzfcVar.zzc(), Integer.valueOf(zzfcVar.zza()));
|
||||
} else {
|
||||
jVar3.put(zzfcVar.zzc(), Integer.valueOf(zzfcVar.zza()));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
this.zza.put(str, hashSet);
|
||||
this.zzb.put(str, jVar);
|
||||
this.zzc.put(str, jVar2);
|
||||
this.zzi.put(str, jVar3);
|
||||
}
|
||||
|
||||
/* JADX WARN: Code restructure failed: missing block: B:29:0x009f, code lost:
|
||||
|
||||
if (r3 == null) goto L9;
|
||||
*/
|
||||
/* JADX WARN: Not initialized variable reg: 3, insn: 0x0083: MOVE (r2 I:??[OBJECT, ARRAY]) = (r3 I:??[OBJECT, ARRAY]), block:B:33:0x0083 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:12:0x00a4 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:15:0x00d2 */
|
||||
/* JADX WARN: Removed duplicated region for block: B:35:0x011e */
|
||||
/* JADX WARN: Removed duplicated region for block: B:37:? A[SYNTHETIC] */
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
private final void zzC(java.lang.String r12) {
|
||||
/*
|
||||
Method dump skipped, instructions count: 291
|
||||
To view this dump add '--comments-level debug' option
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzfu.zzC(java.lang.String):void");
|
||||
}
|
||||
|
||||
private final void zzD(final String str, com.google.android.gms.internal.measurement.zzff zzffVar) {
|
||||
if (zzffVar.zza() == 0) {
|
||||
this.zzd.remove(str);
|
||||
return;
|
||||
}
|
||||
this.zzt.zzaA().zzj().zzb("EES programs found", Integer.valueOf(zzffVar.zza()));
|
||||
com.google.android.gms.internal.measurement.zzgt zzgtVar = (com.google.android.gms.internal.measurement.zzgt) zzffVar.zzo().get(0);
|
||||
try {
|
||||
com.google.android.gms.internal.measurement.zzc zzcVar = new com.google.android.gms.internal.measurement.zzc();
|
||||
zzcVar.zzd("internal.remoteConfig", new Callable() { // from class: com.google.android.gms.measurement.internal.zzfo
|
||||
@Override // java.util.concurrent.Callable
|
||||
public final Object call() {
|
||||
return new com.google.android.gms.internal.measurement.zzn("internal.remoteConfig", new zzft(zzfu.this, str));
|
||||
}
|
||||
});
|
||||
zzcVar.zzd("internal.appMetadata", new Callable() { // from class: com.google.android.gms.measurement.internal.zzfp
|
||||
@Override // java.util.concurrent.Callable
|
||||
public final Object call() {
|
||||
final zzfu zzfuVar = zzfu.this;
|
||||
final String str2 = str;
|
||||
return new com.google.android.gms.internal.measurement.zzu("internal.appMetadata", new Callable() { // from class: com.google.android.gms.measurement.internal.zzfn
|
||||
@Override // java.util.concurrent.Callable
|
||||
public final Object call() {
|
||||
zzfu zzfuVar2 = zzfu.this;
|
||||
String str3 = str2;
|
||||
zzh zzj = zzfuVar2.zzf.zzh().zzj(str3);
|
||||
HashMap hashMap = new HashMap();
|
||||
hashMap.put("platform", "android");
|
||||
hashMap.put("package_name", str3);
|
||||
zzfuVar2.zzt.zzf().zzh();
|
||||
hashMap.put("gmp_version", 79000L);
|
||||
if (zzj != null) {
|
||||
String zzy = zzj.zzy();
|
||||
if (zzy != null) {
|
||||
hashMap.put("app_version", zzy);
|
||||
}
|
||||
hashMap.put("app_version_int", Long.valueOf(zzj.zzb()));
|
||||
hashMap.put("dynamite_version", Long.valueOf(zzj.zzk()));
|
||||
}
|
||||
return hashMap;
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
zzcVar.zzd("internal.logger", new Callable() { // from class: com.google.android.gms.measurement.internal.zzfq
|
||||
@Override // java.util.concurrent.Callable
|
||||
public final Object call() {
|
||||
return new com.google.android.gms.internal.measurement.zzt(zzfu.this.zze);
|
||||
}
|
||||
});
|
||||
zzcVar.zzc(zzgtVar);
|
||||
this.zzd.put(str, zzcVar);
|
||||
this.zzt.zzaA().zzj().zzc("EES program loaded for appId, activities", str, Integer.valueOf(zzgtVar.zza().zza()));
|
||||
Iterator it = zzgtVar.zza().zzd().iterator();
|
||||
while (it.hasNext()) {
|
||||
this.zzt.zzaA().zzj().zzb("EES program activity", ((com.google.android.gms.internal.measurement.zzgr) it.next()).zzb());
|
||||
}
|
||||
} catch (com.google.android.gms.internal.measurement.zzd unused) {
|
||||
this.zzt.zzaA().zzd().zzb("Failed to load EES program. appId", str);
|
||||
}
|
||||
}
|
||||
|
||||
/* JADX WARN: Type inference failed for: r0v0, types: [java.util.Map, s.j] */
|
||||
private static final Map zzE(com.google.android.gms.internal.measurement.zzff zzffVar) {
|
||||
?? jVar = new j(0);
|
||||
if (zzffVar != null) {
|
||||
for (com.google.android.gms.internal.measurement.zzfj zzfjVar : zzffVar.zzp()) {
|
||||
jVar.put(zzfjVar.zzb(), zzfjVar.zzc());
|
||||
}
|
||||
}
|
||||
return jVar;
|
||||
}
|
||||
|
||||
public static /* bridge */ /* synthetic */ com.google.android.gms.internal.measurement.zzc zzd(zzfu zzfuVar, String str) {
|
||||
zzfuVar.zzW();
|
||||
Preconditions.checkNotEmpty(str);
|
||||
if (!zzfuVar.zzo(str)) {
|
||||
return null;
|
||||
}
|
||||
if (!zzfuVar.zzh.containsKey(str) || zzfuVar.zzh.get(str) == null) {
|
||||
zzfuVar.zzC(str);
|
||||
} else {
|
||||
zzfuVar.zzD(str, (com.google.android.gms.internal.measurement.zzff) zzfuVar.zzh.get(str));
|
||||
}
|
||||
return (com.google.android.gms.internal.measurement.zzc) zzfuVar.zzd.snapshot().get(str);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzaf
|
||||
public final String zza(String str, String str2) {
|
||||
zzg();
|
||||
zzC(str);
|
||||
Map map = (Map) this.zzg.get(str);
|
||||
if (map != null) {
|
||||
return (String) map.get(str2);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzku
|
||||
public final boolean zzb() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public final int zzc(String str, String str2) {
|
||||
Integer num;
|
||||
zzg();
|
||||
zzC(str);
|
||||
Map map = (Map) this.zzi.get(str);
|
||||
if (map == null || (num = (Integer) map.get(str2)) == null) {
|
||||
return 1;
|
||||
}
|
||||
return num.intValue();
|
||||
}
|
||||
|
||||
public final com.google.android.gms.internal.measurement.zzff zze(String str) {
|
||||
zzW();
|
||||
zzg();
|
||||
Preconditions.checkNotEmpty(str);
|
||||
zzC(str);
|
||||
return (com.google.android.gms.internal.measurement.zzff) this.zzh.get(str);
|
||||
}
|
||||
|
||||
public final String zzf(String str) {
|
||||
zzg();
|
||||
return (String) this.zzl.get(str);
|
||||
}
|
||||
|
||||
public final String zzh(String str) {
|
||||
zzg();
|
||||
return (String) this.zzk.get(str);
|
||||
}
|
||||
|
||||
public final String zzi(String str) {
|
||||
zzg();
|
||||
zzC(str);
|
||||
return (String) this.zzj.get(str);
|
||||
}
|
||||
|
||||
public final Set zzk(String str) {
|
||||
zzg();
|
||||
zzC(str);
|
||||
return (Set) this.zza.get(str);
|
||||
}
|
||||
|
||||
public final void zzl(String str) {
|
||||
zzg();
|
||||
this.zzk.put(str, null);
|
||||
}
|
||||
|
||||
public final void zzm(String str) {
|
||||
zzg();
|
||||
this.zzh.remove(str);
|
||||
}
|
||||
|
||||
public final boolean zzn(String str) {
|
||||
zzg();
|
||||
com.google.android.gms.internal.measurement.zzff zze = zze(str);
|
||||
if (zze == null) {
|
||||
return false;
|
||||
}
|
||||
return zze.zzs();
|
||||
}
|
||||
|
||||
public final boolean zzo(String str) {
|
||||
com.google.android.gms.internal.measurement.zzff zzffVar;
|
||||
return (TextUtils.isEmpty(str) || (zzffVar = (com.google.android.gms.internal.measurement.zzff) this.zzh.get(str)) == null || zzffVar.zza() == 0) ? false : true;
|
||||
}
|
||||
|
||||
public final boolean zzp(String str) {
|
||||
return "1".equals(zza(str, "measurement.upload.blacklist_internal"));
|
||||
}
|
||||
|
||||
public final boolean zzq(String str, String str2) {
|
||||
Boolean bool;
|
||||
zzg();
|
||||
zzC(str);
|
||||
if ("ecommerce_purchase".equals(str2) || FirebaseAnalytics.Event.PURCHASE.equals(str2) || FirebaseAnalytics.Event.REFUND.equals(str2)) {
|
||||
return true;
|
||||
}
|
||||
Map map = (Map) this.zzc.get(str);
|
||||
if (map == null || (bool = (Boolean) map.get(str2)) == null) {
|
||||
return false;
|
||||
}
|
||||
return bool.booleanValue();
|
||||
}
|
||||
|
||||
public final boolean zzr(String str, String str2) {
|
||||
Boolean bool;
|
||||
zzg();
|
||||
zzC(str);
|
||||
if (zzp(str) && zzlp.zzaj(str2)) {
|
||||
return true;
|
||||
}
|
||||
if (zzs(str) && zzlp.zzak(str2)) {
|
||||
return true;
|
||||
}
|
||||
Map map = (Map) this.zzb.get(str);
|
||||
if (map == null || (bool = (Boolean) map.get(str2)) == null) {
|
||||
return false;
|
||||
}
|
||||
return bool.booleanValue();
|
||||
}
|
||||
|
||||
public final boolean zzs(String str) {
|
||||
return "1".equals(zza(str, "measurement.upload.blacklist_public"));
|
||||
}
|
||||
|
||||
public final boolean zzt(String str, byte[] bArr, String str2, String str3) {
|
||||
zzW();
|
||||
zzg();
|
||||
Preconditions.checkNotEmpty(str);
|
||||
com.google.android.gms.internal.measurement.zzfe zzfeVar = (com.google.android.gms.internal.measurement.zzfe) zzA(str, bArr).zzbB();
|
||||
zzB(str, zzfeVar);
|
||||
zzD(str, (com.google.android.gms.internal.measurement.zzff) zzfeVar.zzaD());
|
||||
this.zzh.put(str, (com.google.android.gms.internal.measurement.zzff) zzfeVar.zzaD());
|
||||
this.zzj.put(str, zzfeVar.zze());
|
||||
this.zzk.put(str, str2);
|
||||
this.zzl.put(str, str3);
|
||||
this.zzg.put(str, zzE((com.google.android.gms.internal.measurement.zzff) zzfeVar.zzaD()));
|
||||
this.zzf.zzh().zzB(str, new ArrayList(zzfeVar.zzf()));
|
||||
try {
|
||||
zzfeVar.zzc();
|
||||
bArr = ((com.google.android.gms.internal.measurement.zzff) zzfeVar.zzaD()).zzbx();
|
||||
} catch (RuntimeException e4) {
|
||||
this.zzt.zzaA().zzk().zzc("Unable to serialize reduced-size config. Storing full config instead. appId", zzet.zzn(str), e4);
|
||||
}
|
||||
zzak zzh = this.zzf.zzh();
|
||||
Preconditions.checkNotEmpty(str);
|
||||
zzh.zzg();
|
||||
zzh.zzW();
|
||||
ContentValues contentValues = new ContentValues();
|
||||
contentValues.put("remote_config", bArr);
|
||||
contentValues.put("config_last_modified_time", str2);
|
||||
contentValues.put("e_tag", str3);
|
||||
try {
|
||||
if (zzh.zzh().update("apps", contentValues, "app_id = ?", new String[]{str}) == 0) {
|
||||
zzh.zzt.zzaA().zzd().zzb("Failed to update remote config (got 0). appId", zzet.zzn(str));
|
||||
}
|
||||
} catch (SQLiteException e5) {
|
||||
zzh.zzt.zzaA().zzd().zzc("Error storing remote config. appId", zzet.zzn(str), e5);
|
||||
}
|
||||
this.zzh.put(str, (com.google.android.gms.internal.measurement.zzff) zzfeVar.zzaD());
|
||||
return true;
|
||||
}
|
||||
|
||||
public final boolean zzu(String str) {
|
||||
zzg();
|
||||
zzC(str);
|
||||
return this.zza.get(str) != null && ((Set) this.zza.get(str)).contains("app_instance_id");
|
||||
}
|
||||
|
||||
public final boolean zzv(String str) {
|
||||
zzg();
|
||||
zzC(str);
|
||||
if (this.zza.get(str) != null) {
|
||||
return ((Set) this.zza.get(str)).contains("device_model") || ((Set) this.zza.get(str)).contains("device_info");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public final boolean zzw(String str) {
|
||||
zzg();
|
||||
zzC(str);
|
||||
return this.zza.get(str) != null && ((Set) this.zza.get(str)).contains("enhanced_user_id");
|
||||
}
|
||||
|
||||
public final boolean zzx(String str) {
|
||||
zzg();
|
||||
zzC(str);
|
||||
return this.zza.get(str) != null && ((Set) this.zza.get(str)).contains("google_signals");
|
||||
}
|
||||
|
||||
public final boolean zzy(String str) {
|
||||
zzg();
|
||||
zzC(str);
|
||||
if (this.zza.get(str) != null) {
|
||||
return ((Set) this.zza.get(str)).contains("os_version") || ((Set) this.zza.get(str)).contains("device_info");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public final boolean zzz(String str) {
|
||||
zzg();
|
||||
zzC(str);
|
||||
return this.zza.get(str) != null && ((Set) this.zza.get(str)).contains("user_id");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.Resources;
|
||||
import com.google.android.gms.common.R;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzfv {
|
||||
public static String zza(Context context) {
|
||||
try {
|
||||
return context.getResources().getResourcePackageName(R.string.common_google_play_services_unknown_issue);
|
||||
} catch (Resources.NotFoundException unused) {
|
||||
return context.getPackageName();
|
||||
}
|
||||
}
|
||||
|
||||
public static final String zzb(String str, Resources resources, String str2) {
|
||||
int identifier = resources.getIdentifier(str, "string", str2);
|
||||
if (identifier == 0) {
|
||||
return null;
|
||||
}
|
||||
try {
|
||||
return resources.getString(identifier);
|
||||
} catch (Resources.NotFoundException unused) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzfw extends RuntimeException {
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import java.lang.Thread;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzfx implements Thread.UncaughtExceptionHandler {
|
||||
final /* synthetic */ zzga zza;
|
||||
private final String zzb;
|
||||
|
||||
public zzfx(zzga zzgaVar, String str) {
|
||||
this.zza = zzgaVar;
|
||||
Preconditions.checkNotNull(str);
|
||||
this.zzb = str;
|
||||
}
|
||||
|
||||
@Override // java.lang.Thread.UncaughtExceptionHandler
|
||||
public final synchronized void uncaughtException(Thread thread, Throwable th) {
|
||||
this.zza.zzt.zzaA().zzd().zzb(this.zzb, th);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,79 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import C.w;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import java.lang.Thread;
|
||||
import java.util.concurrent.Callable;
|
||||
import java.util.concurrent.FutureTask;
|
||||
import java.util.concurrent.atomic.AtomicLong;
|
||||
import kotlin.jvm.internal.LongCompanionObject;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzfy extends FutureTask implements Comparable {
|
||||
final boolean zza;
|
||||
final /* synthetic */ zzga zzb;
|
||||
private final long zzc;
|
||||
private final String zzd;
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public zzfy(zzga zzgaVar, Runnable runnable, boolean z3, String str) {
|
||||
super(runnable, null);
|
||||
AtomicLong atomicLong;
|
||||
this.zzb = zzgaVar;
|
||||
Preconditions.checkNotNull(str);
|
||||
atomicLong = zzga.zza;
|
||||
long andIncrement = atomicLong.getAndIncrement();
|
||||
this.zzc = andIncrement;
|
||||
this.zzd = str;
|
||||
this.zza = z3;
|
||||
if (andIncrement == LongCompanionObject.MAX_VALUE) {
|
||||
w.v(zzgaVar.zzt, "Tasks index overflow");
|
||||
}
|
||||
}
|
||||
|
||||
@Override // java.lang.Comparable
|
||||
public final /* bridge */ /* synthetic */ int compareTo(Object obj) {
|
||||
zzfy zzfyVar = (zzfy) obj;
|
||||
boolean z3 = this.zza;
|
||||
if (z3 != zzfyVar.zza) {
|
||||
return !z3 ? 1 : -1;
|
||||
}
|
||||
long j4 = this.zzc;
|
||||
long j5 = zzfyVar.zzc;
|
||||
if (j4 < j5) {
|
||||
return -1;
|
||||
}
|
||||
if (j4 > j5) {
|
||||
return 1;
|
||||
}
|
||||
this.zzb.zzt.zzaA().zzh().zzb("Two tasks share the same index. index", Long.valueOf(this.zzc));
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override // java.util.concurrent.FutureTask
|
||||
public final void setException(Throwable th) {
|
||||
Thread.UncaughtExceptionHandler defaultUncaughtExceptionHandler;
|
||||
this.zzb.zzt.zzaA().zzd().zzb(this.zzd, th);
|
||||
if ((th instanceof zzfw) && (defaultUncaughtExceptionHandler = Thread.getDefaultUncaughtExceptionHandler()) != null) {
|
||||
defaultUncaughtExceptionHandler.uncaughtException(Thread.currentThread(), th);
|
||||
}
|
||||
super.setException(th);
|
||||
}
|
||||
|
||||
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||||
public zzfy(zzga zzgaVar, Callable callable, boolean z3, String str) {
|
||||
super(callable);
|
||||
AtomicLong atomicLong;
|
||||
this.zzb = zzgaVar;
|
||||
Preconditions.checkNotNull("Task exception on worker thread");
|
||||
atomicLong = zzga.zza;
|
||||
long andIncrement = atomicLong.getAndIncrement();
|
||||
this.zzc = andIncrement;
|
||||
this.zzd = "Task exception on worker thread";
|
||||
this.zza = z3;
|
||||
if (andIncrement == LongCompanionObject.MAX_VALUE) {
|
||||
w.v(zzgaVar.zzt, "Tasks index overflow");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,116 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import android.os.Process;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import java.util.concurrent.BlockingQueue;
|
||||
import java.util.concurrent.Semaphore;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzfz extends Thread {
|
||||
final /* synthetic */ zzga zza;
|
||||
private final Object zzb;
|
||||
private final BlockingQueue zzc;
|
||||
private boolean zzd = false;
|
||||
|
||||
public zzfz(zzga zzgaVar, String str, BlockingQueue blockingQueue) {
|
||||
this.zza = zzgaVar;
|
||||
Preconditions.checkNotNull(str);
|
||||
Preconditions.checkNotNull(blockingQueue);
|
||||
this.zzb = new Object();
|
||||
this.zzc = blockingQueue;
|
||||
setName(str);
|
||||
}
|
||||
|
||||
private final void zzb() {
|
||||
Object obj;
|
||||
Semaphore semaphore;
|
||||
Object obj2;
|
||||
zzfz zzfzVar;
|
||||
zzfz zzfzVar2;
|
||||
obj = this.zza.zzh;
|
||||
synchronized (obj) {
|
||||
try {
|
||||
if (!this.zzd) {
|
||||
semaphore = this.zza.zzi;
|
||||
semaphore.release();
|
||||
obj2 = this.zza.zzh;
|
||||
obj2.notifyAll();
|
||||
zzga zzgaVar = this.zza;
|
||||
zzfzVar = zzgaVar.zzb;
|
||||
if (this == zzfzVar) {
|
||||
zzgaVar.zzb = null;
|
||||
} else {
|
||||
zzfzVar2 = zzgaVar.zzc;
|
||||
if (this == zzfzVar2) {
|
||||
zzgaVar.zzc = null;
|
||||
} else {
|
||||
zzgaVar.zzt.zzaA().zzd().zza("Current scheduler thread is neither worker nor network");
|
||||
}
|
||||
}
|
||||
this.zzd = true;
|
||||
}
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private final void zzc(InterruptedException interruptedException) {
|
||||
this.zza.zzt.zzaA().zzk().zzb(String.valueOf(getName()).concat(" was interrupted"), interruptedException);
|
||||
}
|
||||
|
||||
@Override // java.lang.Thread, java.lang.Runnable
|
||||
public final void run() {
|
||||
Semaphore semaphore;
|
||||
Object obj;
|
||||
boolean z3 = false;
|
||||
while (!z3) {
|
||||
try {
|
||||
semaphore = this.zza.zzi;
|
||||
semaphore.acquire();
|
||||
z3 = true;
|
||||
} catch (InterruptedException e4) {
|
||||
zzc(e4);
|
||||
}
|
||||
}
|
||||
try {
|
||||
int threadPriority = Process.getThreadPriority(Process.myTid());
|
||||
while (true) {
|
||||
zzfy zzfyVar = (zzfy) this.zzc.poll();
|
||||
if (zzfyVar != null) {
|
||||
Process.setThreadPriority(true != zzfyVar.zza ? 10 : threadPriority);
|
||||
zzfyVar.run();
|
||||
} else {
|
||||
synchronized (this.zzb) {
|
||||
if (this.zzc.peek() == null) {
|
||||
zzga.zzr(this.zza);
|
||||
try {
|
||||
this.zzb.wait(30000L);
|
||||
} catch (InterruptedException e5) {
|
||||
zzc(e5);
|
||||
}
|
||||
}
|
||||
}
|
||||
obj = this.zza.zzh;
|
||||
synchronized (obj) {
|
||||
if (this.zzc.peek() == null) {
|
||||
zzb();
|
||||
zzb();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (Throwable th) {
|
||||
zzb();
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
|
||||
public final void zza() {
|
||||
synchronized (this.zzb) {
|
||||
this.zzb.notifyAll();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final /* synthetic */ class zzg {
|
||||
public static /* synthetic */ boolean zza(Object obj, Object obj2) {
|
||||
if (obj != obj2) {
|
||||
return obj != null && obj.equals(obj2);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,162 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import C.w;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import java.lang.Thread;
|
||||
import java.util.concurrent.BlockingQueue;
|
||||
import java.util.concurrent.Callable;
|
||||
import java.util.concurrent.Future;
|
||||
import java.util.concurrent.LinkedBlockingQueue;
|
||||
import java.util.concurrent.PriorityBlockingQueue;
|
||||
import java.util.concurrent.Semaphore;
|
||||
import java.util.concurrent.atomic.AtomicLong;
|
||||
import java.util.concurrent.atomic.AtomicReference;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzga extends zzgx {
|
||||
private static final AtomicLong zza = new AtomicLong(Long.MIN_VALUE);
|
||||
private zzfz zzb;
|
||||
private zzfz zzc;
|
||||
private final PriorityBlockingQueue zzd;
|
||||
private final BlockingQueue zze;
|
||||
private final Thread.UncaughtExceptionHandler zzf;
|
||||
private final Thread.UncaughtExceptionHandler zzg;
|
||||
private final Object zzh;
|
||||
private final Semaphore zzi;
|
||||
private volatile boolean zzj;
|
||||
|
||||
public zzga(zzgd zzgdVar) {
|
||||
super(zzgdVar);
|
||||
this.zzh = new Object();
|
||||
this.zzi = new Semaphore(2);
|
||||
this.zzd = new PriorityBlockingQueue();
|
||||
this.zze = new LinkedBlockingQueue();
|
||||
this.zzf = new zzfx(this, "Thread death: Uncaught exception on worker thread");
|
||||
this.zzg = new zzfx(this, "Thread death: Uncaught exception on network thread");
|
||||
}
|
||||
|
||||
public static /* bridge */ /* synthetic */ boolean zzr(zzga zzgaVar) {
|
||||
boolean z3 = zzgaVar.zzj;
|
||||
return false;
|
||||
}
|
||||
|
||||
private final void zzt(zzfy zzfyVar) {
|
||||
synchronized (this.zzh) {
|
||||
try {
|
||||
this.zzd.add(zzfyVar);
|
||||
zzfz zzfzVar = this.zzb;
|
||||
if (zzfzVar == null) {
|
||||
zzfz zzfzVar2 = new zzfz(this, "Measurement Worker", this.zzd);
|
||||
this.zzb = zzfzVar2;
|
||||
zzfzVar2.setUncaughtExceptionHandler(this.zzf);
|
||||
this.zzb.start();
|
||||
} else {
|
||||
zzfzVar.zza();
|
||||
}
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzgw
|
||||
public final void zzaz() {
|
||||
if (Thread.currentThread() != this.zzc) {
|
||||
throw new IllegalStateException("Call expected from network thread");
|
||||
}
|
||||
}
|
||||
|
||||
public final Object zzd(AtomicReference atomicReference, long j4, String str, Runnable runnable) {
|
||||
synchronized (atomicReference) {
|
||||
this.zzt.zzaB().zzp(runnable);
|
||||
try {
|
||||
atomicReference.wait(j4);
|
||||
} catch (InterruptedException unused) {
|
||||
this.zzt.zzaA().zzk().zza("Interrupted waiting for " + str);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Object obj = atomicReference.get();
|
||||
if (obj == null) {
|
||||
this.zzt.zzaA().zzk().zza("Timed out waiting for ".concat(str));
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzgx
|
||||
public final boolean zzf() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzgw
|
||||
public final void zzg() {
|
||||
if (Thread.currentThread() != this.zzb) {
|
||||
throw new IllegalStateException("Call expected from worker thread");
|
||||
}
|
||||
}
|
||||
|
||||
public final Future zzh(Callable callable) throws IllegalStateException {
|
||||
zzv();
|
||||
Preconditions.checkNotNull(callable);
|
||||
zzfy zzfyVar = new zzfy(this, callable, false, "Task exception on worker thread");
|
||||
if (Thread.currentThread() != this.zzb) {
|
||||
zzt(zzfyVar);
|
||||
return zzfyVar;
|
||||
}
|
||||
if (!this.zzd.isEmpty()) {
|
||||
w.A(this.zzt, "Callable skipped the worker queue.");
|
||||
}
|
||||
zzfyVar.run();
|
||||
return zzfyVar;
|
||||
}
|
||||
|
||||
public final Future zzi(Callable callable) throws IllegalStateException {
|
||||
zzv();
|
||||
Preconditions.checkNotNull(callable);
|
||||
zzfy zzfyVar = new zzfy(this, callable, true, "Task exception on worker thread");
|
||||
if (Thread.currentThread() == this.zzb) {
|
||||
zzfyVar.run();
|
||||
return zzfyVar;
|
||||
}
|
||||
zzt(zzfyVar);
|
||||
return zzfyVar;
|
||||
}
|
||||
|
||||
public final void zzo(Runnable runnable) throws IllegalStateException {
|
||||
zzv();
|
||||
Preconditions.checkNotNull(runnable);
|
||||
zzfy zzfyVar = new zzfy(this, runnable, false, "Task exception on network thread");
|
||||
synchronized (this.zzh) {
|
||||
try {
|
||||
this.zze.add(zzfyVar);
|
||||
zzfz zzfzVar = this.zzc;
|
||||
if (zzfzVar == null) {
|
||||
zzfz zzfzVar2 = new zzfz(this, "Measurement Network", this.zze);
|
||||
this.zzc = zzfzVar2;
|
||||
zzfzVar2.setUncaughtExceptionHandler(this.zzg);
|
||||
this.zzc.start();
|
||||
} else {
|
||||
zzfzVar.zza();
|
||||
}
|
||||
} catch (Throwable th) {
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public final void zzp(Runnable runnable) throws IllegalStateException {
|
||||
zzv();
|
||||
Preconditions.checkNotNull(runnable);
|
||||
zzt(new zzfy(this, runnable, false, "Task exception on worker thread"));
|
||||
}
|
||||
|
||||
public final void zzq(Runnable runnable) throws IllegalStateException {
|
||||
zzv();
|
||||
Preconditions.checkNotNull(runnable);
|
||||
zzt(new zzfy(this, runnable, true, "Task exception on worker thread"));
|
||||
}
|
||||
|
||||
public final boolean zzs() {
|
||||
return Thread.currentThread() == this.zzb;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final /* synthetic */ class zzgb {
|
||||
public final /* synthetic */ zzgd zza;
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzgc implements Runnable {
|
||||
final /* synthetic */ zzhi zza;
|
||||
final /* synthetic */ zzgd zzb;
|
||||
|
||||
public zzgc(zzgd zzgdVar, zzhi zzhiVar) {
|
||||
this.zzb = zzgdVar;
|
||||
this.zza = zzhiVar;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
zzgd.zzA(this.zzb, this.zza);
|
||||
this.zzb.zzH(this.zza.zzg);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,577 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import C.w;
|
||||
import android.app.Application;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.SharedPreferences;
|
||||
import android.content.pm.ResolveInfo;
|
||||
import android.net.ConnectivityManager;
|
||||
import android.net.NetworkInfo;
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import android.text.TextUtils;
|
||||
import android.util.Pair;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import com.google.android.gms.common.util.Clock;
|
||||
import com.google.android.gms.common.util.DefaultClock;
|
||||
import com.google.android.gms.common.wrappers.Wrappers;
|
||||
import com.google.firebase.remoteconfig.FirebaseRemoteConfig;
|
||||
import java.net.URL;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
import kotlinx.coroutines.DebugKt;
|
||||
import org.checkerframework.dataflow.qual.Pure;
|
||||
import org.checkerframework.dataflow.qual.SideEffectFree;
|
||||
import org.json.JSONException;
|
||||
import org.json.JSONObject;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzgd implements zzgy {
|
||||
private static volatile zzgd zzd;
|
||||
private zzek zzA;
|
||||
private Boolean zzC;
|
||||
private long zzD;
|
||||
private volatile Boolean zzE;
|
||||
private volatile boolean zzF;
|
||||
private int zzG;
|
||||
protected Boolean zza;
|
||||
protected Boolean zzb;
|
||||
final long zzc;
|
||||
private final Context zze;
|
||||
private final String zzf;
|
||||
private final String zzg;
|
||||
private final String zzh;
|
||||
private final boolean zzi;
|
||||
private final zzab zzj;
|
||||
private final zzag zzk;
|
||||
private final zzfi zzl;
|
||||
private final zzet zzm;
|
||||
private final zzga zzn;
|
||||
private final zzkp zzo;
|
||||
private final zzlp zzp;
|
||||
private final zzeo zzq;
|
||||
private final Clock zzr;
|
||||
private final zziz zzs;
|
||||
private final zzik zzt;
|
||||
private final zzd zzu;
|
||||
private final zzio zzv;
|
||||
private final String zzw;
|
||||
private zzem zzx;
|
||||
private zzjz zzy;
|
||||
private zzao zzz;
|
||||
private boolean zzB = false;
|
||||
private final AtomicInteger zzH = new AtomicInteger(0);
|
||||
|
||||
public zzgd(zzhi zzhiVar) {
|
||||
Bundle bundle;
|
||||
Preconditions.checkNotNull(zzhiVar);
|
||||
Context context = zzhiVar.zza;
|
||||
zzab zzabVar = new zzab(context);
|
||||
this.zzj = zzabVar;
|
||||
zzed.zza = zzabVar;
|
||||
this.zze = context;
|
||||
this.zzf = zzhiVar.zzb;
|
||||
this.zzg = zzhiVar.zzc;
|
||||
this.zzh = zzhiVar.zzd;
|
||||
this.zzi = zzhiVar.zzh;
|
||||
this.zzE = zzhiVar.zze;
|
||||
this.zzw = zzhiVar.zzj;
|
||||
this.zzF = true;
|
||||
com.google.android.gms.internal.measurement.zzcl zzclVar = zzhiVar.zzg;
|
||||
if (zzclVar != null && (bundle = zzclVar.zzg) != null) {
|
||||
Object obj = bundle.get("measurementEnabled");
|
||||
if (obj instanceof Boolean) {
|
||||
this.zza = (Boolean) obj;
|
||||
}
|
||||
Object obj2 = zzclVar.zzg.get("measurementDeactivated");
|
||||
if (obj2 instanceof Boolean) {
|
||||
this.zzb = (Boolean) obj2;
|
||||
}
|
||||
}
|
||||
com.google.android.gms.internal.measurement.zzib.zzd(context);
|
||||
Clock defaultClock = DefaultClock.getInstance();
|
||||
this.zzr = defaultClock;
|
||||
Long l4 = zzhiVar.zzi;
|
||||
this.zzc = l4 != null ? l4.longValue() : defaultClock.currentTimeMillis();
|
||||
this.zzk = new zzag(this);
|
||||
zzfi zzfiVar = new zzfi(this);
|
||||
zzfiVar.zzw();
|
||||
this.zzl = zzfiVar;
|
||||
zzet zzetVar = new zzet(this);
|
||||
zzetVar.zzw();
|
||||
this.zzm = zzetVar;
|
||||
zzlp zzlpVar = new zzlp(this);
|
||||
zzlpVar.zzw();
|
||||
this.zzp = zzlpVar;
|
||||
this.zzq = new zzeo(new zzhh(zzhiVar, this));
|
||||
this.zzu = new zzd(this);
|
||||
zziz zzizVar = new zziz(this);
|
||||
zzizVar.zzb();
|
||||
this.zzs = zzizVar;
|
||||
zzik zzikVar = new zzik(this);
|
||||
zzikVar.zzb();
|
||||
this.zzt = zzikVar;
|
||||
zzkp zzkpVar = new zzkp(this);
|
||||
zzkpVar.zzb();
|
||||
this.zzo = zzkpVar;
|
||||
zzio zzioVar = new zzio(this);
|
||||
zzioVar.zzw();
|
||||
this.zzv = zzioVar;
|
||||
zzga zzgaVar = new zzga(this);
|
||||
zzgaVar.zzw();
|
||||
this.zzn = zzgaVar;
|
||||
com.google.android.gms.internal.measurement.zzcl zzclVar2 = zzhiVar.zzg;
|
||||
boolean z3 = zzclVar2 == null || zzclVar2.zzb == 0;
|
||||
if (context.getApplicationContext() instanceof Application) {
|
||||
zzik zzq = zzq();
|
||||
if (zzq.zzt.zze.getApplicationContext() instanceof Application) {
|
||||
Application application = (Application) zzq.zzt.zze.getApplicationContext();
|
||||
if (zzq.zza == null) {
|
||||
zzq.zza = new zzij(zzq);
|
||||
}
|
||||
if (z3) {
|
||||
application.unregisterActivityLifecycleCallbacks(zzq.zza);
|
||||
application.registerActivityLifecycleCallbacks(zzq.zza);
|
||||
a.y(zzq.zzt, "Registered activity lifecycle callback");
|
||||
}
|
||||
}
|
||||
} else {
|
||||
w.A(this, "Application context is not an Application");
|
||||
}
|
||||
zzgaVar.zzp(new zzgc(this, zzhiVar));
|
||||
}
|
||||
|
||||
public static /* bridge */ /* synthetic */ void zzA(zzgd zzgdVar, zzhi zzhiVar) {
|
||||
zzgdVar.zzaB().zzg();
|
||||
zzgdVar.zzk.zzn();
|
||||
zzao zzaoVar = new zzao(zzgdVar);
|
||||
zzaoVar.zzw();
|
||||
zzgdVar.zzz = zzaoVar;
|
||||
zzek zzekVar = new zzek(zzgdVar, zzhiVar.zzf);
|
||||
zzekVar.zzb();
|
||||
zzgdVar.zzA = zzekVar;
|
||||
zzem zzemVar = new zzem(zzgdVar);
|
||||
zzemVar.zzb();
|
||||
zzgdVar.zzx = zzemVar;
|
||||
zzjz zzjzVar = new zzjz(zzgdVar);
|
||||
zzjzVar.zzb();
|
||||
zzgdVar.zzy = zzjzVar;
|
||||
zzgdVar.zzp.zzx();
|
||||
zzgdVar.zzl.zzx();
|
||||
zzgdVar.zzA.zzc();
|
||||
zzer zzi = zzgdVar.zzaA().zzi();
|
||||
zzgdVar.zzk.zzh();
|
||||
zzi.zzb("App measurement initialized, version", 79000L);
|
||||
zzgdVar.zzaA().zzi().zza("To enable debug logging run: adb shell setprop log.tag.FA VERBOSE");
|
||||
String zzl = zzekVar.zzl();
|
||||
if (TextUtils.isEmpty(zzgdVar.zzf)) {
|
||||
if (zzgdVar.zzv().zzaf(zzl)) {
|
||||
zzgdVar.zzaA().zzi().zza("Faster debug mode event logging enabled. To disable, run:\n adb shell setprop debug.firebase.analytics.app .none.");
|
||||
} else {
|
||||
zzgdVar.zzaA().zzi().zza("To enable faster debug mode event logging run:\n adb shell setprop debug.firebase.analytics.app ".concat(String.valueOf(zzl)));
|
||||
}
|
||||
}
|
||||
zzgdVar.zzaA().zzc().zza("Debug-level message logging enabled");
|
||||
if (zzgdVar.zzG != zzgdVar.zzH.get()) {
|
||||
zzgdVar.zzaA().zzd().zzc("Not all components initialized", Integer.valueOf(zzgdVar.zzG), Integer.valueOf(zzgdVar.zzH.get()));
|
||||
}
|
||||
zzgdVar.zzB = true;
|
||||
}
|
||||
|
||||
public static final void zzO() {
|
||||
throw new IllegalStateException("Unexpected call on client side");
|
||||
}
|
||||
|
||||
private static final void zzP(zzgw zzgwVar) {
|
||||
if (zzgwVar == null) {
|
||||
throw new IllegalStateException("Component not created");
|
||||
}
|
||||
}
|
||||
|
||||
private static final void zzQ(zzf zzfVar) {
|
||||
if (zzfVar == null) {
|
||||
throw new IllegalStateException("Component not created");
|
||||
}
|
||||
if (!zzfVar.zze()) {
|
||||
throw new IllegalStateException("Component not initialized: ".concat(String.valueOf(zzfVar.getClass())));
|
||||
}
|
||||
}
|
||||
|
||||
private static final void zzR(zzgx zzgxVar) {
|
||||
if (zzgxVar == null) {
|
||||
throw new IllegalStateException("Component not created");
|
||||
}
|
||||
if (!zzgxVar.zzy()) {
|
||||
throw new IllegalStateException("Component not initialized: ".concat(String.valueOf(zzgxVar.getClass())));
|
||||
}
|
||||
}
|
||||
|
||||
public static zzgd zzp(Context context, com.google.android.gms.internal.measurement.zzcl zzclVar, Long l4) {
|
||||
Bundle bundle;
|
||||
if (zzclVar != null && (zzclVar.zze == null || zzclVar.zzf == null)) {
|
||||
zzclVar = new com.google.android.gms.internal.measurement.zzcl(zzclVar.zza, zzclVar.zzb, zzclVar.zzc, zzclVar.zzd, null, null, zzclVar.zzg, null);
|
||||
}
|
||||
Preconditions.checkNotNull(context);
|
||||
Preconditions.checkNotNull(context.getApplicationContext());
|
||||
if (zzd == null) {
|
||||
synchronized (zzgd.class) {
|
||||
try {
|
||||
if (zzd == null) {
|
||||
zzd = new zzgd(new zzhi(context, zzclVar, l4));
|
||||
}
|
||||
} finally {
|
||||
}
|
||||
}
|
||||
} else if (zzclVar != null && (bundle = zzclVar.zzg) != null && bundle.containsKey("dataCollectionDefaultEnabled")) {
|
||||
Preconditions.checkNotNull(zzd);
|
||||
zzd.zzE = Boolean.valueOf(zzclVar.zzg.getBoolean("dataCollectionDefaultEnabled"));
|
||||
}
|
||||
Preconditions.checkNotNull(zzd);
|
||||
return zzd;
|
||||
}
|
||||
|
||||
public final void zzB() {
|
||||
this.zzH.incrementAndGet();
|
||||
}
|
||||
|
||||
public final /* synthetic */ void zzC(String str, int i, Throwable th, byte[] bArr, Map map) {
|
||||
List<ResolveInfo> queryIntentActivities;
|
||||
if (i != 200 && i != 204) {
|
||||
if (i == 304) {
|
||||
i = 304;
|
||||
}
|
||||
zzaA().zzk().zzc("Network Request for Deferred Deep Link failed. response, exception", Integer.valueOf(i), th);
|
||||
}
|
||||
if (th == null) {
|
||||
zzm().zzn.zza(true);
|
||||
if (bArr == null || bArr.length == 0) {
|
||||
zzaA().zzc().zza("Deferred Deep Link response empty.");
|
||||
return;
|
||||
}
|
||||
try {
|
||||
JSONObject jSONObject = new JSONObject(new String(bArr));
|
||||
String optString = jSONObject.optString("deeplink", "");
|
||||
String optString2 = jSONObject.optString("gclid", "");
|
||||
double optDouble = jSONObject.optDouble("timestamp", FirebaseRemoteConfig.DEFAULT_VALUE_FOR_DOUBLE);
|
||||
if (TextUtils.isEmpty(optString)) {
|
||||
zzaA().zzc().zza("Deferred Deep Link is empty.");
|
||||
return;
|
||||
}
|
||||
zzlp zzv = zzv();
|
||||
zzgd zzgdVar = zzv.zzt;
|
||||
if (!TextUtils.isEmpty(optString) && (queryIntentActivities = zzv.zzt.zze.getPackageManager().queryIntentActivities(new Intent("android.intent.action.VIEW", Uri.parse(optString)), 0)) != null && !queryIntentActivities.isEmpty()) {
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putString("gclid", optString2);
|
||||
bundle.putString("_cis", "ddp");
|
||||
this.zzt.zzG(DebugKt.DEBUG_PROPERTY_VALUE_AUTO, "_cmp", bundle);
|
||||
zzlp zzv2 = zzv();
|
||||
if (TextUtils.isEmpty(optString)) {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
SharedPreferences.Editor edit = zzv2.zzt.zze.getSharedPreferences("google.analytics.deferred.deeplink.prefs", 0).edit();
|
||||
edit.putString("deeplink", optString);
|
||||
edit.putLong("timestamp", Double.doubleToRawLongBits(optDouble));
|
||||
if (edit.commit()) {
|
||||
zzv2.zzt.zze.sendBroadcast(new Intent("android.google.analytics.action.DEEPLINK_ACTION"));
|
||||
return;
|
||||
}
|
||||
return;
|
||||
} catch (RuntimeException e4) {
|
||||
zzv2.zzt.zzaA().zzd().zzb("Failed to persist Deferred Deep Link. exception", e4);
|
||||
return;
|
||||
}
|
||||
}
|
||||
zzaA().zzk().zzc("Deferred Deep Link validation failed. gclid, deep link", optString2, optString);
|
||||
return;
|
||||
} catch (JSONException e5) {
|
||||
zzaA().zzd().zzb("Failed to parse the Deferred Deep Link response. exception", e5);
|
||||
return;
|
||||
}
|
||||
}
|
||||
zzaA().zzk().zzc("Network Request for Deferred Deep Link failed. response, exception", Integer.valueOf(i), th);
|
||||
}
|
||||
|
||||
public final void zzD() {
|
||||
this.zzG++;
|
||||
}
|
||||
|
||||
public final void zzE() {
|
||||
zzaB().zzg();
|
||||
zzR(zzr());
|
||||
String zzl = zzh().zzl();
|
||||
Pair zzb = zzm().zzb(zzl);
|
||||
if (!this.zzk.zzr() || ((Boolean) zzb.second).booleanValue() || TextUtils.isEmpty((CharSequence) zzb.first)) {
|
||||
zzaA().zzc().zza("ADID unavailable to retrieve Deferred Deep Link. Skipping");
|
||||
return;
|
||||
}
|
||||
zzio zzr = zzr();
|
||||
zzr.zzv();
|
||||
ConnectivityManager connectivityManager = (ConnectivityManager) zzr.zzt.zze.getSystemService("connectivity");
|
||||
NetworkInfo networkInfo = null;
|
||||
if (connectivityManager != null) {
|
||||
try {
|
||||
networkInfo = connectivityManager.getActiveNetworkInfo();
|
||||
} catch (SecurityException unused) {
|
||||
}
|
||||
}
|
||||
if (networkInfo == null || !networkInfo.isConnected()) {
|
||||
w.A(this, "Network is not available for Deferred Deep Link request. Skipping");
|
||||
return;
|
||||
}
|
||||
zzlp zzv = zzv();
|
||||
zzh().zzt.zzk.zzh();
|
||||
URL zzE = zzv.zzE(79000L, zzl, (String) zzb.first, zzm().zzo.zza() - 1);
|
||||
if (zzE != null) {
|
||||
zzio zzr2 = zzr();
|
||||
zzgb zzgbVar = new zzgb(this);
|
||||
zzr2.zzg();
|
||||
zzr2.zzv();
|
||||
Preconditions.checkNotNull(zzE);
|
||||
Preconditions.checkNotNull(zzgbVar);
|
||||
zzr2.zzt.zzaB().zzo(new zzin(zzr2, zzl, zzE, null, null, zzgbVar));
|
||||
}
|
||||
}
|
||||
|
||||
public final void zzF(boolean z3) {
|
||||
this.zzE = Boolean.valueOf(z3);
|
||||
}
|
||||
|
||||
public final void zzG(boolean z3) {
|
||||
zzaB().zzg();
|
||||
this.zzF = z3;
|
||||
}
|
||||
|
||||
/* JADX WARN: Code restructure failed: missing block: B:88:0x0096, code lost:
|
||||
|
||||
if (r8.zzl() == false) goto L19;
|
||||
*/
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct add '--show-bad-code' argument
|
||||
*/
|
||||
public final void zzH(com.google.android.gms.internal.measurement.zzcl r8) {
|
||||
/*
|
||||
Method dump skipped, instructions count: 781
|
||||
To view this dump add '--comments-level debug' option
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzgd.zzH(com.google.android.gms.internal.measurement.zzcl):void");
|
||||
}
|
||||
|
||||
public final boolean zzI() {
|
||||
return this.zzE != null && this.zzE.booleanValue();
|
||||
}
|
||||
|
||||
public final boolean zzJ() {
|
||||
return zza() == 0;
|
||||
}
|
||||
|
||||
public final boolean zzK() {
|
||||
zzaB().zzg();
|
||||
return this.zzF;
|
||||
}
|
||||
|
||||
@Pure
|
||||
public final boolean zzL() {
|
||||
return TextUtils.isEmpty(this.zzf);
|
||||
}
|
||||
|
||||
public final boolean zzM() {
|
||||
if (!this.zzB) {
|
||||
throw new IllegalStateException("AppMeasurement is not initialized");
|
||||
}
|
||||
zzaB().zzg();
|
||||
Boolean bool = this.zzC;
|
||||
if (bool == null || this.zzD == 0 || (!bool.booleanValue() && Math.abs(this.zzr.elapsedRealtime() - this.zzD) > 1000)) {
|
||||
this.zzD = this.zzr.elapsedRealtime();
|
||||
boolean z3 = true;
|
||||
Boolean valueOf = Boolean.valueOf(zzv().zzae("android.permission.INTERNET") && zzv().zzae("android.permission.ACCESS_NETWORK_STATE") && (Wrappers.packageManager(this.zze).isCallerInstantApp() || this.zzk.zzx() || (zzlp.zzal(this.zze) && zzlp.zzam(this.zze, false))));
|
||||
this.zzC = valueOf;
|
||||
if (valueOf.booleanValue()) {
|
||||
if (!zzv().zzY(zzh().zzm(), zzh().zzk()) && TextUtils.isEmpty(zzh().zzk())) {
|
||||
z3 = false;
|
||||
}
|
||||
this.zzC = Boolean.valueOf(z3);
|
||||
}
|
||||
}
|
||||
return this.zzC.booleanValue();
|
||||
}
|
||||
|
||||
@Pure
|
||||
public final boolean zzN() {
|
||||
return this.zzi;
|
||||
}
|
||||
|
||||
public final int zza() {
|
||||
zzaB().zzg();
|
||||
if (this.zzk.zzv()) {
|
||||
return 1;
|
||||
}
|
||||
Boolean bool = this.zzb;
|
||||
if (bool != null && bool.booleanValue()) {
|
||||
return 2;
|
||||
}
|
||||
zzaB().zzg();
|
||||
if (!this.zzF) {
|
||||
return 8;
|
||||
}
|
||||
Boolean zzd2 = zzm().zzd();
|
||||
if (zzd2 != null) {
|
||||
return zzd2.booleanValue() ? 0 : 3;
|
||||
}
|
||||
zzag zzagVar = this.zzk;
|
||||
zzab zzabVar = zzagVar.zzt.zzj;
|
||||
Boolean zzk = zzagVar.zzk("firebase_analytics_collection_enabled");
|
||||
if (zzk != null) {
|
||||
return zzk.booleanValue() ? 0 : 4;
|
||||
}
|
||||
Boolean bool2 = this.zza;
|
||||
return bool2 != null ? bool2.booleanValue() ? 0 : 5 : (this.zzE == null || this.zzE.booleanValue()) ? 0 : 7;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzgy
|
||||
@Pure
|
||||
public final zzet zzaA() {
|
||||
zzR(this.zzm);
|
||||
return this.zzm;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzgy
|
||||
@Pure
|
||||
public final zzga zzaB() {
|
||||
zzR(this.zzn);
|
||||
return this.zzn;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzgy
|
||||
@Pure
|
||||
public final Context zzaw() {
|
||||
return this.zze;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzgy
|
||||
@Pure
|
||||
public final Clock zzax() {
|
||||
return this.zzr;
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.measurement.internal.zzgy
|
||||
@Pure
|
||||
public final zzab zzay() {
|
||||
return this.zzj;
|
||||
}
|
||||
|
||||
@Pure
|
||||
public final zzd zzd() {
|
||||
zzd zzdVar = this.zzu;
|
||||
if (zzdVar != null) {
|
||||
return zzdVar;
|
||||
}
|
||||
throw new IllegalStateException("Component not created");
|
||||
}
|
||||
|
||||
@Pure
|
||||
public final zzag zzf() {
|
||||
return this.zzk;
|
||||
}
|
||||
|
||||
@Pure
|
||||
public final zzao zzg() {
|
||||
zzR(this.zzz);
|
||||
return this.zzz;
|
||||
}
|
||||
|
||||
@Pure
|
||||
public final zzek zzh() {
|
||||
zzQ(this.zzA);
|
||||
return this.zzA;
|
||||
}
|
||||
|
||||
@Pure
|
||||
public final zzem zzi() {
|
||||
zzQ(this.zzx);
|
||||
return this.zzx;
|
||||
}
|
||||
|
||||
@Pure
|
||||
public final zzeo zzj() {
|
||||
return this.zzq;
|
||||
}
|
||||
|
||||
public final zzet zzl() {
|
||||
zzet zzetVar = this.zzm;
|
||||
if (zzetVar == null || !zzetVar.zzy()) {
|
||||
return null;
|
||||
}
|
||||
return zzetVar;
|
||||
}
|
||||
|
||||
@Pure
|
||||
public final zzfi zzm() {
|
||||
zzP(this.zzl);
|
||||
return this.zzl;
|
||||
}
|
||||
|
||||
@SideEffectFree
|
||||
public final zzga zzo() {
|
||||
return this.zzn;
|
||||
}
|
||||
|
||||
@Pure
|
||||
public final zzik zzq() {
|
||||
zzQ(this.zzt);
|
||||
return this.zzt;
|
||||
}
|
||||
|
||||
@Pure
|
||||
public final zzio zzr() {
|
||||
zzR(this.zzv);
|
||||
return this.zzv;
|
||||
}
|
||||
|
||||
@Pure
|
||||
public final zziz zzs() {
|
||||
zzQ(this.zzs);
|
||||
return this.zzs;
|
||||
}
|
||||
|
||||
@Pure
|
||||
public final zzjz zzt() {
|
||||
zzQ(this.zzy);
|
||||
return this.zzy;
|
||||
}
|
||||
|
||||
@Pure
|
||||
public final zzkp zzu() {
|
||||
zzQ(this.zzo);
|
||||
return this.zzo;
|
||||
}
|
||||
|
||||
@Pure
|
||||
public final zzlp zzv() {
|
||||
zzP(this.zzp);
|
||||
return this.zzp;
|
||||
}
|
||||
|
||||
@Pure
|
||||
public final String zzw() {
|
||||
return this.zzf;
|
||||
}
|
||||
|
||||
@Pure
|
||||
public final String zzx() {
|
||||
return this.zzg;
|
||||
}
|
||||
|
||||
@Pure
|
||||
public final String zzy() {
|
||||
return this.zzh;
|
||||
}
|
||||
|
||||
@Pure
|
||||
public final String zzz() {
|
||||
return this.zzw;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzgf implements Runnable {
|
||||
final /* synthetic */ zzac zza;
|
||||
final /* synthetic */ zzq zzb;
|
||||
final /* synthetic */ zzgv zzc;
|
||||
|
||||
public zzgf(zzgv zzgvVar, zzac zzacVar, zzq zzqVar) {
|
||||
this.zzc = zzgvVar;
|
||||
this.zza = zzacVar;
|
||||
this.zzb = zzqVar;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
zzlh zzlhVar;
|
||||
zzlh zzlhVar2;
|
||||
zzlh zzlhVar3;
|
||||
zzlhVar = this.zzc.zza;
|
||||
zzlhVar.zzA();
|
||||
if (this.zza.zzc.zza() == null) {
|
||||
zzlhVar3 = this.zzc.zza;
|
||||
zzlhVar3.zzO(this.zza, this.zzb);
|
||||
} else {
|
||||
zzlhVar2 = this.zzc.zza;
|
||||
zzlhVar2.zzU(this.zza, this.zzb);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzgg implements Runnable {
|
||||
final /* synthetic */ zzac zza;
|
||||
final /* synthetic */ zzgv zzb;
|
||||
|
||||
public zzgg(zzgv zzgvVar, zzac zzacVar) {
|
||||
this.zzb = zzgvVar;
|
||||
this.zza = zzacVar;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
zzlh zzlhVar;
|
||||
zzlh zzlhVar2;
|
||||
zzlh zzlhVar3;
|
||||
zzlhVar = this.zzb.zza;
|
||||
zzlhVar.zzA();
|
||||
if (this.zza.zzc.zza() == null) {
|
||||
zzlhVar3 = this.zzb.zza;
|
||||
zzlhVar3.zzN(this.zza);
|
||||
} else {
|
||||
zzlhVar2 = this.zzb.zza;
|
||||
zzlhVar2.zzT(this.zza);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import java.util.concurrent.Callable;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzgh implements Callable {
|
||||
final /* synthetic */ String zza;
|
||||
final /* synthetic */ String zzb;
|
||||
final /* synthetic */ String zzc;
|
||||
final /* synthetic */ zzgv zzd;
|
||||
|
||||
public zzgh(zzgv zzgvVar, String str, String str2, String str3) {
|
||||
this.zzd = zzgvVar;
|
||||
this.zza = str;
|
||||
this.zzb = str2;
|
||||
this.zzc = str3;
|
||||
}
|
||||
|
||||
@Override // java.util.concurrent.Callable
|
||||
public final /* bridge */ /* synthetic */ Object call() throws Exception {
|
||||
zzlh zzlhVar;
|
||||
zzlh zzlhVar2;
|
||||
zzlhVar = this.zzd.zza;
|
||||
zzlhVar.zzA();
|
||||
zzlhVar2 = this.zzd.zza;
|
||||
return zzlhVar2.zzh().zzv(this.zza, this.zzb, this.zzc);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import java.util.concurrent.Callable;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzgi implements Callable {
|
||||
final /* synthetic */ String zza;
|
||||
final /* synthetic */ String zzb;
|
||||
final /* synthetic */ String zzc;
|
||||
final /* synthetic */ zzgv zzd;
|
||||
|
||||
public zzgi(zzgv zzgvVar, String str, String str2, String str3) {
|
||||
this.zzd = zzgvVar;
|
||||
this.zza = str;
|
||||
this.zzb = str2;
|
||||
this.zzc = str3;
|
||||
}
|
||||
|
||||
@Override // java.util.concurrent.Callable
|
||||
public final /* bridge */ /* synthetic */ Object call() throws Exception {
|
||||
zzlh zzlhVar;
|
||||
zzlh zzlhVar2;
|
||||
zzlhVar = this.zzd.zza;
|
||||
zzlhVar.zzA();
|
||||
zzlhVar2 = this.zzd.zza;
|
||||
return zzlhVar2.zzh().zzv(this.zza, this.zzb, this.zzc);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import java.util.concurrent.Callable;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzgj implements Callable {
|
||||
final /* synthetic */ String zza;
|
||||
final /* synthetic */ String zzb;
|
||||
final /* synthetic */ String zzc;
|
||||
final /* synthetic */ zzgv zzd;
|
||||
|
||||
public zzgj(zzgv zzgvVar, String str, String str2, String str3) {
|
||||
this.zzd = zzgvVar;
|
||||
this.zza = str;
|
||||
this.zzb = str2;
|
||||
this.zzc = str3;
|
||||
}
|
||||
|
||||
@Override // java.util.concurrent.Callable
|
||||
public final /* bridge */ /* synthetic */ Object call() throws Exception {
|
||||
zzlh zzlhVar;
|
||||
zzlh zzlhVar2;
|
||||
zzlhVar = this.zzd.zza;
|
||||
zzlhVar.zzA();
|
||||
zzlhVar2 = this.zzd.zza;
|
||||
return zzlhVar2.zzh().zzs(this.zza, this.zzb, this.zzc);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import java.util.concurrent.Callable;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzgk implements Callable {
|
||||
final /* synthetic */ String zza;
|
||||
final /* synthetic */ String zzb;
|
||||
final /* synthetic */ String zzc;
|
||||
final /* synthetic */ zzgv zzd;
|
||||
|
||||
public zzgk(zzgv zzgvVar, String str, String str2, String str3) {
|
||||
this.zzd = zzgvVar;
|
||||
this.zza = str;
|
||||
this.zzb = str2;
|
||||
this.zzc = str3;
|
||||
}
|
||||
|
||||
@Override // java.util.concurrent.Callable
|
||||
public final /* bridge */ /* synthetic */ Object call() throws Exception {
|
||||
zzlh zzlhVar;
|
||||
zzlh zzlhVar2;
|
||||
zzlhVar = this.zzd.zza;
|
||||
zzlhVar.zzA();
|
||||
zzlhVar2 = this.zzd.zza;
|
||||
return zzlhVar2.zzh().zzs(this.zza, this.zzb, this.zzc);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzgl implements Runnable {
|
||||
final /* synthetic */ zzq zza;
|
||||
final /* synthetic */ zzgv zzb;
|
||||
|
||||
public zzgl(zzgv zzgvVar, zzq zzqVar) {
|
||||
this.zzb = zzgvVar;
|
||||
this.zza = zzqVar;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
zzlh zzlhVar;
|
||||
zzlh zzlhVar2;
|
||||
zzlhVar = this.zzb.zza;
|
||||
zzlhVar.zzA();
|
||||
zzlhVar2 = this.zzb.zza;
|
||||
zzlhVar2.zzQ(this.zza);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzgm implements Runnable {
|
||||
final /* synthetic */ zzq zza;
|
||||
final /* synthetic */ zzgv zzb;
|
||||
|
||||
public zzgm(zzgv zzgvVar, zzq zzqVar) {
|
||||
this.zzb = zzgvVar;
|
||||
this.zza = zzqVar;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
zzlh zzlhVar;
|
||||
zzlh zzlhVar2;
|
||||
zzlhVar = this.zzb.zza;
|
||||
zzlhVar.zzA();
|
||||
zzlhVar2 = this.zzb.zza;
|
||||
zzq zzqVar = this.zza;
|
||||
zzlhVar2.zzaB().zzg();
|
||||
zzlhVar2.zzB();
|
||||
Preconditions.checkNotEmpty(zzqVar.zza);
|
||||
zzlhVar2.zzd(zzqVar);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzgn implements Runnable {
|
||||
final /* synthetic */ zzq zza;
|
||||
final /* synthetic */ zzgv zzb;
|
||||
|
||||
public zzgn(zzgv zzgvVar, zzq zzqVar) {
|
||||
this.zzb = zzgvVar;
|
||||
this.zza = zzqVar;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
zzlh zzlhVar;
|
||||
zzlh zzlhVar2;
|
||||
zzlhVar = this.zzb.zza;
|
||||
zzlhVar.zzA();
|
||||
zzlhVar2 = this.zzb.zza;
|
||||
zzq zzqVar = this.zza;
|
||||
zzlhVar2.zzaB().zzg();
|
||||
zzlhVar2.zzB();
|
||||
Preconditions.checkNotEmpty(zzqVar.zza);
|
||||
zzhb zzc = zzhb.zzc(zzqVar.zzv, 100);
|
||||
zzhb zzq = zzlhVar2.zzq(zzqVar.zza);
|
||||
zzlhVar2.zzaA().zzj().zzc("Setting consent, package, consent", zzqVar.zza, zzc);
|
||||
zzlhVar2.zzV(zzqVar.zza, zzc);
|
||||
if (zzc.zzm(zzq)) {
|
||||
zzlhVar2.zzQ(zzqVar);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzgo implements Runnable {
|
||||
final /* synthetic */ zzau zza;
|
||||
final /* synthetic */ zzq zzb;
|
||||
final /* synthetic */ zzgv zzc;
|
||||
|
||||
public zzgo(zzgv zzgvVar, zzau zzauVar, zzq zzqVar) {
|
||||
this.zzc = zzgvVar;
|
||||
this.zza = zzauVar;
|
||||
this.zzb = zzqVar;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
this.zzc.zzv(this.zzc.zzb(this.zza, this.zzb), this.zzb);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzgp implements Runnable {
|
||||
final /* synthetic */ zzau zza;
|
||||
final /* synthetic */ String zzb;
|
||||
final /* synthetic */ zzgv zzc;
|
||||
|
||||
public zzgp(zzgv zzgvVar, zzau zzauVar, String str) {
|
||||
this.zzc = zzgvVar;
|
||||
this.zza = zzauVar;
|
||||
this.zzb = str;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
zzlh zzlhVar;
|
||||
zzlh zzlhVar2;
|
||||
zzlhVar = this.zzc.zza;
|
||||
zzlhVar.zzA();
|
||||
zzlhVar2 = this.zzc.zza;
|
||||
zzlhVar2.zzF(this.zza, this.zzb);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,299 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import android.os.Build;
|
||||
import android.os.Bundle;
|
||||
import android.text.TextUtils;
|
||||
import android.util.Pair;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import com.google.android.gms.internal.measurement.zzpz;
|
||||
import com.google.android.gms.internal.measurement.zzqu;
|
||||
import java.io.IOException;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.Callable;
|
||||
import kotlinx.coroutines.DebugKt;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzgq implements Callable {
|
||||
final /* synthetic */ zzau zza;
|
||||
final /* synthetic */ String zzb;
|
||||
final /* synthetic */ zzgv zzc;
|
||||
|
||||
public zzgq(zzgv zzgvVar, zzau zzauVar, String str) {
|
||||
this.zzc = zzgvVar;
|
||||
this.zza = zzauVar;
|
||||
this.zzb = str;
|
||||
}
|
||||
|
||||
@Override // java.util.concurrent.Callable
|
||||
public final /* bridge */ /* synthetic */ Object call() throws Exception {
|
||||
zzlh zzlhVar;
|
||||
zzlh zzlhVar2;
|
||||
byte[] bArr;
|
||||
zzlh zzlhVar3;
|
||||
zzlm zzlmVar;
|
||||
List list;
|
||||
com.google.android.gms.internal.measurement.zzga zzgaVar;
|
||||
Bundle bundle;
|
||||
zzh zzhVar;
|
||||
com.google.android.gms.internal.measurement.zzgc zzgcVar;
|
||||
String str;
|
||||
zzaq zzc;
|
||||
long j4;
|
||||
zzlhVar = this.zzc.zza;
|
||||
zzlhVar.zzA();
|
||||
zzlhVar2 = this.zzc.zza;
|
||||
zzip zzr = zzlhVar2.zzr();
|
||||
zzau zzauVar = this.zza;
|
||||
String str2 = this.zzb;
|
||||
zzr.zzg();
|
||||
zzgd.zzO();
|
||||
Preconditions.checkNotNull(zzauVar);
|
||||
Preconditions.checkNotEmpty(str2);
|
||||
if (!zzr.zzt.zzf().zzs(str2, zzeg.zzU)) {
|
||||
zzr.zzt.zzaA().zzc().zzb("Generating ScionPayload disabled. packageName", str2);
|
||||
return new byte[0];
|
||||
}
|
||||
if (!"_iap".equals(zzauVar.zza) && !"_iapx".equals(zzauVar.zza)) {
|
||||
zzr.zzt.zzaA().zzc().zzc("Generating a payload for this event is not available. package_name, event_name", str2, zzauVar.zza);
|
||||
return null;
|
||||
}
|
||||
com.google.android.gms.internal.measurement.zzga zza = com.google.android.gms.internal.measurement.zzgb.zza();
|
||||
zzr.zzf.zzh().zzw();
|
||||
try {
|
||||
zzh zzj = zzr.zzf.zzh().zzj(str2);
|
||||
if (zzj == null) {
|
||||
zzr.zzt.zzaA().zzc().zzb("Log and bundle not available. package_name", str2);
|
||||
return new byte[0];
|
||||
}
|
||||
if (!zzj.zzan()) {
|
||||
zzr.zzt.zzaA().zzc().zzb("Log and bundle disabled. package_name", str2);
|
||||
return new byte[0];
|
||||
}
|
||||
com.google.android.gms.internal.measurement.zzgc zzu = com.google.android.gms.internal.measurement.zzgd.zzu();
|
||||
zzu.zzad(1);
|
||||
zzu.zzZ("android");
|
||||
if (!TextUtils.isEmpty(zzj.zzv())) {
|
||||
zzu.zzD(zzj.zzv());
|
||||
}
|
||||
if (!TextUtils.isEmpty(zzj.zzx())) {
|
||||
zzu.zzF((String) Preconditions.checkNotNull(zzj.zzx()));
|
||||
}
|
||||
if (!TextUtils.isEmpty(zzj.zzy())) {
|
||||
zzu.zzG((String) Preconditions.checkNotNull(zzj.zzy()));
|
||||
}
|
||||
if (zzj.zzb() != -2147483648L) {
|
||||
zzu.zzH((int) zzj.zzb());
|
||||
}
|
||||
zzu.zzV(zzj.zzm());
|
||||
zzu.zzP(zzj.zzk());
|
||||
String zzA = zzj.zzA();
|
||||
String zzt = zzj.zzt();
|
||||
if (!TextUtils.isEmpty(zzA)) {
|
||||
zzu.zzU(zzA);
|
||||
} else if (!TextUtils.isEmpty(zzt)) {
|
||||
zzu.zzC(zzt);
|
||||
}
|
||||
zzpz.zzc();
|
||||
if (zzr.zzt.zzf().zzs(null, zzeg.zzaE)) {
|
||||
zzu.zzaj(zzj.zzr());
|
||||
}
|
||||
zzhb zzq = zzr.zzf.zzq(str2);
|
||||
zzu.zzM(zzj.zzj());
|
||||
if (zzr.zzt.zzJ() && zzr.zzt.zzf().zzt(zzu.zzaq()) && zzq.zzj(zzha.AD_STORAGE) && !TextUtils.isEmpty(null)) {
|
||||
zzu.zzO(null);
|
||||
}
|
||||
zzu.zzL(zzq.zzi());
|
||||
if (zzq.zzj(zzha.AD_STORAGE) && zzj.zzam()) {
|
||||
Pair zzd = zzr.zzf.zzs().zzd(zzj.zzv(), zzq);
|
||||
if (zzj.zzam() && !TextUtils.isEmpty((CharSequence) zzd.first)) {
|
||||
try {
|
||||
zzu.zzae(zzip.zza((String) zzd.first, Long.toString(zzauVar.zzd)));
|
||||
Object obj = zzd.second;
|
||||
if (obj != null) {
|
||||
zzu.zzX(((Boolean) obj).booleanValue());
|
||||
}
|
||||
} catch (SecurityException e4) {
|
||||
zzr.zzt.zzaA().zzc().zzb("Resettable device id encryption failed", e4.getMessage());
|
||||
bArr = new byte[0];
|
||||
zzlhVar3 = zzr.zzf;
|
||||
zzlhVar3.zzh().zzx();
|
||||
return bArr;
|
||||
}
|
||||
}
|
||||
}
|
||||
zzr.zzt.zzg().zzv();
|
||||
zzu.zzN(Build.MODEL);
|
||||
zzr.zzt.zzg().zzv();
|
||||
zzu.zzY(Build.VERSION.RELEASE);
|
||||
zzu.zzak((int) zzr.zzt.zzg().zzb());
|
||||
zzu.zzao(zzr.zzt.zzg().zzc());
|
||||
try {
|
||||
if (zzq.zzj(zzha.ANALYTICS_STORAGE) && zzj.zzw() != null) {
|
||||
zzu.zzE(zzip.zza((String) Preconditions.checkNotNull(zzj.zzw()), Long.toString(zzauVar.zzd)));
|
||||
}
|
||||
if (!TextUtils.isEmpty(zzj.zzz())) {
|
||||
zzu.zzT((String) Preconditions.checkNotNull(zzj.zzz()));
|
||||
}
|
||||
String zzv = zzj.zzv();
|
||||
List zzu2 = zzr.zzf.zzh().zzu(zzv);
|
||||
Iterator it = zzu2.iterator();
|
||||
while (true) {
|
||||
if (!it.hasNext()) {
|
||||
zzlmVar = null;
|
||||
break;
|
||||
}
|
||||
zzlmVar = (zzlm) it.next();
|
||||
if ("_lte".equals(zzlmVar.zzc)) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (zzlmVar == null || zzlmVar.zze == null) {
|
||||
list = zzu2;
|
||||
zzlm zzlmVar2 = new zzlm(zzv, DebugKt.DEBUG_PROPERTY_VALUE_AUTO, "_lte", zzr.zzt.zzax().currentTimeMillis(), 0L);
|
||||
list.add(zzlmVar2);
|
||||
zzr.zzf.zzh().zzL(zzlmVar2);
|
||||
} else {
|
||||
list = zzu2;
|
||||
}
|
||||
zzlj zzu3 = zzr.zzf.zzu();
|
||||
zzu3.zzt.zzaA().zzj().zza("Checking account type status for ad personalization signals");
|
||||
if (zzu3.zzt.zzg().zze()) {
|
||||
String zzv2 = zzj.zzv();
|
||||
Preconditions.checkNotNull(zzv2);
|
||||
if (zzj.zzam() && zzu3.zzf.zzm().zzn(zzv2)) {
|
||||
zzu3.zzt.zzaA().zzc().zza("Turning off ad personalization due to account type");
|
||||
Iterator it2 = list.iterator();
|
||||
while (true) {
|
||||
if (!it2.hasNext()) {
|
||||
break;
|
||||
}
|
||||
if ("_npa".equals(((zzlm) it2.next()).zzc)) {
|
||||
it2.remove();
|
||||
break;
|
||||
}
|
||||
}
|
||||
list.add(new zzlm(zzv2, DebugKt.DEBUG_PROPERTY_VALUE_AUTO, "_npa", zzu3.zzt.zzax().currentTimeMillis(), 1L));
|
||||
}
|
||||
}
|
||||
com.google.android.gms.internal.measurement.zzgm[] zzgmVarArr = new com.google.android.gms.internal.measurement.zzgm[list.size()];
|
||||
for (int i = 0; i < list.size(); i++) {
|
||||
com.google.android.gms.internal.measurement.zzgl zzd2 = com.google.android.gms.internal.measurement.zzgm.zzd();
|
||||
zzd2.zzf(((zzlm) list.get(i)).zzc);
|
||||
zzd2.zzg(((zzlm) list.get(i)).zzd);
|
||||
zzr.zzf.zzu().zzv(zzd2, ((zzlm) list.get(i)).zze);
|
||||
zzgmVarArr[i] = (com.google.android.gms.internal.measurement.zzgm) zzd2.zzaD();
|
||||
}
|
||||
zzu.zzj(Arrays.asList(zzgmVarArr));
|
||||
zzeu zzb = zzeu.zzb(zzauVar);
|
||||
zzr.zzt.zzv().zzL(zzb.zzd, zzr.zzf.zzh().zzi(str2));
|
||||
zzr.zzt.zzv().zzN(zzb, zzr.zzt.zzf().zzd(str2));
|
||||
Bundle bundle2 = zzb.zzd;
|
||||
bundle2.putLong("_c", 1L);
|
||||
zzr.zzt.zzaA().zzc().zza("Marking in-app purchase as real-time");
|
||||
bundle2.putLong("_r", 1L);
|
||||
bundle2.putString("_o", zzauVar.zzc);
|
||||
if (zzr.zzt.zzv().zzaf(zzu.zzaq())) {
|
||||
zzr.zzt.zzv().zzP(bundle2, "_dbg", 1L);
|
||||
zzr.zzt.zzv().zzP(bundle2, "_r", 1L);
|
||||
}
|
||||
zzaq zzn = zzr.zzf.zzh().zzn(str2, zzauVar.zza);
|
||||
if (zzn == null) {
|
||||
zzhVar = zzj;
|
||||
zzgaVar = zza;
|
||||
bundle = bundle2;
|
||||
zzgcVar = zzu;
|
||||
zzc = new zzaq(str2, zzauVar.zza, 0L, 0L, 0L, zzauVar.zzd, 0L, null, null, null, null);
|
||||
str = null;
|
||||
j4 = 0;
|
||||
} else {
|
||||
zzgaVar = zza;
|
||||
bundle = bundle2;
|
||||
zzhVar = zzj;
|
||||
zzgcVar = zzu;
|
||||
str = null;
|
||||
long j5 = zzn.zzf;
|
||||
zzc = zzn.zzc(zzauVar.zzd);
|
||||
j4 = j5;
|
||||
}
|
||||
zzaq zzaqVar = zzc;
|
||||
zzr.zzf.zzh().zzE(zzaqVar);
|
||||
zzap zzapVar = new zzap(zzr.zzt, zzauVar.zzc, str2, zzauVar.zza, zzauVar.zzd, j4, bundle);
|
||||
com.google.android.gms.internal.measurement.zzfs zze = com.google.android.gms.internal.measurement.zzft.zze();
|
||||
zze.zzm(zzapVar.zzd);
|
||||
zze.zzi(zzapVar.zzb);
|
||||
zze.zzl(zzapVar.zze);
|
||||
zzar zzarVar = new zzar(zzapVar.zzf);
|
||||
while (zzarVar.hasNext()) {
|
||||
String next = zzarVar.next();
|
||||
com.google.android.gms.internal.measurement.zzfw zze2 = com.google.android.gms.internal.measurement.zzfx.zze();
|
||||
zze2.zzj(next);
|
||||
Object zzf = zzapVar.zzf.zzf(next);
|
||||
if (zzf != null) {
|
||||
zzr.zzf.zzu().zzu(zze2, zzf);
|
||||
zze.zze(zze2);
|
||||
}
|
||||
}
|
||||
zzgcVar.zzk(zze);
|
||||
com.google.android.gms.internal.measurement.zzge zza2 = com.google.android.gms.internal.measurement.zzgg.zza();
|
||||
com.google.android.gms.internal.measurement.zzfu zza3 = com.google.android.gms.internal.measurement.zzfv.zza();
|
||||
zza3.zza(zzaqVar.zzc);
|
||||
zza3.zzb(zzauVar.zza);
|
||||
zza2.zza(zza3);
|
||||
zzgcVar.zzaa(zza2);
|
||||
zzgcVar.zzf(zzr.zzf.zzf().zza(zzhVar.zzv(), Collections.EMPTY_LIST, zzgcVar.zzau(), Long.valueOf(zze.zzc()), Long.valueOf(zze.zzc())));
|
||||
if (zze.zzq()) {
|
||||
zzgcVar.zzai(zze.zzc());
|
||||
zzgcVar.zzQ(zze.zzc());
|
||||
}
|
||||
long zzn2 = zzhVar.zzn();
|
||||
if (zzn2 != 0) {
|
||||
zzgcVar.zzab(zzn2);
|
||||
}
|
||||
long zzp = zzhVar.zzp();
|
||||
if (zzp != 0) {
|
||||
zzgcVar.zzac(zzp);
|
||||
} else if (zzn2 != 0) {
|
||||
zzgcVar.zzac(zzn2);
|
||||
}
|
||||
String zzD = zzhVar.zzD();
|
||||
zzqu.zzc();
|
||||
if (zzr.zzt.zzf().zzs(str2, zzeg.zzao) && zzD != null) {
|
||||
zzgcVar.zzah(zzD);
|
||||
}
|
||||
zzhVar.zzG();
|
||||
zzgcVar.zzI((int) zzhVar.zzo());
|
||||
zzr.zzt.zzf().zzh();
|
||||
zzgcVar.zzam(79000L);
|
||||
zzgcVar.zzal(zzr.zzt.zzax().currentTimeMillis());
|
||||
zzgcVar.zzag(true);
|
||||
if (zzr.zzt.zzf().zzs(str, zzeg.zzas)) {
|
||||
zzr.zzf.zzC(zzgcVar.zzaq(), zzgcVar);
|
||||
}
|
||||
com.google.android.gms.internal.measurement.zzga zzgaVar2 = zzgaVar;
|
||||
zzgaVar2.zza(zzgcVar);
|
||||
zzh zzhVar2 = zzhVar;
|
||||
zzhVar2.zzad(zzgcVar.zzd());
|
||||
zzhVar2.zzab(zzgcVar.zzc());
|
||||
zzr.zzf.zzh().zzD(zzhVar2);
|
||||
zzr.zzf.zzh().zzC();
|
||||
try {
|
||||
return zzr.zzf.zzu().zzz(((com.google.android.gms.internal.measurement.zzgb) zzgaVar2.zzaD()).zzbx());
|
||||
} catch (IOException e5) {
|
||||
zzr.zzt.zzaA().zzd().zzc("Data loss. Failed to bundle and serialize. appId", zzet.zzn(str2), e5);
|
||||
return str;
|
||||
}
|
||||
} catch (SecurityException e6) {
|
||||
zzr.zzt.zzaA().zzc().zzb("app instance id encryption failed", e6.getMessage());
|
||||
bArr = new byte[0];
|
||||
zzlhVar3 = zzr.zzf;
|
||||
zzlhVar3.zzh().zzx();
|
||||
return bArr;
|
||||
}
|
||||
} finally {
|
||||
zzr.zzf.zzh().zzx();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzgr implements Runnable {
|
||||
final /* synthetic */ zzlk zza;
|
||||
final /* synthetic */ zzq zzb;
|
||||
final /* synthetic */ zzgv zzc;
|
||||
|
||||
public zzgr(zzgv zzgvVar, zzlk zzlkVar, zzq zzqVar) {
|
||||
this.zzc = zzgvVar;
|
||||
this.zza = zzlkVar;
|
||||
this.zzb = zzqVar;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
zzlh zzlhVar;
|
||||
zzlh zzlhVar2;
|
||||
zzlh zzlhVar3;
|
||||
zzlhVar = this.zzc.zza;
|
||||
zzlhVar.zzA();
|
||||
if (this.zza.zza() == null) {
|
||||
zzlhVar3 = this.zzc.zza;
|
||||
zzlhVar3.zzP(this.zza.zzb, this.zzb);
|
||||
} else {
|
||||
zzlhVar2 = this.zzc.zza;
|
||||
zzlhVar2.zzW(this.zza, this.zzb);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
import java.util.concurrent.Callable;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzgs implements Callable {
|
||||
final /* synthetic */ String zza;
|
||||
final /* synthetic */ zzgv zzb;
|
||||
|
||||
public zzgs(zzgv zzgvVar, String str) {
|
||||
this.zzb = zzgvVar;
|
||||
this.zza = str;
|
||||
}
|
||||
|
||||
@Override // java.util.concurrent.Callable
|
||||
public final /* bridge */ /* synthetic */ Object call() throws Exception {
|
||||
zzlh zzlhVar;
|
||||
zzlh zzlhVar2;
|
||||
zzlhVar = this.zzb.zza;
|
||||
zzlhVar.zzA();
|
||||
zzlhVar2 = this.zzb.zza;
|
||||
return zzlhVar2.zzh().zzu(this.zza);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzgt implements Runnable {
|
||||
final /* synthetic */ zzq zza;
|
||||
final /* synthetic */ zzgv zzb;
|
||||
|
||||
public zzgt(zzgv zzgvVar, zzq zzqVar) {
|
||||
this.zzb = zzgvVar;
|
||||
this.zza = zzqVar;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
zzlh zzlhVar;
|
||||
zzlh zzlhVar2;
|
||||
zzlhVar = this.zzb.zza;
|
||||
zzlhVar.zzA();
|
||||
zzlhVar2 = this.zzb.zza;
|
||||
zzlhVar2.zzL(this.zza);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
package com.google.android.gms.measurement.internal;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzgu implements Runnable {
|
||||
final /* synthetic */ String zza;
|
||||
final /* synthetic */ String zzb;
|
||||
final /* synthetic */ String zzc;
|
||||
final /* synthetic */ long zzd;
|
||||
final /* synthetic */ zzgv zze;
|
||||
|
||||
public zzgu(zzgv zzgvVar, String str, String str2, String str3, long j4) {
|
||||
this.zze = zzgvVar;
|
||||
this.zza = str;
|
||||
this.zzb = str2;
|
||||
this.zzc = str3;
|
||||
this.zzd = j4;
|
||||
}
|
||||
|
||||
@Override // java.lang.Runnable
|
||||
public final void run() {
|
||||
zzlh zzlhVar;
|
||||
zzlh zzlhVar2;
|
||||
String str = this.zza;
|
||||
if (str == null) {
|
||||
zzlhVar2 = this.zze.zza;
|
||||
zzlhVar2.zzR(this.zzb, null);
|
||||
} else {
|
||||
zzir zzirVar = new zzir(this.zzc, str, this.zzd);
|
||||
zzlhVar = this.zze.zza;
|
||||
zzlhVar.zzR(this.zzb, zzirVar);
|
||||
}
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user