1766 lines
69 KiB
Java
1766 lines
69 KiB
Java
package com.google.android.gms.measurement.internal;
|
|
|
|
import android.content.ContentValues;
|
|
import android.content.Context;
|
|
import android.database.Cursor;
|
|
import android.database.sqlite.SQLiteDatabase;
|
|
import android.database.sqlite.SQLiteException;
|
|
import android.text.TextUtils;
|
|
import com.google.android.gms.common.internal.Preconditions;
|
|
import com.google.android.gms.internal.measurement.zzom;
|
|
import com.google.android.gms.measurement.api.AppMeasurementSdk;
|
|
import com.huawei.hms.support.hianalytics.HiAnalyticsConstant;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* loaded from: classes.dex */
|
|
public final class zzaj extends zzki {
|
|
private static int a;
|
|
private static short[] b;
|
|
private static int c;
|
|
private static byte[] d;
|
|
private static int e;
|
|
private static int g;
|
|
private static final String[] zza;
|
|
private static final String[] zzb;
|
|
private static final String[] zzc;
|
|
private static final String[] zzd;
|
|
private static final String[] zze;
|
|
private static final String[] zzg;
|
|
private static final String[] zzh;
|
|
private static final String[] zzi;
|
|
private final zzai zzj;
|
|
private final zzke zzk;
|
|
private static final byte[] $$a = {102, 118, 67, -58};
|
|
private static final int $$b = 69;
|
|
private static int $10 = 0;
|
|
private static int $11 = 1;
|
|
private static int i = 0;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public zzaj(zzks zzksVar) {
|
|
super(zzksVar);
|
|
this.zzk = new zzke(this.zzs.zzav());
|
|
this.zzs.zzf();
|
|
this.zzj = new zzai(this, this.zzs.zzau(), "google_app_measurement.db");
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
|
|
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
|
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x0030). Please report as a decompilation issue!!! */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
private static void h(int r6, short r7, byte r8, java.lang.Object[] r9) {
|
|
/*
|
|
int r8 = r8 * 2
|
|
int r8 = r8 + 108
|
|
int r6 = r6 * 2
|
|
int r0 = 1 - r6
|
|
byte[] r1 = com.google.android.gms.measurement.internal.zzaj.$$a
|
|
int r7 = r7 + 4
|
|
byte[] r0 = new byte[r0]
|
|
r2 = 0
|
|
int r6 = 0 - r6
|
|
if (r1 != 0) goto L17
|
|
r3 = r6
|
|
r8 = r7
|
|
r4 = r2
|
|
goto L30
|
|
L17:
|
|
r3 = r2
|
|
L18:
|
|
byte r4 = (byte) r8
|
|
r0[r3] = r4
|
|
if (r3 != r6) goto L25
|
|
java.lang.String r6 = new java.lang.String
|
|
r6.<init>(r0, r2)
|
|
r9[r2] = r6
|
|
return
|
|
L25:
|
|
int r7 = r7 + 1
|
|
r4 = r1[r7]
|
|
int r3 = r3 + 1
|
|
r5 = r8
|
|
r8 = r7
|
|
r7 = r4
|
|
r4 = r3
|
|
r3 = r5
|
|
L30:
|
|
int r7 = -r7
|
|
int r7 = r7 + r3
|
|
r3 = r4
|
|
r5 = r8
|
|
r8 = r7
|
|
r7 = r5
|
|
goto L18
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzaj.h(int, short, byte, java.lang.Object[]):void");
|
|
}
|
|
|
|
public final boolean zzH() {
|
|
int i2 = 2 % 2;
|
|
int i3 = g + 119;
|
|
i = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
if (zzab("select count(1) > 0 from raw_events", null) != 0) {
|
|
return true;
|
|
}
|
|
int i5 = g + 113;
|
|
i = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
return false;
|
|
}
|
|
|
|
public final boolean zzI() {
|
|
int i2 = 2 % 2;
|
|
int i3 = g + 99;
|
|
i = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
if (zzab("select count(1) > 0 from queue where has_realtime = 1", null) != 0) {
|
|
return true;
|
|
}
|
|
int i5 = g + 83;
|
|
i = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
return false;
|
|
}
|
|
|
|
public final boolean zzJ() {
|
|
int i2 = 2 % 2;
|
|
int i3 = i + 21;
|
|
g = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
long zzab = zzab("select count(1) > 0 from raw_events where realtime = 1", null);
|
|
if (i4 == 0) {
|
|
if (zzab != 0) {
|
|
return true;
|
|
}
|
|
} else if (zzab != 0) {
|
|
return true;
|
|
}
|
|
int i5 = i + 43;
|
|
g = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
return false;
|
|
}
|
|
|
|
public final long zzd() {
|
|
int i2 = 2 % 2;
|
|
int i3 = g + 63;
|
|
i = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
return zzac("select max(bundle_end_timestamp) from queue", null, 0L);
|
|
}
|
|
|
|
public final long zze() {
|
|
int i2 = 2 % 2;
|
|
int i3 = i + 33;
|
|
g = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
return zzac("select max(timestamp) from raw_events", null, 0L);
|
|
}
|
|
|
|
public final zzah zzl(long j, String str, boolean z, boolean z2, boolean z3, boolean z4, boolean z5) {
|
|
int i2 = 2 % 2;
|
|
int i3 = i + 9;
|
|
g = i3 % 128;
|
|
return i3 % 2 == 0 ? zzm(j, str, 0L, false, true, z3, true, z5) : zzm(j, str, 1L, false, false, z3, false, z5);
|
|
}
|
|
|
|
public final void zzD() {
|
|
int i2 = 2 % 2;
|
|
int i3 = g + 61;
|
|
i = i3 % 128;
|
|
Object obj = null;
|
|
if (i3 % 2 == 0) {
|
|
zzY();
|
|
zzh().setTransactionSuccessful();
|
|
int i4 = i + 33;
|
|
g = i4 % 128;
|
|
if (i4 % 2 != 0) {
|
|
return;
|
|
}
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
zzY();
|
|
zzh().setTransactionSuccessful();
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
|
|
public final long zzf(String str) {
|
|
int i2 = 2 % 2;
|
|
int i3 = i + 31;
|
|
g = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
Preconditions.checkNotEmpty(str);
|
|
long zzac = zzac("select count(1) from events where app_id=? and name not like '!_%' escape '!'", new String[]{str}, 0L);
|
|
int i5 = g + 101;
|
|
i = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
return zzac;
|
|
}
|
|
|
|
public final void zzw() {
|
|
int i2 = 2 % 2;
|
|
int i3 = g + 117;
|
|
i = i3 % 128;
|
|
if (i3 % 2 == 0) {
|
|
zzY();
|
|
zzh().beginTransaction();
|
|
} else {
|
|
zzY();
|
|
zzh().beginTransaction();
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
}
|
|
|
|
public final void zzy() {
|
|
int i2 = 2 % 2;
|
|
int i3 = g + 51;
|
|
i = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
zzY();
|
|
zzh().endTransaction();
|
|
int i5 = g + 51;
|
|
i = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
}
|
|
|
|
protected final boolean zzK() {
|
|
int i2 = 2 % 2;
|
|
int i3 = g + 19;
|
|
i = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
Context zzau = this.zzs.zzau();
|
|
this.zzs.zzf();
|
|
boolean exists = zzau.getDatabasePath("google_app_measurement.db").exists();
|
|
int i5 = g + 103;
|
|
i = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
return exists;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public final SQLiteDatabase zzh() {
|
|
SQLiteDatabase writableDatabase;
|
|
int i2 = 2 % 2;
|
|
int i3 = i + 55;
|
|
g = i3 % 128;
|
|
try {
|
|
if (i3 % 2 == 0) {
|
|
zzg();
|
|
try {
|
|
writableDatabase = this.zzj.getWritableDatabase();
|
|
int i4 = 69 / 0;
|
|
} catch (Exception e2) {
|
|
throw e2;
|
|
}
|
|
} else {
|
|
zzg();
|
|
writableDatabase = this.zzj.getWritableDatabase();
|
|
}
|
|
return writableDatabase;
|
|
} catch (SQLiteException e3) {
|
|
this.zzs.zzay().zzk().zzb("Error opening database", e3);
|
|
throw e3;
|
|
}
|
|
}
|
|
|
|
final Object zzq(Cursor cursor, int i2) {
|
|
int i3 = 2 % 2;
|
|
int type = cursor.getType(i2);
|
|
if (type == 0) {
|
|
this.zzs.zzay().zzd().zza("Loaded invalid null value from database");
|
|
return null;
|
|
}
|
|
int i4 = i + 101;
|
|
int i5 = i4 % 128;
|
|
g = i5;
|
|
int i6 = i4 % 2;
|
|
if (type == 1) {
|
|
return Long.valueOf(cursor.getLong(i2));
|
|
}
|
|
if (type == 2) {
|
|
return Double.valueOf(cursor.getDouble(i2));
|
|
}
|
|
if (type == 3) {
|
|
return cursor.getString(i2);
|
|
}
|
|
int i7 = i5 + 105;
|
|
i = i7 % 128;
|
|
if (i7 % 2 == 0 ? type == 4 : type == 5) {
|
|
this.zzs.zzay().zzd().zza("Loaded invalid blob type value, ignoring it");
|
|
return null;
|
|
}
|
|
this.zzs.zzay().zzd().zzb("Loaded invalid unknown value type, ignoring it", Integer.valueOf(type));
|
|
int i8 = g + 73;
|
|
i = i8 % 128;
|
|
int i9 = i8 % 2;
|
|
return null;
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:26:0x005b */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final java.lang.String zzr() {
|
|
/*
|
|
r8 = this;
|
|
r0 = 2
|
|
int r1 = r0 % r0
|
|
android.database.sqlite.SQLiteDatabase r1 = r8.zzh()
|
|
r2 = 0
|
|
r3 = 0
|
|
java.lang.String r4 = "select app_id from queue order by has_realtime desc, rowid asc limit 1;"
|
|
android.database.Cursor r1 = r1.rawQuery(r4, r3) // Catch: java.lang.Throwable -> L33 android.database.sqlite.SQLiteException -> L35
|
|
boolean r4 = r1.moveToFirst() // Catch: java.lang.Throwable -> L2f android.database.sqlite.SQLiteException -> L31
|
|
r5 = 1
|
|
if (r4 == r5) goto L1c
|
|
if (r1 == 0) goto L1b
|
|
r1.close()
|
|
L1b:
|
|
return r3
|
|
L1c:
|
|
java.lang.String r2 = r1.getString(r2) // Catch: java.lang.Throwable -> L2f android.database.sqlite.SQLiteException -> L31
|
|
if (r1 == 0) goto L2e
|
|
r1.close()
|
|
int r1 = com.google.android.gms.measurement.internal.zzaj.i
|
|
int r1 = r1 + 125
|
|
int r3 = r1 % 128
|
|
com.google.android.gms.measurement.internal.zzaj.g = r3
|
|
int r1 = r1 % r0
|
|
L2e:
|
|
return r2
|
|
L2f:
|
|
r3 = move-exception
|
|
goto L56
|
|
L31:
|
|
r4 = move-exception
|
|
goto L38
|
|
L33:
|
|
r1 = move-exception
|
|
goto L59
|
|
L35:
|
|
r1 = move-exception
|
|
r4 = r1
|
|
r1 = r3
|
|
L38:
|
|
com.google.android.gms.measurement.internal.zzfv r5 = r8.zzs // Catch: java.lang.Throwable -> L2f
|
|
com.google.android.gms.measurement.internal.zzel r5 = r5.zzay() // Catch: java.lang.Throwable -> L2f
|
|
com.google.android.gms.measurement.internal.zzej r5 = r5.zzd() // Catch: java.lang.Throwable -> L2f
|
|
java.lang.String r6 = "Database error getting next bundle app id"
|
|
r5.zzb(r6, r4) // Catch: java.lang.Throwable -> L2f
|
|
if (r1 == 0) goto L55
|
|
int r2 = com.google.android.gms.measurement.internal.zzaj.g
|
|
int r2 = r2 + 93
|
|
int r4 = r2 % 128
|
|
com.google.android.gms.measurement.internal.zzaj.i = r4
|
|
int r2 = r2 % r0
|
|
r1.close()
|
|
L55:
|
|
return r3
|
|
L56:
|
|
r7 = r3
|
|
r3 = r1
|
|
r1 = r7
|
|
L59:
|
|
if (r3 == 0) goto L70
|
|
int r4 = com.google.android.gms.measurement.internal.zzaj.g
|
|
int r4 = r4 + 11
|
|
int r5 = r4 % 128
|
|
com.google.android.gms.measurement.internal.zzaj.i = r5
|
|
int r4 = r4 % r0
|
|
if (r4 == 0) goto L6d
|
|
r3.close()
|
|
r0 = 50
|
|
int r0 = r0 / r2
|
|
goto L70
|
|
L6d:
|
|
r3.close()
|
|
L70:
|
|
throw r1
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzaj.zzr():java.lang.String");
|
|
}
|
|
|
|
static final void zzX(ContentValues contentValues, String str, Object obj) {
|
|
int i2 = 2 % 2;
|
|
int i3 = g + 123;
|
|
i = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
Preconditions.checkNotEmpty(AppMeasurementSdk.ConditionalUserProperty.VALUE);
|
|
Preconditions.checkNotNull(obj);
|
|
if (!(!(obj instanceof String))) {
|
|
int i5 = g + 49;
|
|
i = i5 % 128;
|
|
if (i5 % 2 == 0) {
|
|
contentValues.put(AppMeasurementSdk.ConditionalUserProperty.VALUE, (String) obj);
|
|
return;
|
|
} else {
|
|
contentValues.put(AppMeasurementSdk.ConditionalUserProperty.VALUE, (String) obj);
|
|
int i6 = 64 / 0;
|
|
return;
|
|
}
|
|
}
|
|
if (obj instanceof Long) {
|
|
contentValues.put(AppMeasurementSdk.ConditionalUserProperty.VALUE, (Long) obj);
|
|
int i7 = i + 123;
|
|
g = i7 % 128;
|
|
if (i7 % 2 == 0) {
|
|
throw null;
|
|
}
|
|
return;
|
|
}
|
|
if (!(obj instanceof Double)) {
|
|
throw new IllegalArgumentException("Invalid value type");
|
|
}
|
|
contentValues.put(AppMeasurementSdk.ConditionalUserProperty.VALUE, (Double) obj);
|
|
int i8 = i + 71;
|
|
g = i8 % 128;
|
|
int i9 = i8 % 2;
|
|
}
|
|
|
|
/* JADX WARN: Finally extract failed */
|
|
private final long zzac(String str, String[] strArr, long j) {
|
|
int i2 = 2 % 2;
|
|
int i3 = i + 97;
|
|
g = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
Cursor cursor = null;
|
|
try {
|
|
try {
|
|
cursor = zzh().rawQuery(str, strArr);
|
|
if (!cursor.moveToFirst()) {
|
|
if (cursor != null) {
|
|
int i5 = i + 97;
|
|
g = i5 % 128;
|
|
if (i5 % 2 == 0) {
|
|
cursor.close();
|
|
int i6 = 41 / 0;
|
|
} else {
|
|
cursor.close();
|
|
}
|
|
}
|
|
return j;
|
|
}
|
|
int i7 = i + 83;
|
|
g = i7 % 128;
|
|
int i8 = i7 % 2;
|
|
long j2 = cursor.getLong(0);
|
|
if (cursor != null) {
|
|
cursor.close();
|
|
int i9 = i + 73;
|
|
g = i9 % 128;
|
|
int i10 = i9 % 2;
|
|
}
|
|
return j2;
|
|
} catch (SQLiteException e2) {
|
|
this.zzs.zzay().zzd().zzc("Database error", str, e2);
|
|
throw e2;
|
|
}
|
|
} catch (Throwable th) {
|
|
if (cursor != null) {
|
|
cursor.close();
|
|
}
|
|
throw th;
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:17:0x0033, code lost:
|
|
|
|
if (r7 != null) goto L14;
|
|
*/
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
/* JADX WARN: Removed duplicated region for block: B:26:0x0065 */
|
|
/* JADX WARN: Type inference failed for: r7v0, types: [java.lang.String[]] */
|
|
/* JADX WARN: Type inference failed for: r7v1 */
|
|
/* JADX WARN: Type inference failed for: r7v3, types: [android.database.Cursor] */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
private final long zzab(java.lang.String r6, java.lang.String[] r7) {
|
|
/*
|
|
r5 = this;
|
|
r0 = 2
|
|
int r1 = r0 % r0
|
|
int r1 = com.google.android.gms.measurement.internal.zzaj.i
|
|
int r1 = r1 + 3
|
|
int r2 = r1 % 128
|
|
com.google.android.gms.measurement.internal.zzaj.g = r2
|
|
int r1 = r1 % r0
|
|
android.database.sqlite.SQLiteDatabase r1 = r5.zzh()
|
|
r2 = 0
|
|
android.database.Cursor r7 = r1.rawQuery(r6, r7) // Catch: java.lang.Throwable -> L4e android.database.sqlite.SQLiteException -> L51
|
|
boolean r1 = r7.moveToFirst() // Catch: java.lang.Throwable -> L4a android.database.sqlite.SQLiteException -> L4c
|
|
if (r1 == 0) goto L42
|
|
int r1 = com.google.android.gms.measurement.internal.zzaj.i
|
|
int r1 = r1 + 5
|
|
int r3 = r1 % 128
|
|
com.google.android.gms.measurement.internal.zzaj.g = r3
|
|
int r1 = r1 % r0
|
|
if (r1 != 0) goto L2e
|
|
r1 = 1
|
|
long r1 = r7.getLong(r1) // Catch: java.lang.Throwable -> L4a android.database.sqlite.SQLiteException -> L4c
|
|
if (r7 == 0) goto L41
|
|
goto L35
|
|
L2e:
|
|
r1 = 0
|
|
long r1 = r7.getLong(r1) // Catch: java.lang.Throwable -> L4a android.database.sqlite.SQLiteException -> L4c
|
|
if (r7 == 0) goto L41
|
|
L35:
|
|
int r6 = com.google.android.gms.measurement.internal.zzaj.i
|
|
int r6 = r6 + 7
|
|
int r3 = r6 % 128
|
|
com.google.android.gms.measurement.internal.zzaj.g = r3
|
|
int r6 = r6 % r0
|
|
r7.close()
|
|
L41:
|
|
return r1
|
|
L42:
|
|
android.database.sqlite.SQLiteException r1 = new android.database.sqlite.SQLiteException // Catch: java.lang.Throwable -> L4a android.database.sqlite.SQLiteException -> L4c
|
|
java.lang.String r3 = "Database returned empty set"
|
|
r1.<init>(r3) // Catch: java.lang.Throwable -> L4a android.database.sqlite.SQLiteException -> L4c
|
|
throw r1 // Catch: java.lang.Throwable -> L4a android.database.sqlite.SQLiteException -> L4c
|
|
L4a:
|
|
r6 = move-exception
|
|
goto L63
|
|
L4c:
|
|
r1 = move-exception
|
|
goto L53
|
|
L4e:
|
|
r6 = move-exception
|
|
r7 = r2
|
|
goto L63
|
|
L51:
|
|
r1 = move-exception
|
|
r7 = r2
|
|
L53:
|
|
com.google.android.gms.measurement.internal.zzfv r3 = r5.zzs // Catch: java.lang.Throwable -> L4a
|
|
com.google.android.gms.measurement.internal.zzel r3 = r3.zzay() // Catch: java.lang.Throwable -> L4a
|
|
com.google.android.gms.measurement.internal.zzej r3 = r3.zzd() // Catch: java.lang.Throwable -> L4a
|
|
java.lang.String r4 = "Database error"
|
|
r3.zzc(r4, r6, r1) // Catch: java.lang.Throwable -> L4a
|
|
throw r1 // Catch: java.lang.Throwable -> L4a
|
|
L63:
|
|
if (r7 == 0) goto L7a
|
|
int r1 = com.google.android.gms.measurement.internal.zzaj.i
|
|
int r1 = r1 + 27
|
|
int r3 = r1 % 128
|
|
com.google.android.gms.measurement.internal.zzaj.g = r3
|
|
int r1 = r1 % r0
|
|
if (r1 != 0) goto L77
|
|
r7.close()
|
|
r2.hashCode()
|
|
throw r2
|
|
L77:
|
|
r7.close()
|
|
L7a:
|
|
throw r6
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzaj.zzab(java.lang.String, java.lang.String[]):long");
|
|
}
|
|
|
|
public final void zzB(String str, String str2) {
|
|
int i2 = 2 % 2;
|
|
int i3 = i + 19;
|
|
g = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
Preconditions.checkNotEmpty(str);
|
|
Preconditions.checkNotEmpty(str2);
|
|
zzg();
|
|
zzY();
|
|
try {
|
|
zzh().delete("user_attributes", "app_id=? and name=?", new String[]{str, str2});
|
|
int i5 = g + 29;
|
|
i = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
} catch (SQLiteException e2) {
|
|
this.zzs.zzay().zzd().zzd("Error deleting user property. appId", zzel.zzn(str), this.zzs.zzj().zzf(str2), e2);
|
|
}
|
|
}
|
|
|
|
public final int zza(String str, String str2) {
|
|
int i2 = 2 % 2;
|
|
int i3 = i + 111;
|
|
g = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
Preconditions.checkNotEmpty(str);
|
|
Preconditions.checkNotEmpty(str2);
|
|
zzg();
|
|
zzY();
|
|
try {
|
|
int delete = zzh().delete("conditional_properties", "app_id=? and name=?", new String[]{str, str2});
|
|
int i5 = i + 3;
|
|
g = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
return delete;
|
|
} catch (SQLiteException e2) {
|
|
this.zzs.zzay().zzd().zzd("Error deleting conditional property", zzel.zzn(str), this.zzs.zzj().zzf(str2), e2);
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
public final void zzG(String str, byte[] bArr, String str2) {
|
|
int i2 = 2 % 2;
|
|
Preconditions.checkNotEmpty(str);
|
|
zzg();
|
|
zzY();
|
|
ContentValues contentValues = new ContentValues();
|
|
contentValues.put("remote_config", bArr);
|
|
contentValues.put("config_last_modified_time", str2);
|
|
try {
|
|
if (zzh().update("apps", contentValues, "app_id = ?", new String[]{str}) == 0) {
|
|
int i3 = i + 87;
|
|
g = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
this.zzs.zzay().zzd().zzb("Failed to update remote config (got 0). appId", zzel.zzn(str));
|
|
}
|
|
int i5 = i + 123;
|
|
g = i5 % 128;
|
|
if (i5 % 2 == 0) {
|
|
throw null;
|
|
}
|
|
} catch (SQLiteException e2) {
|
|
this.zzs.zzay().zzd().zzc("Error storing remote config. appId", zzel.zzn(str), e2);
|
|
}
|
|
}
|
|
|
|
public final List<zzab> zzs(String str, String str2, String str3) {
|
|
int i2 = 2 % 2;
|
|
Preconditions.checkNotEmpty(str);
|
|
zzg();
|
|
zzY();
|
|
ArrayList arrayList = new ArrayList(3);
|
|
arrayList.add(str);
|
|
StringBuilder sb = new StringBuilder("app_id=?");
|
|
if (!TextUtils.isEmpty(str2)) {
|
|
int i3 = g + 7;
|
|
i = i3 % 128;
|
|
if (i3 % 2 == 0) {
|
|
arrayList.add(str2);
|
|
sb.append(" and origin=?");
|
|
} else {
|
|
arrayList.add(str2);
|
|
sb.append(" and origin=?");
|
|
throw null;
|
|
}
|
|
}
|
|
if (!TextUtils.isEmpty(str3)) {
|
|
int i4 = i + 85;
|
|
g = i4 % 128;
|
|
if (i4 % 2 == 0) {
|
|
arrayList.add(String.valueOf(str3).concat("*"));
|
|
sb.append(" and name glob ?");
|
|
int i5 = 92 / 0;
|
|
} else {
|
|
arrayList.add(String.valueOf(str3).concat("*"));
|
|
sb.append(" and name glob ?");
|
|
}
|
|
int i6 = i + 109;
|
|
g = i6 % 128;
|
|
int i7 = i6 % 2;
|
|
}
|
|
return zzt(sb.toString(), (String[]) arrayList.toArray(new String[arrayList.size()]));
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public final void zzz(List<Long> list) {
|
|
int i2 = 2 % 2;
|
|
zzg();
|
|
zzY();
|
|
Preconditions.checkNotNull(list);
|
|
Preconditions.checkNotZero(list.size());
|
|
Object obj = null;
|
|
if (!zzK()) {
|
|
int i3 = i + 5;
|
|
g = i3 % 128;
|
|
if (i3 % 2 == 0) {
|
|
throw null;
|
|
}
|
|
return;
|
|
}
|
|
String join = TextUtils.join(",", list);
|
|
StringBuilder sb = new StringBuilder(String.valueOf(join).length() + 2);
|
|
sb.append("(");
|
|
sb.append(join);
|
|
sb.append(")");
|
|
String sb2 = sb.toString();
|
|
StringBuilder sb3 = new StringBuilder(sb2.length() + 80);
|
|
sb3.append("SELECT COUNT(1) FROM queue WHERE rowid IN ");
|
|
sb3.append(sb2);
|
|
sb3.append(" AND retry_count = 2147483647 LIMIT 1");
|
|
if (zzab(sb3.toString(), null) > 0) {
|
|
int i4 = i + 69;
|
|
g = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
this.zzs.zzay().zzk().zza("The number of upload retries exceeds the limit. Will remain unchanged.");
|
|
}
|
|
try {
|
|
SQLiteDatabase zzh2 = zzh();
|
|
StringBuilder sb4 = new StringBuilder(sb2.length() + 127);
|
|
sb4.append("UPDATE queue SET retry_count = IFNULL(retry_count, 0) + 1 WHERE rowid IN ");
|
|
sb4.append(sb2);
|
|
sb4.append(" AND (retry_count IS NULL OR retry_count < 2147483647)");
|
|
zzh2.execSQL(sb4.toString());
|
|
int i6 = g + 27;
|
|
i = i6 % 128;
|
|
if (i6 % 2 == 0) {
|
|
return;
|
|
}
|
|
obj.hashCode();
|
|
throw null;
|
|
} catch (SQLiteException e2) {
|
|
this.zzs.zzay().zzd().zzb("Error incrementing retry count. error", e2);
|
|
}
|
|
}
|
|
|
|
public final void zzx(List<Long> list) {
|
|
int i2 = 2 % 2;
|
|
Preconditions.checkNotNull(list);
|
|
zzg();
|
|
zzY();
|
|
StringBuilder sb = new StringBuilder("rowid in (");
|
|
int i3 = g + 37;
|
|
i = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
for (int i5 = 0; i5 < list.size(); i5++) {
|
|
int i6 = i + 49;
|
|
g = i6 % 128;
|
|
if (i6 % 2 == 0) {
|
|
int i7 = 37 / 0;
|
|
if (i5 == 0) {
|
|
sb.append(list.get(i5).longValue());
|
|
}
|
|
sb.append(",");
|
|
sb.append(list.get(i5).longValue());
|
|
} else {
|
|
if (i5 == 0) {
|
|
sb.append(list.get(i5).longValue());
|
|
}
|
|
sb.append(",");
|
|
sb.append(list.get(i5).longValue());
|
|
}
|
|
}
|
|
sb.append(")");
|
|
int delete = zzh().delete("raw_events", sb.toString(), null);
|
|
if (delete != list.size()) {
|
|
this.zzs.zzay().zzd().zzc("Deleted fewer rows from raw events table than expected", Integer.valueOf(delete), Integer.valueOf(list.size()));
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public final void zzA() {
|
|
int i2 = 2 % 2;
|
|
zzg();
|
|
zzY();
|
|
if (zzK()) {
|
|
int i3 = i + 51;
|
|
g = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
long zza2 = this.zzf.zzs().zza.zza();
|
|
long elapsedRealtime = this.zzs.zzav().elapsedRealtime();
|
|
long abs = Math.abs(elapsedRealtime - zza2);
|
|
this.zzs.zzf();
|
|
if (abs > zzdy.zzx.zza(null).longValue()) {
|
|
int i5 = i + 41;
|
|
g = i5 % 128;
|
|
if (i5 % 2 == 0) {
|
|
this.zzf.zzs().zza.zzb(elapsedRealtime);
|
|
zzg();
|
|
zzY();
|
|
zzK();
|
|
throw null;
|
|
}
|
|
this.zzf.zzs().zza.zzb(elapsedRealtime);
|
|
zzg();
|
|
zzY();
|
|
if (zzK()) {
|
|
SQLiteDatabase zzh2 = zzh();
|
|
long currentTimeMillis = this.zzs.zzav().currentTimeMillis();
|
|
this.zzs.zzf();
|
|
int delete = zzh2.delete("queue", "abs(bundle_end_timestamp - ?) > cast(? as integer)", new String[]{String.valueOf(currentTimeMillis), String.valueOf(zzaf.zzA())});
|
|
if (delete > 0) {
|
|
this.zzs.zzay().zzj().zzb("Deleted stale rows. rowsDeleted", Integer.valueOf(delete));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:39:0x00d9 */
|
|
/*
|
|
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.zzkx zzp(java.lang.String r15, java.lang.String r16) {
|
|
/*
|
|
Method dump skipped, instructions count: 230
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzaj.zzp(java.lang.String, java.lang.String):com.google.android.gms.measurement.internal.zzkx");
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:42:0x00e4 */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final java.util.List<com.google.android.gms.measurement.internal.zzkx> zzu(java.lang.String r17) {
|
|
/*
|
|
Method dump skipped, instructions count: 254
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzaj.zzu(java.lang.String):java.util.List");
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:11:0x00a6 */
|
|
/* JADX WARN: Removed duplicated region for block: B:23:0x00e0 A[ORIG_RETURN, RETURN] */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final void zzF(com.google.android.gms.measurement.internal.zzap r7) {
|
|
/*
|
|
Method dump skipped, instructions count: 250
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzaj.zzF(com.google.android.gms.measurement.internal.zzap):void");
|
|
}
|
|
|
|
public final boolean zzL(String str, Long l, long j, com.google.android.gms.internal.measurement.zzfo zzfoVar) {
|
|
int i2 = 2 % 2;
|
|
zzg();
|
|
zzY();
|
|
Preconditions.checkNotNull(zzfoVar);
|
|
Preconditions.checkNotEmpty(str);
|
|
Preconditions.checkNotNull(l);
|
|
byte[] zzbs = zzfoVar.zzbs();
|
|
this.zzs.zzay().zzj().zzc("Saving complex main event, appId, data size", this.zzs.zzj().zzd(str), Integer.valueOf(zzbs.length));
|
|
ContentValues contentValues = new ContentValues();
|
|
contentValues.put(HiAnalyticsConstant.BI_KEY_APP_ID, str);
|
|
contentValues.put("event_id", l);
|
|
contentValues.put("children_to_process", Long.valueOf(j));
|
|
contentValues.put("main_event", zzbs);
|
|
try {
|
|
if (zzh().insertWithOnConflict("main_event_params", null, contentValues, 5) != -1) {
|
|
int i3 = i + 111;
|
|
g = i3 % 128;
|
|
if (i3 % 2 == 0) {
|
|
int i4 = 91 / 0;
|
|
}
|
|
return true;
|
|
}
|
|
int i5 = g + 75;
|
|
i = i5 % 128;
|
|
if (i5 % 2 != 0) {
|
|
this.zzs.zzay().zzd().zzb("Failed to insert complex main event (got -1). appId", zzel.zzn(str));
|
|
return false;
|
|
}
|
|
this.zzs.zzay().zzd().zzb("Failed to insert complex main event (got -1). appId", zzel.zzn(str));
|
|
return false;
|
|
} catch (SQLiteException e2) {
|
|
this.zzs.zzay().zzd().zzc("Error storing complex main event. appId", zzel.zzn(str), e2);
|
|
return false;
|
|
}
|
|
}
|
|
|
|
public final boolean zzN(zzkx zzkxVar) {
|
|
int i2 = 2 % 2;
|
|
int i3 = g + 19;
|
|
i = i3 % 128;
|
|
Object obj = null;
|
|
if (i3 % 2 != 0) {
|
|
Preconditions.checkNotNull(zzkxVar);
|
|
zzg();
|
|
zzY();
|
|
zzp(zzkxVar.zza, zzkxVar.zzc);
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
Preconditions.checkNotNull(zzkxVar);
|
|
zzg();
|
|
zzY();
|
|
if (zzp(zzkxVar.zza, zzkxVar.zzc) == null) {
|
|
if (zzkz.zzah(zzkxVar.zzc)) {
|
|
int i4 = g + 59;
|
|
i = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
if (zzab("select count(1) from user_attributes where app_id=? and name not like '!_%' escape '!'", new String[]{zzkxVar.zza}) >= this.zzs.zzf().zzf(zzkxVar.zza, zzdy.zzF, 25, 100)) {
|
|
return false;
|
|
}
|
|
} else if (!"_npa".equals(zzkxVar.zzc)) {
|
|
int i6 = g + 95;
|
|
i = i6 % 128;
|
|
int i7 = i6 % 2;
|
|
long zzab = zzab("select count(1) from user_attributes where app_id=? and origin=? AND name like '!_%' escape '!'", new String[]{zzkxVar.zza, zzkxVar.zzb});
|
|
this.zzs.zzf();
|
|
if (zzab >= 25) {
|
|
return false;
|
|
}
|
|
}
|
|
}
|
|
ContentValues contentValues = new ContentValues();
|
|
contentValues.put(HiAnalyticsConstant.BI_KEY_APP_ID, zzkxVar.zza);
|
|
contentValues.put("origin", zzkxVar.zzb);
|
|
contentValues.put("name", zzkxVar.zzc);
|
|
contentValues.put("set_timestamp", Long.valueOf(zzkxVar.zzd));
|
|
zzX(contentValues, AppMeasurementSdk.ConditionalUserProperty.VALUE, zzkxVar.zze);
|
|
try {
|
|
if (zzh().insertWithOnConflict("user_attributes", null, contentValues, 5) != -1) {
|
|
return true;
|
|
}
|
|
this.zzs.zzay().zzd().zzb("Failed to insert/update user property (got -1). appId", zzel.zzn(zzkxVar.zza));
|
|
return true;
|
|
} catch (SQLiteException e2) {
|
|
this.zzs.zzay().zzd().zzc("Error storing user property. appId", zzel.zzn(zzkxVar.zza), e2);
|
|
return true;
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:11:0x0086, code lost:
|
|
|
|
if (r11 != null) goto L14;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:14:0x009c, code lost:
|
|
|
|
r11.close();
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:16:0x009a, code lost:
|
|
|
|
if (r11 != null) goto L14;
|
|
*/
|
|
/* JADX WARN: Removed duplicated region for block: B:48:0x0185 */
|
|
/*
|
|
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.zzah zzm(long r24, java.lang.String r26, long r27, boolean r29, boolean r30, boolean r31, boolean r32, boolean r33) {
|
|
/*
|
|
Method dump skipped, instructions count: 402
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzaj.zzm(long, java.lang.String, long, boolean, boolean, boolean, boolean, boolean):com.google.android.gms.measurement.internal.zzah");
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: protected */
|
|
public final long zzc(String str, String str2) {
|
|
long zzac;
|
|
Object obj;
|
|
int i2 = 2 % 2;
|
|
Preconditions.checkNotEmpty(str);
|
|
Preconditions.checkNotEmpty("first_open_count");
|
|
zzg();
|
|
zzY();
|
|
SQLiteDatabase zzh2 = zzh();
|
|
zzh2.beginTransaction();
|
|
long j = 0;
|
|
try {
|
|
try {
|
|
StringBuilder sb = new StringBuilder(48);
|
|
sb.append("select first_open_count from app2 where app_id=?");
|
|
zzac = zzac(sb.toString(), new String[]{str}, -1L);
|
|
obj = null;
|
|
if (zzac == -1) {
|
|
ContentValues contentValues = new ContentValues();
|
|
contentValues.put(HiAnalyticsConstant.BI_KEY_APP_ID, str);
|
|
contentValues.put("first_open_count", (Integer) 0);
|
|
contentValues.put("previous_install_count", (Integer) 0);
|
|
if (zzh2.insertWithOnConflict("app2", null, contentValues, 5) == -1) {
|
|
this.zzs.zzay().zzd().zzc("Failed to insert column (got -1). appId", zzel.zzn(str), "first_open_count");
|
|
zzh2.endTransaction();
|
|
int i3 = i + 57;
|
|
g = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
return -1L;
|
|
}
|
|
zzac = 0;
|
|
}
|
|
} catch (SQLiteException e2) {
|
|
e = e2;
|
|
}
|
|
try {
|
|
ContentValues contentValues2 = new ContentValues();
|
|
contentValues2.put(HiAnalyticsConstant.BI_KEY_APP_ID, str);
|
|
contentValues2.put("first_open_count", Long.valueOf(1 + zzac));
|
|
if (zzh2.update("app2", contentValues2, "app_id = ?", new String[]{str}) != 0) {
|
|
zzh2.setTransactionSuccessful();
|
|
zzh2.endTransaction();
|
|
int i5 = g + 37;
|
|
i = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
return zzac;
|
|
}
|
|
int i7 = i + 119;
|
|
g = i7 % 128;
|
|
if (i7 % 2 != 0) {
|
|
this.zzs.zzay().zzd().zzc("Failed to update column (got 0). appId", zzel.zzn(str), "first_open_count");
|
|
return -1L;
|
|
}
|
|
this.zzs.zzay().zzd().zzc("Failed to update column (got 0). appId", zzel.zzn(str), "first_open_count");
|
|
zzh2.endTransaction();
|
|
obj.hashCode();
|
|
throw null;
|
|
} catch (SQLiteException e3) {
|
|
e = e3;
|
|
j = zzac;
|
|
this.zzs.zzay().zzd().zzd("Error inserting column. appId", zzel.zzn(str), "first_open_count", e);
|
|
zzh2.endTransaction();
|
|
return j;
|
|
}
|
|
} finally {
|
|
zzh2.endTransaction();
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: Not initialized variable reg: 2, insn: 0x0111: MOVE (r1 I:??[OBJECT, ARRAY]) = (r2 I:??[OBJECT, ARRAY]), block:B:73:0x0111 */
|
|
/* JADX WARN: Removed duplicated region for block: B:75:0x0114 */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final android.os.Bundle zzi(java.lang.String r9) {
|
|
/*
|
|
Method dump skipped, instructions count: 289
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzaj.zzi(java.lang.String):android.os.Bundle");
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:72:0x01a3 */
|
|
/*
|
|
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.zzap zzn(java.lang.String r27, java.lang.String r28) {
|
|
/*
|
|
Method dump skipped, instructions count: 423
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzaj.zzn(java.lang.String, java.lang.String):com.google.android.gms.measurement.internal.zzap");
|
|
}
|
|
|
|
public final boolean zzM(zzab zzabVar) {
|
|
int i2 = 2 % 2;
|
|
int i3 = g + 111;
|
|
i = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
Preconditions.checkNotNull(zzabVar);
|
|
zzg();
|
|
zzY();
|
|
String str = zzabVar.zza;
|
|
Preconditions.checkNotNull(str);
|
|
if (zzp(str, zzabVar.zzc.zzb) == null) {
|
|
long zzab = zzab("SELECT COUNT(1) FROM conditional_properties WHERE app_id=?", new String[]{str});
|
|
this.zzs.zzf();
|
|
if (zzab >= 1000) {
|
|
return false;
|
|
}
|
|
}
|
|
ContentValues contentValues = new ContentValues();
|
|
contentValues.put(HiAnalyticsConstant.BI_KEY_APP_ID, str);
|
|
contentValues.put("origin", zzabVar.zzb);
|
|
contentValues.put("name", zzabVar.zzc.zzb);
|
|
zzX(contentValues, AppMeasurementSdk.ConditionalUserProperty.VALUE, Preconditions.checkNotNull(zzabVar.zzc.zza()));
|
|
contentValues.put(AppMeasurementSdk.ConditionalUserProperty.ACTIVE, Boolean.valueOf(zzabVar.zze));
|
|
contentValues.put(AppMeasurementSdk.ConditionalUserProperty.TRIGGER_EVENT_NAME, zzabVar.zzf);
|
|
contentValues.put(AppMeasurementSdk.ConditionalUserProperty.TRIGGER_TIMEOUT, Long.valueOf(zzabVar.zzh));
|
|
contentValues.put("timed_out_event", this.zzs.zzv().zzan(zzabVar.zzg));
|
|
contentValues.put(AppMeasurementSdk.ConditionalUserProperty.CREATION_TIMESTAMP, Long.valueOf(zzabVar.zzd));
|
|
contentValues.put("triggered_event", this.zzs.zzv().zzan(zzabVar.zzi));
|
|
contentValues.put(AppMeasurementSdk.ConditionalUserProperty.TRIGGERED_TIMESTAMP, Long.valueOf(zzabVar.zzc.zzc));
|
|
contentValues.put(AppMeasurementSdk.ConditionalUserProperty.TIME_TO_LIVE, Long.valueOf(zzabVar.zzj));
|
|
contentValues.put("expired_event", this.zzs.zzv().zzan(zzabVar.zzk));
|
|
try {
|
|
if (zzh().insertWithOnConflict("conditional_properties", null, contentValues, 5) != -1) {
|
|
return true;
|
|
}
|
|
int i5 = i + 3;
|
|
g = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
this.zzs.zzay().zzd().zzb("Failed to insert/update conditional user property (got -1)", zzel.zzn(str));
|
|
return true;
|
|
} catch (SQLiteException e2) {
|
|
this.zzs.zzay().zzd().zzc("Error storing conditional user property", zzel.zzn(str), e2);
|
|
return true;
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:47:0x01af */
|
|
/*
|
|
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.zzab zzk(java.lang.String r37, java.lang.String r38) {
|
|
/*
|
|
Method dump skipped, instructions count: 435
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzaj.zzk(java.lang.String, java.lang.String):com.google.android.gms.measurement.internal.zzab");
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:24:0x0095, code lost:
|
|
|
|
r3 = r37.zzs.zzay().zzd();
|
|
r37.zzs.zzf();
|
|
r3.zzb("Read more than the max allowed conditional properties, ignoring extra", 1000);
|
|
*/
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
/* JADX WARN: Removed duplicated region for block: B:39:0x01af */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final java.util.List<com.google.android.gms.measurement.internal.zzab> zzt(java.lang.String r38, java.lang.String[] r39) {
|
|
/*
|
|
Method dump skipped, instructions count: 435
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzaj.zzt(java.lang.String, java.lang.String[]):java.util.List");
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:56:0x00aa, code lost:
|
|
|
|
r5 = com.google.android.gms.measurement.internal.zzaj.i + 73;
|
|
com.google.android.gms.measurement.internal.zzaj.g = r5 % 128;
|
|
r5 = r5 % 2;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:57:0x00b3, code lost:
|
|
|
|
r5 = r23.zzs.zzay().zzd();
|
|
r23.zzs.zzf();
|
|
r5.zzb("Read more than the max allowed user properties, ignoring excess", 1000);
|
|
*/
|
|
/* JADX WARN: Removed duplicated region for block: B:43:0x015c */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final java.util.List<com.google.android.gms.measurement.internal.zzkx> zzv(java.lang.String r24, java.lang.String r25, java.lang.String r26) {
|
|
/*
|
|
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.zzaj.zzv(java.lang.String, java.lang.String, java.lang.String):java.util.List");
|
|
}
|
|
|
|
public final void zzE(zzg zzgVar) {
|
|
int i2 = 2 % 2;
|
|
Preconditions.checkNotNull(zzgVar);
|
|
zzg();
|
|
zzY();
|
|
String zzt = zzgVar.zzt();
|
|
Preconditions.checkNotNull(zzt);
|
|
ContentValues contentValues = new ContentValues();
|
|
contentValues.put(HiAnalyticsConstant.BI_KEY_APP_ID, zzt);
|
|
contentValues.put("app_instance_id", zzgVar.zzu());
|
|
contentValues.put("gmp_app_id", zzgVar.zzz());
|
|
contentValues.put("resettable_device_id_hash", zzgVar.zzB());
|
|
contentValues.put("last_bundle_index", Long.valueOf(zzgVar.zzo()));
|
|
contentValues.put("last_bundle_start_timestamp", Long.valueOf(zzgVar.zzp()));
|
|
contentValues.put("last_bundle_end_timestamp", Long.valueOf(zzgVar.zzn()));
|
|
contentValues.put("app_version", zzgVar.zzw());
|
|
contentValues.put("app_store", zzgVar.zzv());
|
|
contentValues.put("gmp_version", Long.valueOf(zzgVar.zzm()));
|
|
contentValues.put("dev_cert_hash", Long.valueOf(zzgVar.zzj()));
|
|
contentValues.put("measurement_enabled", Boolean.valueOf(zzgVar.zzaj()));
|
|
contentValues.put("day", Long.valueOf(zzgVar.zzi()));
|
|
contentValues.put("daily_public_events_count", Long.valueOf(zzgVar.zzg()));
|
|
contentValues.put("daily_events_count", Long.valueOf(zzgVar.zzf()));
|
|
contentValues.put("daily_conversions_count", Long.valueOf(zzgVar.zzd()));
|
|
contentValues.put("config_fetched_time", Long.valueOf(zzgVar.zzc()));
|
|
contentValues.put("failed_config_fetch_time", Long.valueOf(zzgVar.zzl()));
|
|
contentValues.put("app_version_int", Long.valueOf(zzgVar.zzb()));
|
|
contentValues.put("firebase_instance_id", zzgVar.zzx());
|
|
contentValues.put("daily_error_events_count", Long.valueOf(zzgVar.zze()));
|
|
contentValues.put("daily_realtime_events_count", Long.valueOf(zzgVar.zzh()));
|
|
contentValues.put("health_monitor_sample", zzgVar.zzA());
|
|
contentValues.put("android_id", Long.valueOf(zzgVar.zza()));
|
|
contentValues.put("adid_reporting_enabled", Boolean.valueOf(zzgVar.zzai()));
|
|
contentValues.put("admob_app_id", zzgVar.zzr());
|
|
contentValues.put("dynamite_version", Long.valueOf(zzgVar.zzk()));
|
|
List<String> zzC = zzgVar.zzC();
|
|
if (zzC != null) {
|
|
int i3 = i + 95;
|
|
g = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
if (zzC.size() == 0) {
|
|
int i5 = g + 37;
|
|
i = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
this.zzs.zzay().zzk().zzb("Safelisted events should not be an empty list. appId", zzt);
|
|
int i7 = g + 69;
|
|
i = i7 % 128;
|
|
int i8 = i7 % 2;
|
|
} else {
|
|
contentValues.put("safelisted_events", TextUtils.join(",", zzC));
|
|
}
|
|
}
|
|
zzom.zzc();
|
|
if (this.zzs.zzf().zzs(zzt, zzdy.zzac)) {
|
|
contentValues.put("ga_app_id", zzgVar.zzy());
|
|
}
|
|
try {
|
|
SQLiteDatabase zzh2 = zzh();
|
|
if (zzh2.update("apps", contentValues, "app_id = ?", new String[]{zzt}) == 0) {
|
|
int i9 = g + 13;
|
|
i = i9 % 128;
|
|
int i10 = i9 % 2;
|
|
if (zzh2.insertWithOnConflict("apps", null, contentValues, 5) == -1) {
|
|
this.zzs.zzay().zzd().zzb("Failed to insert/update app (got -1). appId", zzel.zzn(zzt));
|
|
}
|
|
}
|
|
} catch (SQLiteException e2) {
|
|
this.zzs.zzay().zzd().zzc("Error storing app. appId", zzel.zzn(zzt), e2);
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:76:0x02de */
|
|
/*
|
|
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.zzg zzj(java.lang.String r26) {
|
|
/*
|
|
Method dump skipped, instructions count: 754
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzaj.zzj(java.lang.String):com.google.android.gms.measurement.internal.zzg");
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:108:0x0042, code lost:
|
|
|
|
r7 = r7 + 3;
|
|
com.google.android.gms.measurement.internal.zzaj.i = r7 % 128;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:109:0x0048, code lost:
|
|
|
|
if ((r7 % 2) == 0) goto L16;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:10:0x003b, code lost:
|
|
|
|
if (r5 != 0) goto L13;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:110:0x004a, code lost:
|
|
|
|
r7 = new java.lang.String[2];
|
|
r7[0] = java.lang.String.valueOf(r32);
|
|
r7[0] = java.lang.String.valueOf(r30);
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:111:0x0059, code lost:
|
|
|
|
r7 = new java.lang.String[]{java.lang.String.valueOf(r32), java.lang.String.valueOf(r30)};
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:113:0x0040, code lost:
|
|
|
|
if (r5 != 0) goto L13;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:11:0x0068, code lost:
|
|
|
|
r7 = new java.lang.String[]{java.lang.String.valueOf(r30)};
|
|
*/
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
/* JADX WARN: Removed duplicated region for block: B:93:0x030a */
|
|
/* JADX WARN: Removed duplicated region for block: B:95:? A[RETURN, SYNTHETIC] */
|
|
/* JADX WARN: Type inference failed for: r5v1, types: [boolean] */
|
|
/* JADX WARN: Type inference failed for: r5v14 */
|
|
/* JADX WARN: Type inference failed for: r5v2 */
|
|
/* JADX WARN: Type inference failed for: r5v3 */
|
|
/* JADX WARN: Type inference failed for: r5v59 */
|
|
/* JADX WARN: Type inference failed for: r5v60 */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final void zzW(java.lang.String r29, long r30, long r32, com.google.android.gms.measurement.internal.zzkr r34) {
|
|
/*
|
|
Method dump skipped, instructions count: 788
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzaj.zzW(java.lang.String, long, long, com.google.android.gms.measurement.internal.zzkr):void");
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* JADX WARN: Code restructure failed: missing block: B:100:0x029f, code lost:
|
|
|
|
r11 = r3.zzbs();
|
|
r21 = r7;
|
|
r7 = new android.content.ContentValues();
|
|
r7.put(com.huawei.hms.support.hianalytics.HiAnalyticsConstant.BI_KEY_APP_ID, r24);
|
|
r7.put("audience_id", java.lang.Integer.valueOf(r9));
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:101:0x02b8, code lost:
|
|
|
|
if (r3.zzp() == false) goto L85;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:102:0x02ba, code lost:
|
|
|
|
r8 = java.lang.Integer.valueOf(r3.zzb());
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:103:0x02c4, code lost:
|
|
|
|
r7.put("filter_id", r8);
|
|
r7.put("event_name", r3.zzg());
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:104:0x02d4, code lost:
|
|
|
|
if (r3.zzq() == false) goto L89;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:105:0x02d6, code lost:
|
|
|
|
r3 = java.lang.Boolean.valueOf(r3.zzn());
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:106:0x02e0, code lost:
|
|
|
|
r7.put("session_scoped", r3);
|
|
r7.put("data", r11);
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:109:0x02f4, code lost:
|
|
|
|
if (zzh().insertWithOnConflict("event_filters", null, r7, 5) != (-1)) goto L203;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:110:0x02f6, code lost:
|
|
|
|
r23.zzs.zzay().zzd().zzb("Failed to insert event filter (got -1). appId", com.google.android.gms.measurement.internal.zzel.zzn(r24));
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:112:0x0309, code lost:
|
|
|
|
r7 = r21;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:115:0x030f, code lost:
|
|
|
|
r0 = move-exception;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:116:0x0310, code lost:
|
|
|
|
r23.zzs.zzay().zzd().zzc("Error storing event filter. appId", com.google.android.gms.measurement.internal.zzel.zzn(r24), r0);
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:117:0x040b, code lost:
|
|
|
|
zzY();
|
|
zzg();
|
|
com.google.android.gms.common.internal.Preconditions.checkNotEmpty(r24);
|
|
r0 = zzh();
|
|
r10 = r18;
|
|
r0.delete("property_filters", r10, new java.lang.String[]{r24, java.lang.String.valueOf(r9)});
|
|
r0.delete("event_filters", r10, new java.lang.String[]{r24, java.lang.String.valueOf(r9)});
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:118:0x043a, code lost:
|
|
|
|
r18 = r10;
|
|
r7 = r21;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:120:0x02df, code lost:
|
|
|
|
r3 = null;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:121:0x02c3, code lost:
|
|
|
|
r8 = null;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:123:0x026d, code lost:
|
|
|
|
r0 = r23.zzs.zzay().zzk();
|
|
r8 = com.google.android.gms.measurement.internal.zzel.zzn(r24);
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:124:0x027f, code lost:
|
|
|
|
if (r3.zzp() == false) goto L80;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:125:0x0281, code lost:
|
|
|
|
r17 = java.lang.Integer.valueOf(r3.zzb());
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:126:0x028e, code lost:
|
|
|
|
r0.zzd("Event filter had no event name. Audience definition ignored. appId, audienceId, filterId", r8, java.lang.Integer.valueOf(r9), java.lang.String.valueOf(r17));
|
|
r21 = r7;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:127:0x028c, code lost:
|
|
|
|
r17 = null;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:129:0x0325, code lost:
|
|
|
|
r21 = r7;
|
|
r0 = r0.zzh().iterator();
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:131:0x0333, code lost:
|
|
|
|
if (r0.hasNext() == false) goto L205;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:132:0x0335, code lost:
|
|
|
|
r3 = r0.next();
|
|
zzY();
|
|
zzg();
|
|
com.google.android.gms.common.internal.Preconditions.checkNotEmpty(r24);
|
|
com.google.android.gms.common.internal.Preconditions.checkNotNull(r3);
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:133:0x034f, code lost:
|
|
|
|
if (android.text.TextUtils.isEmpty(r3.zze()) == false) goto L108;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:134:0x0388, code lost:
|
|
|
|
r7 = r3.zzbs();
|
|
r10 = new android.content.ContentValues();
|
|
r10.put(com.huawei.hms.support.hianalytics.HiAnalyticsConstant.BI_KEY_APP_ID, r24);
|
|
r10.put("audience_id", java.lang.Integer.valueOf(r9));
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:135:0x039f, code lost:
|
|
|
|
if (r3.zzj() == false) goto L111;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:136:0x03a1, code lost:
|
|
|
|
r11 = java.lang.Integer.valueOf(r3.zza());
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:137:0x03ab, code lost:
|
|
|
|
r10.put("filter_id", r11);
|
|
r22 = r0;
|
|
r10.put("property_name", r3.zze());
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:138:0x03bd, code lost:
|
|
|
|
if (r3.zzk() == false) goto L115;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:139:0x03bf, code lost:
|
|
|
|
r0 = java.lang.Boolean.valueOf(r3.zzi());
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:140:0x03c9, code lost:
|
|
|
|
r10.put("session_scoped", r0);
|
|
r10.put("data", r7);
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:143:0x03dd, code lost:
|
|
|
|
if (zzh().insertWithOnConflict("property_filters", null, r10, 5) != (-1)) goto L121;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:144:0x03f3, code lost:
|
|
|
|
r0 = r22;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:146:0x03df, code lost:
|
|
|
|
r23.zzs.zzay().zzd().zzb("Failed to insert property filter (got -1). appId", com.google.android.gms.measurement.internal.zzel.zzn(r24));
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:148:0x03f7, code lost:
|
|
|
|
r0 = move-exception;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:149:0x03f8, code lost:
|
|
|
|
r23.zzs.zzay().zzd().zzc("Error storing property filter. appId", com.google.android.gms.measurement.internal.zzel.zzn(r24), r0);
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:150:0x03c8, code lost:
|
|
|
|
r0 = null;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:151:0x03aa, code lost:
|
|
|
|
r11 = null;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:153:0x0351, code lost:
|
|
|
|
r0 = r23.zzs.zzay().zzk();
|
|
r7 = com.google.android.gms.measurement.internal.zzel.zzn(r24);
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:154:0x0363, code lost:
|
|
|
|
if (r3.zzj() == false) goto L106;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:155:0x0365, code lost:
|
|
|
|
r8 = com.google.android.gms.measurement.internal.zzaj.i + 55;
|
|
com.google.android.gms.measurement.internal.zzaj.g = r8 % 128;
|
|
r8 = r8 % 2;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:156:0x036f, code lost:
|
|
|
|
r8 = java.lang.Integer.valueOf(r3.zza());
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:157:0x0379, code lost:
|
|
|
|
r0.zzd("Property filter had no property name. Audience definition ignored. appId, audienceId, filterId", r7, java.lang.Integer.valueOf(r9), java.lang.String.valueOf(r8));
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:158:0x0378, code lost:
|
|
|
|
r8 = null;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:160:0x0438, code lost:
|
|
|
|
r10 = r18;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:93:0x022f, code lost:
|
|
|
|
r10 = r0.zzg().iterator();
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:96:0x0245, code lost:
|
|
|
|
if (r10.hasNext() == false) goto L200;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:97:0x0247, code lost:
|
|
|
|
r11 = com.google.android.gms.measurement.internal.zzaj.g + 23;
|
|
com.google.android.gms.measurement.internal.zzaj.i = r11 % 128;
|
|
r11 = r11 % 2;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:98:0x0251, code lost:
|
|
|
|
r3 = r10.next();
|
|
zzY();
|
|
zzg();
|
|
com.google.android.gms.common.internal.Preconditions.checkNotEmpty(r24);
|
|
com.google.android.gms.common.internal.Preconditions.checkNotNull(r3);
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:99:0x026b, code lost:
|
|
|
|
if (android.text.TextUtils.isEmpty(r3.zzg()) == false) goto L82;
|
|
*/
|
|
/* JADX WARN: Removed duplicated region for block: B:21:0x0081 */
|
|
/* JADX WARN: Removed duplicated region for block: B:30:0x00c0 */
|
|
/* JADX WARN: Removed duplicated region for block: B:33:0x00cc A[SYNTHETIC] */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final void zzC(java.lang.String r24, java.util.List<com.google.android.gms.internal.measurement.zzeh> r25) {
|
|
/*
|
|
Method dump skipped, instructions count: 1358
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzaj.zzC(java.lang.String, java.util.List):void");
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:39:0x01e5, code lost:
|
|
|
|
if (r4 != false) goto L44;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:40:0x01fc, code lost:
|
|
|
|
r4 = 0;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:82:0x01fa, code lost:
|
|
|
|
r4 = 1;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:84:0x01f8, code lost:
|
|
|
|
if ((!r4) != true) goto L44;
|
|
*/
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
private static void f(short r20, byte r21, int r22, int r23, int r24, java.lang.Object[] r25) {
|
|
/*
|
|
Method dump skipped, instructions count: 817
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.measurement.internal.zzaj.f(short, byte, int, int, int, java.lang.Object[]):void");
|
|
}
|
|
|
|
static void e() {
|
|
c = -1307499836;
|
|
e = 1406017094;
|
|
a = -1212646328;
|
|
d = new byte[]{-69};
|
|
}
|
|
|
|
@Override // com.google.android.gms.measurement.internal.zzki
|
|
protected final boolean zzb() {
|
|
int i2 = 2 % 2;
|
|
int i3 = i;
|
|
int i4 = i3 + 13;
|
|
g = i4 % 128;
|
|
boolean z = i4 % 2 == 0;
|
|
int i5 = i3 + 61;
|
|
g = i5 % 128;
|
|
if (i5 % 2 != 0) {
|
|
return z;
|
|
}
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public static /* bridge */ /* synthetic */ zzke zzo(zzaj zzajVar) {
|
|
int i2 = 2 % 2;
|
|
int i3 = g + 49;
|
|
int i4 = i3 % 128;
|
|
i = i4;
|
|
int i5 = i3 % 2;
|
|
zzke zzkeVar = zzajVar.zzk;
|
|
int i6 = i4 + 111;
|
|
g = i6 % 128;
|
|
if (i6 % 2 != 0) {
|
|
return zzkeVar;
|
|
}
|
|
throw null;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public static /* bridge */ /* synthetic */ String[] zzV() {
|
|
int i2 = 2 % 2;
|
|
int i3 = i;
|
|
int i4 = i3 + 11;
|
|
g = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
String[] strArr = zzb;
|
|
int i6 = i3 + 1;
|
|
g = i6 % 128;
|
|
if (i6 % 2 != 0) {
|
|
return strArr;
|
|
}
|
|
throw null;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public static /* bridge */ /* synthetic */ String[] zzU() {
|
|
int i2 = 2 % 2;
|
|
int i3 = g;
|
|
int i4 = i3 + 51;
|
|
i = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
String[] strArr = zzd;
|
|
int i6 = i3 + 87;
|
|
i = i6 % 128;
|
|
if (i6 % 2 == 0) {
|
|
return strArr;
|
|
}
|
|
throw null;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public static /* bridge */ /* synthetic */ String[] zzT() {
|
|
int i2 = 2 % 2;
|
|
int i3 = g + 95;
|
|
int i4 = i3 % 128;
|
|
i = i4;
|
|
if (i3 % 2 != 0) {
|
|
throw null;
|
|
}
|
|
String[] strArr = zze;
|
|
int i5 = i4 + 113;
|
|
g = i5 % 128;
|
|
if (i5 % 2 != 0) {
|
|
return strArr;
|
|
}
|
|
throw null;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public static /* synthetic */ String[] zzS() {
|
|
int i2 = 2 % 2;
|
|
int i3 = g + 31;
|
|
i = i3 % 128;
|
|
if (i3 % 2 == 0) {
|
|
return zzh;
|
|
}
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public static /* bridge */ /* synthetic */ String[] zzR() {
|
|
String[] strArr;
|
|
int i2 = 2 % 2;
|
|
int i3 = i + 7;
|
|
int i4 = i3 % 128;
|
|
g = i4;
|
|
if (i3 % 2 == 0) {
|
|
strArr = zzg;
|
|
int i5 = 13 / 0;
|
|
} else {
|
|
strArr = zzg;
|
|
}
|
|
int i6 = i4 + 45;
|
|
i = i6 % 128;
|
|
if (i6 % 2 != 0) {
|
|
int i7 = 11 / 0;
|
|
}
|
|
return strArr;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public static /* bridge */ /* synthetic */ String[] zzQ() {
|
|
int i2 = 2 % 2;
|
|
int i3 = g;
|
|
int i4 = i3 + 51;
|
|
i = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
String[] strArr = zza;
|
|
int i6 = i3 + 107;
|
|
i = i6 % 128;
|
|
int i7 = i6 % 2;
|
|
return strArr;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public static /* bridge */ /* synthetic */ String[] zzP() {
|
|
int i2 = 2 % 2;
|
|
int i3 = g + 51;
|
|
i = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
String[] strArr = zzc;
|
|
if (i4 != 0) {
|
|
int i5 = 27 / 0;
|
|
}
|
|
return strArr;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public static /* synthetic */ String[] zzO() {
|
|
int i2 = 2 % 2;
|
|
int i3 = g;
|
|
int i4 = i3 + 103;
|
|
i = i4 % 128;
|
|
if (i4 % 2 != 0) {
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
String[] strArr = zzi;
|
|
int i5 = i3 + 103;
|
|
i = i5 % 128;
|
|
if (i5 % 2 != 0) {
|
|
int i6 = 36 / 0;
|
|
}
|
|
return strArr;
|
|
}
|
|
|
|
static {
|
|
g = 1;
|
|
e();
|
|
zza = new String[]{"last_bundled_timestamp", "ALTER TABLE events ADD COLUMN last_bundled_timestamp INTEGER;", "last_bundled_day", "ALTER TABLE events ADD COLUMN last_bundled_day INTEGER;", "last_sampled_complex_event_id", "ALTER TABLE events ADD COLUMN last_sampled_complex_event_id INTEGER;", "last_sampling_rate", "ALTER TABLE events ADD COLUMN last_sampling_rate INTEGER;", "last_exempt_from_sampling", "ALTER TABLE events ADD COLUMN last_exempt_from_sampling INTEGER;", "current_session_count", "ALTER TABLE events ADD COLUMN current_session_count INTEGER;"};
|
|
zzb = new String[]{"origin", "ALTER TABLE user_attributes ADD COLUMN origin TEXT;"};
|
|
zzc = new String[]{"app_version", "ALTER TABLE apps ADD COLUMN app_version TEXT;", "app_store", "ALTER TABLE apps ADD COLUMN app_store TEXT;", "gmp_version", "ALTER TABLE apps ADD COLUMN gmp_version INTEGER;", "dev_cert_hash", "ALTER TABLE apps ADD COLUMN dev_cert_hash INTEGER;", "measurement_enabled", "ALTER TABLE apps ADD COLUMN measurement_enabled INTEGER;", "last_bundle_start_timestamp", "ALTER TABLE apps ADD COLUMN last_bundle_start_timestamp INTEGER;", "day", "ALTER TABLE apps ADD COLUMN day INTEGER;", "daily_public_events_count", "ALTER TABLE apps ADD COLUMN daily_public_events_count INTEGER;", "daily_events_count", "ALTER TABLE apps ADD COLUMN daily_events_count INTEGER;", "daily_conversions_count", "ALTER TABLE apps ADD COLUMN daily_conversions_count INTEGER;", "remote_config", "ALTER TABLE apps ADD COLUMN remote_config BLOB;", "config_fetched_time", "ALTER TABLE apps ADD COLUMN config_fetched_time INTEGER;", "failed_config_fetch_time", "ALTER TABLE apps ADD COLUMN failed_config_fetch_time INTEGER;", "app_version_int", "ALTER TABLE apps ADD COLUMN app_version_int INTEGER;", "firebase_instance_id", "ALTER TABLE apps ADD COLUMN firebase_instance_id TEXT;", "daily_error_events_count", "ALTER TABLE apps ADD COLUMN daily_error_events_count INTEGER;", "daily_realtime_events_count", "ALTER TABLE apps ADD COLUMN daily_realtime_events_count INTEGER;", "health_monitor_sample", "ALTER TABLE apps ADD COLUMN health_monitor_sample TEXT;", "android_id", "ALTER TABLE apps ADD COLUMN android_id INTEGER;", "adid_reporting_enabled", "ALTER TABLE apps ADD COLUMN adid_reporting_enabled INTEGER;", "ssaid_reporting_enabled", "ALTER TABLE apps ADD COLUMN ssaid_reporting_enabled INTEGER;", "admob_app_id", "ALTER TABLE apps ADD COLUMN admob_app_id TEXT;", "linked_admob_app_id", "ALTER TABLE apps ADD COLUMN linked_admob_app_id TEXT;", "dynamite_version", "ALTER TABLE apps ADD COLUMN dynamite_version INTEGER;", "safelisted_events", "ALTER TABLE apps ADD COLUMN safelisted_events TEXT;", "ga_app_id", "ALTER TABLE apps ADD COLUMN ga_app_id TEXT;", "config_last_modified_time", "ALTER TABLE apps ADD COLUMN config_last_modified_time TEXT;"};
|
|
zzd = new String[]{"realtime", "ALTER TABLE raw_events ADD COLUMN realtime INTEGER;"};
|
|
zze = new String[]{"has_realtime", "ALTER TABLE queue ADD COLUMN has_realtime INTEGER;", "retry_count", "ALTER TABLE queue ADD COLUMN retry_count INTEGER;"};
|
|
zzg = new String[]{"session_scoped", "ALTER TABLE event_filters ADD COLUMN session_scoped BOOLEAN;"};
|
|
zzh = new String[]{"session_scoped", "ALTER TABLE property_filters ADD COLUMN session_scoped BOOLEAN;"};
|
|
zzi = new String[]{"previous_install_count", "ALTER TABLE app2 ADD COLUMN previous_install_count INTEGER;"};
|
|
int i2 = i + 77;
|
|
g = i2 % 128;
|
|
if (i2 % 2 != 0) {
|
|
return;
|
|
}
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
}
|