Home
last modified time | relevance | path

Searched refs:AdSelectionConfigFixture (Results 1 – 25 of 47) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DAdSelectionConfigTest.java24 import android.adservices.adselection.AdSelectionConfigFixture;
47 .setSeller(AdSelectionConfigFixture.SELLER) in testBuildValidAdSelectionConfigSuccess()
48 .setDecisionLogicUri(AdSelectionConfigFixture.DECISION_LOGIC_URI) in testBuildValidAdSelectionConfigSuccess()
49 .setCustomAudienceBuyers(AdSelectionConfigFixture.CUSTOM_AUDIENCE_BUYERS) in testBuildValidAdSelectionConfigSuccess()
50 .setAdSelectionSignals(AdSelectionConfigFixture.AD_SELECTION_SIGNALS) in testBuildValidAdSelectionConfigSuccess()
51 .setSellerSignals(AdSelectionConfigFixture.SELLER_SIGNALS) in testBuildValidAdSelectionConfigSuccess()
52 .setPerBuyerSignals(AdSelectionConfigFixture.PER_BUYER_SIGNALS) in testBuildValidAdSelectionConfigSuccess()
55 AdSelectionConfigFixture.TRUSTED_SCORING_SIGNALS_URI) in testBuildValidAdSelectionConfigSuccess()
58 assertEquals(config.getSeller(), AdSelectionConfigFixture.SELLER); in testBuildValidAdSelectionConfigSuccess()
59 assertEquals(config.getDecisionLogicUri(), AdSelectionConfigFixture.DECISION_LOGIC_URI); in testBuildValidAdSelectionConfigSuccess()
[all …]
DAdSelectionOverrideRequestTest.java22 import android.adservices.adselection.AdSelectionConfigFixture;
35 AdSelectionConfigFixture.anAdSelectionConfig();
DAddAdSelectionOverrideRequestTest.java22 import android.adservices.adselection.AdSelectionConfigFixture;
39 AdSelectionConfigFixture.anAdSelectionConfig();
DPersistAdSelectionResultRequestTest.java21 import android.adservices.adselection.AdSelectionConfigFixture;
31 private static final AdTechIdentifier SELLER = AdSelectionConfigFixture.SELLER;
DGetAdSelectionDataRequestTest.java21 import android.adservices.adselection.AdSelectionConfigFixture;
35 private static final AdTechIdentifier SELLER = AdSelectionConfigFixture.SELLER;
DTestAdSelectionManagerTest.java30 import android.adservices.adselection.AdSelectionConfigFixture;
97 AdSelectionConfigFixture.anAdSelectionConfigBuilder()
305 AdSelectionConfigFixture.anAdSelectionConfigBuilder() in assertNoBuyersConfigFailsAdSelection()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DReportImpressionScriptEngineTest.java29 import android.adservices.adselection.AdSelectionConfigFixture;
98 private static final AdTechIdentifier BUYER_1 = AdSelectionConfigFixture.BUYER_1;
220 AdSelectionConfig adSelectionConfig = AdSelectionConfigFixture.anAdSelectionConfig(); in testReportResultSuccessfulCaseRegisterAdBeaconEnabled()
247 AdSelectionConfig adSelectionConfig = AdSelectionConfigFixture.anAdSelectionConfig(); in testReportResultSuccessfulCaseRegisterAdBeaconDisabled()
270 AdSelectionConfig adSelectionConfig = AdSelectionConfigFixture.anAdSelectionConfig(); in testReportResultSuccessfulCaseWithMoreResultsFieldsThanExpected()
297 AdSelectionConfig adSelectionConfig = AdSelectionConfigFixture.anAdSelectionConfig(); in testReportResultSuccessfulCaseWithCallingRegisterAdBeacon()
336 AdSelectionConfig adSelectionConfig = AdSelectionConfigFixture.anAdSelectionConfig(); in testReportResultFailsWhenCallingRegisterAdBeaconWhenFlagDisabled()
364 AdSelectionConfig adSelectionConfig = AdSelectionConfigFixture.anAdSelectionConfig(); in testReportResultFailsInvalidInteractionKeyType()
392 AdSelectionConfig adSelectionConfig = AdSelectionConfigFixture.anAdSelectionConfig(); in testReportResultFailsInvalidInteractionReportingUriType()
422 AdSelectionConfig adSelectionConfig = AdSelectionConfigFixture.anAdSelectionConfig(); in testReportResultFailsWhenRegisterAdBeaconCalledMoreThanOnce()
[all …]
DAdsScoreGeneratorImplTest.java64 import android.adservices.adselection.AdSelectionConfigFixture;
139 private static final AdTechIdentifier BUYER_1 = AdSelectionConfigFixture.BUYER_1;
140 private static final AdTechIdentifier BUYER_2 = AdSelectionConfigFixture.BUYER_2;
327 AdSelectionConfigFixture.anAdSelectionConfigBuilder() in testRunAdScoringSuccess()
437 AdSelectionConfigFixture.anAdSelectionConfigBuilder() in testRunAdScoringSuccessWithDataVersionHeaderEnabled()
563 AdSelectionConfigFixture.anAdSelectionConfigBuilder() in testRunAdScoringSuccessWithDataVersionHeaderDisabled()
694 AdSelectionConfigFixture.anAdSelectionConfigBuilder() in testRunAdScoringSuccess_withDebugReportingEnabled()
828 AdSelectionConfigFixture.anAdSelectionConfigWithSignedContextualAdsBuilder() in testRunAdScoringContextual_Success()
954 AdSelectionConfigFixture.anAdSelectionConfigWithSignedContextualAdsBuilder() in testRunAdScoringContextual_withDebugReportingEnabled_Success()
1101 AdSelectionConfigFixture.anAdSelectionConfigWithSignedContextualAdsBuilder() in testRunAdScoringContextual_UseOverride_Success()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/
DDBAdSelectionInitializationTest.java22 import android.adservices.adselection.AdSelectionConfigFixture;
48 .setSeller(AdSelectionConfigFixture.SELLER) in testBuild_unsetAdSelectionId_throwsISE()
60 .setSeller(AdSelectionConfigFixture.SELLER) in testBuild_unsetCreationInstant_throwsISE()
71 .setSeller(AdSelectionConfigFixture.SELLER) in testBuild_allFieldsSet_success()
77 assertEquals(AdSelectionConfigFixture.SELLER, dbAdSelectionInitialization.getSeller()); in testBuild_allFieldsSet_success()
92 AdSelectionConfigFixture.SELLER, in testCreate_nullCreationInstant_throwsNPE()
102 AdSelectionConfigFixture.SELLER, in testCreate_allFieldsSet_success()
107 assertEquals(AdSelectionConfigFixture.SELLER, dbAdSelectionInitialization.getSeller()); in testCreate_allFieldsSet_success()
DAuctionServerAdSelectionDaoTest.java19 import android.adservices.adselection.AdSelectionConfigFixture;
75 AdTechIdentifier seller = AdSelectionConfigFixture.SELLER_1; in testInsertAndRead_validInput_success()
76 AdTechIdentifier winnerBuyer = AdSelectionConfigFixture.BUYER_1; in testInsertAndRead_validInput_success()
100 AdTechIdentifier seller = AdSelectionConfigFixture.SELLER_1; in testUpdate_validInput_success()
110 AdTechIdentifier winnerBuyer = AdSelectionConfigFixture.BUYER_1; in testUpdate_validInput_success()
136 AdTechIdentifier seller = AdSelectionConfigFixture.SELLER_1; in testInsert_duplicateAdSelectionId_aborts()
137 AdTechIdentifier winnerBuyer = AdSelectionConfigFixture.BUYER_1; in testInsert_duplicateAdSelectionId_aborts()
162 AdTechIdentifier seller = AdSelectionConfigFixture.SELLER_1; in testDelete_retrievingDeletedId_fails()
163 AdTechIdentifier winnerBuyer = AdSelectionConfigFixture.BUYER_1; in testDelete_retrievingDeletedId_fails()
DDBReportingDataTest.java22 import android.adservices.adselection.AdSelectionConfigFixture;
35 CommonFixture.getUri(AdSelectionConfigFixture.BUYER, REPORTING_FRAGMENT);
37 CommonFixture.getUri(AdSelectionConfigFixture.SELLER, REPORTING_FRAGMENT);
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/datahandlers/
DReportingDataTest.java22 import android.adservices.adselection.AdSelectionConfigFixture;
65 CommonFixture.getUri(AdSelectionConfigFixture.BUYER, REPORTING_FRAGMENT);
67 CommonFixture.getUri(AdSelectionConfigFixture.SELLER, REPORTING_FRAGMENT);
79 .setBuyerDecisionLogicUri(AdSelectionConfigFixture.DECISION_LOGIC_URI) in testBuild_bothComputationDataAndUriSet_throwsIAE()
113 .setBuyerDecisionLogicUri(AdSelectionConfigFixture.DECISION_LOGIC_URI) in testBuild_withReportingComputationData_success()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/devapi/
DAdSelectionDevOverridesHelperTest.java24 import android.adservices.adselection.AdSelectionConfigFixture;
46 AdSelectionConfigFixture.anAdSelectionConfig();
90 AdSelectionConfig adSelectionConfig = AdSelectionConfigFixture.anAdSelectionConfig(); in testCalculateAdSelectionIdGeneratesSameIdForTheSameObject()
99 AdSelectionConfigFixture.anAdSelectionConfigBuilder().build())) in testCalculateAdSelectionIdGeneratesDifferentIdsForDifferentData()
102 AdSelectionConfigFixture.anAdSelectionConfigBuilder() in testCalculateAdSelectionIdGeneratesDifferentIdsForDifferentData()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/
DFledgeCtsDebuggableTest.java57 import android.adservices.adselection.AdSelectionConfigFixture;
183 private static final AdTechIdentifier SELLER = AdSelectionConfigFixture.SELLER_1;
185 private static final AdTechIdentifier BUYER_1 = AdSelectionConfigFixture.BUYER_1;
186 private static final AdTechIdentifier BUYER_2 = AdSelectionConfigFixture.BUYER_2;
206 String.format("https://%s%s", AdSelectionConfigFixture.SELLER, SELLER_REPORTING_PATH);
209 String.format("https://%s%s", AdSelectionConfigFixture.SELLER, SELLER_CLICK_URI_PATH);
212 String.format("https://%s%s", AdSelectionConfigFixture.SELLER, SELLER_HOVER_URI_PATH);
264 AdSelectionConfigFixture.anAdSelectionConfigBuilder()
270 AdSelectionConfigFixture.SELLER,
276 AdSelectionConfigFixture.SELLER,
[all …]
DAdSelectionManagerDebuggableTest.java20 import android.adservices.adselection.AdSelectionConfigFixture;
54 AdSelectionConfigFixture.anAdSelectionConfig();
/packages/modules/AdServices/adservices/tests/cts/endtoends/permissions/appoptout/src/com/android/adservices/tests/permissions/
DPermissionsAppOptOutTest.java24 import android.adservices.adselection.AdSelectionConfigFixture;
190 AdSelectionConfigFixture.anAdSelectionConfig( in testNoEnrollment_selectAds_adSelectionConfig()
211 AdSelectionConfigFixture.anAdSelectionConfig( in testWithEnrollment_selectAds_adSelectionConfig()
274 AdSelectionConfigFixture.anAdSelectionConfig( in testNoEnrollment_reportImpression()
300 AdSelectionConfigFixture.anAdSelectionConfig( in testWithEnrollment_reportImpression()
/packages/modules/AdServices/adservices/tests/cts/endtoends/permissions/noperm/src/com/android/adservices/tests/permissions/
DPermissionsNoPermTest.java24 import android.adservices.adselection.AdSelectionConfigFixture;
232 AdSelectionConfig adSelectionConfig = AdSelectionConfigFixture.anAdSelectionConfig(); in testPermissionNotRequested_selectAds_adSelectionConfig()
266 AdSelectionConfig adSelectionConfig = AdSelectionConfigFixture.anAdSelectionConfig(); in testPermissionNotRequested_reportImpression()
333 AdSelectionConfig adSelectionConfig = AdSelectionConfigFixture.anAdSelectionConfig(); in testPermissionNotRequested_fledgeOverrideAdSelectionConfigRemoteInfo()
359 AdSelectionConfig adSelectionConfig = AdSelectionConfigFixture.anAdSelectionConfig(); in testPermissionNotRequested_fledgeRemoveAdSelectionConfigRemoteInfo()
/packages/modules/AdServices/adservices/tests/cts/endtoends/permissions/valid/src/com/android/adservices/tests/permissions/
DPermissionsValidTest.java24 import android.adservices.adselection.AdSelectionConfigFixture;
123 AdSelectionConfig adSelectionConfig = AdSelectionConfigFixture.anAdSelectionConfig(); in testValidPermissions_selectAds_adSelectionConfig()
161 AdSelectionConfig adSelectionConfig = AdSelectionConfigFixture.anAdSelectionConfig(); in testValidPermissions_reportImpression()
/packages/modules/AdServices/adservices/tests/cts/endtoends/permissions/notallowed/src/com/android/adservices/tests/permissions/
DNotInAllowListTest.java24 import android.adservices.adselection.AdSelectionConfigFixture;
150 AdSelectionConfig adSelectionConfig = AdSelectionConfigFixture.anAdSelectionConfig(); in testNotInAllowList_selectAds_adSelectionConfig()
182 AdSelectionConfig adSelectionConfig = AdSelectionConfigFixture.anAdSelectionConfig(); in testNotInAllowList_reportImpression()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/
DDataHandlersFixture.java67 CommonFixture.getUri(AdSelectionConfigFixture.BUYER, REPORTING_FRAGMENT);
69 CommonFixture.getUri(AdSelectionConfigFixture.SELLER, REPORTING_FRAGMENT);
123 .setBuyerDecisionLogicUri(AdSelectionConfigFixture.DECISION_LOGIC_URI)
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/
DAdSelectionManagerTest.java201 .setSeller(AdSelectionConfigFixture.SELLER) in testAdSelectionManagerGetAdSelectionDataWhenResultIsByteArray()
235 .setSeller(AdSelectionConfigFixture.SELLER) in testAdSelectionManagerGetAdSelectionDataCoordinatorWasPassed()
270 .setSeller(AdSelectionConfigFixture.SELLER) in testAdSelectionManagerGetAdSelectionDataWhenResultIsAssetFileDescriptor()
305 .setSeller(AdSelectionConfigFixture.SELLER) in testAdSelectionManagerGetAdSelectionDataWhenResultIsAssetFileDescriptorWithExcessiveSize()
DRemoveAdSelectionOverrideRequestTest.java29 AdSelectionConfigFixture.anAdSelectionConfig();
DGetAdSelectionDataInputTest.java35 private static final AdTechIdentifier SELLER = AdSelectionConfigFixture.SELLER;
36 private static final AdTechIdentifier ANOTHER_SELLER = AdSelectionConfigFixture.SELLER_1;
DPersistAdSelectionResultInputTest.java35 private static final AdTechIdentifier SELLER = AdSelectionConfigFixture.SELLER;
36 private static final AdTechIdentifier ANOTHER_SELLER = AdSelectionConfigFixture.SELLER_1;
DGetAdSelectionDataRequestTest.java29 private static final AdTechIdentifier SELLER = AdSelectionConfigFixture.SELLER;

12