- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
107 lines
2.9 KiB
Java
107 lines
2.9 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import android.text.TextUtils;
|
|
import com.facebook.gamingservices.cloudgaming.internal.SDKConstants;
|
|
import java.util.Arrays;
|
|
import java.util.List;
|
|
import org.json.JSONObject;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzbvm {
|
|
private final List zza;
|
|
private final String zzb;
|
|
private final String zzc;
|
|
private final boolean zzd;
|
|
private final boolean zze;
|
|
private final String zzf;
|
|
private final int zzg;
|
|
private final JSONObject zzh;
|
|
private final String zzi;
|
|
private final long zzj;
|
|
private final long zzk;
|
|
|
|
public zzbvm(JSONObject jSONObject) {
|
|
this.zzf = jSONObject.optString("url");
|
|
this.zzb = jSONObject.optString("base_uri");
|
|
this.zzc = jSONObject.optString("post_parameters");
|
|
this.zzd = zzm(jSONObject.optString("drt_include"));
|
|
this.zze = zzm(jSONObject.optString("cookies_include", "true"));
|
|
jSONObject.optString("request_id");
|
|
jSONObject.optString("type");
|
|
String optString = jSONObject.optString("errors");
|
|
this.zza = optString == null ? null : Arrays.asList(optString.split(","));
|
|
this.zzg = jSONObject.optInt("valid", 0) == 1 ? -2 : 1;
|
|
jSONObject.optString("fetched_ad");
|
|
jSONObject.optBoolean("render_test_ad_label");
|
|
JSONObject optJSONObject = jSONObject.optJSONObject("preprocessor_flags");
|
|
this.zzh = optJSONObject == null ? new JSONObject() : optJSONObject;
|
|
jSONObject.optString("analytics_query_ad_event_id");
|
|
jSONObject.optBoolean("is_analytics_logging_enabled");
|
|
this.zzi = jSONObject.optString("pool_key");
|
|
this.zzj = zzl(jSONObject.optString("start_time")).longValue();
|
|
this.zzk = zzl(jSONObject.optString(SDKConstants.PARAM_TOURNAMENTS_END_TIME)).longValue();
|
|
}
|
|
|
|
private static Long zzl(String str) {
|
|
if (TextUtils.isEmpty(str)) {
|
|
return -1L;
|
|
}
|
|
try {
|
|
return Long.valueOf(str);
|
|
} catch (NumberFormatException unused) {
|
|
return -1L;
|
|
}
|
|
}
|
|
|
|
private static boolean zzm(String str) {
|
|
if (str != null) {
|
|
return str.equals("1") || str.equals("true");
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public final int zza() {
|
|
return this.zzg;
|
|
}
|
|
|
|
public final long zzb() {
|
|
return this.zzk;
|
|
}
|
|
|
|
public final long zzc() {
|
|
return this.zzj;
|
|
}
|
|
|
|
public final String zzd() {
|
|
return this.zzb;
|
|
}
|
|
|
|
public final String zze() {
|
|
return this.zzi;
|
|
}
|
|
|
|
public final String zzf() {
|
|
return this.zzc;
|
|
}
|
|
|
|
public final String zzg() {
|
|
return this.zzf;
|
|
}
|
|
|
|
public final List zzh() {
|
|
return this.zza;
|
|
}
|
|
|
|
public final JSONObject zzi() {
|
|
return this.zzh;
|
|
}
|
|
|
|
public final boolean zzj() {
|
|
return this.zze;
|
|
}
|
|
|
|
public final boolean zzk() {
|
|
return this.zzd;
|
|
}
|
|
}
|