Home
last modified time | relevance | path

Searched refs:DecisionLogic (Results 1 – 21 of 21) sorted by relevance

/packages/modules/AdServices/adservices/framework/java/android/adservices/adselection/
DDecisionLogic.java30 public final class DecisionLogic implements Parcelable { class
34 public DecisionLogic(@NonNull String buyerDecisionLogic) { in DecisionLogic() method in DecisionLogic
39 private DecisionLogic(@NonNull Parcel in) { in DecisionLogic() method in DecisionLogic
44 public static final Creator<DecisionLogic> CREATOR =
45 new Creator<DecisionLogic>() {
47 public DecisionLogic createFromParcel(Parcel in) {
49 return new DecisionLogic(in);
53 public DecisionLogic[] newArray(int size) {
54 return new DecisionLogic[size];
82 if (!(o instanceof DecisionLogic)) return false; in equals()
[all …]
DPerBuyerDecisionLogic.java50 @NonNull private final Map<AdTechIdentifier, DecisionLogic> mPerBuyerLogicMap;
58 public PerBuyerDecisionLogic(@NonNull Map<AdTechIdentifier, DecisionLogic> perBuyerLogicMap) { in PerBuyerDecisionLogic()
66 in, AdTechIdentifier::fromString, DecisionLogic.class); in PerBuyerDecisionLogic()
109 public Map<AdTechIdentifier, DecisionLogic> getPerBuyerLogicMap() { in getPerBuyerLogicMap()
DDecisionLogic.aidl23 parcelable DecisionLogic;
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DDecisionLogicTest.java24 import android.adservices.adselection.DecisionLogic;
43 DecisionLogic valid = new DecisionLogic(DECISION_LOGIC); in testBuildValid_Success()
49 DecisionLogic valid = new DecisionLogic(DECISION_LOGIC); in testParcelValid_Success()
55 DecisionLogic fromParcel = DecisionLogic.CREATOR.createFromParcel(p); in testParcelValid_Success()
64 new DecisionLogic(null); in testBuildWith_NullDecisionLogic_Failure()
70 DecisionLogic obj = new DecisionLogic(DECISION_LOGIC); in testDescribeContents()
DPerBuyerDecisionLogicTest.java24 import android.adservices.adselection.DecisionLogic;
44 private static final DecisionLogic DECISION_LOGIC = new DecisionLogic(DECISION_LOGIC_JS);
69 Map<AdTechIdentifier, DecisionLogic> mapFromParcel = fromParcel.getPerBuyerLogicMap(); in testParcelValid_Success()
DAddAdSelectionOverrideRequestTest.java24 import android.adservices.adselection.DecisionLogic;
47 private static final DecisionLogic DECISION_LOGIC = new DecisionLogic(DECISION_LOGIC_JS);
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/
DDecisionLogicTest.java36 DecisionLogic valid = new DecisionLogic(DECISION_LOGIC); in testBuildValid_Success()
42 DecisionLogic valid = new DecisionLogic(DECISION_LOGIC); in testParcelValid_Success()
48 DecisionLogic fromParcel = DecisionLogic.CREATOR.createFromParcel(p); in testParcelValid_Success()
54 assertThrows(NullPointerException.class, () -> new DecisionLogic(null)); in testBuildWith_NullDecisionLogic_Failure()
59 DecisionLogic obj = new DecisionLogic(DECISION_LOGIC); in testDescribeContents()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DJsFetcher.java27 import com.android.adservices.data.common.DecisionLogic;
125 FluentFuture<DecisionLogic> jsOverrideFuture = in getBiddingLogic()
140 .transform(DecisionLogic::getPayload, mLightweightExecutorService) in getBiddingLogic()
158 public FluentFuture<DecisionLogic> getBuyerDecisionLogicWithLogger( in getBuyerDecisionLogicWithLogger()
167 FluentFuture<DecisionLogic> jsOverrideFuture = in getBuyerDecisionLogicWithLogger()
211 FluentFuture<DecisionLogic> jsOverrideFuture =
221 .transform(DecisionLogic::getPayload, mLightweightExecutorService)
255 FluentFuture<DecisionLogic> jsOverrideFuture =
266 .transform(DecisionLogic::getPayload, mLightweightExecutorService)
289 FluentFuture<DecisionLogic> jsOverrideFuture =
[all …]
DAdBidGeneratorImpl.java34 import com.android.adservices.data.common.DecisionLogic;
252 FluentFuture<DecisionLogic> buyerDecisionLogic = in runAdBiddingPerCA()
449 @NonNull DecisionLogic buyerDecisionLogicJs,
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/common/
DDecisionLogicTest.java36 DecisionLogic decisionLogic = DecisionLogic.create(PAYLOAD, VERSION_MAP); in testGetVersion()
43 DecisionLogic decisionLogicWithEmptyVersions = in testGetVersion()
44 DecisionLogic.create(PAYLOAD, ImmutableMap.of()); in testGetVersion()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/common/
DDecisionLogic.java29 public abstract class DecisionLogic { class
39 public static DecisionLogic create( in create()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/devapi/
DCustomAudienceDevOverridesHelper.java26 import com.android.adservices.data.common.DecisionLogic;
66 public DecisionLogic getBiddingLogicOverride( in getBiddingLogicOverride()
79 DecisionLogic result = in getBiddingLogicOverride()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/devapi/
DCustomAudienceDevOverridesHelperTest.java27 import com.android.adservices.data.common.DecisionLogic;
88 DecisionLogic.create( in testGetOverridesFindsMatchingOverride()
119 .isEqualTo(DecisionLogic.create(BIDDING_LOGIC_JS, ImmutableMap.of())); in testGetOverridesFindsMatchingOverride_nullJsVersion()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DJsFetcherTest.java46 import com.android.adservices.data.common.DecisionLogic;
252 FluentFuture<DecisionLogic> buyerDecisionLogicFuture = in testSuccessfulGetBuyerLogicWithOverrideWithLogger()
260 DecisionLogic buyerDecisionLogic = waitForFuture(() -> buyerDecisionLogicFuture); in testSuccessfulGetBuyerLogicWithOverrideWithLogger()
307 FluentFuture<DecisionLogic> buyerDecisionLogicFuture = in testSuccessfulGetBuyerLogicWithoutOverrideAndLogger()
DAdSelectionServiceImplTest.java83 import android.adservices.adselection.DecisionLogic;
236 CommonFixture.VALID_BUYER_1, new DecisionLogic("reportWin()"),
237 CommonFixture.VALID_BUYER_2, new DecisionLogic("reportWin()")));
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/customaudience/
DCustomAudienceDao.java37 import com.android.adservices.data.common.DecisionLogic;
391 public DecisionLogic getBiddingLogicUriOverride( in getBiddingLogicUriOverride()
410 return DecisionLogic.create( in getBiddingLogicUriOverride()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/
DDBBuyerDecisionOverride.java21 import android.adservices.adselection.DecisionLogic;
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/customaudience/
DCustomAudienceDaoTest.java54 import com.android.adservices.data.common.DecisionLogic;
1018 DecisionLogic biddingLogicJS = in testGetCustomAudienceOverrideExists()
1023 DecisionLogic.create( in testGetCustomAudienceOverrideExists()
1037 DecisionLogic biddingLogicJs1 = in testCorrectlyOverridesCustomAudienceOverride()
1046 DecisionLogic.create( in testCorrectlyOverridesCustomAudienceOverride()
1057 DecisionLogic biddingLogicJs3 = in testCorrectlyOverridesCustomAudienceOverride()
1065 assertEquals(DecisionLogic.create(BIDDING_LOGIC_JS_3, ImmutableMap.of()), biddingLogicJs3); in testCorrectlyOverridesCustomAudienceOverride()
1077 DecisionLogic biddingLogicJs1 = in testCorrectlyGetsBothCustomAudienceOverrides()
1086 DecisionLogic.create( in testCorrectlyGetsBothCustomAudienceOverrides()
1094 DecisionLogic biddingLogicJs2 = in testCorrectlyGetsBothCustomAudienceOverrides()
[all …]
/packages/modules/AdServices/adservices/framework/api/
Dcurrent.txt127 …ices.flags.fledge_ad_selection_filtering_enabled") public final class DecisionLogic implements and…
128 ctor public DecisionLogic(@NonNull String);
132 …c static final android.os.Parcelable.Creator<android.adservices.adselection.DecisionLogic> CREATOR;
171 …util.Map<android.adservices.common.AdTechIdentifier,android.adservices.adselection.DecisionLogic>);
173 …oid.adservices.common.AdTechIdentifier,android.adservices.adselection.DecisionLogic> getPerBuyerLo…
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/
DFledgeCtsDebuggableTest.java63 import android.adservices.adselection.DecisionLogic;
1202 new DecisionLogic( in testFledgeSelectionFlow_WithContextualAds_Success()
1320 new DecisionLogic( in testFledgeSelectionFlow_WithContextualAdsDisabled_ContextualAdsRemoved()
1437 new DecisionLogic( in testFledgeSelectionFlow_WithContextualAdsLogging_Success()
1560 new DecisionLogic( in testFledgeSelectionFlow_OnlyContextualAds_Success()
1635 new DecisionLogic( in testFledgeSelectionFlow_WithUnauthorizedContextualAds_Success()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DFledgeE2ETest.java63 import android.adservices.adselection.DecisionLogic;
278 CommonFixture.VALID_BUYER_1, new DecisionLogic("reportWin()"),
279 CommonFixture.VALID_BUYER_2, new DecisionLogic("reportWin()")));