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,83 @@
package androidx.privacysandbox.ads.adservices.adselection;
import android.net.Uri;
import androidx.privacysandbox.ads.adservices.common.AdSelectionSignals;
import androidx.privacysandbox.ads.adservices.common.AdTechIdentifier;
import java.util.List;
import java.util.Map;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes.dex */
public final class AdSelectionConfig {
private final AdSelectionSignals adSelectionSignals;
private final List<AdTechIdentifier> customAudienceBuyers;
private final Uri decisionLogicUri;
private final Map<AdTechIdentifier, AdSelectionSignals> perBuyerSignals;
private final AdTechIdentifier seller;
private final AdSelectionSignals sellerSignals;
private final Uri trustedScoringSignalsUri;
public final AdSelectionSignals getAdSelectionSignals() {
return this.adSelectionSignals;
}
public final List<AdTechIdentifier> getCustomAudienceBuyers() {
return this.customAudienceBuyers;
}
public final Uri getDecisionLogicUri() {
return this.decisionLogicUri;
}
public final Map<AdTechIdentifier, AdSelectionSignals> getPerBuyerSignals() {
return this.perBuyerSignals;
}
public final AdTechIdentifier getSeller() {
return this.seller;
}
public final AdSelectionSignals getSellerSignals() {
return this.sellerSignals;
}
public final Uri getTrustedScoringSignalsUri() {
return this.trustedScoringSignalsUri;
}
public AdSelectionConfig(AdTechIdentifier seller, Uri decisionLogicUri, List<AdTechIdentifier> customAudienceBuyers, AdSelectionSignals adSelectionSignals, AdSelectionSignals sellerSignals, Map<AdTechIdentifier, AdSelectionSignals> perBuyerSignals, Uri trustedScoringSignalsUri) {
Intrinsics.checkNotNullParameter(seller, "seller");
Intrinsics.checkNotNullParameter(decisionLogicUri, "decisionLogicUri");
Intrinsics.checkNotNullParameter(customAudienceBuyers, "customAudienceBuyers");
Intrinsics.checkNotNullParameter(adSelectionSignals, "adSelectionSignals");
Intrinsics.checkNotNullParameter(sellerSignals, "sellerSignals");
Intrinsics.checkNotNullParameter(perBuyerSignals, "perBuyerSignals");
Intrinsics.checkNotNullParameter(trustedScoringSignalsUri, "trustedScoringSignalsUri");
this.seller = seller;
this.decisionLogicUri = decisionLogicUri;
this.customAudienceBuyers = customAudienceBuyers;
this.adSelectionSignals = adSelectionSignals;
this.sellerSignals = sellerSignals;
this.perBuyerSignals = perBuyerSignals;
this.trustedScoringSignalsUri = trustedScoringSignalsUri;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof AdSelectionConfig)) {
return false;
}
AdSelectionConfig adSelectionConfig = (AdSelectionConfig) obj;
return Intrinsics.areEqual(this.seller, adSelectionConfig.seller) && Intrinsics.areEqual(this.decisionLogicUri, adSelectionConfig.decisionLogicUri) && Intrinsics.areEqual(this.customAudienceBuyers, adSelectionConfig.customAudienceBuyers) && Intrinsics.areEqual(this.adSelectionSignals, adSelectionConfig.adSelectionSignals) && Intrinsics.areEqual(this.sellerSignals, adSelectionConfig.sellerSignals) && Intrinsics.areEqual(this.perBuyerSignals, adSelectionConfig.perBuyerSignals) && Intrinsics.areEqual(this.trustedScoringSignalsUri, adSelectionConfig.trustedScoringSignalsUri);
}
public int hashCode() {
return (((((((((((this.seller.hashCode() * 31) + this.decisionLogicUri.hashCode()) * 31) + this.customAudienceBuyers.hashCode()) * 31) + this.adSelectionSignals.hashCode()) * 31) + this.sellerSignals.hashCode()) * 31) + this.perBuyerSignals.hashCode()) * 31) + this.trustedScoringSignalsUri.hashCode();
}
public String toString() {
return "AdSelectionConfig: seller=" + this.seller + ", decisionLogicUri='" + this.decisionLogicUri + "', customAudienceBuyers=" + this.customAudienceBuyers + ", adSelectionSignals=" + this.adSelectionSignals + ", sellerSignals=" + this.sellerSignals + ", perBuyerSignals=" + this.perBuyerSignals + ", trustedScoringSignalsUri=" + this.trustedScoringSignalsUri;
}
}

View File

@@ -0,0 +1,8 @@
package androidx.privacysandbox.ads.adservices.adselection;
/* loaded from: classes.dex */
public abstract /* synthetic */ class AdSelectionManager$Api33Ext4Impl$$ExternalSyntheticApiModelOutline0 {
public static /* bridge */ /* synthetic */ android.adservices.adselection.AdSelectionOutcome m(Object obj) {
return (android.adservices.adselection.AdSelectionOutcome) obj;
}
}

View File

@@ -0,0 +1,5 @@
package androidx.privacysandbox.ads.adservices.adselection;
/* loaded from: classes.dex */
public abstract /* synthetic */ class AdSelectionManager$Api33Ext4Impl$$ExternalSyntheticApiModelOutline1 {
}

View File

@@ -0,0 +1,5 @@
package androidx.privacysandbox.ads.adservices.adselection;
/* loaded from: classes.dex */
public abstract /* synthetic */ class AdSelectionManager$Api33Ext4Impl$$ExternalSyntheticApiModelOutline10 {
}

View File

@@ -0,0 +1,5 @@
package androidx.privacysandbox.ads.adservices.adselection;
/* loaded from: classes.dex */
public abstract /* synthetic */ class AdSelectionManager$Api33Ext4Impl$$ExternalSyntheticApiModelOutline11 {
}

View File

@@ -0,0 +1,5 @@
package androidx.privacysandbox.ads.adservices.adselection;
/* loaded from: classes.dex */
public abstract /* synthetic */ class AdSelectionManager$Api33Ext4Impl$$ExternalSyntheticApiModelOutline12 {
}

View File

@@ -0,0 +1,5 @@
package androidx.privacysandbox.ads.adservices.adselection;
/* loaded from: classes.dex */
public abstract /* synthetic */ class AdSelectionManager$Api33Ext4Impl$$ExternalSyntheticApiModelOutline13 {
}

View File

@@ -0,0 +1,5 @@
package androidx.privacysandbox.ads.adservices.adselection;
/* loaded from: classes.dex */
public abstract /* synthetic */ class AdSelectionManager$Api33Ext4Impl$$ExternalSyntheticApiModelOutline14 {
}

View File

@@ -0,0 +1,8 @@
package androidx.privacysandbox.ads.adservices.adselection;
/* loaded from: classes.dex */
public abstract /* synthetic */ class AdSelectionManager$Api33Ext4Impl$$ExternalSyntheticApiModelOutline15 {
public static /* bridge */ /* synthetic */ Class m() {
return android.adservices.adselection.AdSelectionManager.class;
}
}

View File

@@ -0,0 +1,8 @@
package androidx.privacysandbox.ads.adservices.adselection;
/* loaded from: classes.dex */
public abstract /* synthetic */ class AdSelectionManager$Api33Ext4Impl$$ExternalSyntheticApiModelOutline16 {
public static /* bridge */ /* synthetic */ android.adservices.adselection.AdSelectionManager m(Object obj) {
return (android.adservices.adselection.AdSelectionManager) obj;
}
}

View File

@@ -0,0 +1,8 @@
package androidx.privacysandbox.ads.adservices.adselection;
/* loaded from: classes.dex */
public abstract /* synthetic */ class AdSelectionManager$Api33Ext4Impl$$ExternalSyntheticApiModelOutline17 {
public static /* synthetic */ android.adservices.adselection.ReportImpressionRequest m(long j, android.adservices.adselection.AdSelectionConfig adSelectionConfig) {
return new android.adservices.adselection.ReportImpressionRequest(j, adSelectionConfig);
}
}

View File

@@ -0,0 +1,7 @@
package androidx.privacysandbox.ads.adservices.adselection;
/* loaded from: classes.dex */
public abstract /* synthetic */ class AdSelectionManager$Api33Ext4Impl$$ExternalSyntheticApiModelOutline18 {
public static /* synthetic */ void m() {
}
}

View File

@@ -0,0 +1,10 @@
package androidx.privacysandbox.ads.adservices.adselection;
import android.adservices.adselection.AdSelectionConfig;
/* loaded from: classes.dex */
public abstract /* synthetic */ class AdSelectionManager$Api33Ext4Impl$$ExternalSyntheticApiModelOutline19 {
public static /* synthetic */ AdSelectionConfig.Builder m() {
return new AdSelectionConfig.Builder();
}
}

View File

@@ -0,0 +1,5 @@
package androidx.privacysandbox.ads.adservices.adselection;
/* loaded from: classes.dex */
public abstract /* synthetic */ class AdSelectionManager$Api33Ext4Impl$$ExternalSyntheticApiModelOutline2 {
}

View File

@@ -0,0 +1,5 @@
package androidx.privacysandbox.ads.adservices.adselection;
/* loaded from: classes.dex */
public abstract /* synthetic */ class AdSelectionManager$Api33Ext4Impl$$ExternalSyntheticApiModelOutline3 {
}

View File

@@ -0,0 +1,5 @@
package androidx.privacysandbox.ads.adservices.adselection;
/* loaded from: classes.dex */
public abstract /* synthetic */ class AdSelectionManager$Api33Ext4Impl$$ExternalSyntheticApiModelOutline4 {
}

View File

@@ -0,0 +1,5 @@
package androidx.privacysandbox.ads.adservices.adselection;
/* loaded from: classes.dex */
public abstract /* synthetic */ class AdSelectionManager$Api33Ext4Impl$$ExternalSyntheticApiModelOutline5 {
}

View File

@@ -0,0 +1,5 @@
package androidx.privacysandbox.ads.adservices.adselection;
/* loaded from: classes.dex */
public abstract /* synthetic */ class AdSelectionManager$Api33Ext4Impl$$ExternalSyntheticApiModelOutline6 {
}

View File

@@ -0,0 +1,5 @@
package androidx.privacysandbox.ads.adservices.adselection;
/* loaded from: classes.dex */
public abstract /* synthetic */ class AdSelectionManager$Api33Ext4Impl$$ExternalSyntheticApiModelOutline7 {
}

View File

@@ -0,0 +1,5 @@
package androidx.privacysandbox.ads.adservices.adselection;
/* loaded from: classes.dex */
public abstract /* synthetic */ class AdSelectionManager$Api33Ext4Impl$$ExternalSyntheticApiModelOutline8 {
}

View File

@@ -0,0 +1,5 @@
package androidx.privacysandbox.ads.adservices.adselection;
/* loaded from: classes.dex */
public abstract /* synthetic */ class AdSelectionManager$Api33Ext4Impl$$ExternalSyntheticApiModelOutline9 {
}

View File

@@ -0,0 +1,28 @@
package androidx.privacysandbox.ads.adservices.adselection;
import androidx.privacysandbox.ads.adservices.adselection.AdSelectionManager;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.jvm.internal.ContinuationImpl;
import kotlin.coroutines.jvm.internal.DebugMetadata;
@DebugMetadata(c = "androidx.privacysandbox.ads.adservices.adselection.AdSelectionManager$Api33Ext4Impl", f = "AdSelectionManager.kt", l = {92}, m = "selectAds")
/* loaded from: classes.dex */
public final class AdSelectionManager$Api33Ext4Impl$selectAds$1 extends ContinuationImpl {
Object L$0;
int label;
/* synthetic */ Object result;
final /* synthetic */ AdSelectionManager.Api33Ext4Impl this$0;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public AdSelectionManager$Api33Ext4Impl$selectAds$1(AdSelectionManager.Api33Ext4Impl api33Ext4Impl, Continuation continuation) {
super(continuation);
this.this$0 = api33Ext4Impl;
}
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
public final Object invokeSuspend(Object obj) {
this.result = obj;
this.label |= Integer.MIN_VALUE;
return this.this$0.selectAds(null, this);
}
}

View File

@@ -0,0 +1,268 @@
package androidx.privacysandbox.ads.adservices.adselection;
import android.adservices.adselection.AdSelectionConfig;
import android.adservices.common.AdSelectionSignals;
import android.adservices.common.AdTechIdentifier;
import android.annotation.SuppressLint;
import android.content.Context;
import android.net.Uri;
import androidx.annotation.DoNotInline;
import androidx.annotation.RequiresExtension;
import androidx.annotation.RequiresPermission;
import androidx.core.os.OutcomeReceiverKt;
import androidx.credentials.CredentialManager$$ExternalSyntheticLambda0;
import androidx.privacysandbox.ads.adservices.internal.AdServicesInfo;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import kotlin.Unit;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.intrinsics.IntrinsicsKt__IntrinsicsJvmKt;
import kotlin.coroutines.intrinsics.IntrinsicsKt__IntrinsicsKt;
import kotlin.coroutines.jvm.internal.DebugProbesKt;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.SourceDebugExtension;
import kotlinx.coroutines.CancellableContinuationImpl;
/* loaded from: classes.dex */
public abstract class AdSelectionManager {
public static final Companion Companion = new Companion(null);
@SuppressLint({"NewApi", "ClassVerificationFailure"})
public static final AdSelectionManager obtain(Context context) {
return Companion.obtain(context);
}
@RequiresPermission("android.permission.ACCESS_ADSERVICES_CUSTOM_AUDIENCE")
public abstract Object reportImpression(ReportImpressionRequest reportImpressionRequest, Continuation continuation);
@RequiresPermission("android.permission.ACCESS_ADSERVICES_CUSTOM_AUDIENCE")
public abstract Object selectAds(AdSelectionConfig adSelectionConfig, Continuation continuation);
@SuppressLint({"NewApi", "ClassVerificationFailure"})
@RequiresExtension(extension = 1000000, version = 4)
@SourceDebugExtension({"SMAP\nAdSelectionManager.kt\nKotlin\n*S Kotlin\n*F\n+ 1 AdSelectionManager.kt\nandroidx/privacysandbox/ads/adservices/adselection/AdSelectionManager$Api33Ext4Impl\n+ 2 CancellableContinuation.kt\nkotlinx/coroutines/CancellableContinuationKt\n*L\n1#1,199:1\n314#2,11:200\n314#2,11:211\n*S KotlinDebug\n*F\n+ 1 AdSelectionManager.kt\nandroidx/privacysandbox/ads/adservices/adselection/AdSelectionManager$Api33Ext4Impl\n*L\n98#1:200,11\n162#1:211,11\n*E\n"})
public static final class Api33Ext4Impl extends AdSelectionManager {
private final android.adservices.adselection.AdSelectionManager mAdSelectionManager;
public Api33Ext4Impl(android.adservices.adselection.AdSelectionManager mAdSelectionManager) {
Intrinsics.checkNotNullParameter(mAdSelectionManager, "mAdSelectionManager");
this.mAdSelectionManager = mAdSelectionManager;
}
/* JADX WARN: Illegal instructions before constructor call */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public Api33Ext4Impl(android.content.Context r2) {
/*
r1 = this;
java.lang.String r0 = "context"
kotlin.jvm.internal.Intrinsics.checkNotNullParameter(r2, r0)
java.lang.Class r0 = androidx.privacysandbox.ads.adservices.adselection.AdSelectionManager$Api33Ext4Impl$$ExternalSyntheticApiModelOutline15.m()
java.lang.Object r2 = r2.getSystemService(r0)
java.lang.String r0 = "context.getSystemService…:class.java\n )"
kotlin.jvm.internal.Intrinsics.checkNotNullExpressionValue(r2, r0)
android.adservices.adselection.AdSelectionManager r2 = androidx.privacysandbox.ads.adservices.adselection.AdSelectionManager$Api33Ext4Impl$$ExternalSyntheticApiModelOutline16.m(r2)
r1.<init>(r2)
return
*/
throw new UnsupportedOperationException("Method not decompiled: androidx.privacysandbox.ads.adservices.adselection.AdSelectionManager.Api33Ext4Impl.<init>(android.content.Context):void");
}
/* JADX WARN: Removed duplicated region for block: B:15:0x0035 */
/* JADX WARN: Removed duplicated region for block: B:8:0x0023 */
@Override // androidx.privacysandbox.ads.adservices.adselection.AdSelectionManager
@androidx.annotation.RequiresPermission("android.permission.ACCESS_ADSERVICES_CUSTOM_AUDIENCE")
@androidx.annotation.DoNotInline
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public java.lang.Object selectAds(androidx.privacysandbox.ads.adservices.adselection.AdSelectionConfig r5, kotlin.coroutines.Continuation r6) {
/*
r4 = this;
boolean r0 = r6 instanceof androidx.privacysandbox.ads.adservices.adselection.AdSelectionManager$Api33Ext4Impl$selectAds$1
if (r0 == 0) goto L13
r0 = r6
androidx.privacysandbox.ads.adservices.adselection.AdSelectionManager$Api33Ext4Impl$selectAds$1 r0 = (androidx.privacysandbox.ads.adservices.adselection.AdSelectionManager$Api33Ext4Impl$selectAds$1) r0
int r1 = r0.label
r2 = -2147483648(0xffffffff80000000, float:-0.0)
r3 = r1 & r2
if (r3 == 0) goto L13
int r1 = r1 - r2
r0.label = r1
goto L18
L13:
androidx.privacysandbox.ads.adservices.adselection.AdSelectionManager$Api33Ext4Impl$selectAds$1 r0 = new androidx.privacysandbox.ads.adservices.adselection.AdSelectionManager$Api33Ext4Impl$selectAds$1
r0.<init>(r4, r6)
L18:
java.lang.Object r6 = r0.result
java.lang.Object r1 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED()
int r2 = r0.label
r3 = 1
if (r2 == 0) goto L35
if (r2 != r3) goto L2d
java.lang.Object r5 = r0.L$0
androidx.privacysandbox.ads.adservices.adselection.AdSelectionManager$Api33Ext4Impl r5 = (androidx.privacysandbox.ads.adservices.adselection.AdSelectionManager.Api33Ext4Impl) r5
kotlin.ResultKt.throwOnFailure(r6)
goto L48
L2d:
java.lang.IllegalStateException r5 = new java.lang.IllegalStateException
java.lang.String r6 = "call to 'resume' before 'invoke' with coroutine"
r5.<init>(r6)
throw r5
L35:
kotlin.ResultKt.throwOnFailure(r6)
android.adservices.adselection.AdSelectionConfig r5 = r4.convertAdSelectionConfig(r5)
r0.L$0 = r4
r0.label = r3
java.lang.Object r6 = r4.selectAdsInternal(r5, r0)
if (r6 != r1) goto L47
return r1
L47:
r5 = r4
L48:
android.adservices.adselection.AdSelectionOutcome r6 = androidx.privacysandbox.ads.adservices.adselection.AdSelectionManager$Api33Ext4Impl$$ExternalSyntheticApiModelOutline0.m(r6)
androidx.privacysandbox.ads.adservices.adselection.AdSelectionOutcome r5 = r5.convertResponse(r6)
return r5
*/
throw new UnsupportedOperationException("Method not decompiled: androidx.privacysandbox.ads.adservices.adselection.AdSelectionManager.Api33Ext4Impl.selectAds(androidx.privacysandbox.ads.adservices.adselection.AdSelectionConfig, kotlin.coroutines.Continuation):java.lang.Object");
}
private final android.adservices.adselection.AdSelectionConfig convertAdSelectionConfig(AdSelectionConfig adSelectionConfig) {
AdSelectionConfig.Builder adSelectionSignals;
AdSelectionConfig.Builder customAudienceBuyers;
AdSelectionConfig.Builder decisionLogicUri;
AdTechIdentifier fromString;
AdSelectionConfig.Builder seller;
AdSelectionConfig.Builder perBuyerSignals;
AdSelectionConfig.Builder sellerSignals;
AdSelectionConfig.Builder trustedScoringSignalsUri;
android.adservices.adselection.AdSelectionConfig build;
adSelectionSignals = AdSelectionManager$Api33Ext4Impl$$ExternalSyntheticApiModelOutline19.m().setAdSelectionSignals(convertAdSelectionSignals(adSelectionConfig.getAdSelectionSignals()));
customAudienceBuyers = adSelectionSignals.setCustomAudienceBuyers(convertBuyers(adSelectionConfig.getCustomAudienceBuyers()));
decisionLogicUri = customAudienceBuyers.setDecisionLogicUri(adSelectionConfig.getDecisionLogicUri());
fromString = AdTechIdentifier.fromString(adSelectionConfig.getSeller().getIdentifier());
seller = decisionLogicUri.setSeller(fromString);
perBuyerSignals = seller.setPerBuyerSignals(convertPerBuyerSignals(adSelectionConfig.getPerBuyerSignals()));
sellerSignals = perBuyerSignals.setSellerSignals(convertAdSelectionSignals(adSelectionConfig.getSellerSignals()));
trustedScoringSignalsUri = sellerSignals.setTrustedScoringSignalsUri(adSelectionConfig.getTrustedScoringSignalsUri());
build = trustedScoringSignalsUri.build();
Intrinsics.checkNotNullExpressionValue(build, "Builder()\n …\n .build()");
return build;
}
private final AdSelectionSignals convertAdSelectionSignals(androidx.privacysandbox.ads.adservices.common.AdSelectionSignals adSelectionSignals) {
AdSelectionSignals fromString;
fromString = AdSelectionSignals.fromString(adSelectionSignals.getSignals());
Intrinsics.checkNotNullExpressionValue(fromString, "fromString(request.signals)");
return fromString;
}
private final List<AdTechIdentifier> convertBuyers(List<androidx.privacysandbox.ads.adservices.common.AdTechIdentifier> list) {
AdTechIdentifier fromString;
ArrayList arrayList = new ArrayList();
Iterator<androidx.privacysandbox.ads.adservices.common.AdTechIdentifier> it = list.iterator();
while (it.hasNext()) {
fromString = AdTechIdentifier.fromString(it.next().getIdentifier());
Intrinsics.checkNotNullExpressionValue(fromString, "fromString(buyer.identifier)");
arrayList.add(fromString);
}
return arrayList;
}
private final Map<AdTechIdentifier, AdSelectionSignals> convertPerBuyerSignals(Map<androidx.privacysandbox.ads.adservices.common.AdTechIdentifier, androidx.privacysandbox.ads.adservices.common.AdSelectionSignals> map) {
AdTechIdentifier fromString;
AdSelectionSignals adSelectionSignals;
HashMap hashMap = new HashMap();
for (androidx.privacysandbox.ads.adservices.common.AdTechIdentifier adTechIdentifier : map.keySet()) {
fromString = AdTechIdentifier.fromString(adTechIdentifier.getIdentifier());
Intrinsics.checkNotNullExpressionValue(fromString, "fromString(key.identifier)");
if (map.get(adTechIdentifier) != null) {
androidx.privacysandbox.ads.adservices.common.AdSelectionSignals adSelectionSignals2 = map.get(adTechIdentifier);
Intrinsics.checkNotNull(adSelectionSignals2);
adSelectionSignals = convertAdSelectionSignals(adSelectionSignals2);
} else {
adSelectionSignals = null;
}
hashMap.put(fromString, adSelectionSignals);
}
return hashMap;
}
private final AdSelectionOutcome convertResponse(android.adservices.adselection.AdSelectionOutcome adSelectionOutcome) {
long adSelectionId;
Uri renderUri;
adSelectionId = adSelectionOutcome.getAdSelectionId();
renderUri = adSelectionOutcome.getRenderUri();
Intrinsics.checkNotNullExpressionValue(renderUri, "response.renderUri");
return new AdSelectionOutcome(adSelectionId, renderUri);
}
/* JADX INFO: Access modifiers changed from: private */
public final android.adservices.adselection.ReportImpressionRequest convertReportImpressionRequest(ReportImpressionRequest reportImpressionRequest) {
AdSelectionManager$Api33Ext4Impl$$ExternalSyntheticApiModelOutline18.m();
return AdSelectionManager$Api33Ext4Impl$$ExternalSyntheticApiModelOutline17.m(reportImpressionRequest.getAdSelectionId(), convertAdSelectionConfig(reportImpressionRequest.getAdSelectionConfig()));
}
/* JADX INFO: Access modifiers changed from: private */
@RequiresPermission("android.permission.ACCESS_ADSERVICES_CUSTOM_AUDIENCE")
public final Object selectAdsInternal(android.adservices.adselection.AdSelectionConfig adSelectionConfig, Continuation continuation) {
Continuation intercepted;
Object coroutine_suspended;
intercepted = IntrinsicsKt__IntrinsicsJvmKt.intercepted(continuation);
CancellableContinuationImpl cancellableContinuationImpl = new CancellableContinuationImpl(intercepted, 1);
cancellableContinuationImpl.initCancellability();
this.mAdSelectionManager.selectAds(adSelectionConfig, new CredentialManager$$ExternalSyntheticLambda0(), OutcomeReceiverKt.asOutcomeReceiver(cancellableContinuationImpl));
Object result = cancellableContinuationImpl.getResult();
coroutine_suspended = IntrinsicsKt__IntrinsicsKt.getCOROUTINE_SUSPENDED();
if (result == coroutine_suspended) {
DebugProbesKt.probeCoroutineSuspended(continuation);
}
return result;
}
@Override // androidx.privacysandbox.ads.adservices.adselection.AdSelectionManager
@RequiresPermission("android.permission.ACCESS_ADSERVICES_CUSTOM_AUDIENCE")
@DoNotInline
public Object reportImpression(ReportImpressionRequest reportImpressionRequest, Continuation continuation) {
Continuation intercepted;
Object coroutine_suspended;
Object coroutine_suspended2;
intercepted = IntrinsicsKt__IntrinsicsJvmKt.intercepted(continuation);
CancellableContinuationImpl cancellableContinuationImpl = new CancellableContinuationImpl(intercepted, 1);
cancellableContinuationImpl.initCancellability();
this.mAdSelectionManager.reportImpression(convertReportImpressionRequest(reportImpressionRequest), new CredentialManager$$ExternalSyntheticLambda0(), OutcomeReceiverKt.asOutcomeReceiver(cancellableContinuationImpl));
Object result = cancellableContinuationImpl.getResult();
coroutine_suspended = IntrinsicsKt__IntrinsicsKt.getCOROUTINE_SUSPENDED();
if (result == coroutine_suspended) {
DebugProbesKt.probeCoroutineSuspended(continuation);
}
coroutine_suspended2 = IntrinsicsKt__IntrinsicsKt.getCOROUTINE_SUSPENDED();
return result == coroutine_suspended2 ? result : Unit.INSTANCE;
}
}
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
@SuppressLint({"NewApi", "ClassVerificationFailure"})
public final AdSelectionManager obtain(Context context) {
Intrinsics.checkNotNullParameter(context, "context");
if (AdServicesInfo.INSTANCE.version() >= 4) {
return new Api33Ext4Impl(context);
}
return null;
}
}
}

View File

@@ -0,0 +1,43 @@
package androidx.privacysandbox.ads.adservices.adselection;
import android.net.Uri;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes.dex */
public final class AdSelectionOutcome {
private final long adSelectionId;
private final Uri renderUri;
public final long getAdSelectionId() {
return this.adSelectionId;
}
public final Uri getRenderUri() {
return this.renderUri;
}
public AdSelectionOutcome(long j, Uri renderUri) {
Intrinsics.checkNotNullParameter(renderUri, "renderUri");
this.adSelectionId = j;
this.renderUri = renderUri;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof AdSelectionOutcome)) {
return false;
}
AdSelectionOutcome adSelectionOutcome = (AdSelectionOutcome) obj;
return this.adSelectionId == adSelectionOutcome.adSelectionId && Intrinsics.areEqual(this.renderUri, adSelectionOutcome.renderUri);
}
public int hashCode() {
return (Long.hashCode(this.adSelectionId) * 31) + this.renderUri.hashCode();
}
public String toString() {
return "AdSelectionOutcome: adSelectionId=" + this.adSelectionId + ", renderUri=" + this.renderUri;
}
}

View File

@@ -0,0 +1,42 @@
package androidx.privacysandbox.ads.adservices.adselection;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes.dex */
public final class ReportImpressionRequest {
private final AdSelectionConfig adSelectionConfig;
private final long adSelectionId;
public final AdSelectionConfig getAdSelectionConfig() {
return this.adSelectionConfig;
}
public final long getAdSelectionId() {
return this.adSelectionId;
}
public ReportImpressionRequest(long j, AdSelectionConfig adSelectionConfig) {
Intrinsics.checkNotNullParameter(adSelectionConfig, "adSelectionConfig");
this.adSelectionId = j;
this.adSelectionConfig = adSelectionConfig;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof ReportImpressionRequest)) {
return false;
}
ReportImpressionRequest reportImpressionRequest = (ReportImpressionRequest) obj;
return this.adSelectionId == reportImpressionRequest.adSelectionId && Intrinsics.areEqual(this.adSelectionConfig, reportImpressionRequest.adSelectionConfig);
}
public int hashCode() {
return (Long.hashCode(this.adSelectionId) * 31) + this.adSelectionConfig.hashCode();
}
public String toString() {
return "ReportImpressionRequest: adSelectionId=" + this.adSelectionId + ", adSelectionConfig=" + this.adSelectionConfig;
}
}