Add decompiled APK source code (JADX)

- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
package com.google.android.gms.actions;
import androidx.annotation.NonNull;
/* loaded from: classes2.dex */
public class ItemListIntents {
@NonNull
public static final String ACTION_ACCEPT_ITEM = "com.google.android.gms.actions.ACCEPT_ITEM";
@NonNull
public static final String ACTION_APPEND_ITEM_LIST = "com.google.android.gms.actions.APPEND_ITEM_LIST";
@NonNull
public static final String ACTION_CREATE_ITEM_LIST = "com.google.android.gms.actions.CREATE_ITEM_LIST";
@NonNull
public static final String ACTION_DELETE_ITEM = "com.google.android.gms.actions.DELETE_ITEM";
@NonNull
public static final String ACTION_DELETE_ITEM_LIST = "com.google.android.gms.actions.DELETE_ITEM_LIST";
@NonNull
public static final String ACTION_REJECT_ITEM = "com.google.android.gms.actions.REJECT_ITEM";
@NonNull
public static final String EXTRA_ITEM_NAME = "com.google.android.gms.actions.extra.ITEM_NAME";
@NonNull
public static final String EXTRA_ITEM_NAMES = "com.google.android.gms.actions.extra.ITEM_NAMES";
@NonNull
public static final String EXTRA_ITEM_QUERY = "com.google.android.gms.actions.extra.ITEM_QUERY";
@NonNull
public static final String EXTRA_LIST_NAME = "com.google.android.gms.actions.extra.LIST_NAME";
@NonNull
public static final String EXTRA_LIST_QUERY = "com.google.android.gms.actions.extra.LIST_QUERY";
private ItemListIntents() {
}
}

View File

@@ -0,0 +1,28 @@
package com.google.android.gms.actions;
import androidx.annotation.NonNull;
/* loaded from: classes2.dex */
public class NoteIntents {
@NonNull
public static final String ACTION_APPEND_NOTE = "com.google.android.gms.actions.APPEND_NOTE";
@NonNull
public static final String ACTION_CREATE_NOTE = "com.google.android.gms.actions.CREATE_NOTE";
@NonNull
public static final String ACTION_DELETE_NOTE = "com.google.android.gms.actions.DELETE_NOTE";
@NonNull
public static final String EXTRA_NAME = "com.google.android.gms.actions.extra.NAME";
@NonNull
public static final String EXTRA_NOTE_QUERY = "com.google.android.gms.actions.extra.NOTE_QUERY";
@NonNull
public static final String EXTRA_TEXT = "com.google.android.gms.actions.extra.TEXT";
private NoteIntents() {
}
}

View File

@@ -0,0 +1,13 @@
package com.google.android.gms.actions;
import androidx.annotation.NonNull;
/* loaded from: classes2.dex */
public class ReserveIntents {
@NonNull
public static final String ACTION_RESERVE_TAXI_RESERVATION = "com.google.android.gms.actions.RESERVE_TAXI_RESERVATION";
private ReserveIntents() {
}
}

View File

@@ -0,0 +1,16 @@
package com.google.android.gms.actions;
import androidx.annotation.NonNull;
/* loaded from: classes2.dex */
public class SearchIntents {
@NonNull
public static final String ACTION_SEARCH = "com.google.android.gms.actions.SEARCH_ACTION";
@NonNull
public static final String EXTRA_QUERY = "query";
private SearchIntents() {
}
}

View File

@@ -0,0 +1,136 @@
package com.google.android.gms.ads;
import android.os.Bundle;
import android.text.TextUtils;
import androidx.annotation.NonNull;
import com.google.ads.mediation.admob.AdMobAdapter;
import com.google.android.gms.ads.AbstractAdRequestBuilder;
import com.google.android.gms.ads.internal.client.zzeh;
import com.google.android.gms.ads.internal.util.client.zzo;
import com.google.android.gms.ads.mediation.MediationExtrasReceiver;
import com.google.android.gms.ads.mediation.customevent.CustomEvent;
import com.google.android.gms.common.internal.Preconditions;
import java.util.List;
/* loaded from: classes2.dex */
public abstract class AbstractAdRequestBuilder<T extends AbstractAdRequestBuilder<T>> {
protected final zzeh zza;
public AbstractAdRequestBuilder() {
zzeh zzehVar = new zzeh();
this.zza = zzehVar;
zzehVar.zzt("B3EEABB8EE11C2BE770B684D95219ECB");
}
@NonNull
@Deprecated
public T addCustomEventExtrasBundle(@NonNull Class<? extends CustomEvent> cls, @NonNull Bundle bundle) {
this.zza.zzo(cls, bundle);
return self();
}
@NonNull
public T addCustomTargeting(@NonNull String str, @NonNull String str2) {
if (!TextUtils.isEmpty(str2) && str2.contains(",")) {
zzo.zzj("Value " + str2 + " contains invalid character ',' (comma). The server will parse it as a list of comma-separated values.");
}
this.zza.zzp(str, str2);
return self();
}
@NonNull
public T addKeyword(@NonNull String str) {
this.zza.zzq(str);
return self();
}
@NonNull
public T addNetworkExtrasBundle(@NonNull Class<? extends MediationExtrasReceiver> cls, @NonNull Bundle bundle) {
this.zza.zzr(cls, bundle);
if (cls.equals(AdMobAdapter.class) && bundle.getBoolean("_emulatorLiveAds")) {
this.zza.zzu("B3EEABB8EE11C2BE770B684D95219ECB");
}
return self();
}
@NonNull
public abstract T self();
@NonNull
public T setAdString(@NonNull String str) {
this.zza.zzv(str);
return self();
}
@NonNull
public T setContentUrl(@NonNull String str) {
Preconditions.checkNotNull(str, "Content URL must be non-null.");
Preconditions.checkNotEmpty(str, "Content URL must be non-empty.");
int length = str.length();
Preconditions.checkArgument(length <= 512, "Content URL must not exceed %d in length. Provided length was %d.", 512, Integer.valueOf(str.length()));
this.zza.zzw(str);
return self();
}
@NonNull
public T setHttpTimeoutMillis(int i) {
this.zza.zzx(i);
return self();
}
@NonNull
public T setNeighboringContentUrls(@NonNull List<String> list) {
if (list == null) {
zzo.zzj("neighboring content URLs list should not be null");
return self();
}
this.zza.zzz(list);
return self();
}
@NonNull
public T setRequestAgent(@NonNull String str) {
this.zza.zzC(str);
return self();
}
@NonNull
@Deprecated
public final AbstractAdRequestBuilder zza(@NonNull String str) {
this.zza.zzt(str);
return self();
}
@NonNull
@Deprecated
public final AbstractAdRequestBuilder zzb(boolean z) {
this.zza.zzy(z);
return self();
}
@NonNull
public final AbstractAdRequestBuilder zzc(@NonNull Bundle bundle) {
this.zza.zzA(bundle);
return self();
}
@NonNull
@Deprecated
public final AbstractAdRequestBuilder zzd(boolean z) {
this.zza.zzD(z);
return self();
}
@NonNull
public T addCustomTargeting(@NonNull String str, @NonNull List<String> list) {
if (list != null) {
for (String str2 : list) {
if (!TextUtils.isEmpty(str2) && str2.contains(",")) {
zzo.zzj("Value " + str2 + " contains invalid character ',' (comma). The server will parse it as a list of comma-separated values.");
}
}
this.zza.zzp(str, TextUtils.join(",", list));
}
return self();
}
}

View File

@@ -0,0 +1,246 @@
package com.google.android.gms.ads;
import android.app.Activity;
import android.content.Intent;
import android.content.res.Configuration;
import android.os.Bundle;
import android.os.RemoteException;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.ads.internal.client.zzbc;
import com.google.android.gms.ads.internal.util.client.zzo;
import com.google.android.gms.common.annotation.KeepForSdk;
import com.google.android.gms.dynamic.ObjectWrapper;
import com.google.android.gms.internal.ads.zzbte;
@KeepForSdk
/* loaded from: classes2.dex */
public final class AdActivity extends Activity {
@NonNull
@KeepForSdk
public static final String CLASS_NAME = "com.google.android.gms.ads.AdActivity";
@Nullable
private zzbte zza;
private final void zza() {
zzbte zzbteVar = this.zza;
if (zzbteVar != null) {
try {
zzbteVar.zzx();
} catch (RemoteException e) {
zzo.zzl("#007 Could not call remote method.", e);
}
}
}
@Override // android.app.Activity
public final void onActivityResult(int i, int i2, @NonNull Intent intent) {
try {
zzbte zzbteVar = this.zza;
if (zzbteVar != null) {
zzbteVar.zzh(i, i2, intent);
}
} catch (Exception e) {
zzo.zzl("#007 Could not call remote method.", e);
}
super.onActivityResult(i, i2, intent);
}
@Override // android.app.Activity
public final void onBackPressed() {
try {
zzbte zzbteVar = this.zza;
if (zzbteVar != null) {
if (!zzbteVar.zzH()) {
return;
}
}
} catch (RemoteException e) {
zzo.zzl("#007 Could not call remote method.", e);
}
super.onBackPressed();
try {
zzbte zzbteVar2 = this.zza;
if (zzbteVar2 != null) {
zzbteVar2.zzi();
}
} catch (RemoteException e2) {
zzo.zzl("#007 Could not call remote method.", e2);
}
}
@Override // android.app.Activity, android.content.ComponentCallbacks
public final void onConfigurationChanged(@NonNull Configuration configuration) {
super.onConfigurationChanged(configuration);
try {
zzbte zzbteVar = this.zza;
if (zzbteVar != null) {
zzbteVar.zzk(ObjectWrapper.wrap(configuration));
}
} catch (RemoteException e) {
zzo.zzl("#007 Could not call remote method.", e);
}
}
@Override // android.app.Activity
public final void onCreate(@Nullable Bundle bundle) {
super.onCreate(bundle);
zzbte zzq = zzbc.zza().zzq(this);
this.zza = zzq;
if (zzq == null) {
zzo.zzl("#007 Could not call remote method.", null);
finish();
return;
}
try {
zzq.zzl(bundle);
} catch (RemoteException e) {
zzo.zzl("#007 Could not call remote method.", e);
finish();
}
}
@Override // android.app.Activity
public final void onDestroy() {
try {
zzbte zzbteVar = this.zza;
if (zzbteVar != null) {
zzbteVar.zzm();
}
} catch (RemoteException e) {
zzo.zzl("#007 Could not call remote method.", e);
}
super.onDestroy();
}
@Override // android.app.Activity
public final void onPause() {
try {
zzbte zzbteVar = this.zza;
if (zzbteVar != null) {
zzbteVar.zzo();
}
} catch (RemoteException e) {
zzo.zzl("#007 Could not call remote method.", e);
finish();
}
super.onPause();
}
@Override // android.app.Activity
public final void onRequestPermissionsResult(int i, @NonNull String[] strArr, @NonNull int[] iArr) {
try {
zzbte zzbteVar = this.zza;
if (zzbteVar != null) {
zzbteVar.zzp(i, strArr, iArr);
}
} catch (RemoteException e) {
zzo.zzl("#007 Could not call remote method.", e);
}
}
@Override // android.app.Activity
public final void onRestart() {
super.onRestart();
try {
zzbte zzbteVar = this.zza;
if (zzbteVar != null) {
zzbteVar.zzq();
}
} catch (RemoteException e) {
zzo.zzl("#007 Could not call remote method.", e);
finish();
}
}
@Override // android.app.Activity
public final void onResume() {
super.onResume();
try {
zzbte zzbteVar = this.zza;
if (zzbteVar != null) {
zzbteVar.zzr();
}
} catch (RemoteException e) {
zzo.zzl("#007 Could not call remote method.", e);
finish();
}
}
@Override // android.app.Activity
public final void onSaveInstanceState(@NonNull Bundle bundle) {
try {
zzbte zzbteVar = this.zza;
if (zzbteVar != null) {
zzbteVar.zzs(bundle);
}
} catch (RemoteException e) {
zzo.zzl("#007 Could not call remote method.", e);
finish();
}
super.onSaveInstanceState(bundle);
}
@Override // android.app.Activity
public final void onStart() {
super.onStart();
try {
zzbte zzbteVar = this.zza;
if (zzbteVar != null) {
zzbteVar.zzt();
}
} catch (RemoteException e) {
zzo.zzl("#007 Could not call remote method.", e);
finish();
}
}
@Override // android.app.Activity
public final void onStop() {
try {
zzbte zzbteVar = this.zza;
if (zzbteVar != null) {
zzbteVar.zzu();
}
} catch (RemoteException e) {
zzo.zzl("#007 Could not call remote method.", e);
finish();
}
super.onStop();
}
@Override // android.app.Activity
public final void onUserLeaveHint() {
super.onUserLeaveHint();
try {
zzbte zzbteVar = this.zza;
if (zzbteVar != null) {
zzbteVar.zzv();
}
} catch (RemoteException e) {
zzo.zzl("#007 Could not call remote method.", e);
}
}
@Override // android.app.Activity
public final void setContentView(int i) {
super.setContentView(i);
zza();
}
@Override // android.app.Activity
public final void setContentView(@NonNull View view) {
super.setContentView(view);
zza();
}
@Override // android.app.Activity
public final void setContentView(@NonNull View view, @NonNull ViewGroup.LayoutParams layoutParams) {
super.setContentView(view, layoutParams);
zza();
}
}

View File

@@ -0,0 +1,90 @@
package com.google.android.gms.ads;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import org.json.JSONException;
import org.json.JSONObject;
/* loaded from: classes2.dex */
public class AdError {
@NonNull
public static final String UNDEFINED_DOMAIN = "undefined";
private final int zza;
@NonNull
private final String zzb;
@NonNull
private final String zzc;
@Nullable
private final AdError zzd;
public AdError(int i, @NonNull String str, @NonNull String str2) {
this(i, str, str2, null);
}
public AdError(int i, @NonNull String str, @NonNull String str2, @Nullable AdError adError) {
this.zza = i;
this.zzb = str;
this.zzc = str2;
this.zzd = adError;
}
@Nullable
public AdError getCause() {
return this.zzd;
}
public int getCode() {
return this.zza;
}
@NonNull
public String getDomain() {
return this.zzc;
}
@NonNull
public String getMessage() {
return this.zzb;
}
@NonNull
public String toString() {
try {
return zzb().toString(2);
} catch (JSONException unused) {
return "Error forming toString output.";
}
}
@NonNull
public JSONObject zzb() throws JSONException {
JSONObject jSONObject = new JSONObject();
jSONObject.put("Code", this.zza);
jSONObject.put("Message", this.zzb);
jSONObject.put("Domain", this.zzc);
AdError adError = this.zzd;
if (adError == null) {
jSONObject.put("Cause", "null");
} else {
jSONObject.put("Cause", adError.zzb());
}
return jSONObject;
}
@NonNull
public final com.google.android.gms.ads.internal.client.zze zza() {
com.google.android.gms.ads.internal.client.zze zzeVar;
AdError adError = this.zzd;
if (adError == null) {
zzeVar = null;
} else {
String str = adError.zzc;
zzeVar = new com.google.android.gms.ads.internal.client.zze(adError.zza, adError.zzb, str, null, null);
}
return new com.google.android.gms.ads.internal.client.zze(this.zza, this.zzb, this.zzc, zzeVar, null);
}
}

View File

@@ -0,0 +1,33 @@
package com.google.android.gms.ads;
import androidx.annotation.Nullable;
/* loaded from: classes2.dex */
public enum AdFormat {
BANNER(0),
INTERSTITIAL(1),
REWARDED(2),
REWARDED_INTERSTITIAL(3),
NATIVE(4),
APP_OPEN_AD(6);
private final int zzb;
AdFormat(int i) {
this.zzb = i;
}
@Nullable
public static AdFormat getAdFormat(int i) {
for (AdFormat adFormat : values()) {
if (adFormat.getValue() == i) {
return adFormat;
}
}
return null;
}
public int getValue() {
return this.zzb;
}
}

View File

@@ -0,0 +1,26 @@
package com.google.android.gms.ads;
import androidx.annotation.NonNull;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/* loaded from: classes2.dex */
public final class AdInspectorError extends AdError {
public static final int ERROR_CODE_ALREADY_OPEN = 3;
public static final int ERROR_CODE_FAILED_TO_LOAD = 1;
public static final int ERROR_CODE_INTERNAL_ERROR = 0;
public static final int ERROR_CODE_NOT_IN_TEST_MODE = 2;
@Retention(RetentionPolicy.SOURCE)
public @interface AdInspectorErrorCode {
}
public AdInspectorError(int i, @NonNull String str, @NonNull String str2) {
super(i, str, str2);
}
@Override // com.google.android.gms.ads.AdError
public int getCode() {
return super.getCode();
}
}

View File

@@ -0,0 +1,27 @@
package com.google.android.gms.ads;
import androidx.annotation.NonNull;
/* loaded from: classes2.dex */
public abstract class AdListener {
public void onAdClicked() {
}
public void onAdClosed() {
}
public void onAdFailedToLoad(@NonNull LoadAdError loadAdError) {
}
public void onAdImpression() {
}
public void onAdLoaded() {
}
public void onAdOpened() {
}
public void onAdSwipeGestureClicked() {
}
}

View File

@@ -0,0 +1,12 @@
package com.google.android.gms.ads;
import androidx.annotation.NonNull;
/* loaded from: classes2.dex */
public abstract class AdLoadCallback<AdT> {
public void onAdFailedToLoad(@NonNull LoadAdError loadAdError) {
}
public void onAdLoaded(@NonNull AdT adt) {
}
}

View File

@@ -0,0 +1,219 @@
package com.google.android.gms.ads;
import android.content.Context;
import android.os.RemoteException;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RequiresPermission;
import com.google.android.gms.ads.admanager.AdManagerAdRequest;
import com.google.android.gms.ads.formats.AdManagerAdViewOptions;
import com.google.android.gms.ads.formats.OnAdManagerAdViewLoadedListener;
import com.google.android.gms.ads.internal.client.zzbc;
import com.google.android.gms.ads.internal.client.zzbe;
import com.google.android.gms.ads.internal.client.zzbr;
import com.google.android.gms.ads.internal.client.zzbu;
import com.google.android.gms.ads.internal.client.zzei;
import com.google.android.gms.ads.internal.client.zzfi;
import com.google.android.gms.ads.internal.client.zzga;
import com.google.android.gms.ads.internal.client.zzr;
import com.google.android.gms.ads.internal.client.zzs;
import com.google.android.gms.ads.internal.util.client.zzo;
import com.google.android.gms.ads.nativead.NativeAd;
import com.google.android.gms.ads.nativead.NativeAdOptions;
import com.google.android.gms.ads.nativead.NativeCustomFormatAd;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.internal.ads.zzbcl;
import com.google.android.gms.internal.ads.zzbej;
import com.google.android.gms.internal.ads.zzbfl;
import com.google.android.gms.internal.ads.zzbia;
import com.google.android.gms.internal.ads.zzbic;
import com.google.android.gms.internal.ads.zzbid;
import com.google.android.gms.internal.ads.zzbpa;
import com.google.android.gms.internal.ads.zzbsr;
import com.google.android.gms.internal.ads.zzbst;
/* loaded from: classes2.dex */
public class AdLoader {
private final zzr zza;
private final Context zzb;
private final zzbr zzc;
public static class Builder {
private final Context zza;
private final zzbu zzb;
public Builder(@NonNull Context context, @NonNull String str) {
Context context2 = (Context) Preconditions.checkNotNull(context, "context cannot be null");
zzbu zzd = zzbc.zza().zzd(context, str, new zzbpa());
this.zza = context2;
this.zzb = zzd;
}
@NonNull
public AdLoader build() {
try {
return new AdLoader(this.zza, this.zzb.zze(), zzr.zza);
} catch (RemoteException e) {
zzo.zzh("Failed to build AdLoader.", e);
return new AdLoader(this.zza, new zzfi().zzc(), zzr.zza);
}
}
@NonNull
public Builder forCustomFormatAd(@NonNull String str, @NonNull NativeCustomFormatAd.OnCustomFormatAdLoadedListener onCustomFormatAdLoadedListener, @Nullable NativeCustomFormatAd.OnCustomClickListener onCustomClickListener) {
zzbsr zzbsrVar = new zzbsr(onCustomFormatAdLoadedListener, onCustomClickListener);
try {
this.zzb.zzh(str, zzbsrVar.zzb(), zzbsrVar.zza());
} catch (RemoteException e) {
zzo.zzk("Failed to add custom format ad listener", e);
}
return this;
}
@NonNull
public Builder forNativeAd(@NonNull NativeAd.OnNativeAdLoadedListener onNativeAdLoadedListener) {
try {
this.zzb.zzk(new zzbst(onNativeAdLoadedListener));
} catch (RemoteException e) {
zzo.zzk("Failed to add google native ad listener", e);
}
return this;
}
@NonNull
public Builder withAdListener(@NonNull AdListener adListener) {
try {
this.zzb.zzl(new com.google.android.gms.ads.internal.client.zzg(adListener));
} catch (RemoteException e) {
zzo.zzk("Failed to set AdListener.", e);
}
return this;
}
@NonNull
public Builder withAdManagerAdViewOptions(@NonNull AdManagerAdViewOptions adManagerAdViewOptions) {
try {
this.zzb.zzm(adManagerAdViewOptions);
} catch (RemoteException e) {
zzo.zzk("Failed to specify Ad Manager banner ad options", e);
}
return this;
}
@NonNull
public Builder withNativeAdOptions(@NonNull NativeAdOptions nativeAdOptions) {
try {
this.zzb.zzo(new zzbfl(4, nativeAdOptions.shouldReturnUrlsForImageAssets(), -1, nativeAdOptions.shouldRequestMultipleImages(), nativeAdOptions.getAdChoicesPlacement(), nativeAdOptions.getVideoOptions() != null ? new zzga(nativeAdOptions.getVideoOptions()) : null, nativeAdOptions.zzc(), nativeAdOptions.getMediaAspectRatio(), nativeAdOptions.zza(), nativeAdOptions.zzb(), nativeAdOptions.zzd() - 1));
} catch (RemoteException e) {
zzo.zzk("Failed to specify native ad options", e);
}
return this;
}
@Deprecated
public final Builder zza(String str, com.google.android.gms.ads.formats.zzg zzgVar, @Nullable com.google.android.gms.ads.formats.zzf zzfVar) {
zzbia zzbiaVar = new zzbia(zzgVar, zzfVar);
try {
this.zzb.zzh(str, zzbiaVar.zzd(), zzbiaVar.zzc());
} catch (RemoteException e) {
zzo.zzk("Failed to add custom template ad listener", e);
}
return this;
}
@Deprecated
public final Builder zzb(com.google.android.gms.ads.formats.zzi zziVar) {
try {
this.zzb.zzk(new zzbid(zziVar));
} catch (RemoteException e) {
zzo.zzk("Failed to add google native ad listener", e);
}
return this;
}
@NonNull
@Deprecated
public final Builder zzc(@NonNull com.google.android.gms.ads.formats.NativeAdOptions nativeAdOptions) {
try {
this.zzb.zzo(new zzbfl(nativeAdOptions));
} catch (RemoteException e) {
zzo.zzk("Failed to specify native ad options", e);
}
return this;
}
@NonNull
public Builder forAdManagerAdView(@NonNull OnAdManagerAdViewLoadedListener onAdManagerAdViewLoadedListener, @NonNull AdSize... adSizeArr) {
if (adSizeArr == null || adSizeArr.length <= 0) {
throw new IllegalArgumentException("The supported ad sizes must contain at least one valid ad size.");
}
try {
this.zzb.zzj(new zzbic(onAdManagerAdViewLoadedListener), new zzs(this.zza, adSizeArr));
} catch (RemoteException e) {
zzo.zzk("Failed to add Google Ad Manager banner ad listener", e);
}
return this;
}
}
public AdLoader(Context context, zzbr zzbrVar, zzr zzrVar) {
this.zzb = context;
this.zzc = zzbrVar;
this.zza = zzrVar;
}
private final void zzb(final zzei zzeiVar) {
zzbcl.zza(this.zzb);
if (((Boolean) zzbej.zzc.zze()).booleanValue()) {
if (((Boolean) zzbe.zzc().zza(zzbcl.zzla)).booleanValue()) {
com.google.android.gms.ads.internal.util.client.zzb.zzb.execute(new Runnable() { // from class: com.google.android.gms.ads.zza
@Override // java.lang.Runnable
public final void run() {
AdLoader.this.zza(zzeiVar);
}
});
return;
}
}
try {
this.zzc.zzg(this.zza.zza(this.zzb, zzeiVar));
} catch (RemoteException e) {
zzo.zzh("Failed to load ad.", e);
}
}
public boolean isLoading() {
try {
return this.zzc.zzi();
} catch (RemoteException e) {
zzo.zzk("Failed to check if ad is loading.", e);
return false;
}
}
@RequiresPermission("android.permission.INTERNET")
public void loadAd(@NonNull AdRequest adRequest) {
zzb(adRequest.zza);
}
@RequiresPermission("android.permission.INTERNET")
public void loadAds(@NonNull AdRequest adRequest, int i) {
try {
this.zzc.zzh(this.zza.zza(this.zzb, adRequest.zza), i);
} catch (RemoteException e) {
zzo.zzh("Failed to load ads.", e);
}
}
public final /* synthetic */ void zza(zzei zzeiVar) {
try {
this.zzc.zzg(this.zza.zza(this.zzb, zzeiVar));
} catch (RemoteException e) {
zzo.zzh("Failed to load ad.", e);
}
}
public void loadAd(@NonNull AdManagerAdRequest adManagerAdRequest) {
zzb(adManagerAdRequest.zza);
}
}

View File

@@ -0,0 +1,94 @@
package com.google.android.gms.ads;
import android.content.Context;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.ads.internal.client.zzei;
import com.google.android.gms.ads.mediation.MediationExtrasReceiver;
import com.google.android.gms.ads.mediation.customevent.CustomEvent;
import java.util.List;
import java.util.Set;
/* loaded from: classes2.dex */
public class AdRequest {
@NonNull
public static final String DEVICE_ID_EMULATOR = "B3EEABB8EE11C2BE770B684D95219ECB";
public static final int ERROR_CODE_APP_ID_MISSING = 8;
public static final int ERROR_CODE_INTERNAL_ERROR = 0;
public static final int ERROR_CODE_INVALID_AD_STRING = 11;
public static final int ERROR_CODE_INVALID_REQUEST = 1;
public static final int ERROR_CODE_MEDIATION_NO_FILL = 9;
public static final int ERROR_CODE_NETWORK_ERROR = 2;
public static final int ERROR_CODE_NO_FILL = 3;
public static final int ERROR_CODE_REQUEST_ID_MISMATCH = 10;
public static final int MAX_CONTENT_URL_LENGTH = 512;
protected final zzei zza;
public static class Builder extends AbstractAdRequestBuilder<Builder> {
@NonNull
public AdRequest build() {
return new AdRequest(this);
}
@Override // com.google.android.gms.ads.AbstractAdRequestBuilder
@NonNull
public Builder self() {
return this;
}
}
public AdRequest(@NonNull AbstractAdRequestBuilder abstractAdRequestBuilder) {
this.zza = new zzei(abstractAdRequestBuilder.zza, null);
}
@Nullable
public String getAdString() {
return this.zza.zzj();
}
@NonNull
public String getContentUrl() {
return this.zza.zzk();
}
@Nullable
@Deprecated
public <T extends CustomEvent> Bundle getCustomEventExtrasBundle(@NonNull Class<T> cls) {
return this.zza.zzd(cls);
}
@NonNull
public Bundle getCustomTargeting() {
return this.zza.zze();
}
@NonNull
public Set<String> getKeywords() {
return this.zza.zzp();
}
@NonNull
public List<String> getNeighboringContentUrls() {
return this.zza.zzn();
}
@Nullable
public <T extends MediationExtrasReceiver> Bundle getNetworkExtrasBundle(@NonNull Class<T> cls) {
return this.zza.zzf(cls);
}
@NonNull
public String getRequestAgent() {
return this.zza.zzm();
}
public boolean isTestDevice(@NonNull Context context) {
return this.zza.zzs(context);
}
public final zzei zza() {
return this.zza;
}
}

View File

@@ -0,0 +1,32 @@
package com.google.android.gms.ads;
import android.app.IntentService;
import android.content.Intent;
import android.os.RemoteException;
import androidx.annotation.NonNull;
import com.google.android.gms.ads.internal.client.zzbc;
import com.google.android.gms.ads.internal.util.client.zzo;
import com.google.android.gms.common.annotation.KeepForSdk;
import com.google.android.gms.internal.ads.zzbpa;
@KeepForSdk
/* loaded from: classes2.dex */
public class AdService extends IntentService {
@NonNull
@KeepForSdk
public static final String CLASS_NAME = "com.google.android.gms.ads.AdService";
public AdService() {
super("AdService");
}
@Override // android.app.IntentService
public final void onHandleIntent(@NonNull Intent intent) {
try {
zzbc.zza().zzo(this, new zzbpa()).zze(intent);
} catch (RemoteException e) {
zzo.zzg("RemoteException calling handleNotificationIntent: ".concat(e.toString()));
}
}
}

View File

@@ -0,0 +1,277 @@
package com.google.android.gms.ads;
import android.content.Context;
import android.os.Parcelable;
import android.util.DisplayMetrics;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.ads.internal.client.zzbc;
import com.google.android.gms.ads.internal.client.zzs;
import com.google.android.gms.ads.internal.util.client.zzo;
import com.vungle.ads.internal.protos.Sdk;
/* loaded from: classes2.dex */
public final class AdSize {
public static final int AUTO_HEIGHT = -2;
public static final int FULL_WIDTH = -1;
private final int zzb;
private final int zzc;
private final String zzd;
private boolean zze;
private boolean zzf;
private int zzg;
private boolean zzh;
private int zzi;
@NonNull
public static final AdSize BANNER = new AdSize(Sdk.SDKError.Reason.WEBVIEW_ERROR_VALUE, 50, "320x50_mb");
@NonNull
public static final AdSize FULL_BANNER = new AdSize(468, 60, "468x60_as");
@NonNull
public static final AdSize LARGE_BANNER = new AdSize(Sdk.SDKError.Reason.WEBVIEW_ERROR_VALUE, 100, "320x100_as");
@NonNull
public static final AdSize LEADERBOARD = new AdSize(728, 90, "728x90_as");
@NonNull
public static final AdSize MEDIUM_RECTANGLE = new AdSize(300, 250, "300x250_as");
@NonNull
public static final AdSize WIDE_SKYSCRAPER = new AdSize(160, 600, "160x600_as");
@NonNull
@Deprecated
public static final AdSize SMART_BANNER = new AdSize(-1, -2, "smart_banner");
@NonNull
public static final AdSize FLUID = new AdSize(-3, -4, "fluid");
@NonNull
public static final AdSize INVALID = new AdSize(0, 0, "invalid");
@NonNull
public static final AdSize zza = new AdSize(50, 50, "50x50_mb");
@NonNull
public static final AdSize SEARCH = new AdSize(-3, 0, "search_v2");
public AdSize(int i, int i2) {
this(i, i2, (i == -1 ? "FULL" : String.valueOf(i)) + "x" + (i2 == -2 ? "AUTO" : String.valueOf(i2)) + "_as");
}
@NonNull
public static AdSize getCurrentOrientationAnchoredAdaptiveBannerAdSize(@NonNull Context context, int i) {
AdSize zzd = com.google.android.gms.ads.internal.util.client.zzf.zzd(context, i, 50, 0);
zzd.zze = true;
return zzd;
}
@NonNull
public static AdSize getCurrentOrientationInlineAdaptiveBannerAdSize(@NonNull Context context, int i) {
int zza2 = com.google.android.gms.ads.internal.util.client.zzf.zza(context, 0);
if (zza2 == -1) {
return INVALID;
}
AdSize adSize = new AdSize(i, 0);
adSize.zzg = zza2;
adSize.zzf = true;
return adSize;
}
@NonNull
@Deprecated
public static AdSize getCurrentOrientationInterscrollerAdSize(@NonNull Context context, int i) {
return zzj(i, com.google.android.gms.ads.internal.util.client.zzf.zza(context, 0));
}
@NonNull
public static AdSize getInlineAdaptiveBannerAdSize(int i, int i2) {
AdSize adSize = new AdSize(i, 0);
adSize.zzg = i2;
adSize.zzf = true;
if (i2 < 32) {
zzo.zzj("The maximum height set for the inline adaptive ad size was " + i2 + " dp, which is below the minimum recommended value of 32 dp.");
}
return adSize;
}
@NonNull
public static AdSize getLandscapeAnchoredAdaptiveBannerAdSize(@NonNull Context context, int i) {
AdSize zzd = com.google.android.gms.ads.internal.util.client.zzf.zzd(context, i, 50, 2);
zzd.zze = true;
return zzd;
}
@NonNull
public static AdSize getLandscapeInlineAdaptiveBannerAdSize(@NonNull Context context, int i) {
int zza2 = com.google.android.gms.ads.internal.util.client.zzf.zza(context, 2);
AdSize adSize = new AdSize(i, 0);
if (zza2 == -1) {
return INVALID;
}
adSize.zzg = zza2;
adSize.zzf = true;
return adSize;
}
@NonNull
@Deprecated
public static AdSize getLandscapeInterscrollerAdSize(@NonNull Context context, int i) {
return zzj(i, com.google.android.gms.ads.internal.util.client.zzf.zza(context, 2));
}
@NonNull
public static AdSize getPortraitAnchoredAdaptiveBannerAdSize(@NonNull Context context, int i) {
AdSize zzd = com.google.android.gms.ads.internal.util.client.zzf.zzd(context, i, 50, 1);
zzd.zze = true;
return zzd;
}
@NonNull
public static AdSize getPortraitInlineAdaptiveBannerAdSize(@NonNull Context context, int i) {
int zza2 = com.google.android.gms.ads.internal.util.client.zzf.zza(context, 1);
AdSize adSize = new AdSize(i, 0);
if (zza2 == -1) {
return INVALID;
}
adSize.zzg = zza2;
adSize.zzf = true;
return adSize;
}
@NonNull
@Deprecated
public static AdSize getPortraitInterscrollerAdSize(@NonNull Context context, int i) {
return zzj(i, com.google.android.gms.ads.internal.util.client.zzf.zza(context, 1));
}
private static AdSize zzj(int i, int i2) {
if (i2 == -1) {
return INVALID;
}
AdSize adSize = new AdSize(i, 0);
adSize.zzi = i2;
adSize.zzh = true;
return adSize;
}
public boolean equals(@Nullable Object obj) {
if (obj == null) {
return false;
}
if (obj == this) {
return true;
}
if (!(obj instanceof AdSize)) {
return false;
}
AdSize adSize = (AdSize) obj;
return this.zzb == adSize.zzb && this.zzc == adSize.zzc && this.zzd.equals(adSize.zzd);
}
public int getHeight() {
return this.zzc;
}
public int getWidth() {
return this.zzb;
}
public int hashCode() {
return this.zzd.hashCode();
}
public boolean isAutoHeight() {
return this.zzc == -2;
}
public boolean isFluid() {
return this.zzb == -3 && this.zzc == -4;
}
public boolean isFullWidth() {
return this.zzb == -1;
}
@NonNull
public String toString() {
return this.zzd;
}
public final int zza() {
return this.zzi;
}
public final int zzb() {
return this.zzg;
}
public final void zzc(int i) {
this.zzg = i;
}
public final void zzd(int i) {
this.zzi = i;
}
public final void zze(boolean z) {
this.zzf = true;
}
public final void zzf(boolean z) {
this.zzh = true;
}
public final boolean zzg() {
return this.zze;
}
public final boolean zzh() {
return this.zzf;
}
public final boolean zzi() {
return this.zzh;
}
public int getHeightInPixels(@NonNull Context context) {
int i = this.zzc;
if (i == -4 || i == -3) {
return -1;
}
if (i == -2) {
return zzs.zza(context.getResources().getDisplayMetrics());
}
zzbc.zzb();
return com.google.android.gms.ads.internal.util.client.zzf.zzx(context, i);
}
public int getWidthInPixels(@NonNull Context context) {
int i = this.zzb;
if (i == -3) {
return -1;
}
if (i != -1) {
zzbc.zzb();
return com.google.android.gms.ads.internal.util.client.zzf.zzx(context, i);
}
DisplayMetrics displayMetrics = context.getResources().getDisplayMetrics();
Parcelable.Creator<zzs> creator = zzs.CREATOR;
return displayMetrics.widthPixels;
}
public AdSize(int i, int i2, String str) {
if (i < 0 && i != -1 && i != -3) {
throw new IllegalArgumentException("Invalid width for AdSize: " + i);
}
if (i2 >= 0 || i2 == -2 || i2 == -4) {
this.zzb = i;
this.zzc = i2;
this.zzd = str;
} else {
throw new IllegalArgumentException("Invalid height for AdSize: " + i2);
}
}
}

View File

@@ -0,0 +1,44 @@
package com.google.android.gms.ads;
import androidx.annotation.NonNull;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/* loaded from: classes2.dex */
public final class AdValue {
private final int zza;
private final String zzb;
private final long zzc;
@Retention(RetentionPolicy.SOURCE)
public @interface PrecisionType {
public static final int ESTIMATED = 1;
public static final int PRECISE = 3;
public static final int PUBLISHER_PROVIDED = 2;
public static final int UNKNOWN = 0;
}
private AdValue(int i, String str, long j) {
this.zza = i;
this.zzb = str;
this.zzc = j;
}
@NonNull
public static AdValue zza(int i, @NonNull String str, long j) {
return new AdValue(i, str, j);
}
@NonNull
public String getCurrencyCode() {
return this.zzb;
}
public int getPrecisionType() {
return this.zza;
}
public long getValueMicros() {
return this.zzc;
}
}

View File

@@ -0,0 +1,27 @@
package com.google.android.gms.ads;
import android.content.Context;
import android.util.AttributeSet;
import androidx.annotation.NonNull;
import com.google.android.gms.common.internal.Preconditions;
/* loaded from: classes2.dex */
public final class AdView extends BaseAdView {
public AdView(@NonNull Context context) {
super(context, 0);
Preconditions.checkNotNull(context, "Context cannot be null");
}
@NonNull
public final VideoController zza() {
return this.zza.zzf();
}
public AdView(@NonNull Context context, @NonNull AttributeSet attributeSet) {
super(context, attributeSet, 0);
}
public AdView(@NonNull Context context, @NonNull AttributeSet attributeSet, int i) {
super(context, attributeSet, i, 0);
}
}

View File

@@ -0,0 +1,121 @@
package com.google.android.gms.ads;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.ads.internal.client.zzw;
import org.json.JSONException;
import org.json.JSONObject;
/* loaded from: classes2.dex */
public final class AdapterResponseInfo {
private final zzw zza;
@Nullable
private final AdError zzb;
private AdapterResponseInfo(zzw zzwVar) {
this.zza = zzwVar;
com.google.android.gms.ads.internal.client.zze zzeVar = zzwVar.zzc;
this.zzb = zzeVar == null ? null : zzeVar.zza();
}
@Nullable
public static AdapterResponseInfo zza(@Nullable zzw zzwVar) {
if (zzwVar != null) {
return new AdapterResponseInfo(zzwVar);
}
return null;
}
@Nullable
public AdError getAdError() {
return this.zzb;
}
@NonNull
public String getAdSourceId() {
return this.zza.zzf;
}
@NonNull
public String getAdSourceInstanceId() {
return this.zza.zzh;
}
@NonNull
public String getAdSourceInstanceName() {
return this.zza.zzg;
}
@NonNull
public String getAdSourceName() {
return this.zza.zze;
}
@NonNull
public String getAdapterClassName() {
return this.zza.zza;
}
@NonNull
public Bundle getCredentials() {
return this.zza.zzd;
}
public long getLatencyMillis() {
return this.zza.zzb;
}
@NonNull
public String toString() {
try {
return zzb().toString(2);
} catch (JSONException unused) {
return "Error forming toString output.";
}
}
@NonNull
public final JSONObject zzb() throws JSONException {
JSONObject jSONObject = new JSONObject();
jSONObject.put("Adapter", this.zza.zza);
jSONObject.put("Latency", this.zza.zzb);
String adSourceName = getAdSourceName();
if (adSourceName == null) {
jSONObject.put("Ad Source Name", "null");
} else {
jSONObject.put("Ad Source Name", adSourceName);
}
String adSourceId = getAdSourceId();
if (adSourceId == null) {
jSONObject.put("Ad Source ID", "null");
} else {
jSONObject.put("Ad Source ID", adSourceId);
}
String adSourceInstanceName = getAdSourceInstanceName();
if (adSourceInstanceName == null) {
jSONObject.put("Ad Source Instance Name", "null");
} else {
jSONObject.put("Ad Source Instance Name", adSourceInstanceName);
}
String adSourceInstanceId = getAdSourceInstanceId();
if (adSourceInstanceId == null) {
jSONObject.put("Ad Source Instance ID", "null");
} else {
jSONObject.put("Ad Source Instance ID", adSourceInstanceId);
}
JSONObject jSONObject2 = new JSONObject();
for (String str : this.zza.zzd.keySet()) {
jSONObject2.put(str, this.zza.zzd.get(str));
}
jSONObject.put("Credentials", jSONObject2);
AdError adError = this.zzb;
if (adError == null) {
jSONObject.put("Ad Error", "null");
} else {
jSONObject.put("Ad Error", adError.zzb());
}
return jSONObject;
}
}

View File

@@ -0,0 +1,235 @@
package com.google.android.gms.ads;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RequiresPermission;
import com.google.android.gms.ads.admanager.AppEventListener;
import com.google.android.gms.ads.internal.client.zzbe;
import com.google.android.gms.ads.internal.client.zzel;
import com.google.android.gms.ads.internal.util.client.zzo;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.internal.ads.zzbcl;
import com.google.android.gms.internal.ads.zzbej;
import com.google.android.gms.internal.ads.zzbuh;
/* loaded from: classes2.dex */
public abstract class BaseAdView extends ViewGroup {
protected final zzel zza;
public BaseAdView(@NonNull Context context, int i) {
super(context);
this.zza = new zzel(this, i);
}
public void destroy() {
zzbcl.zza(getContext());
if (((Boolean) zzbej.zze.zze()).booleanValue()) {
if (((Boolean) zzbe.zzc().zza(zzbcl.zzkX)).booleanValue()) {
com.google.android.gms.ads.internal.util.client.zzb.zzb.execute(new Runnable() { // from class: com.google.android.gms.ads.zze
@Override // java.lang.Runnable
public final void run() {
BaseAdView baseAdView = BaseAdView.this;
try {
baseAdView.zza.zzk();
} catch (IllegalStateException e) {
zzbuh.zza(baseAdView.getContext()).zzh(e, "BaseAdView.destroy");
}
}
});
return;
}
}
this.zza.zzk();
}
@NonNull
public AdListener getAdListener() {
return this.zza.zza();
}
@Nullable
public AdSize getAdSize() {
return this.zza.zzb();
}
@NonNull
public String getAdUnitId() {
return this.zza.zzj();
}
@Nullable
public OnPaidEventListener getOnPaidEventListener() {
return this.zza.zzc();
}
@Nullable
public ResponseInfo getResponseInfo() {
return this.zza.zzd();
}
public boolean isCollapsible() {
return this.zza.zzA();
}
public boolean isLoading() {
return this.zza.zzB();
}
@RequiresPermission("android.permission.INTERNET")
public void loadAd(@NonNull final AdRequest adRequest) {
Preconditions.checkMainThread("#008 Must be called on the main UI thread.");
zzbcl.zza(getContext());
if (((Boolean) zzbej.zzf.zze()).booleanValue()) {
if (((Boolean) zzbe.zzc().zza(zzbcl.zzla)).booleanValue()) {
com.google.android.gms.ads.internal.util.client.zzb.zzb.execute(new Runnable() { // from class: com.google.android.gms.ads.zzg
@Override // java.lang.Runnable
public final void run() {
BaseAdView baseAdView = BaseAdView.this;
try {
baseAdView.zza.zzm(adRequest.zza);
} catch (IllegalStateException e) {
zzbuh.zza(baseAdView.getContext()).zzh(e, "BaseAdView.loadAd");
}
}
});
return;
}
}
this.zza.zzm(adRequest.zza);
}
@Override // android.view.ViewGroup, android.view.View
public void onLayout(boolean z, int i, int i2, int i3, int i4) {
View childAt = getChildAt(0);
if (childAt == null || childAt.getVisibility() == 8) {
return;
}
int measuredWidth = childAt.getMeasuredWidth();
int measuredHeight = childAt.getMeasuredHeight();
int i5 = ((i3 - i) - measuredWidth) / 2;
int i6 = ((i4 - i2) - measuredHeight) / 2;
childAt.layout(i5, i6, measuredWidth + i5, measuredHeight + i6);
}
@Override // android.view.View
public void onMeasure(int i, int i2) {
AdSize adSize;
int i3;
int i4 = 0;
View childAt = getChildAt(0);
if (childAt == null || childAt.getVisibility() == 8) {
try {
adSize = getAdSize();
} catch (NullPointerException e) {
zzo.zzh("Unable to retrieve ad size.", e);
adSize = null;
}
if (adSize != null) {
Context context = getContext();
int widthInPixels = adSize.getWidthInPixels(context);
i3 = adSize.getHeightInPixels(context);
i4 = widthInPixels;
} else {
i3 = 0;
}
} else {
measureChild(childAt, i, i2);
i4 = childAt.getMeasuredWidth();
i3 = childAt.getMeasuredHeight();
}
setMeasuredDimension(View.resolveSize(Math.max(i4, getSuggestedMinimumWidth()), i), View.resolveSize(Math.max(i3, getSuggestedMinimumHeight()), i2));
}
public void pause() {
zzbcl.zza(getContext());
if (((Boolean) zzbej.zzg.zze()).booleanValue()) {
if (((Boolean) zzbe.zzc().zza(zzbcl.zzkY)).booleanValue()) {
com.google.android.gms.ads.internal.util.client.zzb.zzb.execute(new Runnable() { // from class: com.google.android.gms.ads.zzf
@Override // java.lang.Runnable
public final void run() {
BaseAdView baseAdView = BaseAdView.this;
try {
baseAdView.zza.zzn();
} catch (IllegalStateException e) {
zzbuh.zza(baseAdView.getContext()).zzh(e, "BaseAdView.pause");
}
}
});
return;
}
}
this.zza.zzn();
}
public void resume() {
zzbcl.zza(getContext());
if (((Boolean) zzbej.zzh.zze()).booleanValue()) {
if (((Boolean) zzbe.zzc().zza(zzbcl.zzkW)).booleanValue()) {
com.google.android.gms.ads.internal.util.client.zzb.zzb.execute(new Runnable() { // from class: com.google.android.gms.ads.zzd
@Override // java.lang.Runnable
public final void run() {
BaseAdView baseAdView = BaseAdView.this;
try {
baseAdView.zza.zzp();
} catch (IllegalStateException e) {
zzbuh.zza(baseAdView.getContext()).zzh(e, "BaseAdView.resume");
}
}
});
return;
}
}
this.zza.zzp();
}
/* JADX WARN: Multi-variable type inference failed */
public void setAdListener(@NonNull AdListener adListener) {
this.zza.zzr(adListener);
if (adListener == 0) {
this.zza.zzq(null);
return;
}
if (adListener instanceof com.google.android.gms.ads.internal.client.zza) {
this.zza.zzq((com.google.android.gms.ads.internal.client.zza) adListener);
}
if (adListener instanceof AppEventListener) {
this.zza.zzv((AppEventListener) adListener);
}
}
public void setAdSize(@NonNull AdSize adSize) {
this.zza.zzs(adSize);
}
public void setAdUnitId(@NonNull String str) {
this.zza.zzu(str);
}
public void setOnPaidEventListener(@Nullable OnPaidEventListener onPaidEventListener) {
this.zza.zzx(onPaidEventListener);
}
public BaseAdView(@NonNull Context context, @NonNull AttributeSet attributeSet, int i) {
super(context, attributeSet);
this.zza = new zzel(this, attributeSet, false, i);
}
public BaseAdView(@NonNull Context context, @NonNull AttributeSet attributeSet, int i, int i2) {
super(context, attributeSet, i);
this.zza = new zzel(this, attributeSet, false, i2);
}
public BaseAdView(@NonNull Context context, @NonNull AttributeSet attributeSet, int i, int i2, boolean z) {
super(context, attributeSet, i);
this.zza = new zzel(this, attributeSet, z, i2);
}
public BaseAdView(@NonNull Context context, @NonNull AttributeSet attributeSet, boolean z) {
super(context, attributeSet);
this.zza = new zzel(this, attributeSet, z);
}
}

View File

@@ -0,0 +1,10 @@
package com.google.android.gms.ads;
import com.google.android.gms.common.annotation.KeepForSdk;
@KeepForSdk
/* loaded from: classes2.dex */
public class ContextualSignals {
private ContextualSignals() {
}
}

View File

@@ -0,0 +1,27 @@
package com.google.android.gms.ads;
import androidx.annotation.NonNull;
/* loaded from: classes2.dex */
public abstract class FullScreenContentCallback {
public static final int ERROR_CODE_AD_REUSED = 1;
public static final int ERROR_CODE_APP_NOT_FOREGROUND = 3;
public static final int ERROR_CODE_INTERNAL_ERROR = 0;
public static final int ERROR_CODE_MEDIATION_SHOW_ERROR = 4;
public static final int ERROR_CODE_NOT_READY = 2;
public void onAdClicked() {
}
public void onAdDismissedFullScreenContent() {
}
public void onAdFailedToShowFullScreenContent(@NonNull AdError adError) {
}
public void onAdImpression() {
}
public void onAdShowedFullScreenContent() {
}
}

View File

@@ -0,0 +1,46 @@
package com.google.android.gms.ads;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import org.json.JSONException;
import org.json.JSONObject;
/* loaded from: classes2.dex */
public final class LoadAdError extends AdError {
@Nullable
private final ResponseInfo zza;
public LoadAdError(int i, @NonNull String str, @NonNull String str2, @Nullable AdError adError, @Nullable ResponseInfo responseInfo) {
super(i, str, str2, adError);
this.zza = responseInfo;
}
@Nullable
public ResponseInfo getResponseInfo() {
return this.zza;
}
@Override // com.google.android.gms.ads.AdError
@NonNull
public String toString() {
try {
return zzb().toString(2);
} catch (JSONException unused) {
return "Error forming toString output.";
}
}
@Override // com.google.android.gms.ads.AdError
@NonNull
public final JSONObject zzb() throws JSONException {
JSONObject zzb = super.zzb();
ResponseInfo responseInfo = getResponseInfo();
if (responseInfo == null) {
zzb.put("Response Info", "null");
} else {
zzb.put("Response Info", responseInfo.zzd());
}
return zzb;
}
}

View File

@@ -0,0 +1,10 @@
package com.google.android.gms.ads;
/* loaded from: classes2.dex */
public @interface MediaAspectRatio {
public static final int ANY = 1;
public static final int LANDSCAPE = 2;
public static final int PORTRAIT = 3;
public static final int SQUARE = 4;
public static final int UNKNOWN = 0;
}

View File

@@ -0,0 +1,30 @@
package com.google.android.gms.ads;
import android.graphics.drawable.Drawable;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.internal.ads.zzbgq;
/* loaded from: classes2.dex */
public interface MediaContent {
float getAspectRatio();
float getCurrentTime();
float getDuration();
@Nullable
Drawable getMainImage();
@NonNull
VideoController getVideoController();
boolean hasVideoContent();
void setMainImage(@Nullable Drawable drawable);
@Nullable
zzbgq zza();
boolean zzb();
}

View File

@@ -0,0 +1,109 @@
package com.google.android.gms.ads;
/* loaded from: classes2.dex */
public class MediationUtils {
protected static final double MIN_HEIGHT_RATIO = 0.7d;
protected static final double MIN_WIDTH_RATIO = 0.5d;
/* JADX WARN: Removed duplicated region for block: B:32:0x00b3 */
/* JADX WARN: Removed duplicated region for block: B:39:0x00c7 A[ADDED_TO_REGION, SYNTHETIC] */
@androidx.annotation.Nullable
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static com.google.android.gms.ads.AdSize findClosestSize(@androidx.annotation.NonNull android.content.Context r9, @androidx.annotation.NonNull com.google.android.gms.ads.AdSize r10, @androidx.annotation.NonNull java.util.List<com.google.android.gms.ads.AdSize> r11) {
/*
r0 = 0
if (r11 == 0) goto Lca
if (r10 != 0) goto L7
goto Lca
L7:
boolean r1 = r10.zzh()
if (r1 != 0) goto L36
boolean r1 = r10.zzi()
if (r1 != 0) goto L36
android.content.res.Resources r1 = r9.getResources()
android.util.DisplayMetrics r1 = r1.getDisplayMetrics()
float r1 = r1.density
int r2 = r10.getWidthInPixels(r9)
float r2 = (float) r2
float r2 = r2 / r1
int r2 = java.lang.Math.round(r2)
int r9 = r10.getHeightInPixels(r9)
float r9 = (float) r9
float r9 = r9 / r1
int r9 = java.lang.Math.round(r9)
com.google.android.gms.ads.AdSize r10 = new com.google.android.gms.ads.AdSize
r10.<init>(r2, r9)
L36:
java.util.Iterator r9 = r11.iterator()
L3a:
boolean r11 = r9.hasNext()
if (r11 == 0) goto Lca
java.lang.Object r11 = r9.next()
com.google.android.gms.ads.AdSize r11 = (com.google.android.gms.ads.AdSize) r11
if (r11 == 0) goto L3a
int r1 = r10.getWidth()
int r2 = r11.getWidth()
int r3 = r10.getHeight()
double r4 = (double) r1
r6 = 4602678819172646912(0x3fe0000000000000, double:0.5)
double r4 = r4 * r6
double r6 = (double) r2
int r8 = r11.getHeight()
int r4 = (r4 > r6 ? 1 : (r4 == r6 ? 0 : -1))
if (r4 > 0) goto L3a
if (r1 < r2) goto L3a
boolean r1 = r10.zzi()
if (r1 == 0) goto L94
int r1 = r10.zza()
com.google.android.gms.internal.ads.zzbcc r3 = com.google.android.gms.internal.ads.zzbcl.zzhL
com.google.android.gms.internal.ads.zzbcj r4 = com.google.android.gms.ads.internal.client.zzbe.zzc()
java.lang.Object r3 = r4.zza(r3)
java.lang.Integer r3 = (java.lang.Integer) r3
int r3 = r3.intValue()
if (r3 > r2) goto L3a
com.google.android.gms.internal.ads.zzbcc r2 = com.google.android.gms.internal.ads.zzbcl.zzhM
com.google.android.gms.internal.ads.zzbcj r3 = com.google.android.gms.ads.internal.client.zzbe.zzc()
java.lang.Object r2 = r3.zza(r2)
java.lang.Integer r2 = (java.lang.Integer) r2
int r2 = r2.intValue()
if (r2 > r8) goto L3a
if (r1 < r8) goto L3a
goto Lb0
L94:
boolean r1 = r10.zzh()
if (r1 == 0) goto La1
int r1 = r10.zzb()
if (r1 < r8) goto L3a
goto Lb0
La1:
double r1 = (double) r3
r4 = 4604480259023595110(0x3fe6666666666666, double:0.7)
double r1 = r1 * r4
double r4 = (double) r8
int r1 = (r1 > r4 ? 1 : (r1 == r4 ? 0 : -1))
if (r1 > 0) goto L3a
if (r3 >= r8) goto Lb0
goto L3a
Lb0:
if (r0 != 0) goto Lb3
goto Lc7
Lb3:
int r1 = r0.getWidth()
int r2 = r0.getHeight()
int r1 = r1 * r2
int r2 = r11.getWidth()
int r3 = r11.getHeight()
int r2 = r2 * r3
if (r1 > r2) goto L3a
Lc7:
r0 = r11
goto L3a
Lca:
return r0
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.ads.MediationUtils.findClosestSize(android.content.Context, com.google.android.gms.ads.AdSize, java.util.List):com.google.android.gms.ads.AdSize");
}
}

View File

@@ -0,0 +1,151 @@
package com.google.android.gms.ads;
import android.content.Context;
import android.os.RemoteException;
import android.text.TextUtils;
import android.webkit.WebView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RequiresPermission;
import androidx.browser.customtabs.CustomTabsCallback;
import androidx.browser.customtabs.CustomTabsClient;
import androidx.browser.customtabs.CustomTabsSession;
import com.google.android.gms.ads.initialization.InitializationStatus;
import com.google.android.gms.ads.initialization.OnInitializationCompleteListener;
import com.google.android.gms.ads.internal.client.zzex;
import com.google.android.gms.ads.internal.util.client.zzo;
import com.google.android.gms.ads.mediation.rtb.RtbAdapter;
import com.google.android.gms.ads.preload.PreloadCallback;
import com.google.android.gms.ads.preload.PreloadConfiguration;
import com.google.android.gms.common.annotation.KeepForSdk;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.dynamic.ObjectWrapper;
import com.google.android.gms.internal.ads.zzbtv;
import com.google.android.gms.internal.ads.zzbyu;
import java.util.List;
/* loaded from: classes2.dex */
public class MobileAds {
@NonNull
public static final String ERROR_DOMAIN = "com.google.android.gms.ads";
private MobileAds() {
}
public static void disableMediationAdapterInitialization(@NonNull Context context) {
zzex.zzf().zzn(context);
}
@Nullable
public static InitializationStatus getInitializationStatus() {
return zzex.zzf().zze();
}
@KeepForSdk
private static String getInternalVersion() {
return zzex.zzf().zzi();
}
@NonNull
public static RequestConfiguration getRequestConfiguration() {
return zzex.zzf().zzc();
}
@NonNull
public static VersionInfo getVersion() {
zzex.zzf();
String[] split = TextUtils.split("23.6.0", "\\.");
if (split.length != 3) {
return new VersionInfo(0, 0, 0);
}
try {
return new VersionInfo(Integer.parseInt(split[0]), Integer.parseInt(split[1]), Integer.parseInt(split[2]));
} catch (NumberFormatException unused) {
return new VersionInfo(0, 0, 0);
}
}
@RequiresPermission("android.permission.INTERNET")
public static void initialize(@NonNull Context context) {
zzex.zzf().zzo(context, null, null);
}
public static void openAdInspector(@NonNull Context context, @NonNull OnAdInspectorClosedListener onAdInspectorClosedListener) {
zzex.zzf().zzr(context, onAdInspectorClosedListener);
}
public static void openDebugMenu(@NonNull Context context, @NonNull String str) {
zzex.zzf().zzs(context, str);
}
public static boolean putPublisherFirstPartyIdEnabled(boolean z) {
return zzex.zzf().zzz(z);
}
@Nullable
public static CustomTabsSession registerCustomTabsSession(@NonNull Context context, @NonNull CustomTabsClient customTabsClient, @NonNull String str, @Nullable CustomTabsCallback customTabsCallback) {
zzex.zzf();
Preconditions.checkMainThread("#008 Must be called on the main UI thread.");
zzbyu zza = zzbtv.zza(context);
if (zza == null) {
zzo.zzg("Internal error, query info generator is null.");
return null;
}
try {
return (CustomTabsSession) ObjectWrapper.unwrap(zza.zze(ObjectWrapper.wrap(context), ObjectWrapper.wrap(customTabsClient), str, ObjectWrapper.wrap(customTabsCallback)));
} catch (RemoteException | IllegalArgumentException e) {
zzo.zzh("Unable to register custom tabs session. Error: ", e);
return null;
}
}
@KeepForSdk
public static void registerRtbAdapter(@NonNull Class<? extends RtbAdapter> cls) {
zzex.zzf().zzt(cls);
}
public static void registerWebView(@NonNull WebView webView) {
zzex.zzf();
Preconditions.checkMainThread("#008 Must be called on the main UI thread.");
if (webView == null) {
zzo.zzg("The webview to be registered cannot be null.");
return;
}
zzbyu zza = zzbtv.zza(webView.getContext());
if (zza == null) {
zzo.zzg("Internal error, query info generator is null.");
return;
}
try {
zza.zzj(ObjectWrapper.wrap(webView));
} catch (RemoteException e) {
zzo.zzh("", e);
}
}
public static void setAppMuted(boolean z) {
zzex.zzf().zzu(z);
}
public static void setAppVolume(float f) {
zzex.zzf().zzv(f);
}
@KeepForSdk
private static void setPlugin(String str) {
zzex.zzf().zzw(str);
}
public static void setRequestConfiguration(@NonNull RequestConfiguration requestConfiguration) {
zzex.zzf().zzx(requestConfiguration);
}
public static void startPreload(@NonNull Context context, @NonNull List<PreloadConfiguration> list, @NonNull PreloadCallback preloadCallback) {
zzex.zzf().zzg(context, list, preloadCallback);
}
public static void initialize(@NonNull Context context, @NonNull OnInitializationCompleteListener onInitializationCompleteListener) {
zzex.zzf().zzo(context, null, onInitializationCompleteListener);
}
}

View File

@@ -0,0 +1,56 @@
package com.google.android.gms.ads;
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 androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.ads.internal.client.zzey;
import com.google.android.gms.common.annotation.KeepForSdkWithMembers;
@KeepForSdkWithMembers
/* loaded from: classes2.dex */
public class MobileAdsInitProvider extends ContentProvider {
private final zzey zza = new zzey();
@Override // android.content.ContentProvider
public void attachInfo(@NonNull Context context, @NonNull ProviderInfo providerInfo) {
this.zza.attachInfo(context, providerInfo);
}
@Override // android.content.ContentProvider
public int delete(@NonNull Uri uri, @NonNull String str, @NonNull String[] strArr) {
return 0;
}
@Override // android.content.ContentProvider
@Nullable
public String getType(@NonNull Uri uri) {
return null;
}
@Override // android.content.ContentProvider
@Nullable
public Uri insert(@NonNull Uri uri, @NonNull ContentValues contentValues) {
return null;
}
@Override // android.content.ContentProvider
public boolean onCreate() {
return false;
}
@Override // android.content.ContentProvider
@Nullable
public Cursor query(@NonNull Uri uri, @NonNull String[] strArr, @NonNull String str, @NonNull String[] strArr2, @NonNull String str2) {
return null;
}
@Override // android.content.ContentProvider
public int update(@NonNull Uri uri, @NonNull ContentValues contentValues, @NonNull String str, @NonNull String[] strArr) {
return 0;
}
}

View File

@@ -0,0 +1,6 @@
package com.google.android.gms.ads;
/* loaded from: classes2.dex */
public interface MuteThisAdListener {
void onAdMuted();
}

View File

@@ -0,0 +1,9 @@
package com.google.android.gms.ads;
import androidx.annotation.NonNull;
/* loaded from: classes2.dex */
public interface MuteThisAdReason {
@NonNull
String getDescription();
}

View File

@@ -0,0 +1,42 @@
package com.google.android.gms.ads;
import android.app.Activity;
import android.os.Bundle;
import android.os.RemoteException;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.ads.internal.client.zzbc;
import com.google.android.gms.ads.internal.util.client.zzo;
import com.google.android.gms.common.annotation.KeepForSdk;
import com.google.android.gms.internal.ads.zzbpa;
import com.google.android.gms.internal.ads.zzbsx;
@KeepForSdk
/* loaded from: classes2.dex */
public final class NotificationHandlerActivity extends Activity {
@NonNull
@KeepForSdk
public static final String CLASS_NAME = "com.google.android.gms.ads.NotificationHandlerActivity";
@Override // android.app.Activity
public final void onCreate(@Nullable Bundle bundle) {
super.onCreate(bundle);
try {
zzbsx zzo = zzbc.zza().zzo(this, new zzbpa());
if (zzo == null) {
zzo.zzg("OfflineUtils is null");
} else {
zzo.zze(getIntent());
}
} catch (RemoteException e) {
zzo.zzg("RemoteException calling handleNotificationIntent: ".concat(e.toString()));
}
}
@Override // android.app.Activity
public final void onResume() {
super.onResume();
finish();
}
}

View File

@@ -0,0 +1,8 @@
package com.google.android.gms.ads;
import androidx.annotation.Nullable;
/* loaded from: classes2.dex */
public interface OnAdInspectorClosedListener {
void onAdInspectorClosed(@Nullable AdInspectorError adInspectorError);
}

View File

@@ -0,0 +1,8 @@
package com.google.android.gms.ads;
import androidx.annotation.NonNull;
/* loaded from: classes2.dex */
public interface OnPaidEventListener {
void onPaidEvent(@NonNull AdValue adValue);
}

View File

@@ -0,0 +1,9 @@
package com.google.android.gms.ads;
import androidx.annotation.NonNull;
import com.google.android.gms.ads.rewarded.RewardItem;
/* loaded from: classes2.dex */
public interface OnUserEarnedRewardListener {
void onUserEarnedReward(@NonNull RewardItem rewardItem);
}

View File

@@ -0,0 +1,54 @@
package com.google.android.gms.ads;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.RemoteException;
import android.widget.LinearLayout;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.ads.internal.client.zzbc;
import com.google.android.gms.ads.internal.client.zzdu;
import com.google.android.gms.common.annotation.KeepForSdk;
import com.google.android.gms.dynamic.ObjectWrapper;
import com.google.android.gms.internal.ads.zzbpa;
@KeepForSdk
/* loaded from: classes2.dex */
public final class OutOfContextTestingActivity extends Activity {
@NonNull
@KeepForSdk
public static final String AD_UNIT_KEY = "adUnit";
@NonNull
@KeepForSdk
public static final String CLASS_NAME = "com.google.android.gms.ads.OutOfContextTestingActivity";
@Override // android.app.Activity
public final void onCreate(@Nullable Bundle bundle) {
super.onCreate(bundle);
zzdu zzh = zzbc.zza().zzh(this, new zzbpa());
if (zzh == null) {
finish();
return;
}
setContentView(R.layout.admob_empty_layout);
LinearLayout linearLayout = (LinearLayout) findViewById(R.id.layout);
Intent intent = getIntent();
if (intent == null) {
finish();
return;
}
String stringExtra = intent.getStringExtra("adUnit");
if (stringExtra == null) {
finish();
return;
}
try {
zzh.zze(stringExtra, ObjectWrapper.wrap(this), ObjectWrapper.wrap(linearLayout));
} catch (RemoteException unused) {
finish();
}
}
}

View File

@@ -0,0 +1,55 @@
package com.google.android.gms.ads;
/* loaded from: classes2.dex */
public final class R {
public static final class attr {
public static int adSize = 0x7f040024;
public static int adSizes = 0x7f040025;
public static int adUnitId = 0x7f040026;
private attr() {
}
}
public static final class id {
public static int layout = 0x7f0a015a;
private id() {
}
}
public static final class layout {
public static int admob_empty_layout = 0x7f0d001d;
private layout() {
}
}
public static final class style {
public static int Theme_IAPTheme = 0x7f13016c;
private style() {
}
}
public static final class styleable {
public static int[] AdsAttrs = {com.ea.games.r3_row.R.attr.adSize, com.ea.games.r3_row.R.attr.adSizes, com.ea.games.r3_row.R.attr.adUnitId};
public static int AdsAttrs_adSize = 0x00000000;
public static int AdsAttrs_adSizes = 0x00000001;
public static int AdsAttrs_adUnitId = 0x00000002;
private styleable() {
}
}
public static final class xml {
public static int gma_ad_services_config = 0x7f150007;
private xml() {
}
}
private R() {
}
}

View File

@@ -0,0 +1,172 @@
package com.google.android.gms.ads;
import androidx.annotation.NonNull;
import com.google.android.gms.ads.internal.util.client.zzo;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/* loaded from: classes2.dex */
public class RequestConfiguration {
@NonNull
public static final String MAX_AD_CONTENT_RATING_UNSPECIFIED = "";
public static final int TAG_FOR_CHILD_DIRECTED_TREATMENT_FALSE = 0;
public static final int TAG_FOR_CHILD_DIRECTED_TREATMENT_TRUE = 1;
public static final int TAG_FOR_CHILD_DIRECTED_TREATMENT_UNSPECIFIED = -1;
public static final int TAG_FOR_UNDER_AGE_OF_CONSENT_FALSE = 0;
public static final int TAG_FOR_UNDER_AGE_OF_CONSENT_TRUE = 1;
public static final int TAG_FOR_UNDER_AGE_OF_CONSENT_UNSPECIFIED = -1;
private final int zzb;
private final int zzc;
private final String zzd;
private final List zze;
private final PublisherPrivacyPersonalizationState zzf;
@NonNull
public static final String MAX_AD_CONTENT_RATING_MA = "MA";
@NonNull
public static final String MAX_AD_CONTENT_RATING_T = "T";
@NonNull
public static final String MAX_AD_CONTENT_RATING_PG = "PG";
@NonNull
public static final String MAX_AD_CONTENT_RATING_G = "G";
@NonNull
public static final List zza = Arrays.asList(MAX_AD_CONTENT_RATING_MA, MAX_AD_CONTENT_RATING_T, MAX_AD_CONTENT_RATING_PG, MAX_AD_CONTENT_RATING_G);
public static class Builder {
private int zza = -1;
private int zzb = -1;
private String zzc = null;
private final List zzd = new ArrayList();
private PublisherPrivacyPersonalizationState zze = PublisherPrivacyPersonalizationState.DEFAULT;
@NonNull
public RequestConfiguration build() {
return new RequestConfiguration(this.zza, this.zzb, this.zzc, this.zzd, this.zze, null);
}
@NonNull
public Builder setMaxAdContentRating(String str) {
if (str == null || "".equals(str)) {
this.zzc = null;
} else if (RequestConfiguration.MAX_AD_CONTENT_RATING_G.equals(str) || RequestConfiguration.MAX_AD_CONTENT_RATING_PG.equals(str) || RequestConfiguration.MAX_AD_CONTENT_RATING_T.equals(str) || RequestConfiguration.MAX_AD_CONTENT_RATING_MA.equals(str)) {
this.zzc = str;
} else {
zzo.zzj("Invalid value passed to setMaxAdContentRating: ".concat(str));
}
return this;
}
@NonNull
public Builder setPublisherPrivacyPersonalizationState(@NonNull PublisherPrivacyPersonalizationState publisherPrivacyPersonalizationState) {
this.zze = publisherPrivacyPersonalizationState;
return this;
}
@NonNull
public Builder setTagForChildDirectedTreatment(int i) {
if (i == -1 || i == 0 || i == 1) {
this.zza = i;
} else {
zzo.zzj("Invalid value passed to setTagForChildDirectedTreatment: " + i);
}
return this;
}
@NonNull
public Builder setTagForUnderAgeOfConsent(int i) {
if (i == -1 || i == 0 || i == 1) {
this.zzb = i;
} else {
zzo.zzj("Invalid value passed to setTagForUnderAgeOfConsent: " + i);
}
return this;
}
@NonNull
public Builder setTestDeviceIds(List<String> list) {
this.zzd.clear();
if (list != null) {
this.zzd.addAll(list);
}
return this;
}
}
@Retention(RetentionPolicy.SOURCE)
public @interface MaxAdContentRating {
}
public enum PublisherPrivacyPersonalizationState {
DEFAULT(0),
ENABLED(1),
DISABLED(2);
private final int zzb;
PublisherPrivacyPersonalizationState(int i) {
this.zzb = i;
}
public int getValue() {
return this.zzb;
}
}
@Retention(RetentionPolicy.SOURCE)
public @interface TagForChildDirectedTreatment {
}
@Retention(RetentionPolicy.SOURCE)
public @interface TagForUnderAgeOfConsent {
}
public /* synthetic */ RequestConfiguration(int i, int i2, String str, List list, PublisherPrivacyPersonalizationState publisherPrivacyPersonalizationState, zzi zziVar) {
this.zzb = i;
this.zzc = i2;
this.zzd = str;
this.zze = list;
this.zzf = publisherPrivacyPersonalizationState;
}
@NonNull
public String getMaxAdContentRating() {
String str = this.zzd;
return str == null ? "" : str;
}
@NonNull
public PublisherPrivacyPersonalizationState getPublisherPrivacyPersonalizationState() {
return this.zzf;
}
public int getTagForChildDirectedTreatment() {
return this.zzb;
}
public int getTagForUnderAgeOfConsent() {
return this.zzc;
}
@NonNull
public List<String> getTestDeviceIds() {
return new ArrayList(this.zze);
}
@NonNull
public Builder toBuilder() {
Builder builder = new Builder();
builder.setTagForChildDirectedTreatment(this.zzb);
builder.setTagForUnderAgeOfConsent(this.zzc);
builder.setMaxAdContentRating(this.zzd);
builder.setTestDeviceIds(this.zze);
return builder;
}
}

View File

@@ -0,0 +1,171 @@
package com.google.android.gms.ads;
import android.os.Bundle;
import android.os.RemoteException;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.VisibleForTesting;
import com.google.android.gms.ads.internal.client.zzbc;
import com.google.android.gms.ads.internal.client.zzdy;
import com.google.android.gms.ads.internal.client.zzw;
import com.google.android.gms.ads.internal.util.client.zzo;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
/* loaded from: classes2.dex */
public final class ResponseInfo {
@Nullable
private final zzdy zza;
private final List zzb = new ArrayList();
@Nullable
private AdapterResponseInfo zzc;
private ResponseInfo(@Nullable zzdy zzdyVar) {
this.zza = zzdyVar;
if (zzdyVar != null) {
try {
List zzj = zzdyVar.zzj();
if (zzj != null) {
Iterator it = zzj.iterator();
while (it.hasNext()) {
AdapterResponseInfo zza = AdapterResponseInfo.zza((zzw) it.next());
if (zza != null) {
this.zzb.add(zza);
}
}
}
} catch (RemoteException e) {
zzo.zzh("Could not forward getAdapterResponseInfo to ResponseInfo.", e);
}
}
zzdy zzdyVar2 = this.zza;
if (zzdyVar2 == null) {
return;
}
try {
zzw zzf = zzdyVar2.zzf();
if (zzf != null) {
this.zzc = AdapterResponseInfo.zza(zzf);
}
} catch (RemoteException e2) {
zzo.zzh("Could not forward getLoadedAdapterResponse to ResponseInfo.", e2);
}
}
@Nullable
public static ResponseInfo zza(@Nullable zzdy zzdyVar) {
if (zzdyVar != null) {
return new ResponseInfo(zzdyVar);
}
return null;
}
@NonNull
public static ResponseInfo zzb(@Nullable zzdy zzdyVar) {
return new ResponseInfo(zzdyVar);
}
@NonNull
public List<AdapterResponseInfo> getAdapterResponses() {
return this.zzb;
}
@Nullable
public AdapterResponseInfo getLoadedAdapterResponseInfo() {
return this.zzc;
}
@Nullable
public String getMediationAdapterClassName() {
try {
zzdy zzdyVar = this.zza;
if (zzdyVar != null) {
return zzdyVar.zzg();
}
return null;
} catch (RemoteException e) {
zzo.zzh("Could not forward getMediationAdapterClassName to ResponseInfo.", e);
return null;
}
}
@NonNull
public Bundle getResponseExtras() {
try {
zzdy zzdyVar = this.zza;
if (zzdyVar != null) {
return zzdyVar.zze();
}
} catch (RemoteException e) {
zzo.zzh("Could not forward getResponseExtras to ResponseInfo.", e);
}
return new Bundle();
}
@Nullable
public String getResponseId() {
try {
zzdy zzdyVar = this.zza;
if (zzdyVar != null) {
return zzdyVar.zzi();
}
return null;
} catch (RemoteException e) {
zzo.zzh("Could not forward getResponseId to ResponseInfo.", e);
return null;
}
}
@NonNull
public String toString() {
try {
return zzd().toString(2);
} catch (JSONException unused) {
return "Error forming toString output.";
}
}
@Nullable
@VisibleForTesting
public final zzdy zzc() {
return this.zza;
}
@NonNull
public final JSONObject zzd() throws JSONException {
JSONObject jSONObject = new JSONObject();
String responseId = getResponseId();
if (responseId == null) {
jSONObject.put("Response ID", "null");
} else {
jSONObject.put("Response ID", responseId);
}
String mediationAdapterClassName = getMediationAdapterClassName();
if (mediationAdapterClassName == null) {
jSONObject.put("Mediation Adapter Class Name", "null");
} else {
jSONObject.put("Mediation Adapter Class Name", mediationAdapterClassName);
}
JSONArray jSONArray = new JSONArray();
Iterator it = this.zzb.iterator();
while (it.hasNext()) {
jSONArray.put(((AdapterResponseInfo) it.next()).zzb());
}
jSONObject.put("Adapter Responses", jSONArray);
AdapterResponseInfo adapterResponseInfo = this.zzc;
if (adapterResponseInfo != null) {
jSONObject.put("Loaded Adapter Response", adapterResponseInfo.zzb());
}
Bundle responseExtras = getResponseExtras();
if (responseExtras != null) {
jSONObject.put("Response Extras", zzbc.zzb().zzi(responseExtras));
}
return jSONObject;
}
}

View File

@@ -0,0 +1,34 @@
package com.google.android.gms.ads;
import androidx.annotation.NonNull;
import java.util.Locale;
/* loaded from: classes2.dex */
public class VersionInfo {
protected final int zza;
protected final int zzb;
protected final int zzc;
public VersionInfo(int i, int i2, int i3) {
this.zza = i;
this.zzb = i2;
this.zzc = i3;
}
public int getMajorVersion() {
return this.zza;
}
public int getMicroVersion() {
return this.zzc;
}
public int getMinorVersion() {
return this.zzb;
}
@NonNull
public String toString() {
return String.format(Locale.US, "%d.%d.%d", Integer.valueOf(this.zza), Integer.valueOf(this.zzb), Integer.valueOf(this.zzc));
}
}

View File

@@ -0,0 +1,229 @@
package com.google.android.gms.ads;
import android.os.RemoteException;
import androidx.annotation.Nullable;
import com.google.android.gms.ads.internal.client.zzeb;
import com.google.android.gms.ads.internal.client.zzfz;
import com.google.android.gms.ads.internal.util.client.zzo;
import com.google.android.gms.common.annotation.KeepForSdk;
/* loaded from: classes2.dex */
public final class VideoController {
@KeepForSdk
public static final int PLAYBACK_STATE_ENDED = 3;
@KeepForSdk
public static final int PLAYBACK_STATE_PAUSED = 2;
@KeepForSdk
public static final int PLAYBACK_STATE_PLAYING = 1;
@KeepForSdk
public static final int PLAYBACK_STATE_READY = 5;
@KeepForSdk
public static final int PLAYBACK_STATE_UNKNOWN = 0;
private final Object zza = new Object();
@Nullable
private zzeb zzb;
@Nullable
private VideoLifecycleCallbacks zzc;
public static abstract class VideoLifecycleCallbacks {
public void onVideoEnd() {
}
public void onVideoMute(boolean z) {
}
public void onVideoPause() {
}
public void onVideoPlay() {
}
public void onVideoStart() {
}
}
@Nullable
public VideoLifecycleCallbacks getVideoLifecycleCallbacks() {
VideoLifecycleCallbacks videoLifecycleCallbacks;
synchronized (this.zza) {
videoLifecycleCallbacks = this.zzc;
}
return videoLifecycleCallbacks;
}
public boolean hasVideoContent() {
boolean z;
synchronized (this.zza) {
z = this.zzb != null;
}
return z;
}
@Nullable
public final zzeb zza() {
zzeb zzebVar;
synchronized (this.zza) {
zzebVar = this.zzb;
}
return zzebVar;
}
public final void zzb(@Nullable zzeb zzebVar) {
synchronized (this.zza) {
try {
this.zzb = zzebVar;
VideoLifecycleCallbacks videoLifecycleCallbacks = this.zzc;
if (videoLifecycleCallbacks != null) {
setVideoLifecycleCallbacks(videoLifecycleCallbacks);
}
} catch (Throwable th) {
throw th;
}
}
}
@KeepForSdk
public int getPlaybackState() {
synchronized (this.zza) {
zzeb zzebVar = this.zzb;
if (zzebVar == null) {
return 0;
}
try {
return zzebVar.zzh();
} catch (RemoteException e) {
zzo.zzh("Unable to call getPlaybackState on video controller.", e);
return 0;
}
}
}
public boolean isClickToExpandEnabled() {
synchronized (this.zza) {
zzeb zzebVar = this.zzb;
if (zzebVar == null) {
return false;
}
try {
return zzebVar.zzo();
} catch (RemoteException e) {
zzo.zzh("Unable to call isClickToExpandEnabled.", e);
return false;
}
}
}
public boolean isCustomControlsEnabled() {
synchronized (this.zza) {
zzeb zzebVar = this.zzb;
if (zzebVar == null) {
return false;
}
try {
return zzebVar.zzp();
} catch (RemoteException e) {
zzo.zzh("Unable to call isUsingCustomPlayerControls.", e);
return false;
}
}
}
public boolean isMuted() {
synchronized (this.zza) {
zzeb zzebVar = this.zzb;
if (zzebVar == null) {
return true;
}
try {
return zzebVar.zzq();
} catch (RemoteException e) {
zzo.zzh("Unable to call isMuted on video controller.", e);
return true;
}
}
}
public void mute(boolean z) {
synchronized (this.zza) {
zzeb zzebVar = this.zzb;
if (zzebVar == null) {
return;
}
try {
zzebVar.zzj(z);
} catch (RemoteException e) {
zzo.zzh("Unable to call mute on video controller.", e);
}
}
}
public void pause() {
synchronized (this.zza) {
zzeb zzebVar = this.zzb;
if (zzebVar == null) {
return;
}
try {
zzebVar.zzk();
} catch (RemoteException e) {
zzo.zzh("Unable to call pause on video controller.", e);
}
}
}
public void play() {
synchronized (this.zza) {
zzeb zzebVar = this.zzb;
if (zzebVar == null) {
return;
}
try {
zzebVar.zzl();
} catch (RemoteException e) {
zzo.zzh("Unable to call play on video controller.", e);
}
}
}
public void stop() {
synchronized (this.zza) {
zzeb zzebVar = this.zzb;
if (zzebVar == null) {
return;
}
try {
zzebVar.zzn();
} catch (RemoteException e) {
zzo.zzh("Unable to call stop on video controller.", e);
}
}
}
public void setVideoLifecycleCallbacks(@Nullable VideoLifecycleCallbacks videoLifecycleCallbacks) {
zzfz zzfzVar;
synchronized (this.zza) {
this.zzc = videoLifecycleCallbacks;
zzeb zzebVar = this.zzb;
if (zzebVar == null) {
return;
}
if (videoLifecycleCallbacks == null) {
zzfzVar = null;
} else {
try {
zzfzVar = new zzfz(videoLifecycleCallbacks);
} catch (RemoteException e) {
zzo.zzh("Unable to call setVideoLifecycleCallbacks on video controller.", e);
}
}
zzebVar.zzm(zzfzVar);
}
}
}

View File

@@ -0,0 +1,64 @@
package com.google.android.gms.ads;
import androidx.annotation.NonNull;
import com.google.android.gms.ads.internal.client.zzga;
/* loaded from: classes2.dex */
public final class VideoOptions {
private final boolean zza;
private final boolean zzb;
private final boolean zzc;
public static final class Builder {
private boolean zza = true;
private boolean zzb = false;
private boolean zzc = false;
@NonNull
public VideoOptions build() {
return new VideoOptions(this, null);
}
@NonNull
public Builder setClickToExpandRequested(boolean z) {
this.zzc = z;
return this;
}
@NonNull
public Builder setCustomControlsRequested(boolean z) {
this.zzb = z;
return this;
}
@NonNull
public Builder setStartMuted(boolean z) {
this.zza = z;
return this;
}
}
public /* synthetic */ VideoOptions(Builder builder, zzj zzjVar) {
this.zza = builder.zza;
this.zzb = builder.zzb;
this.zzc = builder.zzc;
}
public VideoOptions(zzga zzgaVar) {
this.zza = zzgaVar.zza;
this.zzb = zzgaVar.zzb;
this.zzc = zzgaVar.zzc;
}
public boolean getClickToExpandRequested() {
return this.zzc;
}
public boolean getCustomControlsRequested() {
return this.zzb;
}
public boolean getStartMuted() {
return this.zza;
}
}

View File

@@ -0,0 +1,90 @@
package com.google.android.gms.ads.admanager;
import android.os.Bundle;
import android.text.TextUtils;
import androidx.annotation.NonNull;
import com.google.android.gms.ads.AbstractAdRequestBuilder;
import com.google.android.gms.ads.AdRequest;
import java.util.List;
/* loaded from: classes2.dex */
public final class AdManagerAdRequest extends AdRequest {
public static final class Builder extends AbstractAdRequestBuilder<Builder> {
@NonNull
public Builder addCategoryExclusion(@NonNull String str) {
this.zza.zzn(str);
return this;
}
@Override // com.google.android.gms.ads.AbstractAdRequestBuilder
@NonNull
public final /* bridge */ /* synthetic */ Builder addCustomTargeting(@NonNull String str, @NonNull String str2) {
addCustomTargeting2(str, str2);
return this;
}
@NonNull
public AdManagerAdRequest build() {
return new AdManagerAdRequest(this, null);
}
@Override // com.google.android.gms.ads.AbstractAdRequestBuilder
@NonNull
public final /* bridge */ /* synthetic */ Builder self() {
return this;
}
@Override // com.google.android.gms.ads.AbstractAdRequestBuilder
@NonNull
public Builder self() {
return this;
}
@NonNull
public Builder setPublisherProvidedId(@NonNull String str) {
this.zza.zzB(str);
return this;
}
@Override // com.google.android.gms.ads.AbstractAdRequestBuilder
@NonNull
/* renamed from: addCustomTargeting, reason: avoid collision after fix types in other method */
public Builder addCustomTargeting2(@NonNull String str, @NonNull String str2) {
this.zza.zzp(str, str2);
return this;
}
@Override // com.google.android.gms.ads.AbstractAdRequestBuilder
@NonNull
public final /* bridge */ /* synthetic */ Builder addCustomTargeting(@NonNull String str, @NonNull List list) {
addCustomTargeting2(str, (List<String>) list);
return this;
}
@Override // com.google.android.gms.ads.AbstractAdRequestBuilder
@NonNull
/* renamed from: addCustomTargeting, reason: avoid collision after fix types in other method */
public Builder addCustomTargeting2(@NonNull String str, @NonNull List<String> list) {
if (list != null) {
this.zza.zzp(str, TextUtils.join(",", list));
}
return this;
}
}
public /* synthetic */ AdManagerAdRequest(Builder builder, zza zzaVar) {
super(builder);
}
@Override // com.google.android.gms.ads.AdRequest
@NonNull
public Bundle getCustomTargeting() {
return this.zza.zze();
}
@NonNull
public String getPublisherProvidedId() {
return this.zza.zzl();
}
}

View File

@@ -0,0 +1,108 @@
package com.google.android.gms.ads.admanager;
import android.content.Context;
import android.util.AttributeSet;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RequiresPermission;
import com.google.android.gms.ads.AdSize;
import com.google.android.gms.ads.BaseAdView;
import com.google.android.gms.ads.VideoController;
import com.google.android.gms.ads.VideoOptions;
import com.google.android.gms.ads.internal.client.zzbe;
import com.google.android.gms.ads.internal.client.zzby;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.internal.ads.zzbcl;
import com.google.android.gms.internal.ads.zzbej;
import com.google.android.gms.internal.ads.zzbuh;
/* loaded from: classes2.dex */
public final class AdManagerAdView extends BaseAdView {
public AdManagerAdView(@NonNull Context context) {
super(context, 0);
Preconditions.checkNotNull(context, "Context cannot be null");
}
@Nullable
public AdSize[] getAdSizes() {
return this.zza.zzC();
}
@Nullable
public AppEventListener getAppEventListener() {
return this.zza.zzh();
}
@NonNull
public VideoController getVideoController() {
return this.zza.zzf();
}
@Nullable
public VideoOptions getVideoOptions() {
return this.zza.zzg();
}
@RequiresPermission("android.permission.INTERNET")
public void loadAd(@NonNull final AdManagerAdRequest adManagerAdRequest) {
Preconditions.checkMainThread("#008 Must be called on the main UI thread.");
zzbcl.zza(getContext());
if (((Boolean) zzbej.zzf.zze()).booleanValue()) {
if (((Boolean) zzbe.zzc().zza(zzbcl.zzla)).booleanValue()) {
com.google.android.gms.ads.internal.util.client.zzb.zzb.execute(new Runnable() { // from class: com.google.android.gms.ads.admanager.zzb
@Override // java.lang.Runnable
public final void run() {
AdManagerAdView.this.zza(adManagerAdRequest);
}
});
return;
}
}
this.zza.zzm(adManagerAdRequest.zza());
}
public void recordManualImpression() {
this.zza.zzo();
}
public void setAppEventListener(@Nullable AppEventListener appEventListener) {
this.zza.zzv(appEventListener);
}
public void setManualImpressionsEnabled(boolean z) {
this.zza.zzw(z);
}
public void setVideoOptions(@NonNull VideoOptions videoOptions) {
this.zza.zzy(videoOptions);
}
public final /* synthetic */ void zza(AdManagerAdRequest adManagerAdRequest) {
try {
this.zza.zzm(adManagerAdRequest.zza());
} catch (IllegalStateException e) {
zzbuh.zza(getContext()).zzh(e, "AdManagerAdView.loadAd");
}
}
public final boolean zzb(zzby zzbyVar) {
return this.zza.zzz(zzbyVar);
}
public void setAdSizes(@NonNull AdSize... adSizeArr) {
if (adSizeArr == null || adSizeArr.length <= 0) {
throw new IllegalArgumentException("The supported ad sizes must contain at least one valid ad size.");
}
this.zza.zzt(adSizeArr);
}
public AdManagerAdView(@NonNull Context context, @NonNull AttributeSet attributeSet) {
super(context, attributeSet, true);
Preconditions.checkNotNull(context, "Context cannot be null");
}
public AdManagerAdView(@NonNull Context context, @NonNull AttributeSet attributeSet, int i) {
super(context, attributeSet, i, 0, true);
Preconditions.checkNotNull(context, "Context cannot be null");
}
}

View File

@@ -0,0 +1,48 @@
package com.google.android.gms.ads.admanager;
import android.content.Context;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.ads.internal.client.zzbe;
import com.google.android.gms.ads.interstitial.InterstitialAd;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.internal.ads.zzbcl;
import com.google.android.gms.internal.ads.zzbej;
import com.google.android.gms.internal.ads.zzbmj;
import com.google.android.gms.internal.ads.zzbuh;
/* loaded from: classes2.dex */
public abstract class AdManagerInterstitialAd extends InterstitialAd {
public static void load(@NonNull final Context context, @NonNull final String str, @NonNull final AdManagerAdRequest adManagerAdRequest, @NonNull final AdManagerInterstitialAdLoadCallback adManagerInterstitialAdLoadCallback) {
Preconditions.checkNotNull(context, "Context cannot be null.");
Preconditions.checkNotNull(str, "AdUnitId cannot be null.");
Preconditions.checkNotNull(adManagerAdRequest, "AdManagerAdRequest cannot be null.");
Preconditions.checkNotNull(adManagerInterstitialAdLoadCallback, "LoadCallback cannot be null.");
Preconditions.checkMainThread("#008 Must be called on the main UI thread.");
zzbcl.zza(context);
if (((Boolean) zzbej.zzi.zze()).booleanValue()) {
if (((Boolean) zzbe.zzc().zza(zzbcl.zzla)).booleanValue()) {
com.google.android.gms.ads.internal.util.client.zzb.zzb.execute(new Runnable() { // from class: com.google.android.gms.ads.admanager.zzc
@Override // java.lang.Runnable
public final void run() {
Context context2 = context;
String str2 = str;
AdManagerAdRequest adManagerAdRequest2 = adManagerAdRequest;
try {
new zzbmj(context2, str2).zza(adManagerAdRequest2.zza(), adManagerInterstitialAdLoadCallback);
} catch (IllegalStateException e) {
zzbuh.zza(context2).zzh(e, "AdManagerInterstitialAd.load");
}
}
});
return;
}
}
new zzbmj(context, str).zza(adManagerAdRequest.zza(), adManagerInterstitialAdLoadCallback);
}
@Nullable
public abstract AppEventListener getAppEventListener();
public abstract void setAppEventListener(@Nullable AppEventListener appEventListener);
}

View File

@@ -0,0 +1,7 @@
package com.google.android.gms.ads.admanager;
import com.google.android.gms.ads.AdLoadCallback;
/* loaded from: classes2.dex */
public abstract class AdManagerInterstitialAdLoadCallback extends AdLoadCallback<AdManagerInterstitialAd> {
}

View File

@@ -0,0 +1,8 @@
package com.google.android.gms.ads.admanager;
import androidx.annotation.NonNull;
/* loaded from: classes2.dex */
public interface AppEventListener {
void onAppEvent(@NonNull String str, @NonNull String str2);
}

View File

@@ -0,0 +1,163 @@
package com.google.android.gms.ads.appopen;
import android.app.Activity;
import android.content.Context;
import android.os.RemoteException;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.ads.AdLoadCallback;
import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.FullScreenContentCallback;
import com.google.android.gms.ads.OnPaidEventListener;
import com.google.android.gms.ads.ResponseInfo;
import com.google.android.gms.ads.admanager.AdManagerAdRequest;
import com.google.android.gms.ads.internal.client.zzbe;
import com.google.android.gms.ads.internal.util.client.zzo;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.internal.ads.zzazz;
import com.google.android.gms.internal.ads.zzbad;
import com.google.android.gms.internal.ads.zzbal;
import com.google.android.gms.internal.ads.zzbcl;
import com.google.android.gms.internal.ads.zzbej;
import com.google.android.gms.internal.ads.zzbuh;
/* loaded from: classes2.dex */
public abstract class AppOpenAd {
public static final int APP_OPEN_AD_ORIENTATION_LANDSCAPE = 2;
public static final int APP_OPEN_AD_ORIENTATION_PORTRAIT = 1;
public static abstract class AppOpenAdLoadCallback extends AdLoadCallback<AppOpenAd> {
}
public @interface AppOpenAdOrientation {
}
public static boolean isAdAvailable(@NonNull Context context, @NonNull String str) {
try {
return com.google.android.gms.ads.zzb.zza(context).zzj(str);
} catch (RemoteException e) {
zzo.zzl("#007 Could not call remote method.", e);
return false;
}
}
@Deprecated
public static void load(@NonNull final Context context, @NonNull final String str, @NonNull final AdRequest adRequest, @AppOpenAdOrientation final int i, @NonNull final AppOpenAdLoadCallback appOpenAdLoadCallback) {
Preconditions.checkNotNull(context, "Context cannot be null.");
Preconditions.checkNotNull(str, "adUnitId cannot be null.");
Preconditions.checkNotNull(adRequest, "AdRequest cannot be null.");
Preconditions.checkMainThread("#008 Must be called on the main UI thread.");
zzbcl.zza(context);
if (((Boolean) zzbej.zzd.zze()).booleanValue()) {
if (((Boolean) zzbe.zzc().zza(zzbcl.zzla)).booleanValue()) {
com.google.android.gms.ads.internal.util.client.zzb.zzb.execute(new Runnable() { // from class: com.google.android.gms.ads.appopen.zzb
@Override // java.lang.Runnable
public final void run() {
Context context2 = context;
int i2 = i;
String str2 = str;
AdRequest adRequest2 = adRequest;
try {
new zzbal(context2, str2, adRequest2.zza(), i2, appOpenAdLoadCallback).zza();
} catch (IllegalStateException e) {
zzbuh.zza(context2).zzh(e, "AppOpenAd.load");
}
}
});
return;
}
}
new zzbal(context, str, adRequest.zza(), i, appOpenAdLoadCallback).zza();
}
@Nullable
public static AppOpenAd pollAd(@NonNull Context context, @NonNull String str) {
try {
zzbad zze = com.google.android.gms.ads.zzb.zza(context).zze(str);
if (zze != null) {
return new zzazz(zze, str);
}
zzo.zzl("Failed to obtain an App Open ad from the preloader.", null);
return null;
} catch (RemoteException e) {
zzo.zzl("#007 Could not call remote method.", e);
return null;
}
}
@NonNull
public abstract String getAdUnitId();
@Nullable
public abstract FullScreenContentCallback getFullScreenContentCallback();
@Nullable
public abstract OnPaidEventListener getOnPaidEventListener();
@NonNull
public abstract ResponseInfo getResponseInfo();
public abstract void setFullScreenContentCallback(@Nullable FullScreenContentCallback fullScreenContentCallback);
public abstract void setImmersiveMode(boolean z);
public abstract void setOnPaidEventListener(@Nullable OnPaidEventListener onPaidEventListener);
public abstract void show(@NonNull Activity activity);
public static void load(@NonNull final Context context, @NonNull final String str, @NonNull final AdRequest adRequest, @NonNull final AppOpenAdLoadCallback appOpenAdLoadCallback) {
Preconditions.checkNotNull(context, "Context cannot be null.");
Preconditions.checkNotNull(str, "adUnitId cannot be null.");
Preconditions.checkNotNull(adRequest, "AdRequest cannot be null.");
Preconditions.checkMainThread("#008 Must be called on the main UI thread.");
zzbcl.zza(context);
if (((Boolean) zzbej.zzd.zze()).booleanValue()) {
if (((Boolean) zzbe.zzc().zza(zzbcl.zzla)).booleanValue()) {
com.google.android.gms.ads.internal.util.client.zzb.zzb.execute(new Runnable() { // from class: com.google.android.gms.ads.appopen.zza
@Override // java.lang.Runnable
public final void run() {
Context context2 = context;
String str2 = str;
AdRequest adRequest2 = adRequest;
try {
new zzbal(context2, str2, adRequest2.zza(), 3, appOpenAdLoadCallback).zza();
} catch (IllegalStateException e) {
zzbuh.zza(context2).zzh(e, "AppOpenAd.load");
}
}
});
return;
}
}
new zzbal(context, str, adRequest.zza(), 3, appOpenAdLoadCallback).zza();
}
@Deprecated
public static void load(@NonNull final Context context, @NonNull final String str, @NonNull final AdManagerAdRequest adManagerAdRequest, @AppOpenAdOrientation final int i, @NonNull final AppOpenAdLoadCallback appOpenAdLoadCallback) {
Preconditions.checkNotNull(context, "Context cannot be null.");
Preconditions.checkNotNull(str, "adUnitId cannot be null.");
Preconditions.checkNotNull(adManagerAdRequest, "AdManagerAdRequest cannot be null.");
Preconditions.checkMainThread("#008 Must be called on the main UI thread.");
zzbcl.zza(context);
if (((Boolean) zzbej.zzd.zze()).booleanValue()) {
if (((Boolean) zzbe.zzc().zza(zzbcl.zzla)).booleanValue()) {
com.google.android.gms.ads.internal.util.client.zzb.zzb.execute(new Runnable() { // from class: com.google.android.gms.ads.appopen.zzc
@Override // java.lang.Runnable
public final void run() {
Context context2 = context;
int i2 = i;
String str2 = str;
AdManagerAdRequest adManagerAdRequest2 = adManagerAdRequest;
try {
new zzbal(context2, str2, adManagerAdRequest2.zza(), i2, appOpenAdLoadCallback).zza();
} catch (IllegalStateException e) {
zzbuh.zza(context2).zzh(e, "AppOpenAdManager.load");
}
}
});
return;
}
}
new zzbal(context, str, adManagerAdRequest.zza(), i, appOpenAdLoadCallback).zza();
}
}

View File

@@ -0,0 +1,74 @@
package com.google.android.gms.ads.formats;
import android.os.IBinder;
import android.os.Parcel;
import android.os.Parcelable;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
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 com.google.android.gms.internal.ads.zzbhm;
import com.google.android.gms.internal.ads.zzbhn;
@SafeParcelable.Class(creator = "AdManagerAdViewOptionsCreator")
/* loaded from: classes2.dex */
public final class AdManagerAdViewOptions extends AbstractSafeParcelable {
@NonNull
public static final Parcelable.Creator<AdManagerAdViewOptions> CREATOR = new zzc();
@SafeParcelable.Field(getter = "getManualImpressionsEnabled", id = 1)
private final boolean zza;
@Nullable
@SafeParcelable.Field(getter = "getDelayedBannerAdListenerBinder", id = 2)
private final IBinder zzb;
public static final class Builder {
private boolean zza = false;
@NonNull
public AdManagerAdViewOptions build() {
return new AdManagerAdViewOptions(this, (zzb) null);
}
@NonNull
public Builder setManualImpressionsEnabled(boolean z) {
this.zza = z;
return this;
}
}
public /* synthetic */ AdManagerAdViewOptions(Builder builder, zzb zzbVar) {
this.zza = builder.zza;
this.zzb = null;
}
public boolean getManualImpressionsEnabled() {
return this.zza;
}
@Override // android.os.Parcelable
public final void writeToParcel(@NonNull Parcel parcel, int i) {
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeBoolean(parcel, 1, getManualImpressionsEnabled());
SafeParcelWriter.writeIBinder(parcel, 2, this.zzb, false);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
@Nullable
public final zzbhn zza() {
IBinder iBinder = this.zzb;
if (iBinder == null) {
return null;
}
return zzbhm.zzb(iBinder);
}
@SafeParcelable.Constructor
public AdManagerAdViewOptions(@SafeParcelable.Param(id = 1) boolean z, @Nullable @SafeParcelable.Param(id = 2) IBinder iBinder) {
this.zza = z;
this.zzb = iBinder;
}
}

View File

@@ -0,0 +1,36 @@
package com.google.android.gms.ads.formats;
import android.annotation.TargetApi;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.FrameLayout;
import android.widget.ImageView;
import androidx.annotation.NonNull;
import com.google.android.gms.ads.MediaContent;
@Deprecated
/* loaded from: classes2.dex */
public class MediaView extends FrameLayout {
public MediaView(@NonNull Context context) {
super(context);
}
public void setImageScaleType(@NonNull ImageView.ScaleType scaleType) {
}
public void setMediaContent(@NonNull MediaContent mediaContent) {
}
public MediaView(@NonNull Context context, @NonNull AttributeSet attributeSet) {
super(context, attributeSet);
}
public MediaView(@NonNull Context context, @NonNull AttributeSet attributeSet, int i) {
super(context, attributeSet, i);
}
@TargetApi(21)
public MediaView(@NonNull Context context, @NonNull AttributeSet attributeSet, int i, int i2) {
super(context, attributeSet, i, i2);
}
}

View File

@@ -0,0 +1,52 @@
package com.google.android.gms.ads.formats;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.os.Bundle;
import androidx.annotation.NonNull;
import java.util.List;
@Deprecated
/* loaded from: classes2.dex */
public abstract class NativeAd {
@NonNull
public static final String ASSET_ADCHOICES_CONTAINER_VIEW = "1098";
@Deprecated
public static abstract class AdChoicesInfo {
@NonNull
public abstract List<Image> getImages();
@NonNull
public abstract CharSequence getText();
}
@Deprecated
public static abstract class Image {
@NonNull
public abstract Drawable getDrawable();
public abstract double getScale();
@NonNull
public abstract Uri getUri();
public int zza() {
return -1;
}
public int zzb() {
return -1;
}
}
@Deprecated
public abstract void performClick(@NonNull Bundle bundle);
@Deprecated
public abstract boolean recordImpression(@NonNull Bundle bundle);
@Deprecated
public abstract void reportTouchEvent(@NonNull Bundle bundle);
}

View File

@@ -0,0 +1,139 @@
package com.google.android.gms.ads.formats;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.ads.VideoOptions;
@Deprecated
/* loaded from: classes2.dex */
public final class NativeAdOptions {
public static final int ADCHOICES_BOTTOM_LEFT = 3;
public static final int ADCHOICES_BOTTOM_RIGHT = 2;
public static final int ADCHOICES_TOP_LEFT = 0;
public static final int ADCHOICES_TOP_RIGHT = 1;
public static final int NATIVE_MEDIA_ASPECT_RATIO_ANY = 1;
public static final int NATIVE_MEDIA_ASPECT_RATIO_LANDSCAPE = 2;
public static final int NATIVE_MEDIA_ASPECT_RATIO_PORTRAIT = 3;
public static final int NATIVE_MEDIA_ASPECT_RATIO_SQUARE = 4;
public static final int NATIVE_MEDIA_ASPECT_RATIO_UNKNOWN = 0;
@Deprecated
public static final int ORIENTATION_ANY = 0;
@Deprecated
public static final int ORIENTATION_LANDSCAPE = 2;
@Deprecated
public static final int ORIENTATION_PORTRAIT = 1;
private final boolean zza;
private final int zzb;
private final int zzc;
private final boolean zzd;
private final int zze;
private final VideoOptions zzf;
private final boolean zzg;
public @interface AdChoicesPlacement {
}
public static final class Builder {
private VideoOptions zze;
private boolean zza = false;
private int zzb = -1;
private int zzc = 0;
private boolean zzd = false;
private int zzf = 1;
private boolean zzg = false;
@NonNull
public NativeAdOptions build() {
return new NativeAdOptions(this, null);
}
@NonNull
public Builder setAdChoicesPlacement(@AdChoicesPlacement int i) {
this.zzf = i;
return this;
}
@NonNull
@Deprecated
public Builder setImageOrientation(int i) {
this.zzb = i;
return this;
}
@NonNull
public Builder setMediaAspectRatio(@NativeMediaAspectRatio int i) {
this.zzc = i;
return this;
}
@NonNull
public Builder setRequestCustomMuteThisAd(boolean z) {
this.zzg = z;
return this;
}
@NonNull
public Builder setRequestMultipleImages(boolean z) {
this.zzd = z;
return this;
}
@NonNull
public Builder setReturnUrlsForImageAssets(boolean z) {
this.zza = z;
return this;
}
@NonNull
public Builder setVideoOptions(@NonNull VideoOptions videoOptions) {
this.zze = videoOptions;
return this;
}
}
public @interface NativeMediaAspectRatio {
}
public /* synthetic */ NativeAdOptions(Builder builder, zzd zzdVar) {
this.zza = builder.zza;
this.zzb = builder.zzb;
this.zzc = builder.zzc;
this.zzd = builder.zzd;
this.zze = builder.zzf;
this.zzf = builder.zze;
this.zzg = builder.zzg;
}
public int getAdChoicesPlacement() {
return this.zze;
}
@Deprecated
public int getImageOrientation() {
return this.zzb;
}
public int getMediaAspectRatio() {
return this.zzc;
}
@Nullable
public VideoOptions getVideoOptions() {
return this.zzf;
}
public boolean shouldRequestMultipleImages() {
return this.zzd;
}
public boolean shouldReturnUrlsForImageAssets() {
return this.zza;
}
public final boolean zza() {
return this.zzg;
}
}

View File

@@ -0,0 +1,9 @@
package com.google.android.gms.ads.formats;
import androidx.annotation.NonNull;
import com.google.android.gms.ads.admanager.AdManagerAdView;
/* loaded from: classes2.dex */
public interface OnAdManagerAdViewLoadedListener {
void onAdManagerAdViewLoaded(@NonNull AdManagerAdView adManagerAdView);
}

View File

@@ -0,0 +1,79 @@
package com.google.android.gms.ads.formats;
import android.os.IBinder;
import android.os.Parcel;
import android.os.Parcelable;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.ads.internal.client.zzcl;
import com.google.android.gms.ads.internal.client.zzcm;
import com.google.android.gms.common.annotation.KeepForSdk;
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 com.google.android.gms.internal.ads.zzbhm;
import com.google.android.gms.internal.ads.zzbhn;
@SafeParcelable.Class(creator = "PublisherAdViewOptionsCreator")
@Deprecated
/* loaded from: classes2.dex */
public final class PublisherAdViewOptions extends AbstractSafeParcelable {
@NonNull
public static final Parcelable.Creator<PublisherAdViewOptions> CREATOR = new zzh();
@SafeParcelable.Field(getter = "getManualImpressionsEnabled", id = 1)
private final boolean zza;
@Nullable
@SafeParcelable.Field(getter = "getAppEventListenerBinder", id = 2, type = "android.os.IBinder")
private final zzcm zzb;
@Nullable
@SafeParcelable.Field(getter = "getDelayedBannerAdListenerBinder", id = 3)
private final IBinder zzc;
@Deprecated
public static final class Builder {
@NonNull
@KeepForSdk
public Builder setShouldDelayBannerRenderingListener(@NonNull ShouldDelayBannerRenderingListener shouldDelayBannerRenderingListener) {
return this;
}
}
@SafeParcelable.Constructor
public PublisherAdViewOptions(@SafeParcelable.Param(id = 1) boolean z, @Nullable @SafeParcelable.Param(id = 2) IBinder iBinder, @Nullable @SafeParcelable.Param(id = 3) IBinder iBinder2) {
this.zza = z;
this.zzb = iBinder != null ? zzcl.zzd(iBinder) : null;
this.zzc = iBinder2;
}
@Override // android.os.Parcelable
public final void writeToParcel(@NonNull Parcel parcel, int i) {
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeBoolean(parcel, 1, this.zza);
zzcm zzcmVar = this.zzb;
SafeParcelWriter.writeIBinder(parcel, 2, zzcmVar == null ? null : zzcmVar.asBinder(), false);
SafeParcelWriter.writeIBinder(parcel, 3, this.zzc, false);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
@Nullable
public final zzcm zza() {
return this.zzb;
}
@Nullable
public final zzbhn zzb() {
IBinder iBinder = this.zzc;
if (iBinder == null) {
return null;
}
return zzbhm.zzb(iBinder);
}
public final boolean zzc() {
return this.zza;
}
}

View File

@@ -0,0 +1,6 @@
package com.google.android.gms.ads.formats;
@Deprecated
/* loaded from: classes2.dex */
public interface ShouldDelayBannerRenderingListener {
}

View File

@@ -0,0 +1,55 @@
package com.google.android.gms.ads.formats;
import android.os.Bundle;
import androidx.annotation.NonNull;
import com.google.android.gms.ads.VideoController;
import com.google.android.gms.ads.formats.NativeAd;
import com.google.android.gms.common.annotation.KeepForSdk;
import java.util.List;
@Deprecated
/* loaded from: classes2.dex */
public abstract class UnifiedNativeAd {
@KeepForSdk
public abstract void performClick(@NonNull Bundle bundle);
@KeepForSdk
public abstract boolean recordImpression(@NonNull Bundle bundle);
@KeepForSdk
public abstract void reportTouchEvent(@NonNull Bundle bundle);
@NonNull
@Deprecated
public abstract VideoController zza();
@NonNull
public abstract NativeAd.Image zzb();
@NonNull
public abstract Double zzc();
@NonNull
public abstract Object zzd();
@NonNull
public abstract String zze();
@NonNull
public abstract String zzf();
@NonNull
public abstract String zzg();
@NonNull
public abstract String zzh();
@NonNull
public abstract String zzi();
@NonNull
public abstract String zzj();
@NonNull
public abstract List zzk();
}

View File

@@ -0,0 +1,41 @@
package com.google.android.gms.ads.formats;
import androidx.annotation.NonNull;
@Deprecated
/* loaded from: classes2.dex */
public class UnifiedNativeAdAssetNames {
@NonNull
public static final String ASSET_ADCHOICES_CONTAINER_VIEW = "3011";
@NonNull
public static final String ASSET_ADVERTISER = "3005";
@NonNull
public static final String ASSET_BODY = "3004";
@NonNull
public static final String ASSET_CALL_TO_ACTION = "3002";
@NonNull
public static final String ASSET_HEADLINE = "3001";
@NonNull
public static final String ASSET_ICON = "3003";
@NonNull
public static final String ASSET_IMAGE = "3008";
@NonNull
public static final String ASSET_MEDIA_VIDEO = "3010";
@NonNull
public static final String ASSET_PRICE = "3007";
@NonNull
public static final String ASSET_STAR_RATING = "3009";
@NonNull
public static final String ASSET_STORE = "3006";
}

View File

@@ -0,0 +1,12 @@
package com.google.android.gms.ads.formats;
import android.content.Context;
import android.widget.RelativeLayout;
@Deprecated
/* loaded from: classes2.dex */
public final class zza extends RelativeLayout {
public zza(Context context) {
super(context);
}
}

View File

@@ -0,0 +1,34 @@
package com.google.android.gms.ads.formats;
import android.os.IBinder;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
/* loaded from: classes2.dex */
public final class zzc implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
IBinder iBinder = null;
boolean z = false;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
int fieldId = SafeParcelReader.getFieldId(readHeader);
if (fieldId == 1) {
z = SafeParcelReader.readBoolean(parcel, readHeader);
} else if (fieldId != 2) {
SafeParcelReader.skipUnknownField(parcel, readHeader);
} else {
iBinder = SafeParcelReader.readIBinder(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new AdManagerAdViewOptions(z, iBinder);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new AdManagerAdViewOptions[i];
}
}

View File

@@ -0,0 +1,9 @@
package com.google.android.gms.ads.formats;
import java.util.WeakHashMap;
@Deprecated
/* loaded from: classes2.dex */
public final class zze {
public static final WeakHashMap zza = new WeakHashMap();
}

View File

@@ -0,0 +1,8 @@
package com.google.android.gms.ads.formats;
import com.google.android.gms.internal.ads.zzbgr;
/* loaded from: classes2.dex */
public interface zzf {
void zzb(zzbgr zzbgrVar, String str);
}

View File

@@ -0,0 +1,8 @@
package com.google.android.gms.ads.formats;
import com.google.android.gms.internal.ads.zzbgr;
/* loaded from: classes2.dex */
public interface zzg {
void zzc(zzbgr zzbgrVar);
}

View File

@@ -0,0 +1,37 @@
package com.google.android.gms.ads.formats;
import android.os.IBinder;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelReader;
/* loaded from: classes2.dex */
public final class zzh implements Parcelable.Creator {
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ Object createFromParcel(Parcel parcel) {
int validateObjectHeader = SafeParcelReader.validateObjectHeader(parcel);
IBinder iBinder = null;
boolean z = false;
IBinder iBinder2 = null;
while (parcel.dataPosition() < validateObjectHeader) {
int readHeader = SafeParcelReader.readHeader(parcel);
int fieldId = SafeParcelReader.getFieldId(readHeader);
if (fieldId == 1) {
z = SafeParcelReader.readBoolean(parcel, readHeader);
} else if (fieldId == 2) {
iBinder = SafeParcelReader.readIBinder(parcel, readHeader);
} else if (fieldId != 3) {
SafeParcelReader.skipUnknownField(parcel, readHeader);
} else {
iBinder2 = SafeParcelReader.readIBinder(parcel, readHeader);
}
}
SafeParcelReader.ensureAtEnd(parcel, validateObjectHeader);
return new PublisherAdViewOptions(z, iBinder, iBinder2);
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ Object[] newArray(int i) {
return new PublisherAdViewOptions[i];
}
}

View File

@@ -0,0 +1,7 @@
package com.google.android.gms.ads.formats;
@Deprecated
/* loaded from: classes2.dex */
public interface zzi {
void zza(UnifiedNativeAd unifiedNativeAd);
}

View File

@@ -0,0 +1,40 @@
package com.google.android.gms.ads.formats;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.widget.FrameLayout;
@Deprecated
/* loaded from: classes2.dex */
public final class zzj extends FrameLayout {
@Override // android.view.ViewGroup
public final void addView(View view, int i, ViewGroup.LayoutParams layoutParams) {
throw null;
}
@Override // android.view.ViewGroup, android.view.ViewParent
public final void bringChildToFront(View view) {
throw null;
}
@Override // android.view.ViewGroup, android.view.View
public final boolean dispatchTouchEvent(MotionEvent motionEvent) {
throw null;
}
@Override // android.view.View
public final void onVisibilityChanged(View view, int i) {
throw null;
}
@Override // android.view.ViewGroup
public final void removeAllViews() {
throw null;
}
@Override // android.view.ViewGroup, android.view.ViewManager
public final void removeView(View view) {
throw null;
}
}

View File

@@ -0,0 +1,26 @@
package com.google.android.gms.ads.h5;
import android.content.Context;
import androidx.annotation.NonNull;
import com.google.android.gms.internal.ads.zzbkv;
/* loaded from: classes2.dex */
public final class H5AdsRequestHandler {
private final zzbkv zza;
public H5AdsRequestHandler(@NonNull Context context, @NonNull OnH5AdsEventListener onH5AdsEventListener) {
this.zza = new zzbkv(context, onH5AdsEventListener);
}
public void clearAdObjects() {
this.zza.zza();
}
public boolean handleH5AdsRequest(@NonNull String str) {
return this.zza.zzb(str);
}
public boolean shouldInterceptRequest(@NonNull String str) {
return zzbkv.zzc(str);
}
}

View File

@@ -0,0 +1,39 @@
package com.google.android.gms.ads.h5;
import android.content.Context;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RequiresApi;
import com.google.android.gms.internal.ads.zzbkk;
import com.google.android.gms.internal.ads.zzbkx;
@RequiresApi(api = 21)
/* loaded from: classes2.dex */
public final class H5AdsWebViewClient extends zzbkk {
private final zzbkx zza;
public H5AdsWebViewClient(@NonNull Context context, @NonNull WebView webView) {
this.zza = new zzbkx(context, webView);
}
public void clearAdObjects() {
this.zza.zza();
}
@Override // com.google.android.gms.internal.ads.zzbkk
@NonNull
public WebViewClient getDelegate() {
return this.zza;
}
@Nullable
public WebViewClient getDelegateWebViewClient() {
return this.zza.getDelegate();
}
public void setDelegateWebViewClient(@Nullable WebViewClient webViewClient) {
this.zza.zzb(webViewClient);
}
}

View File

@@ -0,0 +1,8 @@
package com.google.android.gms.ads.h5;
import androidx.annotation.NonNull;
/* loaded from: classes2.dex */
public interface OnH5AdsEventListener {
void onH5AdsEvent(@NonNull String str);
}

View File

@@ -0,0 +1,320 @@
package com.google.android.gms.ads.identifier;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.RemoteException;
import android.os.SystemClock;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.work.WorkRequest;
import com.google.android.gms.common.BlockingServiceConnection;
import com.google.android.gms.common.GoogleApiAvailabilityLight;
import com.google.android.gms.common.GooglePlayServicesNotAvailableException;
import com.google.android.gms.common.GooglePlayServicesRepairableException;
import com.google.android.gms.common.GooglePlayServicesUtilLight;
import com.google.android.gms.common.annotation.KeepForSdk;
import com.google.android.gms.common.annotation.KeepForSdkWithMembers;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.common.internal.ShowFirstParty;
import com.google.android.gms.common.stats.ConnectionTracker;
import com.google.android.gms.common.util.VisibleForTesting;
import com.google.android.gms.internal.ads_identifier.zze;
import com.google.android.gms.internal.ads_identifier.zzf;
import com.ironsource.v8;
import java.io.IOException;
import java.util.HashMap;
import java.util.concurrent.TimeUnit;
@KeepForSdk
/* loaded from: classes2.dex */
public class AdvertisingIdClient {
@Nullable
BlockingServiceConnection zza;
@Nullable
zzf zzb;
boolean zzc;
final Object zzd;
@Nullable
zzb zze;
final long zzf;
private final Context zzg;
@KeepForSdkWithMembers
public static final class Info {
@Nullable
private final String zza;
private final boolean zzb;
@Deprecated
public Info(@Nullable String str, boolean z) {
this.zza = str;
this.zzb = z;
}
@Nullable
public String getId() {
return this.zza;
}
public boolean isLimitAdTrackingEnabled() {
return this.zzb;
}
@NonNull
public String toString() {
String str = this.zza;
boolean z = this.zzb;
StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 7);
sb.append("{");
sb.append(str);
sb.append("}");
sb.append(z);
return sb.toString();
}
}
@KeepForSdk
public AdvertisingIdClient(@NonNull Context context) {
this(context, WorkRequest.DEFAULT_BACKOFF_DELAY_MILLIS, false, false);
}
@NonNull
@KeepForSdk
public static Info getAdvertisingIdInfo(@NonNull Context context) throws IOException, IllegalStateException, GooglePlayServicesNotAvailableException, GooglePlayServicesRepairableException {
AdvertisingIdClient advertisingIdClient = new AdvertisingIdClient(context, -1L, true, false);
try {
long elapsedRealtime = SystemClock.elapsedRealtime();
advertisingIdClient.zzb(false);
Info zzd = advertisingIdClient.zzd(-1);
advertisingIdClient.zzc(zzd, true, 0.0f, SystemClock.elapsedRealtime() - elapsedRealtime, "", null);
return zzd;
} finally {
}
}
@KeepForSdk
public static boolean getIsAdIdFakeForDebugLogging(@NonNull Context context) throws IOException, GooglePlayServicesNotAvailableException, GooglePlayServicesRepairableException {
boolean zzd;
AdvertisingIdClient advertisingIdClient = new AdvertisingIdClient(context, -1L, false, false);
try {
advertisingIdClient.zzb(false);
Preconditions.checkNotMainThread("Calling this from your main thread can lead to deadlock");
synchronized (advertisingIdClient) {
try {
if (!advertisingIdClient.zzc) {
synchronized (advertisingIdClient.zzd) {
zzb zzbVar = advertisingIdClient.zze;
if (zzbVar == null || !zzbVar.zzb) {
throw new IOException("AdvertisingIdClient is not connected.");
}
}
try {
advertisingIdClient.zzb(false);
if (!advertisingIdClient.zzc) {
throw new IOException("AdvertisingIdClient cannot reconnect.");
}
} catch (Exception e) {
throw new IOException("AdvertisingIdClient cannot reconnect.", e);
}
}
Preconditions.checkNotNull(advertisingIdClient.zza);
Preconditions.checkNotNull(advertisingIdClient.zzb);
try {
zzd = advertisingIdClient.zzb.zzd();
} catch (RemoteException unused) {
throw new IOException("Remote exception");
}
} catch (Throwable th) {
throw th;
}
}
advertisingIdClient.zze();
return zzd;
} finally {
advertisingIdClient.zza();
}
}
@ShowFirstParty
@KeepForSdk
public static void setShouldSkipGmsCoreVersionCheck(boolean z) {
}
private final Info zzd(int i) throws IOException {
Info info;
Preconditions.checkNotMainThread("Calling this from your main thread can lead to deadlock");
synchronized (this) {
try {
if (!this.zzc) {
synchronized (this.zzd) {
zzb zzbVar = this.zze;
if (zzbVar == null || !zzbVar.zzb) {
throw new IOException("AdvertisingIdClient is not connected.");
}
}
try {
zzb(false);
if (!this.zzc) {
throw new IOException("AdvertisingIdClient cannot reconnect.");
}
} catch (Exception e) {
throw new IOException("AdvertisingIdClient cannot reconnect.", e);
}
}
Preconditions.checkNotNull(this.zza);
Preconditions.checkNotNull(this.zzb);
try {
info = new Info(this.zzb.zzc(), this.zzb.zze(true));
} catch (RemoteException unused) {
throw new IOException("Remote exception");
}
} catch (Throwable th) {
throw th;
}
}
zze();
return info;
}
private final void zze() {
synchronized (this.zzd) {
zzb zzbVar = this.zze;
if (zzbVar != null) {
zzbVar.zza.countDown();
try {
this.zze.join();
} catch (InterruptedException unused) {
}
}
long j = this.zzf;
if (j > 0) {
this.zze = new zzb(this, j);
}
}
}
public final void finalize() throws Throwable {
zza();
super.finalize();
}
@NonNull
@KeepForSdk
public Info getInfo() throws IOException {
return zzd(-1);
}
@KeepForSdk
public void start() throws IOException, IllegalStateException, GooglePlayServicesNotAvailableException, GooglePlayServicesRepairableException {
zzb(true);
}
public final void zza() {
Preconditions.checkNotMainThread("Calling this from your main thread can lead to deadlock");
synchronized (this) {
try {
if (this.zzg == null || this.zza == null) {
return;
}
try {
if (this.zzc) {
ConnectionTracker.getInstance().unbindService(this.zzg, this.zza);
}
} catch (Throwable unused) {
}
this.zzc = false;
this.zzb = null;
this.zza = null;
} catch (Throwable th) {
throw th;
}
}
}
@VisibleForTesting
public final void zzb(boolean z) throws IOException, IllegalStateException, GooglePlayServicesNotAvailableException, GooglePlayServicesRepairableException {
Preconditions.checkNotMainThread("Calling this from your main thread can lead to deadlock");
synchronized (this) {
try {
if (this.zzc) {
zza();
}
Context context = this.zzg;
try {
context.getPackageManager().getPackageInfo("com.android.vending", 0);
int isGooglePlayServicesAvailable = GoogleApiAvailabilityLight.getInstance().isGooglePlayServicesAvailable(context, GooglePlayServicesUtilLight.GOOGLE_PLAY_SERVICES_VERSION_CODE);
if (isGooglePlayServicesAvailable != 0 && isGooglePlayServicesAvailable != 2) {
throw new IOException("Google Play services not available");
}
BlockingServiceConnection blockingServiceConnection = new BlockingServiceConnection();
Intent intent = new Intent("com.google.android.gms.ads.identifier.service.START");
intent.setPackage("com.google.android.gms");
try {
if (!ConnectionTracker.getInstance().bindService(context, intent, blockingServiceConnection, 1)) {
throw new IOException("Connection failure");
}
this.zza = blockingServiceConnection;
try {
this.zzb = zze.zza(blockingServiceConnection.getServiceWithTimeout(WorkRequest.MIN_BACKOFF_MILLIS, TimeUnit.MILLISECONDS));
this.zzc = true;
if (z) {
zze();
}
} catch (InterruptedException unused) {
throw new IOException("Interrupted exception");
} catch (Throwable th) {
throw new IOException(th);
}
} finally {
IOException iOException = new IOException(th);
}
} catch (PackageManager.NameNotFoundException unused2) {
throw new GooglePlayServicesNotAvailableException(9);
}
} catch (Throwable th2) {
throw th2;
}
}
}
@VisibleForTesting
public final boolean zzc(@Nullable Info info, boolean z, float f, long j, String str, @Nullable Throwable th) {
if (Math.random() > 0.0d) {
return false;
}
HashMap hashMap = new HashMap();
hashMap.put(v8.h.L0, "1");
if (info != null) {
hashMap.put("limit_ad_tracking", true != info.isLimitAdTrackingEnabled() ? "0" : "1");
String id = info.getId();
if (id != null) {
hashMap.put("ad_id_size", Integer.toString(id.length()));
}
}
if (th != null) {
hashMap.put("error", th.getClass().getName());
}
hashMap.put("tag", "AdvertisingIdClient");
hashMap.put("time_spent", Long.toString(j));
new zza(this, hashMap).start();
return true;
}
@VisibleForTesting
public AdvertisingIdClient(@NonNull Context context, long j, boolean z, boolean z2) {
Context applicationContext;
this.zzd = new Object();
Preconditions.checkNotNull(context);
if (z && (applicationContext = context.getApplicationContext()) != null) {
context = applicationContext;
}
this.zzg = context;
this.zzc = false;
this.zzf = j;
}
}

View File

@@ -0,0 +1,23 @@
package com.google.android.gms.ads.identifier;
import android.net.Uri;
import java.util.Map;
/* loaded from: classes2.dex */
final class zza extends Thread {
final /* synthetic */ Map zza;
public zza(AdvertisingIdClient advertisingIdClient, Map map) {
this.zza = map;
}
@Override // java.lang.Thread, java.lang.Runnable
public final void run() {
Map map = this.zza;
Uri.Builder buildUpon = Uri.parse("https://pagead2.googlesyndication.com/pagead/gen_204?id=gmob-apps").buildUpon();
for (String str : map.keySet()) {
buildUpon.appendQueryParameter(str, (String) map.get(str));
}
zzc.zza(buildUpon.build().toString());
}
}

View File

@@ -0,0 +1,41 @@
package com.google.android.gms.ads.identifier;
import com.google.android.gms.common.util.VisibleForTesting;
import java.lang.ref.WeakReference;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
@VisibleForTesting
/* loaded from: classes2.dex */
final class zzb extends Thread {
final CountDownLatch zza = new CountDownLatch(1);
boolean zzb = false;
private final WeakReference<AdvertisingIdClient> zzc;
private final long zzd;
public zzb(AdvertisingIdClient advertisingIdClient, long j) {
this.zzc = new WeakReference<>(advertisingIdClient);
this.zzd = j;
start();
}
private final void zza() {
AdvertisingIdClient advertisingIdClient = this.zzc.get();
if (advertisingIdClient != null) {
advertisingIdClient.zza();
this.zzb = true;
}
}
@Override // java.lang.Thread, java.lang.Runnable
public final void run() {
try {
if (this.zza.await(this.zzd, TimeUnit.MILLISECONDS)) {
return;
}
zza();
} catch (InterruptedException unused) {
zza();
}
}
}

View File

@@ -0,0 +1,67 @@
package com.google.android.gms.ads.identifier;
import android.util.Log;
import androidx.annotation.WorkerThread;
import com.google.android.gms.internal.ads_identifier.zzi;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
/* loaded from: classes2.dex */
public final class zzc {
@WorkerThread
public static final void zza(String str) {
try {
try {
zzi.zzb(263);
HttpURLConnection httpURLConnection = (HttpURLConnection) new URL(str).openConnection();
try {
int responseCode = httpURLConnection.getResponseCode();
if (responseCode < 200 || responseCode >= 300) {
StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 65);
sb.append("Received non-success response code ");
sb.append(responseCode);
sb.append(" from pinging URL: ");
sb.append(str);
Log.w("HttpUrlPinger", sb.toString());
}
zzi.zza();
} finally {
httpURLConnection.disconnect();
}
} catch (IOException e) {
e = e;
String message = e.getMessage();
StringBuilder sb2 = new StringBuilder(String.valueOf(str).length() + 27 + String.valueOf(message).length());
sb2.append("Error while pinging URL: ");
sb2.append(str);
sb2.append(". ");
sb2.append(message);
Log.w("HttpUrlPinger", sb2.toString(), e);
zzi.zza();
} catch (IndexOutOfBoundsException e2) {
String message2 = e2.getMessage();
StringBuilder sb3 = new StringBuilder(String.valueOf(str).length() + 32 + String.valueOf(message2).length());
sb3.append("Error while parsing ping URL: ");
sb3.append(str);
sb3.append(". ");
sb3.append(message2);
Log.w("HttpUrlPinger", sb3.toString(), e2);
zzi.zza();
} catch (RuntimeException e3) {
e = e3;
String message3 = e.getMessage();
StringBuilder sb22 = new StringBuilder(String.valueOf(str).length() + 27 + String.valueOf(message3).length());
sb22.append("Error while pinging URL: ");
sb22.append(str);
sb22.append(". ");
sb22.append(message3);
Log.w("HttpUrlPinger", sb22.toString(), e);
zzi.zza();
}
} catch (Throwable th) {
zzi.zza();
throw th;
}
}
}

View File

@@ -0,0 +1,63 @@
package com.google.android.gms.ads.impl;
/* loaded from: classes2.dex */
public final class R {
public static final class drawable {
public static int admob_close_button_black_circle_white_cross = 0x7f08005a;
public static int admob_close_button_white_circle_black_cross = 0x7f08005b;
public static int admob_close_button_white_cross = 0x7f08005c;
public static int offline_dialog_background = 0x7f08024e;
public static int offline_dialog_default_icon_42dp = 0x7f08024f;
private drawable() {
}
}
public static final class id {
public static int offline_dialog_advertiser_name = 0x7f0a0234;
public static int offline_dialog_image = 0x7f0a0235;
public static int offline_dialog_text = 0x7f0a0236;
private id() {
}
}
public static final class layout {
public static int offline_ads_dialog = 0x7f0d00ae;
private layout() {
}
}
public static final class string {
public static int native_body = 0x7f120157;
public static int native_headline = 0x7f120158;
public static int native_media_view = 0x7f120159;
public static int notifications_permission_confirm = 0x7f120162;
public static int notifications_permission_decline = 0x7f120163;
public static int notifications_permission_title = 0x7f120164;
public static int offline_dialog_image_description = 0x7f120165;
public static int offline_dialog_text = 0x7f120166;
public static int offline_notification_title = 0x7f120167;
public static int offline_notification_title_with_advertiser = 0x7f120168;
public static int offline_opt_in_confirm = 0x7f120169;
public static int offline_opt_in_decline = 0x7f12016a;
public static int offline_opt_in_message = 0x7f12016b;
public static int offline_opt_in_title = 0x7f12016c;
public static int s1 = 0x7f120178;
public static int s2 = 0x7f120179;
public static int s3 = 0x7f12017a;
public static int s4 = 0x7f12017b;
public static int s5 = 0x7f12017c;
public static int s6 = 0x7f12017d;
public static int s7 = 0x7f12017e;
public static int watermark_label_prefix = 0x7f12018a;
private string() {
}
}
private R() {
}
}

View File

@@ -0,0 +1,20 @@
package com.google.android.gms.ads.initialization;
import androidx.annotation.NonNull;
/* loaded from: classes2.dex */
public interface AdapterStatus {
public enum State {
NOT_READY,
READY
}
@NonNull
String getDescription();
@NonNull
State getInitializationState();
int getLatency();
}

View File

@@ -0,0 +1,10 @@
package com.google.android.gms.ads.initialization;
import androidx.annotation.NonNull;
import java.util.Map;
/* loaded from: classes2.dex */
public interface InitializationStatus {
@NonNull
Map<String, AdapterStatus> getAdapterStatusMap();
}

View File

@@ -0,0 +1,8 @@
package com.google.android.gms.ads.initialization;
import androidx.annotation.NonNull;
/* loaded from: classes2.dex */
public interface OnInitializationCompleteListener {
void onInitializationComplete(@NonNull InitializationStatus initializationStatus);
}

View File

@@ -0,0 +1,161 @@
package com.google.android.gms.ads.internal;
import android.app.Activity;
import android.content.Context;
import android.view.View;
import android.widget.FrameLayout;
import com.google.android.gms.ads.internal.client.zzbu;
import com.google.android.gms.ads.internal.client.zzby;
import com.google.android.gms.ads.internal.client.zzci;
import com.google.android.gms.ads.internal.client.zzco;
import com.google.android.gms.ads.internal.client.zzcz;
import com.google.android.gms.ads.internal.client.zzdu;
import com.google.android.gms.ads.internal.overlay.AdOverlayInfoParcel;
import com.google.android.gms.ads.internal.overlay.zzab;
import com.google.android.gms.ads.internal.overlay.zzaf;
import com.google.android.gms.ads.internal.overlay.zzah;
import com.google.android.gms.ads.internal.overlay.zzai;
import com.google.android.gms.ads.internal.overlay.zzw;
import com.google.android.gms.ads.internal.util.client.VersionInfoParcel;
import com.google.android.gms.common.annotation.KeepForSdk;
import com.google.android.gms.dynamic.IObjectWrapper;
import com.google.android.gms.dynamic.ObjectWrapper;
import com.google.android.gms.internal.ads.zzbga;
import com.google.android.gms.internal.ads.zzbgg;
import com.google.android.gms.internal.ads.zzbko;
import com.google.android.gms.internal.ads.zzbkr;
import com.google.android.gms.internal.ads.zzbpe;
import com.google.android.gms.internal.ads.zzbsx;
import com.google.android.gms.internal.ads.zzbte;
import com.google.android.gms.internal.ads.zzbvz;
import com.google.android.gms.internal.ads.zzbwp;
import com.google.android.gms.internal.ads.zzbyu;
import com.google.android.gms.internal.ads.zzcgx;
import com.google.android.gms.internal.ads.zzdiz;
import com.google.android.gms.internal.ads.zzdjb;
import com.google.android.gms.internal.ads.zzdtg;
import com.google.android.gms.internal.ads.zzejq;
import com.google.android.gms.internal.ads.zzewo;
import com.google.android.gms.internal.ads.zzeyc;
import com.google.android.gms.internal.ads.zzezt;
import com.google.android.gms.internal.ads.zzfbh;
import java.util.HashMap;
/* loaded from: classes2.dex */
public class ClientApi extends zzco {
@KeepForSdk
public ClientApi() {
}
@Override // com.google.android.gms.ads.internal.client.zzcp
public final zzbu zzb(IObjectWrapper iObjectWrapper, String str, zzbpe zzbpeVar, int i) {
Context context = (Context) ObjectWrapper.unwrap(iObjectWrapper);
return new zzejq(zzcgx.zzb(context, zzbpeVar, i), context, str);
}
@Override // com.google.android.gms.ads.internal.client.zzcp
public final zzby zzc(IObjectWrapper iObjectWrapper, com.google.android.gms.ads.internal.client.zzs zzsVar, String str, zzbpe zzbpeVar, int i) {
Context context = (Context) ObjectWrapper.unwrap(iObjectWrapper);
zzewo zzt = zzcgx.zzb(context, zzbpeVar, i).zzt();
zzt.zza(str);
zzt.zzb(context);
return zzt.zzc().zza();
}
@Override // com.google.android.gms.ads.internal.client.zzcp
public final zzby zzd(IObjectWrapper iObjectWrapper, com.google.android.gms.ads.internal.client.zzs zzsVar, String str, zzbpe zzbpeVar, int i) {
Context context = (Context) ObjectWrapper.unwrap(iObjectWrapper);
zzeyc zzu = zzcgx.zzb(context, zzbpeVar, i).zzu();
zzu.zzc(context);
zzu.zza(zzsVar);
zzu.zzb(str);
return zzu.zzd().zza();
}
@Override // com.google.android.gms.ads.internal.client.zzcp
public final zzby zze(IObjectWrapper iObjectWrapper, com.google.android.gms.ads.internal.client.zzs zzsVar, String str, zzbpe zzbpeVar, int i) {
Context context = (Context) ObjectWrapper.unwrap(iObjectWrapper);
zzezt zzv = zzcgx.zzb(context, zzbpeVar, i).zzv();
zzv.zzc(context);
zzv.zza(zzsVar);
zzv.zzb(str);
return zzv.zzd().zza();
}
@Override // com.google.android.gms.ads.internal.client.zzcp
public final zzby zzf(IObjectWrapper iObjectWrapper, com.google.android.gms.ads.internal.client.zzs zzsVar, String str, int i) {
return new zzu((Context) ObjectWrapper.unwrap(iObjectWrapper), zzsVar, str, new VersionInfoParcel(244410000, i, true, false));
}
@Override // com.google.android.gms.ads.internal.client.zzcp
public final zzci zzg(IObjectWrapper iObjectWrapper, zzbpe zzbpeVar, int i) {
return zzcgx.zzb((Context) ObjectWrapper.unwrap(iObjectWrapper), zzbpeVar, i).zzA();
}
@Override // com.google.android.gms.ads.internal.client.zzcp
public final zzcz zzh(IObjectWrapper iObjectWrapper, int i) {
return zzcgx.zzb((Context) ObjectWrapper.unwrap(iObjectWrapper), null, i).zzc();
}
@Override // com.google.android.gms.ads.internal.client.zzcp
public final zzdu zzi(IObjectWrapper iObjectWrapper, zzbpe zzbpeVar, int i) {
return zzcgx.zzb((Context) ObjectWrapper.unwrap(iObjectWrapper), zzbpeVar, i).zzm();
}
@Override // com.google.android.gms.ads.internal.client.zzcp
public final zzbga zzj(IObjectWrapper iObjectWrapper, IObjectWrapper iObjectWrapper2) {
return new zzdjb((FrameLayout) ObjectWrapper.unwrap(iObjectWrapper), (FrameLayout) ObjectWrapper.unwrap(iObjectWrapper2), 244410000);
}
@Override // com.google.android.gms.ads.internal.client.zzcp
public final zzbgg zzk(IObjectWrapper iObjectWrapper, IObjectWrapper iObjectWrapper2, IObjectWrapper iObjectWrapper3) {
return new zzdiz((View) ObjectWrapper.unwrap(iObjectWrapper), (HashMap) ObjectWrapper.unwrap(iObjectWrapper2), (HashMap) ObjectWrapper.unwrap(iObjectWrapper3));
}
@Override // com.google.android.gms.ads.internal.client.zzcp
public final zzbkr zzl(IObjectWrapper iObjectWrapper, zzbpe zzbpeVar, int i, zzbko zzbkoVar) {
Context context = (Context) ObjectWrapper.unwrap(iObjectWrapper);
zzdtg zzk = zzcgx.zzb(context, zzbpeVar, i).zzk();
zzk.zzb(context);
zzk.zza(zzbkoVar);
return zzk.zzc().zzd();
}
@Override // com.google.android.gms.ads.internal.client.zzcp
public final zzbsx zzm(IObjectWrapper iObjectWrapper, zzbpe zzbpeVar, int i) {
return zzcgx.zzb((Context) ObjectWrapper.unwrap(iObjectWrapper), zzbpeVar, i).zzn();
}
@Override // com.google.android.gms.ads.internal.client.zzcp
public final zzbte zzn(IObjectWrapper iObjectWrapper) {
Activity activity = (Activity) ObjectWrapper.unwrap(iObjectWrapper);
AdOverlayInfoParcel zza = AdOverlayInfoParcel.zza(activity.getIntent());
if (zza == null) {
return new zzw(activity);
}
int i = zza.zzk;
return i != 1 ? i != 2 ? i != 3 ? i != 4 ? i != 5 ? new zzw(activity) : new zzaf(activity) : new zzab(activity, zza) : new zzai(activity) : new zzah(activity) : new com.google.android.gms.ads.internal.overlay.zzv(activity);
}
@Override // com.google.android.gms.ads.internal.client.zzcp
public final zzbvz zzo(IObjectWrapper iObjectWrapper, zzbpe zzbpeVar, int i) {
Context context = (Context) ObjectWrapper.unwrap(iObjectWrapper);
zzfbh zzw = zzcgx.zzb(context, zzbpeVar, i).zzw();
zzw.zzb(context);
return zzw.zzc().zzb();
}
@Override // com.google.android.gms.ads.internal.client.zzcp
public final zzbwp zzp(IObjectWrapper iObjectWrapper, String str, zzbpe zzbpeVar, int i) {
Context context = (Context) ObjectWrapper.unwrap(iObjectWrapper);
zzfbh zzw = zzcgx.zzb(context, zzbpeVar, i).zzw();
zzw.zzb(context);
zzw.zza(str);
return zzw.zzc().zza();
}
@Override // com.google.android.gms.ads.internal.client.zzcp
public final zzbyu zzq(IObjectWrapper iObjectWrapper, zzbpe zzbpeVar, int i) {
return zzcgx.zzb((Context) ObjectWrapper.unwrap(iObjectWrapper), zzbpeVar, i).zzq();
}
}

View File

@@ -0,0 +1,25 @@
package com.google.android.gms.ads.internal.client;
import android.content.Context;
import androidx.annotation.NonNull;
import com.google.android.gms.common.annotation.KeepForSdk;
import com.google.android.gms.dynamite.descriptors.com.google.android.gms.ads.dynamite.ModuleDescriptor;
import com.google.android.gms.internal.ads.zzbpa;
import com.google.android.gms.internal.ads.zzbpe;
@KeepForSdk
/* loaded from: classes2.dex */
public class LiteSdkInfo extends zzcv {
public LiteSdkInfo(@NonNull Context context) {
}
@Override // com.google.android.gms.ads.internal.client.zzcw
public zzbpe getAdapterCreator() {
return new zzbpa();
}
@Override // com.google.android.gms.ads.internal.client.zzcw
public zzfb getLiteSdkVersion() {
return new zzfb(ModuleDescriptor.MODULE_VERSION, 244410000, "23.6.0");
}
}

View File

@@ -0,0 +1,6 @@
package com.google.android.gms.ads.internal.client;
/* loaded from: classes2.dex */
public interface zza {
void onAdClicked();
}

View File

@@ -0,0 +1,97 @@
package com.google.android.gms.ads.internal.client;
import android.content.Context;
import android.content.res.TypedArray;
import android.text.TextUtils;
import android.util.AttributeSet;
import com.google.android.gms.ads.AdSize;
import com.google.android.gms.ads.R;
import com.ironsource.mediationsdk.l;
/* loaded from: classes2.dex */
public final class zzaa {
private final AdSize[] zza;
private final String zzb;
public zzaa(Context context, AttributeSet attributeSet) {
TypedArray obtainAttributes = context.getResources().obtainAttributes(attributeSet, R.styleable.AdsAttrs);
String string = obtainAttributes.getString(R.styleable.AdsAttrs_adSize);
String string2 = obtainAttributes.getString(R.styleable.AdsAttrs_adSizes);
boolean z = !TextUtils.isEmpty(string);
boolean z2 = !TextUtils.isEmpty(string2);
if (z && !z2) {
this.zza = zzc(string);
} else {
if (z || !z2) {
if (z) {
obtainAttributes.recycle();
throw new IllegalArgumentException("Either XML attribute \"adSize\" or XML attribute \"supportedAdSizes\" should be specified, but not both.");
}
obtainAttributes.recycle();
throw new IllegalArgumentException("Required XML attribute \"adSize\" was missing.");
}
this.zza = zzc(string2);
}
String string3 = obtainAttributes.getString(R.styleable.AdsAttrs_adUnitId);
this.zzb = string3;
obtainAttributes.recycle();
if (TextUtils.isEmpty(string3)) {
throw new IllegalArgumentException("Required XML attribute \"adUnitId\" was missing.");
}
}
private static AdSize[] zzc(String str) {
String[] split = str.split("\\s*,\\s*");
int length = split.length;
AdSize[] adSizeArr = new AdSize[length];
for (int i = 0; i < split.length; i++) {
String trim = split[i].trim();
if (trim.matches("^(\\d+|FULL_WIDTH)\\s*[xX]\\s*(\\d+|AUTO_HEIGHT)$")) {
String[] split2 = trim.split("[xX]");
split2[0] = split2[0].trim();
split2[1] = split2[1].trim();
try {
adSizeArr[i] = new AdSize("FULL_WIDTH".equals(split2[0]) ? -1 : Integer.parseInt(split2[0]), "AUTO_HEIGHT".equals(split2[1]) ? -2 : Integer.parseInt(split2[1]));
} catch (NumberFormatException unused) {
throw new IllegalArgumentException("Could not parse XML attribute \"adSize\": ".concat(trim));
}
} else if (l.a.equals(trim)) {
adSizeArr[i] = AdSize.BANNER;
} else if ("LARGE_BANNER".equals(trim)) {
adSizeArr[i] = AdSize.LARGE_BANNER;
} else if ("FULL_BANNER".equals(trim)) {
adSizeArr[i] = AdSize.FULL_BANNER;
} else if (l.d.equals(trim)) {
adSizeArr[i] = AdSize.LEADERBOARD;
} else if (l.g.equals(trim)) {
adSizeArr[i] = AdSize.MEDIUM_RECTANGLE;
} else if ("SMART_BANNER".equals(trim)) {
adSizeArr[i] = AdSize.SMART_BANNER;
} else if ("WIDE_SKYSCRAPER".equals(trim)) {
adSizeArr[i] = AdSize.WIDE_SKYSCRAPER;
} else if ("FLUID".equals(trim)) {
adSizeArr[i] = AdSize.FLUID;
} else {
if (!"ICON".equals(trim)) {
throw new IllegalArgumentException("Could not parse XML attribute \"adSize\": ".concat(trim));
}
adSizeArr[i] = AdSize.zza;
}
}
if (length != 0) {
return adSizeArr;
}
throw new IllegalArgumentException("Could not parse XML attribute \"adSize\": ".concat(str));
}
public final String zza() {
return this.zzb;
}
public final AdSize[] zzb(boolean z) {
if (z || this.zza.length == 1) {
return this.zza;
}
throw new IllegalArgumentException("The adSizes XML attribute is only allowed on PublisherAdViews.");
}
}

View File

@@ -0,0 +1,36 @@
package com.google.android.gms.ads.internal.client;
import android.content.Context;
import android.os.RemoteException;
import com.google.android.gms.dynamic.ObjectWrapper;
import com.google.android.gms.internal.ads.zzbpe;
import com.google.android.gms.internal.ads.zzbxb;
/* loaded from: classes2.dex */
final class zzab extends zzbb {
final /* synthetic */ Context zza;
final /* synthetic */ String zzb;
final /* synthetic */ zzbpe zzc;
public zzab(zzba zzbaVar, Context context, String str, zzbpe zzbpeVar) {
this.zza = context;
this.zzb = str;
this.zzc = zzbpeVar;
}
@Override // com.google.android.gms.ads.internal.client.zzbb
public final /* bridge */ /* synthetic */ Object zza() {
zzba.zzv(this.zza, "rewarded");
return new zzfq();
}
@Override // com.google.android.gms.ads.internal.client.zzbb
public final /* bridge */ /* synthetic */ Object zzb(zzcp zzcpVar) throws RemoteException {
return zzcpVar.zzp(ObjectWrapper.wrap(this.zza), this.zzb, this.zzc, 244410000);
}
@Override // com.google.android.gms.ads.internal.client.zzbb
public final /* bridge */ /* synthetic */ Object zzc() throws RemoteException {
return zzbxb.zza(this.zza, this.zzb, this.zzc);
}
}

View File

@@ -0,0 +1,64 @@
package com.google.android.gms.ads.internal.client;
import android.app.Activity;
import android.os.IBinder;
import android.os.RemoteException;
import androidx.annotation.Nullable;
import com.google.android.gms.dynamic.ObjectWrapper;
import com.google.android.gms.internal.ads.zzbcl;
import com.google.android.gms.internal.ads.zzbtb;
import com.google.android.gms.internal.ads.zzbtd;
import com.google.android.gms.internal.ads.zzbtg;
import com.google.android.gms.internal.ads.zzbth;
import com.google.android.gms.internal.ads.zzbuh;
import com.google.android.gms.internal.ads.zzbuj;
/* loaded from: classes2.dex */
final class zzad extends zzbb {
final /* synthetic */ Activity zza;
final /* synthetic */ zzba zzb;
public zzad(zzba zzbaVar, Activity activity) {
this.zza = activity;
this.zzb = zzbaVar;
}
@Override // com.google.android.gms.ads.internal.client.zzbb
@Nullable
public final /* bridge */ /* synthetic */ Object zza() {
zzba.zzv(this.zza, "ad_overlay");
return null;
}
@Override // com.google.android.gms.ads.internal.client.zzbb
public final /* bridge */ /* synthetic */ Object zzb(zzcp zzcpVar) throws RemoteException {
return zzcpVar.zzn(ObjectWrapper.wrap(this.zza));
}
@Override // com.google.android.gms.ads.internal.client.zzbb
@Nullable
public final /* bridge */ /* synthetic */ Object zzc() throws RemoteException {
zzbuj zzbujVar;
zzbtb zzbtbVar;
zzbcl.zza(this.zza);
if (!((Boolean) zzbe.zzc().zza(zzbcl.zzkA)).booleanValue()) {
zzba zzbaVar = this.zzb;
Activity activity = this.zza;
zzbtbVar = zzbaVar.zze;
return zzbtbVar.zza(activity);
}
try {
return zzbtd.zzI(((zzbth) com.google.android.gms.ads.internal.util.client.zzs.zzb(this.zza, "com.google.android.gms.ads.ChimeraAdOverlayCreatorImpl", new com.google.android.gms.ads.internal.util.client.zzq() { // from class: com.google.android.gms.ads.internal.client.zzac
@Override // com.google.android.gms.ads.internal.util.client.zzq
public final Object zza(Object obj) {
return zzbtg.zzb((IBinder) obj);
}
})).zze(ObjectWrapper.wrap(this.zza)));
} catch (RemoteException | com.google.android.gms.ads.internal.util.client.zzr | NullPointerException e) {
this.zzb.zzg = zzbuh.zza(this.zza.getApplicationContext());
zzbujVar = this.zzb.zzg;
zzbujVar.zzh(e, "ClientApiBroker.createAdOverlay");
return null;
}
}
}

View File

@@ -0,0 +1,69 @@
package com.google.android.gms.ads.internal.client;
import android.content.Context;
import android.os.IBinder;
import android.os.IInterface;
import android.os.RemoteException;
import androidx.annotation.Nullable;
import com.google.android.gms.dynamic.IObjectWrapper;
import com.google.android.gms.dynamic.ObjectWrapper;
import com.google.android.gms.internal.ads.zzbcl;
import com.google.android.gms.internal.ads.zzbpe;
import com.google.android.gms.internal.ads.zzbuh;
/* loaded from: classes2.dex */
final class zzaf extends zzbb {
final /* synthetic */ Context zza;
final /* synthetic */ zzbpe zzb;
public zzaf(zzba zzbaVar, Context context, zzbpe zzbpeVar) {
this.zza = context;
this.zzb = zzbpeVar;
}
@Override // com.google.android.gms.ads.internal.client.zzbb
@Nullable
public final /* bridge */ /* synthetic */ Object zza() {
zzba.zzv(this.zza, "out_of_context_tester");
return null;
}
@Override // com.google.android.gms.ads.internal.client.zzbb
@Nullable
public final /* bridge */ /* synthetic */ Object zzb(zzcp zzcpVar) throws RemoteException {
Context context = this.zza;
IObjectWrapper wrap = ObjectWrapper.wrap(context);
zzbcl.zza(context);
if (((Boolean) zzbe.zzc().zza(zzbcl.zzjm)).booleanValue()) {
return zzcpVar.zzi(wrap, this.zzb, 244410000);
}
return null;
}
@Override // com.google.android.gms.ads.internal.client.zzbb
@Nullable
public final /* bridge */ /* synthetic */ Object zzc() throws RemoteException {
Context context = this.zza;
IObjectWrapper wrap = ObjectWrapper.wrap(context);
zzbcl.zza(context);
if (!((Boolean) zzbe.zzc().zza(zzbcl.zzjm)).booleanValue()) {
return null;
}
try {
return ((zzdv) com.google.android.gms.ads.internal.util.client.zzs.zzb(this.zza, "com.google.android.gms.ads.DynamiteOutOfContextTesterCreatorImpl", new com.google.android.gms.ads.internal.util.client.zzq() { // from class: com.google.android.gms.ads.internal.client.zzae
@Override // com.google.android.gms.ads.internal.util.client.zzq
public final Object zza(Object obj) {
IBinder iBinder = (IBinder) obj;
if (iBinder == null) {
return null;
}
IInterface queryLocalInterface = iBinder.queryLocalInterface("com.google.android.gms.ads.internal.client.IOutOfContextTesterCreator");
return queryLocalInterface instanceof zzdv ? (zzdv) queryLocalInterface : new zzdv(iBinder);
}
})).zze(wrap, this.zzb, 244410000);
} catch (RemoteException | com.google.android.gms.ads.internal.util.client.zzr | NullPointerException e) {
zzbuh.zza(this.zza).zzh(e, "ClientApiBroker.getOutOfContextTester");
return null;
}
}
}

View File

@@ -0,0 +1,47 @@
package com.google.android.gms.ads.internal.client;
import android.content.Context;
import android.os.IBinder;
import android.os.RemoteException;
import androidx.annotation.Nullable;
import com.google.android.gms.dynamic.ObjectWrapper;
import com.google.android.gms.internal.ads.zzbpe;
import com.google.android.gms.internal.ads.zzbyw;
import com.google.android.gms.internal.ads.zzbyx;
/* loaded from: classes2.dex */
final class zzah extends zzbb {
final /* synthetic */ Context zza;
final /* synthetic */ zzbpe zzb;
public zzah(zzba zzbaVar, Context context, zzbpe zzbpeVar) {
this.zza = context;
this.zzb = zzbpeVar;
}
@Override // com.google.android.gms.ads.internal.client.zzbb
@Nullable
public final /* bridge */ /* synthetic */ Object zza() {
return null;
}
@Override // com.google.android.gms.ads.internal.client.zzbb
public final /* bridge */ /* synthetic */ Object zzb(zzcp zzcpVar) throws RemoteException {
return zzcpVar.zzq(ObjectWrapper.wrap(this.zza), this.zzb, 244410000);
}
@Override // com.google.android.gms.ads.internal.client.zzbb
@Nullable
public final /* bridge */ /* synthetic */ Object zzc() throws RemoteException {
try {
return ((zzbyx) com.google.android.gms.ads.internal.util.client.zzs.zzb(this.zza, "com.google.android.gms.ads.DynamiteSignalGeneratorCreatorImpl", new com.google.android.gms.ads.internal.util.client.zzq() { // from class: com.google.android.gms.ads.internal.client.zzag
@Override // com.google.android.gms.ads.internal.util.client.zzq
public final Object zza(Object obj) {
return zzbyw.zzb((IBinder) obj);
}
})).zze(ObjectWrapper.wrap(this.zza), this.zzb, 244410000);
} catch (RemoteException | com.google.android.gms.ads.internal.util.client.zzr | NullPointerException unused) {
return null;
}
}
}

View File

@@ -0,0 +1,47 @@
package com.google.android.gms.ads.internal.client;
import android.content.Context;
import android.os.IBinder;
import android.os.RemoteException;
import androidx.annotation.Nullable;
import com.google.android.gms.dynamic.ObjectWrapper;
import com.google.android.gms.internal.ads.zzbpe;
import com.google.android.gms.internal.ads.zzbsz;
import com.google.android.gms.internal.ads.zzbta;
/* loaded from: classes2.dex */
final class zzaj extends zzbb {
final /* synthetic */ Context zza;
final /* synthetic */ zzbpe zzb;
public zzaj(zzba zzbaVar, Context context, zzbpe zzbpeVar) {
this.zza = context;
this.zzb = zzbpeVar;
}
@Override // com.google.android.gms.ads.internal.client.zzbb
@Nullable
public final /* bridge */ /* synthetic */ Object zza() {
return null;
}
@Override // com.google.android.gms.ads.internal.client.zzbb
public final /* bridge */ /* synthetic */ Object zzb(zzcp zzcpVar) throws RemoteException {
return zzcpVar.zzm(ObjectWrapper.wrap(this.zza), this.zzb, 244410000);
}
@Override // com.google.android.gms.ads.internal.client.zzbb
@Nullable
public final /* bridge */ /* synthetic */ Object zzc() throws RemoteException {
try {
return ((zzbta) com.google.android.gms.ads.internal.util.client.zzs.zzb(this.zza, "com.google.android.gms.ads.DynamiteOfflineUtilsCreatorImpl", new com.google.android.gms.ads.internal.util.client.zzq() { // from class: com.google.android.gms.ads.internal.client.zzai
@Override // com.google.android.gms.ads.internal.util.client.zzq
public final Object zza(Object obj) {
return zzbsz.zzb((IBinder) obj);
}
})).zze(ObjectWrapper.wrap(this.zza), this.zzb, 244410000);
} catch (RemoteException | com.google.android.gms.ads.internal.util.client.zzr | NullPointerException unused) {
return null;
}
}
}

View File

@@ -0,0 +1,53 @@
package com.google.android.gms.ads.internal.client;
import android.content.Context;
import android.os.IBinder;
import android.os.RemoteException;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.ads.h5.OnH5AdsEventListener;
import com.google.android.gms.dynamic.ObjectWrapper;
import com.google.android.gms.internal.ads.zzbkl;
import com.google.android.gms.internal.ads.zzbkt;
import com.google.android.gms.internal.ads.zzbku;
import com.google.android.gms.internal.ads.zzbky;
import com.google.android.gms.internal.ads.zzbpe;
/* loaded from: classes2.dex */
final class zzal extends zzbb {
final /* synthetic */ Context zza;
final /* synthetic */ zzbpe zzb;
final /* synthetic */ OnH5AdsEventListener zzc;
public zzal(zzba zzbaVar, Context context, zzbpe zzbpeVar, OnH5AdsEventListener onH5AdsEventListener) {
this.zza = context;
this.zzb = zzbpeVar;
this.zzc = onH5AdsEventListener;
}
@Override // com.google.android.gms.ads.internal.client.zzbb
@NonNull
public final /* synthetic */ Object zza() {
return new zzbky();
}
@Override // com.google.android.gms.ads.internal.client.zzbb
public final /* bridge */ /* synthetic */ Object zzb(zzcp zzcpVar) throws RemoteException {
return zzcpVar.zzl(ObjectWrapper.wrap(this.zza), this.zzb, 244410000, new zzbkl(this.zzc));
}
@Override // com.google.android.gms.ads.internal.client.zzbb
@Nullable
public final /* bridge */ /* synthetic */ Object zzc() throws RemoteException {
try {
return ((zzbku) com.google.android.gms.ads.internal.util.client.zzs.zzb(this.zza, "com.google.android.gms.ads.DynamiteH5AdsManagerCreatorImpl", new com.google.android.gms.ads.internal.util.client.zzq() { // from class: com.google.android.gms.ads.internal.client.zzak
@Override // com.google.android.gms.ads.internal.util.client.zzq
public final Object zza(Object obj) {
return zzbkt.zzb((IBinder) obj);
}
})).zze(ObjectWrapper.wrap(this.zza), this.zzb, 244410000, new zzbkl(this.zzc));
} catch (RemoteException | com.google.android.gms.ads.internal.util.client.zzr | NullPointerException unused) {
return null;
}
}
}

View File

@@ -0,0 +1,41 @@
package com.google.android.gms.ads.internal.client;
import android.content.Context;
import android.os.RemoteException;
import com.google.android.gms.dynamic.ObjectWrapper;
import com.google.android.gms.internal.ads.zzbpe;
/* loaded from: classes2.dex */
final class zzam extends zzbb {
final /* synthetic */ Context zza;
final /* synthetic */ zzs zzb;
final /* synthetic */ String zzc;
final /* synthetic */ zzbpe zzd;
final /* synthetic */ zzba zze;
public zzam(zzba zzbaVar, Context context, zzs zzsVar, String str, zzbpe zzbpeVar) {
this.zza = context;
this.zzb = zzsVar;
this.zzc = str;
this.zzd = zzbpeVar;
this.zze = zzbaVar;
}
@Override // com.google.android.gms.ads.internal.client.zzbb
public final /* bridge */ /* synthetic */ Object zza() {
zzba.zzv(this.zza, "banner");
return new zzfk();
}
@Override // com.google.android.gms.ads.internal.client.zzbb
public final /* bridge */ /* synthetic */ Object zzb(zzcp zzcpVar) throws RemoteException {
return zzcpVar.zzd(ObjectWrapper.wrap(this.zza), this.zzb, this.zzc, this.zzd, 244410000);
}
@Override // com.google.android.gms.ads.internal.client.zzbb
public final /* bridge */ /* synthetic */ Object zzc() throws RemoteException {
zzk zzkVar;
zzkVar = this.zze.zza;
return zzkVar.zza(this.zza, this.zzb, this.zzc, this.zzd, 1);
}
}

View File

@@ -0,0 +1,41 @@
package com.google.android.gms.ads.internal.client;
import android.content.Context;
import android.os.RemoteException;
import com.google.android.gms.dynamic.ObjectWrapper;
import com.google.android.gms.internal.ads.zzbpe;
/* loaded from: classes2.dex */
final class zzan extends zzbb {
final /* synthetic */ Context zza;
final /* synthetic */ zzs zzb;
final /* synthetic */ String zzc;
final /* synthetic */ zzbpe zzd;
final /* synthetic */ zzba zze;
public zzan(zzba zzbaVar, Context context, zzs zzsVar, String str, zzbpe zzbpeVar) {
this.zza = context;
this.zzb = zzsVar;
this.zzc = str;
this.zzd = zzbpeVar;
this.zze = zzbaVar;
}
@Override // com.google.android.gms.ads.internal.client.zzbb
public final /* bridge */ /* synthetic */ Object zza() {
zzba.zzv(this.zza, "app_open");
return new zzfk();
}
@Override // com.google.android.gms.ads.internal.client.zzbb
public final /* bridge */ /* synthetic */ Object zzb(zzcp zzcpVar) throws RemoteException {
return zzcpVar.zzc(ObjectWrapper.wrap(this.zza), this.zzb, this.zzc, this.zzd, 244410000);
}
@Override // com.google.android.gms.ads.internal.client.zzbb
public final /* bridge */ /* synthetic */ Object zzc() throws RemoteException {
zzk zzkVar;
zzkVar = this.zze.zza;
return zzkVar.zza(this.zza, this.zzb, this.zzc, this.zzd, 4);
}
}

View File

@@ -0,0 +1,39 @@
package com.google.android.gms.ads.internal.client;
import android.content.Context;
import android.os.RemoteException;
import com.applovin.sdk.AppLovinEventTypes;
import com.google.android.gms.dynamic.ObjectWrapper;
/* loaded from: classes2.dex */
final class zzao extends zzbb {
final /* synthetic */ Context zza;
final /* synthetic */ zzs zzb;
final /* synthetic */ String zzc;
final /* synthetic */ zzba zzd;
public zzao(zzba zzbaVar, Context context, zzs zzsVar, String str) {
this.zza = context;
this.zzb = zzsVar;
this.zzc = str;
this.zzd = zzbaVar;
}
@Override // com.google.android.gms.ads.internal.client.zzbb
public final /* bridge */ /* synthetic */ Object zza() {
zzba.zzv(this.zza, AppLovinEventTypes.USER_EXECUTED_SEARCH);
return new zzfk();
}
@Override // com.google.android.gms.ads.internal.client.zzbb
public final /* bridge */ /* synthetic */ Object zzb(zzcp zzcpVar) throws RemoteException {
return zzcpVar.zzf(ObjectWrapper.wrap(this.zza), this.zzb, this.zzc, 244410000);
}
@Override // com.google.android.gms.ads.internal.client.zzbb
public final /* bridge */ /* synthetic */ Object zzc() throws RemoteException {
zzk zzkVar;
zzkVar = this.zzd.zza;
return zzkVar.zza(this.zza, this.zzb, this.zzc, null, 3);
}
}

View File

@@ -0,0 +1,41 @@
package com.google.android.gms.ads.internal.client;
import android.content.Context;
import android.os.RemoteException;
import com.google.android.gms.dynamic.ObjectWrapper;
import com.google.android.gms.internal.ads.zzbpe;
/* loaded from: classes2.dex */
final class zzap extends zzbb {
final /* synthetic */ Context zza;
final /* synthetic */ zzs zzb;
final /* synthetic */ String zzc;
final /* synthetic */ zzbpe zzd;
final /* synthetic */ zzba zze;
public zzap(zzba zzbaVar, Context context, zzs zzsVar, String str, zzbpe zzbpeVar) {
this.zza = context;
this.zzb = zzsVar;
this.zzc = str;
this.zzd = zzbpeVar;
this.zze = zzbaVar;
}
@Override // com.google.android.gms.ads.internal.client.zzbb
public final /* bridge */ /* synthetic */ Object zza() {
zzba.zzv(this.zza, "interstitial");
return new zzfk();
}
@Override // com.google.android.gms.ads.internal.client.zzbb
public final /* bridge */ /* synthetic */ Object zzb(zzcp zzcpVar) throws RemoteException {
return zzcpVar.zze(ObjectWrapper.wrap(this.zza), this.zzb, this.zzc, this.zzd, 244410000);
}
@Override // com.google.android.gms.ads.internal.client.zzbb
public final /* bridge */ /* synthetic */ Object zzc() throws RemoteException {
zzk zzkVar;
zzkVar = this.zze.zza;
return zzkVar.zza(this.zza, this.zzb, this.zzc, this.zzd, 2);
}
}

View File

@@ -0,0 +1,90 @@
package com.google.android.gms.ads.internal.client;
import android.content.Context;
import android.os.IBinder;
import android.os.IInterface;
import android.os.RemoteException;
import androidx.annotation.Nullable;
import com.google.android.gms.dynamic.ObjectWrapper;
import com.google.android.gms.internal.ads.zzbcl;
import com.google.android.gms.internal.ads.zzbpe;
import com.google.android.gms.internal.ads.zzbuh;
import com.google.android.gms.internal.ads.zzbuj;
/* loaded from: classes2.dex */
final class zzar extends zzbb {
final /* synthetic */ Context zza;
final /* synthetic */ String zzb;
final /* synthetic */ zzbpe zzc;
final /* synthetic */ zzba zzd;
public zzar(zzba zzbaVar, Context context, String str, zzbpe zzbpeVar) {
this.zza = context;
this.zzb = str;
this.zzc = zzbpeVar;
this.zzd = zzbaVar;
}
@Override // com.google.android.gms.ads.internal.client.zzbb
public final /* bridge */ /* synthetic */ Object zza() {
zzba.zzv(this.zza, "native_ad");
return new zzfi();
}
@Override // com.google.android.gms.ads.internal.client.zzbb
public final /* bridge */ /* synthetic */ Object zzb(zzcp zzcpVar) throws RemoteException {
return zzcpVar.zzb(ObjectWrapper.wrap(this.zza), this.zzb, this.zzc, 244410000);
}
@Override // com.google.android.gms.ads.internal.client.zzbb
@Nullable
public final /* bridge */ /* synthetic */ Object zzc() throws RemoteException {
zzi zziVar;
zzbuj zzbujVar;
zzbcl.zza(this.zza);
if (!((Boolean) zzbe.zzc().zza(zzbcl.zzkA)).booleanValue()) {
zzba zzbaVar = this.zzd;
Context context = this.zza;
String str = this.zzb;
zzbpe zzbpeVar = this.zzc;
zziVar = zzbaVar.zzb;
return zziVar.zza(context, str, zzbpeVar);
}
try {
IBinder zze = ((zzbv) com.google.android.gms.ads.internal.util.client.zzs.zzb(this.zza, "com.google.android.gms.ads.ChimeraAdLoaderBuilderCreatorImpl", new com.google.android.gms.ads.internal.util.client.zzq() { // from class: com.google.android.gms.ads.internal.client.zzaq
@Override // com.google.android.gms.ads.internal.util.client.zzq
public final Object zza(Object obj) {
IBinder iBinder = (IBinder) obj;
if (iBinder == null) {
return null;
}
IInterface queryLocalInterface = iBinder.queryLocalInterface("com.google.android.gms.ads.internal.client.IAdLoaderBuilderCreator");
return queryLocalInterface instanceof zzbv ? (zzbv) queryLocalInterface : new zzbv(iBinder);
}
})).zze(ObjectWrapper.wrap(this.zza), this.zzb, this.zzc, 244410000);
if (zze == null) {
return null;
}
IInterface queryLocalInterface = zze.queryLocalInterface("com.google.android.gms.ads.internal.client.IAdLoaderBuilder");
return queryLocalInterface instanceof zzbu ? (zzbu) queryLocalInterface : new zzbs(zze);
} catch (RemoteException e) {
e = e;
this.zzd.zzg = zzbuh.zza(this.zza);
zzbujVar = this.zzd.zzg;
zzbujVar.zzh(e, "ClientApiBroker.createAdLoaderBuilder");
return null;
} catch (com.google.android.gms.ads.internal.util.client.zzr e2) {
e = e2;
this.zzd.zzg = zzbuh.zza(this.zza);
zzbujVar = this.zzd.zzg;
zzbujVar.zzh(e, "ClientApiBroker.createAdLoaderBuilder");
return null;
} catch (NullPointerException e3) {
e = e3;
this.zzd.zzg = zzbuh.zza(this.zza);
zzbujVar = this.zzd.zzg;
zzbujVar.zzh(e, "ClientApiBroker.createAdLoaderBuilder");
return null;
}
}
}

View File

@@ -0,0 +1,97 @@
package com.google.android.gms.ads.internal.client;
import android.content.Context;
import android.os.IBinder;
import android.os.IInterface;
import android.os.RemoteException;
import androidx.annotation.Nullable;
import com.google.android.gms.dynamic.IObjectWrapper;
import com.google.android.gms.dynamic.ObjectWrapper;
import com.google.android.gms.internal.ads.zzbcl;
import com.google.android.gms.internal.ads.zzbpe;
import com.google.android.gms.internal.ads.zzbuh;
import com.google.android.gms.internal.ads.zzbuj;
/* loaded from: classes2.dex */
final class zzat extends zzbb {
final /* synthetic */ Context zza;
final /* synthetic */ zzbpe zzb;
final /* synthetic */ zzba zzc;
public zzat(zzba zzbaVar, Context context, zzbpe zzbpeVar) {
this.zza = context;
this.zzb = zzbpeVar;
this.zzc = zzbaVar;
}
@Override // com.google.android.gms.ads.internal.client.zzbb
@Nullable
public final /* bridge */ /* synthetic */ Object zza() {
zzba.zzv(this.zza, "ads_preloader");
return null;
}
@Override // com.google.android.gms.ads.internal.client.zzbb
public final /* bridge */ /* synthetic */ Object zzb(zzcp zzcpVar) throws RemoteException {
zzci zzg = zzcpVar.zzg(ObjectWrapper.wrap(this.zza), this.zzb, 244410000);
zzg.zzh(this.zzb);
return zzg;
}
@Override // com.google.android.gms.ads.internal.client.zzbb
@Nullable
public final /* bridge */ /* synthetic */ Object zzc() throws RemoteException {
zzl zzlVar;
zzbuj zzbujVar;
zzci zzcgVar;
Context context = this.zza;
IObjectWrapper wrap = ObjectWrapper.wrap(context);
zzbcl.zza(context);
if (!((Boolean) zzbe.zzc().zza(zzbcl.zzkA)).booleanValue()) {
zzba zzbaVar = this.zzc;
Context context2 = this.zza;
zzbpe zzbpeVar = this.zzb;
zzlVar = zzbaVar.zzh;
return zzlVar.zza(context2, zzbpeVar);
}
try {
IBinder zze = ((zzcj) com.google.android.gms.ads.internal.util.client.zzs.zzb(this.zza, "com.google.android.gms.ads.ChimeraAdPreloaderCreatorImpl", new com.google.android.gms.ads.internal.util.client.zzq() { // from class: com.google.android.gms.ads.internal.client.zzas
@Override // com.google.android.gms.ads.internal.util.client.zzq
public final Object zza(Object obj) {
IBinder iBinder = (IBinder) obj;
if (iBinder == null) {
return null;
}
IInterface queryLocalInterface = iBinder.queryLocalInterface("com.google.android.gms.ads.internal.client.IAdPreloaderCreator");
return queryLocalInterface instanceof zzcj ? (zzcj) queryLocalInterface : new zzcj(iBinder);
}
})).zze(wrap, this.zzb, 244410000);
if (zze == null) {
zzcgVar = null;
} else {
IInterface queryLocalInterface = zze.queryLocalInterface("com.google.android.gms.ads.internal.client.IAdPreloader");
zzcgVar = queryLocalInterface instanceof zzci ? (zzci) queryLocalInterface : new zzcg(zze);
}
zzcgVar.zzh(this.zzb);
return zzcgVar;
} catch (RemoteException e) {
e = e;
this.zzc.zzg = zzbuh.zza(this.zza);
zzbujVar = this.zzc.zzg;
zzbujVar.zzh(e, "ClientApiBroker.getAdPreloader");
return null;
} catch (com.google.android.gms.ads.internal.util.client.zzr e2) {
e = e2;
this.zzc.zzg = zzbuh.zza(this.zza);
zzbujVar = this.zzc.zzg;
zzbujVar.zzh(e, "ClientApiBroker.getAdPreloader");
return null;
} catch (NullPointerException e3) {
e = e3;
this.zzc.zzg = zzbuh.zza(this.zza);
zzbujVar = this.zzc.zzg;
zzbujVar.zzh(e, "ClientApiBroker.getAdPreloader");
return null;
}
}
}

View File

@@ -0,0 +1,83 @@
package com.google.android.gms.ads.internal.client;
import android.content.Context;
import android.os.IBinder;
import android.os.IInterface;
import android.os.RemoteException;
import androidx.annotation.Nullable;
import com.google.android.gms.dynamic.ObjectWrapper;
import com.google.android.gms.internal.ads.zzbcl;
import com.google.android.gms.internal.ads.zzbuh;
import com.google.android.gms.internal.ads.zzbuj;
/* loaded from: classes2.dex */
final class zzav extends zzbb {
final /* synthetic */ Context zza;
final /* synthetic */ zzba zzb;
public zzav(zzba zzbaVar, Context context) {
this.zza = context;
this.zzb = zzbaVar;
}
@Override // com.google.android.gms.ads.internal.client.zzbb
public final /* bridge */ /* synthetic */ Object zza() {
zzba.zzv(this.zza, "mobile_ads_settings");
return new zzfm();
}
@Override // com.google.android.gms.ads.internal.client.zzbb
public final /* bridge */ /* synthetic */ Object zzb(zzcp zzcpVar) throws RemoteException {
return zzcpVar.zzh(ObjectWrapper.wrap(this.zza), 244410000);
}
@Override // com.google.android.gms.ads.internal.client.zzbb
@Nullable
public final /* bridge */ /* synthetic */ Object zzc() throws RemoteException {
zzfe zzfeVar;
zzbuj zzbujVar;
zzbcl.zza(this.zza);
if (!((Boolean) zzbe.zzc().zza(zzbcl.zzkA)).booleanValue()) {
zzba zzbaVar = this.zzb;
Context context = this.zza;
zzfeVar = zzbaVar.zzc;
return zzfeVar.zza(context);
}
try {
IBinder zze = ((zzda) com.google.android.gms.ads.internal.util.client.zzs.zzb(this.zza, "com.google.android.gms.ads.ChimeraMobileAdsSettingManagerCreatorImpl", new com.google.android.gms.ads.internal.util.client.zzq() { // from class: com.google.android.gms.ads.internal.client.zzau
@Override // com.google.android.gms.ads.internal.util.client.zzq
public final Object zza(Object obj) {
IBinder iBinder = (IBinder) obj;
if (iBinder == null) {
return null;
}
IInterface queryLocalInterface = iBinder.queryLocalInterface("com.google.android.gms.ads.internal.client.IMobileAdsSettingManagerCreator");
return queryLocalInterface instanceof zzda ? (zzda) queryLocalInterface : new zzda(iBinder);
}
})).zze(ObjectWrapper.wrap(this.zza), 244410000);
if (zze == null) {
return null;
}
IInterface queryLocalInterface = zze.queryLocalInterface("com.google.android.gms.ads.internal.client.IMobileAdsSettingManager");
return queryLocalInterface instanceof zzcz ? (zzcz) queryLocalInterface : new zzcx(zze);
} catch (RemoteException e) {
e = e;
this.zzb.zzg = zzbuh.zza(this.zza);
zzbujVar = this.zzb.zzg;
zzbujVar.zzh(e, "ClientApiBroker.getMobileAdsSettingsManager");
return null;
} catch (com.google.android.gms.ads.internal.util.client.zzr e2) {
e = e2;
this.zzb.zzg = zzbuh.zza(this.zza);
zzbujVar = this.zzb.zzg;
zzbujVar.zzh(e, "ClientApiBroker.getMobileAdsSettingsManager");
return null;
} catch (NullPointerException e3) {
e = e3;
this.zzb.zzg = zzbuh.zza(this.zza);
zzbujVar = this.zzb.zzg;
zzbujVar.zzh(e, "ClientApiBroker.getMobileAdsSettingsManager");
return null;
}
}
}

View File

@@ -0,0 +1,70 @@
package com.google.android.gms.ads.internal.client;
import android.content.Context;
import android.os.IBinder;
import android.os.RemoteException;
import android.widget.FrameLayout;
import androidx.annotation.Nullable;
import com.google.android.gms.dynamic.ObjectWrapper;
import com.google.android.gms.internal.ads.zzbcl;
import com.google.android.gms.internal.ads.zzbfz;
import com.google.android.gms.internal.ads.zzbgc;
import com.google.android.gms.internal.ads.zzbgd;
import com.google.android.gms.internal.ads.zzbhv;
import com.google.android.gms.internal.ads.zzbuh;
import com.google.android.gms.internal.ads.zzbuj;
/* loaded from: classes2.dex */
final class zzax extends zzbb {
final /* synthetic */ FrameLayout zza;
final /* synthetic */ FrameLayout zzb;
final /* synthetic */ Context zzc;
final /* synthetic */ zzba zzd;
public zzax(zzba zzbaVar, FrameLayout frameLayout, FrameLayout frameLayout2, Context context) {
this.zza = frameLayout;
this.zzb = frameLayout2;
this.zzc = context;
this.zzd = zzbaVar;
}
@Override // com.google.android.gms.ads.internal.client.zzbb
public final /* bridge */ /* synthetic */ Object zza() {
zzba.zzv(this.zzc, "native_ad_view_delegate");
return new zzfn();
}
@Override // com.google.android.gms.ads.internal.client.zzbb
public final /* bridge */ /* synthetic */ Object zzb(zzcp zzcpVar) throws RemoteException {
return zzcpVar.zzj(ObjectWrapper.wrap(this.zza), ObjectWrapper.wrap(this.zzb));
}
@Override // com.google.android.gms.ads.internal.client.zzbb
@Nullable
public final /* bridge */ /* synthetic */ Object zzc() throws RemoteException {
zzbuj zzbujVar;
zzbhv zzbhvVar;
zzbcl.zza(this.zzc);
if (!((Boolean) zzbe.zzc().zza(zzbcl.zzkA)).booleanValue()) {
zzba zzbaVar = this.zzd;
Context context = this.zzc;
FrameLayout frameLayout = this.zza;
FrameLayout frameLayout2 = this.zzb;
zzbhvVar = zzbaVar.zzd;
return zzbhvVar.zza(context, frameLayout, frameLayout2);
}
try {
return zzbfz.zzdy(((zzbgd) com.google.android.gms.ads.internal.util.client.zzs.zzb(this.zzc, "com.google.android.gms.ads.ChimeraNativeAdViewDelegateCreatorImpl", new com.google.android.gms.ads.internal.util.client.zzq() { // from class: com.google.android.gms.ads.internal.client.zzaw
@Override // com.google.android.gms.ads.internal.util.client.zzq
public final Object zza(Object obj) {
return zzbgc.zzb((IBinder) obj);
}
})).zze(ObjectWrapper.wrap(this.zzc), ObjectWrapper.wrap(this.zza), ObjectWrapper.wrap(this.zzb), 244410000));
} catch (RemoteException | com.google.android.gms.ads.internal.util.client.zzr | NullPointerException e) {
this.zzd.zzg = zzbuh.zza(this.zzc);
zzbujVar = this.zzd.zzg;
zzbujVar.zzh(e, "ClientApiBroker.createNativeAdViewDelegate");
return null;
}
}
}

View File

@@ -0,0 +1,71 @@
package com.google.android.gms.ads.internal.client;
import android.os.IBinder;
import android.os.RemoteException;
import android.view.View;
import androidx.annotation.Nullable;
import com.google.android.gms.dynamic.ObjectWrapper;
import com.google.android.gms.internal.ads.zzbcl;
import com.google.android.gms.internal.ads.zzbgf;
import com.google.android.gms.internal.ads.zzbgi;
import com.google.android.gms.internal.ads.zzbgj;
import com.google.android.gms.internal.ads.zzbhw;
import com.google.android.gms.internal.ads.zzbuh;
import com.google.android.gms.internal.ads.zzbuj;
import java.util.HashMap;
/* loaded from: classes2.dex */
final class zzaz extends zzbb {
final /* synthetic */ View zza;
final /* synthetic */ HashMap zzb;
final /* synthetic */ HashMap zzc;
final /* synthetic */ zzba zzd;
public zzaz(zzba zzbaVar, View view, HashMap hashMap, HashMap hashMap2) {
this.zza = view;
this.zzb = hashMap;
this.zzc = hashMap2;
this.zzd = zzbaVar;
}
@Override // com.google.android.gms.ads.internal.client.zzbb
public final /* bridge */ /* synthetic */ Object zza() {
zzba.zzv(this.zza.getContext(), "native_ad_view_holder_delegate");
return new zzfo();
}
@Override // com.google.android.gms.ads.internal.client.zzbb
public final /* bridge */ /* synthetic */ Object zzb(zzcp zzcpVar) throws RemoteException {
HashMap hashMap = this.zzc;
return zzcpVar.zzk(ObjectWrapper.wrap(this.zza), ObjectWrapper.wrap(this.zzb), ObjectWrapper.wrap(hashMap));
}
@Override // com.google.android.gms.ads.internal.client.zzbb
@Nullable
public final /* bridge */ /* synthetic */ Object zzc() throws RemoteException {
zzbuj zzbujVar;
zzbhw zzbhwVar;
zzbcl.zza(this.zza.getContext());
if (!((Boolean) zzbe.zzc().zza(zzbcl.zzkA)).booleanValue()) {
zzba zzbaVar = this.zzd;
View view = this.zza;
HashMap hashMap = this.zzb;
HashMap hashMap2 = this.zzc;
zzbhwVar = zzbaVar.zzf;
return zzbhwVar.zza(view, hashMap, hashMap2);
}
try {
return zzbgf.zze(((zzbgj) com.google.android.gms.ads.internal.util.client.zzs.zzb(this.zza.getContext(), "com.google.android.gms.ads.ChimeraNativeAdViewHolderDelegateCreatorImpl", new com.google.android.gms.ads.internal.util.client.zzq() { // from class: com.google.android.gms.ads.internal.client.zzay
@Override // com.google.android.gms.ads.internal.util.client.zzq
public final Object zza(Object obj) {
return zzbgi.zzb((IBinder) obj);
}
})).zze(ObjectWrapper.wrap(this.zza), ObjectWrapper.wrap(this.zzb), ObjectWrapper.wrap(this.zzc)));
} catch (RemoteException | com.google.android.gms.ads.internal.util.client.zzr | NullPointerException e) {
this.zzd.zzg = zzbuh.zza(this.zza.getContext());
zzbujVar = this.zzd.zzg;
zzbujVar.zzh(e, "ClientApiBroker.createNativeAdViewHolderDelegate");
return null;
}
}
}

View File

@@ -0,0 +1,15 @@
package com.google.android.gms.ads.internal.client;
/* loaded from: classes2.dex */
public final class zzb extends zzbh {
private final zza zza;
public zzb(zza zzaVar) {
this.zza = zzaVar;
}
@Override // com.google.android.gms.ads.internal.client.zzbi
public final void zzb() {
this.zza.onAdClicked();
}
}

View File

@@ -0,0 +1,113 @@
package com.google.android.gms.ads.internal.client;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.FrameLayout;
import androidx.annotation.Nullable;
import com.google.android.gms.ads.h5.OnH5AdsEventListener;
import com.google.android.gms.internal.ads.zzbga;
import com.google.android.gms.internal.ads.zzbgg;
import com.google.android.gms.internal.ads.zzbhv;
import com.google.android.gms.internal.ads.zzbhw;
import com.google.android.gms.internal.ads.zzbkr;
import com.google.android.gms.internal.ads.zzbpe;
import com.google.android.gms.internal.ads.zzbsx;
import com.google.android.gms.internal.ads.zzbtb;
import com.google.android.gms.internal.ads.zzbte;
import com.google.android.gms.internal.ads.zzbuj;
import com.google.android.gms.internal.ads.zzbwp;
import com.google.android.gms.internal.ads.zzbxb;
import com.google.android.gms.internal.ads.zzbyu;
import java.util.HashMap;
/* loaded from: classes2.dex */
public final class zzba {
private final zzk zza;
private final zzi zzb;
private final zzfe zzc;
private final zzbhv zzd;
private final zzbtb zze;
private final zzbhw zzf;
private zzbuj zzg;
private final zzl zzh;
public zzba(zzk zzkVar, zzi zziVar, zzfe zzfeVar, zzbhv zzbhvVar, zzbxb zzbxbVar, zzbtb zzbtbVar, zzbhw zzbhwVar, zzl zzlVar) {
this.zza = zzkVar;
this.zzb = zziVar;
this.zzc = zzfeVar;
this.zzd = zzbhvVar;
this.zze = zzbtbVar;
this.zzf = zzbhwVar;
this.zzh = zzlVar;
}
public static /* bridge */ /* synthetic */ void zzv(Context context, String str) {
Bundle bundle = new Bundle();
bundle.putString("action", "no_ads_fallback");
bundle.putString("flow", str);
zzbc.zzb().zzn(context, zzbc.zzc().afmaVersion, "gmob-apps", bundle, true);
}
public final zzbu zzd(Context context, String str, zzbpe zzbpeVar) {
return (zzbu) new zzar(this, context, str, zzbpeVar).zzd(context, false);
}
public final zzby zze(Context context, zzs zzsVar, String str, zzbpe zzbpeVar) {
return (zzby) new zzan(this, context, zzsVar, str, zzbpeVar).zzd(context, false);
}
public final zzby zzf(Context context, zzs zzsVar, String str, zzbpe zzbpeVar) {
return (zzby) new zzap(this, context, zzsVar, str, zzbpeVar).zzd(context, false);
}
public final zzci zzg(Context context, zzbpe zzbpeVar) {
return (zzci) new zzat(this, context, zzbpeVar).zzd(context, false);
}
@Nullable
public final zzdu zzh(Context context, zzbpe zzbpeVar) {
return (zzdu) new zzaf(this, context, zzbpeVar).zzd(context, false);
}
public final zzbga zzj(Context context, FrameLayout frameLayout, FrameLayout frameLayout2) {
return (zzbga) new zzax(this, frameLayout, frameLayout2, context).zzd(context, false);
}
public final zzbgg zzk(View view, HashMap hashMap, HashMap hashMap2) {
return (zzbgg) new zzaz(this, view, hashMap, hashMap2).zzd(view.getContext(), false);
}
public final zzbkr zzn(Context context, zzbpe zzbpeVar, OnH5AdsEventListener onH5AdsEventListener) {
return (zzbkr) new zzal(this, context, zzbpeVar, onH5AdsEventListener).zzd(context, false);
}
@Nullable
public final zzbsx zzo(Context context, zzbpe zzbpeVar) {
return (zzbsx) new zzaj(this, context, zzbpeVar).zzd(context, false);
}
@Nullable
public final zzbte zzq(Activity activity) {
zzad zzadVar = new zzad(this, activity);
Intent intent = activity.getIntent();
boolean z = false;
if (intent.hasExtra("com.google.android.gms.ads.internal.overlay.useClientJar")) {
z = intent.getBooleanExtra("com.google.android.gms.ads.internal.overlay.useClientJar", false);
} else {
com.google.android.gms.ads.internal.util.client.zzo.zzg("useClientJar flag not found in activity intent extras.");
}
return (zzbte) zzadVar.zzd(activity, z);
}
public final zzbwp zzs(Context context, String str, zzbpe zzbpeVar) {
return (zzbwp) new zzab(this, context, str, zzbpeVar).zzd(context, false);
}
@Nullable
public final zzbyu zzt(Context context, zzbpe zzbpeVar) {
return (zzbyu) new zzah(this, context, zzbpeVar).zzd(context, false);
}
}

View File

@@ -0,0 +1,117 @@
package com.google.android.gms.ads.internal.client;
import android.content.Context;
import android.os.Bundle;
import android.os.IBinder;
import android.os.IInterface;
import android.os.RemoteException;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.common.GooglePlayServicesUtilLight;
import com.google.android.gms.dynamite.DynamiteModule;
import com.google.android.gms.dynamite.descriptors.com.google.android.gms.ads.dynamite.ModuleDescriptor;
import com.google.android.gms.internal.ads.zzbcl;
import com.google.android.gms.internal.ads.zzbeg;
import com.google.android.gms.internal.ads.zzbeu;
/* loaded from: classes2.dex */
abstract class zzbb {
@Nullable
private static final zzcp zza;
static {
zzcp zzcpVar = null;
try {
Object newInstance = zzba.class.getClassLoader().loadClass("com.google.android.gms.ads.internal.ClientApi").getDeclaredConstructor(new Class[0]).newInstance(new Object[0]);
if (newInstance instanceof IBinder) {
IBinder iBinder = (IBinder) newInstance;
if (iBinder != null) {
IInterface queryLocalInterface = iBinder.queryLocalInterface("com.google.android.gms.ads.internal.client.IClientApi");
zzcpVar = queryLocalInterface instanceof zzcp ? (zzcp) queryLocalInterface : new zzcn(iBinder);
}
} else {
com.google.android.gms.ads.internal.util.client.zzo.zzj("ClientApi class is not an instance of IBinder.");
}
} catch (Exception unused) {
com.google.android.gms.ads.internal.util.client.zzo.zzj("Failed to instantiate ClientApi class.");
}
zza = zzcpVar;
}
@Nullable
private final Object zze() {
zzcp zzcpVar = zza;
if (zzcpVar == null) {
com.google.android.gms.ads.internal.util.client.zzo.zzj("ClientApi class cannot be loaded.");
return null;
}
try {
return zzb(zzcpVar);
} catch (RemoteException e) {
com.google.android.gms.ads.internal.util.client.zzo.zzk("Cannot invoke local loader using ClientApi class.", e);
return null;
}
}
@Nullable
private final Object zzf() {
try {
return zzc();
} catch (RemoteException e) {
com.google.android.gms.ads.internal.util.client.zzo.zzk("Cannot invoke remote loader.", e);
return null;
}
}
@NonNull
public abstract Object zza();
@Nullable
public abstract Object zzb(zzcp zzcpVar) throws RemoteException;
@Nullable
public abstract Object zzc() throws RemoteException;
public final Object zzd(Context context, boolean z) {
boolean z2;
Object zze;
if (!z) {
zzbc.zzb();
if (!com.google.android.gms.ads.internal.util.client.zzf.zzs(context, GooglePlayServicesUtilLight.GOOGLE_PLAY_SERVICES_VERSION_CODE)) {
com.google.android.gms.ads.internal.util.client.zzo.zze("Google Play Services is not available.");
z = true;
}
}
boolean z3 = false;
boolean z4 = !(DynamiteModule.getLocalVersion(context, ModuleDescriptor.MODULE_ID) <= DynamiteModule.getRemoteVersion(context, ModuleDescriptor.MODULE_ID));
zzbcl.zza(context);
if (((Boolean) zzbeg.zza.zze()).booleanValue()) {
z2 = false;
} else if (((Boolean) zzbeg.zzb.zze()).booleanValue()) {
z2 = true;
z3 = true;
} else {
z3 = z | z4;
z2 = false;
}
if (z3) {
zze = zze();
if (zze == null && !z2) {
zze = zzf();
}
} else {
Object zzf = zzf();
if (zzf == null) {
if (zzbc.zze().nextInt(((Long) zzbeu.zza.zze()).intValue()) == 0) {
Bundle bundle = new Bundle();
bundle.putString("action", "dynamite_load");
bundle.putInt("is_missing", 1);
zzbc.zzb().zzn(context, zzbc.zzc().afmaVersion, "gmob-apps", bundle, true);
}
}
zze = zzf == null ? zze() : zzf;
}
return zze == null ? zza() : zze;
}
}

View File

@@ -0,0 +1,52 @@
package com.google.android.gms.ads.internal.client;
import com.google.android.gms.ads.internal.util.client.VersionInfoParcel;
import com.google.android.gms.internal.ads.zzbhv;
import com.google.android.gms.internal.ads.zzbhw;
import com.google.android.gms.internal.ads.zzbtb;
import com.google.android.gms.internal.ads.zzbxb;
import java.util.Random;
/* loaded from: classes2.dex */
public final class zzbc {
public static final /* synthetic */ int zza = 0;
private static final zzbc zzb = new zzbc();
private final com.google.android.gms.ads.internal.util.client.zzf zzc;
private final zzba zzd;
private final String zze;
private final VersionInfoParcel zzf;
private final Random zzg;
public zzbc() {
com.google.android.gms.ads.internal.util.client.zzf zzfVar = new com.google.android.gms.ads.internal.util.client.zzf();
zzba zzbaVar = new zzba(new zzk(), new zzi(), new zzfe(), new zzbhv(), new zzbxb(), new zzbtb(), new zzbhw(), new zzl());
String zze = com.google.android.gms.ads.internal.util.client.zzf.zze();
VersionInfoParcel versionInfoParcel = new VersionInfoParcel(0, 244410000, true);
Random random = new Random();
this.zzc = zzfVar;
this.zzd = zzbaVar;
this.zze = zze;
this.zzf = versionInfoParcel;
this.zzg = random;
}
public static zzba zza() {
return zzb.zzd;
}
public static com.google.android.gms.ads.internal.util.client.zzf zzb() {
return zzb.zzc;
}
public static VersionInfoParcel zzc() {
return zzb.zzf;
}
public static String zzd() {
return zzb.zze;
}
public static Random zze() {
return zzb.zzg;
}
}

View File

@@ -0,0 +1,100 @@
package com.google.android.gms.ads.internal.client;
import com.google.android.gms.ads.AdListener;
import com.google.android.gms.ads.LoadAdError;
/* loaded from: classes2.dex */
public class zzbd extends AdListener {
private final Object zza = new Object();
private AdListener zzb;
@Override // com.google.android.gms.ads.AdListener
public final void onAdClicked() {
synchronized (this.zza) {
try {
AdListener adListener = this.zzb;
if (adListener != null) {
adListener.onAdClicked();
}
} catch (Throwable th) {
throw th;
}
}
}
@Override // com.google.android.gms.ads.AdListener
public final void onAdClosed() {
synchronized (this.zza) {
try {
AdListener adListener = this.zzb;
if (adListener != null) {
adListener.onAdClosed();
}
} catch (Throwable th) {
throw th;
}
}
}
@Override // com.google.android.gms.ads.AdListener
public void onAdFailedToLoad(LoadAdError loadAdError) {
synchronized (this.zza) {
try {
AdListener adListener = this.zzb;
if (adListener != null) {
adListener.onAdFailedToLoad(loadAdError);
}
} catch (Throwable th) {
throw th;
}
}
}
@Override // com.google.android.gms.ads.AdListener
public final void onAdImpression() {
synchronized (this.zza) {
try {
AdListener adListener = this.zzb;
if (adListener != null) {
adListener.onAdImpression();
}
} catch (Throwable th) {
throw th;
}
}
}
@Override // com.google.android.gms.ads.AdListener
public void onAdLoaded() {
synchronized (this.zza) {
try {
AdListener adListener = this.zzb;
if (adListener != null) {
adListener.onAdLoaded();
}
} catch (Throwable th) {
throw th;
}
}
}
@Override // com.google.android.gms.ads.AdListener
public final void onAdOpened() {
synchronized (this.zza) {
try {
AdListener adListener = this.zzb;
if (adListener != null) {
adListener.onAdOpened();
}
} catch (Throwable th) {
throw th;
}
}
}
public final void zza(AdListener adListener) {
synchronized (this.zza) {
this.zzb = adListener;
}
}
}

View File

@@ -0,0 +1,34 @@
package com.google.android.gms.ads.internal.client;
import com.google.android.gms.internal.ads.zzbcd;
import com.google.android.gms.internal.ads.zzbce;
import com.google.android.gms.internal.ads.zzbcj;
/* loaded from: classes2.dex */
public final class zzbe {
private static final zzbe zza = new zzbe();
private final zzbcd zzb;
private final zzbce zzc;
private final zzbcj zzd;
public zzbe() {
zzbcd zzbcdVar = new zzbcd();
zzbce zzbceVar = new zzbce();
zzbcj zzbcjVar = new zzbcj();
this.zzb = zzbcdVar;
this.zzc = zzbceVar;
this.zzd = zzbcjVar;
}
public static zzbcd zza() {
return zza.zzb;
}
public static zzbce zzb() {
return zza.zzc;
}
public static zzbcj zzc() {
return zza.zzd;
}
}

View File

@@ -0,0 +1,55 @@
package com.google.android.gms.ads.internal.client;
import androidx.annotation.Nullable;
import com.google.android.gms.ads.FullScreenContentCallback;
/* loaded from: classes2.dex */
public final class zzbf extends zzcs {
@Nullable
private final FullScreenContentCallback zza;
public zzbf(@Nullable FullScreenContentCallback fullScreenContentCallback) {
this.zza = fullScreenContentCallback;
}
@Override // com.google.android.gms.ads.internal.client.zzct
public final void zzb() {
FullScreenContentCallback fullScreenContentCallback = this.zza;
if (fullScreenContentCallback != null) {
fullScreenContentCallback.onAdClicked();
}
}
@Override // com.google.android.gms.ads.internal.client.zzct
public final void zzc() {
FullScreenContentCallback fullScreenContentCallback = this.zza;
if (fullScreenContentCallback != null) {
fullScreenContentCallback.onAdDismissedFullScreenContent();
}
}
@Override // com.google.android.gms.ads.internal.client.zzct
public final void zzd(zze zzeVar) {
FullScreenContentCallback fullScreenContentCallback = this.zza;
if (fullScreenContentCallback != null) {
fullScreenContentCallback.onAdFailedToShowFullScreenContent(zzeVar.zza());
}
}
@Override // com.google.android.gms.ads.internal.client.zzct
public final void zze() {
FullScreenContentCallback fullScreenContentCallback = this.zza;
if (fullScreenContentCallback != null) {
fullScreenContentCallback.onAdImpression();
}
}
@Override // com.google.android.gms.ads.internal.client.zzct
public final void zzf() {
FullScreenContentCallback fullScreenContentCallback = this.zza;
if (fullScreenContentCallback != null) {
fullScreenContentCallback.onAdShowedFullScreenContent();
}
}
}

Some files were not shown because too many files have changed in this diff Show More