/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/ |
D | AdSelectionConfigTest.java | 24 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 …]
|
D | AdSelectionOverrideRequestTest.java | 22 import android.adservices.adselection.AdSelectionConfigFixture; 35 AdSelectionConfigFixture.anAdSelectionConfig();
|
D | AddAdSelectionOverrideRequestTest.java | 22 import android.adservices.adselection.AdSelectionConfigFixture; 39 AdSelectionConfigFixture.anAdSelectionConfig();
|
D | PersistAdSelectionResultRequestTest.java | 21 import android.adservices.adselection.AdSelectionConfigFixture; 31 private static final AdTechIdentifier SELLER = AdSelectionConfigFixture.SELLER;
|
D | GetAdSelectionDataRequestTest.java | 21 import android.adservices.adselection.AdSelectionConfigFixture; 35 private static final AdTechIdentifier SELLER = AdSelectionConfigFixture.SELLER;
|
D | TestAdSelectionManagerTest.java | 30 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/ |
D | ReportImpressionScriptEngineTest.java | 29 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 …]
|
D | AdsScoreGeneratorImplTest.java | 64 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/ |
D | DBAdSelectionInitializationTest.java | 22 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()
|
D | AuctionServerAdSelectionDaoTest.java | 19 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()
|
D | DBReportingDataTest.java | 22 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/ |
D | ReportingDataTest.java | 22 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/ |
D | AdSelectionDevOverridesHelperTest.java | 24 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/ |
D | FledgeCtsDebuggableTest.java | 57 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 …]
|
D | AdSelectionManagerDebuggableTest.java | 20 import android.adservices.adselection.AdSelectionConfigFixture; 54 AdSelectionConfigFixture.anAdSelectionConfig();
|
/packages/modules/AdServices/adservices/tests/cts/endtoends/permissions/appoptout/src/com/android/adservices/tests/permissions/ |
D | PermissionsAppOptOutTest.java | 24 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/ |
D | PermissionsNoPermTest.java | 24 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/ |
D | PermissionsValidTest.java | 24 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/ |
D | NotInAllowListTest.java | 24 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/ |
D | DataHandlersFixture.java | 67 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/ |
D | AdSelectionManagerTest.java | 201 .setSeller(AdSelectionConfigFixture.SELLER) in testAdSelectionManagerGetAdSelectionDataWhenResultIsByteArray() 235 .setSeller(AdSelectionConfigFixture.SELLER) in testAdSelectionManagerGetAdSelectionDataCoordinatorWasPassed() 270 .setSeller(AdSelectionConfigFixture.SELLER) in testAdSelectionManagerGetAdSelectionDataWhenResultIsAssetFileDescriptor() 305 .setSeller(AdSelectionConfigFixture.SELLER) in testAdSelectionManagerGetAdSelectionDataWhenResultIsAssetFileDescriptorWithExcessiveSize()
|
D | RemoveAdSelectionOverrideRequestTest.java | 29 AdSelectionConfigFixture.anAdSelectionConfig();
|
D | GetAdSelectionDataInputTest.java | 35 private static final AdTechIdentifier SELLER = AdSelectionConfigFixture.SELLER; 36 private static final AdTechIdentifier ANOTHER_SELLER = AdSelectionConfigFixture.SELLER_1;
|
D | PersistAdSelectionResultInputTest.java | 35 private static final AdTechIdentifier SELLER = AdSelectionConfigFixture.SELLER; 36 private static final AdTechIdentifier ANOTHER_SELLER = AdSelectionConfigFixture.SELLER_1;
|
D | GetAdSelectionDataRequestTest.java | 29 private static final AdTechIdentifier SELLER = AdSelectionConfigFixture.SELLER;
|