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,11 @@
package com.google.android.gms.ads.mediation.customevent;
@Deprecated
/* loaded from: classes2.dex */
public interface CustomEvent {
void onDestroy();
void onPause();
void onResume();
}

View File

@@ -0,0 +1,160 @@
package com.google.android.gms.ads.mediation.customevent;
import android.content.Context;
import android.os.Bundle;
import android.view.View;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.VisibleForTesting;
import com.google.android.gms.ads.AdError;
import com.google.android.gms.ads.AdSize;
import com.google.android.gms.ads.MobileAds;
import com.google.android.gms.ads.internal.util.client.zzo;
import com.google.android.gms.ads.mediation.MediationAdRequest;
import com.google.android.gms.ads.mediation.MediationBannerAdapter;
import com.google.android.gms.ads.mediation.MediationBannerListener;
import com.google.android.gms.ads.mediation.MediationConfiguration;
import com.google.android.gms.ads.mediation.MediationInterstitialAdapter;
import com.google.android.gms.ads.mediation.MediationInterstitialListener;
import com.google.android.gms.ads.mediation.MediationNativeAdapter;
import com.google.android.gms.ads.mediation.MediationNativeListener;
import com.google.android.gms.ads.mediation.NativeMediationAdRequest;
import com.google.android.gms.common.annotation.KeepForSdkWithMembers;
import com.google.android.gms.common.annotation.KeepName;
@KeepForSdkWithMembers
@KeepName
/* loaded from: classes2.dex */
public final class CustomEventAdapter implements MediationBannerAdapter, MediationInterstitialAdapter, MediationNativeAdapter {
@VisibleForTesting
static final AdError zza = new AdError(0, "Could not instantiate custom event adapter", MobileAds.ERROR_DOMAIN);
@Nullable
@VisibleForTesting
CustomEventBanner zzb;
@Nullable
@VisibleForTesting
CustomEventInterstitial zzc;
@Nullable
@VisibleForTesting
CustomEventNative zzd;
private View zze;
@Override // com.google.android.gms.ads.mediation.MediationBannerAdapter
@NonNull
public View getBannerView() {
return this.zze;
}
@Override // com.google.android.gms.ads.mediation.MediationAdapter
public void onDestroy() {
CustomEventBanner customEventBanner = this.zzb;
if (customEventBanner != null) {
customEventBanner.onDestroy();
}
CustomEventInterstitial customEventInterstitial = this.zzc;
if (customEventInterstitial != null) {
customEventInterstitial.onDestroy();
}
CustomEventNative customEventNative = this.zzd;
if (customEventNative != null) {
customEventNative.onDestroy();
}
}
@Override // com.google.android.gms.ads.mediation.MediationAdapter
public void onPause() {
CustomEventBanner customEventBanner = this.zzb;
if (customEventBanner != null) {
customEventBanner.onPause();
}
CustomEventInterstitial customEventInterstitial = this.zzc;
if (customEventInterstitial != null) {
customEventInterstitial.onPause();
}
CustomEventNative customEventNative = this.zzd;
if (customEventNative != null) {
customEventNative.onPause();
}
}
@Override // com.google.android.gms.ads.mediation.MediationAdapter
public void onResume() {
CustomEventBanner customEventBanner = this.zzb;
if (customEventBanner != null) {
customEventBanner.onResume();
}
CustomEventInterstitial customEventInterstitial = this.zzc;
if (customEventInterstitial != null) {
customEventInterstitial.onResume();
}
CustomEventNative customEventNative = this.zzd;
if (customEventNative != null) {
customEventNative.onResume();
}
}
@Override // com.google.android.gms.ads.mediation.MediationBannerAdapter
public void requestBannerAd(@NonNull Context context, @NonNull MediationBannerListener mediationBannerListener, @NonNull Bundle bundle, @NonNull AdSize adSize, @NonNull MediationAdRequest mediationAdRequest, @Nullable Bundle bundle2) {
CustomEventBanner customEventBanner = (CustomEventBanner) zzb(CustomEventBanner.class, bundle.getString("class_name"));
this.zzb = customEventBanner;
if (customEventBanner == null) {
mediationBannerListener.onAdFailedToLoad(this, zza);
return;
}
Bundle bundle3 = bundle2 == null ? null : bundle2.getBundle(bundle.getString("class_name"));
CustomEventBanner customEventBanner2 = this.zzb;
customEventBanner2.getClass();
customEventBanner2.requestBannerAd(context, new zza(this, mediationBannerListener), bundle.getString(MediationConfiguration.CUSTOM_EVENT_SERVER_PARAMETER_FIELD), adSize, mediationAdRequest, bundle3);
}
@Override // com.google.android.gms.ads.mediation.MediationInterstitialAdapter
public void requestInterstitialAd(@NonNull Context context, @NonNull MediationInterstitialListener mediationInterstitialListener, @NonNull Bundle bundle, @NonNull MediationAdRequest mediationAdRequest, @Nullable Bundle bundle2) {
CustomEventInterstitial customEventInterstitial = (CustomEventInterstitial) zzb(CustomEventInterstitial.class, bundle.getString("class_name"));
this.zzc = customEventInterstitial;
if (customEventInterstitial == null) {
mediationInterstitialListener.onAdFailedToLoad(this, zza);
return;
}
Bundle bundle3 = bundle2 == null ? null : bundle2.getBundle(bundle.getString("class_name"));
CustomEventInterstitial customEventInterstitial2 = this.zzc;
customEventInterstitial2.getClass();
customEventInterstitial2.requestInterstitialAd(context, new zzb(this, this, mediationInterstitialListener), bundle.getString(MediationConfiguration.CUSTOM_EVENT_SERVER_PARAMETER_FIELD), mediationAdRequest, bundle3);
}
@Override // com.google.android.gms.ads.mediation.MediationNativeAdapter
public void requestNativeAd(@NonNull Context context, @NonNull MediationNativeListener mediationNativeListener, @NonNull Bundle bundle, @NonNull NativeMediationAdRequest nativeMediationAdRequest, @Nullable Bundle bundle2) {
CustomEventNative customEventNative = (CustomEventNative) zzb(CustomEventNative.class, bundle.getString("class_name"));
this.zzd = customEventNative;
if (customEventNative == null) {
mediationNativeListener.onAdFailedToLoad(this, zza);
return;
}
Bundle bundle3 = bundle2 == null ? null : bundle2.getBundle(bundle.getString("class_name"));
CustomEventNative customEventNative2 = this.zzd;
customEventNative2.getClass();
customEventNative2.requestNativeAd(context, new zzc(this, mediationNativeListener), bundle.getString(MediationConfiguration.CUSTOM_EVENT_SERVER_PARAMETER_FIELD), nativeMediationAdRequest, bundle3);
}
@Override // com.google.android.gms.ads.mediation.MediationInterstitialAdapter
public void showInterstitial() {
CustomEventInterstitial customEventInterstitial = this.zzc;
if (customEventInterstitial != null) {
customEventInterstitial.showInterstitial();
}
}
@Nullable
private static Object zzb(Class cls, @Nullable String str) {
str.getClass();
try {
return cls.cast(Class.forName(str).getDeclaredConstructor(new Class[0]).newInstance(new Object[0]));
} catch (Throwable th) {
zzo.zzj("Could not instantiate custom event adapter: " + str + ". " + th.getMessage());
return null;
}
}
}

View File

@@ -0,0 +1,14 @@
package com.google.android.gms.ads.mediation.customevent;
import android.content.Context;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.ads.AdSize;
import com.google.android.gms.ads.mediation.MediationAdRequest;
@Deprecated
/* loaded from: classes2.dex */
public interface CustomEventBanner extends CustomEvent {
void requestBannerAd(@NonNull Context context, @NonNull CustomEventBannerListener customEventBannerListener, @Nullable String str, @NonNull AdSize adSize, @NonNull MediationAdRequest mediationAdRequest, @Nullable Bundle bundle);
}

View File

@@ -0,0 +1,10 @@
package com.google.android.gms.ads.mediation.customevent;
import android.view.View;
import androidx.annotation.NonNull;
@Deprecated
/* loaded from: classes2.dex */
public interface CustomEventBannerListener extends CustomEventListener {
void onAdLoaded(@NonNull View view);
}

View File

@@ -0,0 +1,20 @@
package com.google.android.gms.ads.mediation.customevent;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import java.util.HashMap;
@Deprecated
/* loaded from: classes2.dex */
public final class CustomEventExtras {
private final HashMap zza = new HashMap();
@Nullable
public Object getExtra(@NonNull String str) {
return this.zza.get(str);
}
public void setExtra(@NonNull String str, @NonNull Object obj) {
this.zza.put(str, obj);
}
}

View File

@@ -0,0 +1,15 @@
package com.google.android.gms.ads.mediation.customevent;
import android.content.Context;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.ads.mediation.MediationAdRequest;
@Deprecated
/* loaded from: classes2.dex */
public interface CustomEventInterstitial extends CustomEvent {
void requestInterstitialAd(@NonNull Context context, @NonNull CustomEventInterstitialListener customEventInterstitialListener, @Nullable String str, @NonNull MediationAdRequest mediationAdRequest, @Nullable Bundle bundle);
void showInterstitial();
}

View File

@@ -0,0 +1,7 @@
package com.google.android.gms.ads.mediation.customevent;
@Deprecated
/* loaded from: classes2.dex */
public interface CustomEventInterstitialListener extends CustomEventListener {
void onAdLoaded();
}

View File

@@ -0,0 +1,21 @@
package com.google.android.gms.ads.mediation.customevent;
import androidx.annotation.NonNull;
import com.google.android.gms.ads.AdError;
@Deprecated
/* loaded from: classes2.dex */
public interface CustomEventListener {
void onAdClicked();
void onAdClosed();
@Deprecated
void onAdFailedToLoad(int i);
void onAdFailedToLoad(@NonNull AdError adError);
void onAdLeftApplication();
void onAdOpened();
}

View File

@@ -0,0 +1,13 @@
package com.google.android.gms.ads.mediation.customevent;
import android.content.Context;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.ads.mediation.NativeMediationAdRequest;
@Deprecated
/* loaded from: classes2.dex */
public interface CustomEventNative extends CustomEvent {
void requestNativeAd(@NonNull Context context, @NonNull CustomEventNativeListener customEventNativeListener, @Nullable String str, @NonNull NativeMediationAdRequest nativeMediationAdRequest, @Nullable Bundle bundle);
}

View File

@@ -0,0 +1,12 @@
package com.google.android.gms.ads.mediation.customevent;
import androidx.annotation.NonNull;
import com.google.android.gms.ads.mediation.UnifiedNativeAdMapper;
@Deprecated
/* loaded from: classes2.dex */
public interface CustomEventNativeListener extends CustomEventListener {
void onAdImpression();
void onAdLoaded(@NonNull UnifiedNativeAdMapper unifiedNativeAdMapper);
}

View File

@@ -0,0 +1,62 @@
package com.google.android.gms.ads.mediation.customevent;
import android.view.View;
import androidx.annotation.VisibleForTesting;
import com.google.android.gms.ads.AdError;
import com.google.android.gms.ads.internal.util.client.zzo;
import com.google.android.gms.ads.mediation.MediationBannerListener;
@VisibleForTesting
/* loaded from: classes2.dex */
final class zza implements CustomEventBannerListener {
private final CustomEventAdapter zza;
private final MediationBannerListener zzb;
public zza(CustomEventAdapter customEventAdapter, MediationBannerListener mediationBannerListener) {
this.zza = customEventAdapter;
this.zzb = mediationBannerListener;
}
@Override // com.google.android.gms.ads.mediation.customevent.CustomEventListener
public final void onAdClicked() {
zzo.zze("Custom event adapter called onAdClicked.");
this.zzb.onAdClicked(this.zza);
}
@Override // com.google.android.gms.ads.mediation.customevent.CustomEventListener
public final void onAdClosed() {
zzo.zze("Custom event adapter called onAdClosed.");
this.zzb.onAdClosed(this.zza);
}
@Override // com.google.android.gms.ads.mediation.customevent.CustomEventListener
public final void onAdFailedToLoad(int i) {
zzo.zze("Custom event adapter called onAdFailedToLoad.");
this.zzb.onAdFailedToLoad(this.zza, i);
}
@Override // com.google.android.gms.ads.mediation.customevent.CustomEventListener
public final void onAdLeftApplication() {
zzo.zze("Custom event adapter called onAdLeftApplication.");
this.zzb.onAdLeftApplication(this.zza);
}
@Override // com.google.android.gms.ads.mediation.customevent.CustomEventBannerListener
public final void onAdLoaded(View view) {
zzo.zze("Custom event adapter called onAdLoaded.");
this.zza.zze = view;
this.zzb.onAdLoaded(this.zza);
}
@Override // com.google.android.gms.ads.mediation.customevent.CustomEventListener
public final void onAdOpened() {
zzo.zze("Custom event adapter called onAdOpened.");
this.zzb.onAdOpened(this.zza);
}
@Override // com.google.android.gms.ads.mediation.customevent.CustomEventListener
public final void onAdFailedToLoad(AdError adError) {
zzo.zze("Custom event adapter called onAdFailedToLoad.");
this.zzb.onAdFailedToLoad(this.zza, adError);
}
}

View File

@@ -0,0 +1,62 @@
package com.google.android.gms.ads.mediation.customevent;
import androidx.annotation.VisibleForTesting;
import com.google.android.gms.ads.AdError;
import com.google.android.gms.ads.internal.util.client.zzo;
import com.google.android.gms.ads.mediation.MediationInterstitialListener;
@VisibleForTesting
/* loaded from: classes2.dex */
final class zzb implements CustomEventInterstitialListener {
final /* synthetic */ CustomEventAdapter zza;
private final CustomEventAdapter zzb;
private final MediationInterstitialListener zzc;
public zzb(CustomEventAdapter customEventAdapter, CustomEventAdapter customEventAdapter2, MediationInterstitialListener mediationInterstitialListener) {
this.zza = customEventAdapter;
this.zzb = customEventAdapter2;
this.zzc = mediationInterstitialListener;
}
@Override // com.google.android.gms.ads.mediation.customevent.CustomEventListener
public final void onAdClicked() {
zzo.zze("Custom event adapter called onAdClicked.");
this.zzc.onAdClicked(this.zzb);
}
@Override // com.google.android.gms.ads.mediation.customevent.CustomEventListener
public final void onAdClosed() {
zzo.zze("Custom event adapter called onAdClosed.");
this.zzc.onAdClosed(this.zzb);
}
@Override // com.google.android.gms.ads.mediation.customevent.CustomEventListener
public final void onAdFailedToLoad(int i) {
zzo.zze("Custom event adapter called onFailedToReceiveAd.");
this.zzc.onAdFailedToLoad(this.zzb, i);
}
@Override // com.google.android.gms.ads.mediation.customevent.CustomEventListener
public final void onAdLeftApplication() {
zzo.zze("Custom event adapter called onAdLeftApplication.");
this.zzc.onAdLeftApplication(this.zzb);
}
@Override // com.google.android.gms.ads.mediation.customevent.CustomEventInterstitialListener
public final void onAdLoaded() {
zzo.zze("Custom event adapter called onReceivedAd.");
this.zzc.onAdLoaded(this.zza);
}
@Override // com.google.android.gms.ads.mediation.customevent.CustomEventListener
public final void onAdOpened() {
zzo.zze("Custom event adapter called onAdOpened.");
this.zzc.onAdOpened(this.zzb);
}
@Override // com.google.android.gms.ads.mediation.customevent.CustomEventListener
public final void onAdFailedToLoad(AdError adError) {
zzo.zze("Custom event adapter called onFailedToReceiveAd.");
this.zzc.onAdFailedToLoad(this.zzb, adError);
}
}

View File

@@ -0,0 +1,67 @@
package com.google.android.gms.ads.mediation.customevent;
import androidx.annotation.VisibleForTesting;
import com.google.android.gms.ads.AdError;
import com.google.android.gms.ads.internal.util.client.zzo;
import com.google.android.gms.ads.mediation.MediationNativeListener;
import com.google.android.gms.ads.mediation.UnifiedNativeAdMapper;
@VisibleForTesting
/* loaded from: classes2.dex */
final class zzc implements CustomEventNativeListener {
private final CustomEventAdapter zza;
private final MediationNativeListener zzb;
public zzc(CustomEventAdapter customEventAdapter, MediationNativeListener mediationNativeListener) {
this.zza = customEventAdapter;
this.zzb = mediationNativeListener;
}
@Override // com.google.android.gms.ads.mediation.customevent.CustomEventListener
public final void onAdClicked() {
zzo.zze("Custom event adapter called onAdClicked.");
this.zzb.onAdClicked(this.zza);
}
@Override // com.google.android.gms.ads.mediation.customevent.CustomEventListener
public final void onAdClosed() {
zzo.zze("Custom event adapter called onAdClosed.");
this.zzb.onAdClosed(this.zza);
}
@Override // com.google.android.gms.ads.mediation.customevent.CustomEventListener
public final void onAdFailedToLoad(int i) {
zzo.zze("Custom event adapter called onAdFailedToLoad.");
this.zzb.onAdFailedToLoad(this.zza, i);
}
@Override // com.google.android.gms.ads.mediation.customevent.CustomEventNativeListener
public final void onAdImpression() {
zzo.zze("Custom event adapter called onAdImpression.");
this.zzb.onAdImpression(this.zza);
}
@Override // com.google.android.gms.ads.mediation.customevent.CustomEventListener
public final void onAdLeftApplication() {
zzo.zze("Custom event adapter called onAdLeftApplication.");
this.zzb.onAdLeftApplication(this.zza);
}
@Override // com.google.android.gms.ads.mediation.customevent.CustomEventNativeListener
public final void onAdLoaded(UnifiedNativeAdMapper unifiedNativeAdMapper) {
zzo.zze("Custom event adapter called onAdLoaded.");
this.zzb.onAdLoaded(this.zza, unifiedNativeAdMapper);
}
@Override // com.google.android.gms.ads.mediation.customevent.CustomEventListener
public final void onAdOpened() {
zzo.zze("Custom event adapter called onAdOpened.");
this.zzb.onAdOpened(this.zza);
}
@Override // com.google.android.gms.ads.mediation.customevent.CustomEventListener
public final void onAdFailedToLoad(AdError adError) {
zzo.zze("Custom event adapter called onAdFailedToLoad.");
this.zzb.onAdFailedToLoad(this.zza, adError);
}
}