/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/customaudience/ |
D | DBCustomAudienceTest.java | 97 .setAds( in testFromServiceObject_successNoRenderId() 107 .setAds( in testFromServiceObject_successNoRenderId() 129 .setAds( in testFromServiceObject_successWIthRenderId() 139 .setAds( in testFromServiceObject_successWIthRenderId() 281 .setAds(null) in testFromServiceObject_noAdsData_lastUpdatedSetToZero() 286 .setAds(null) in testFromServiceObject_noAdsData_lastUpdatedSetToZero() 375 .setAds( in testCopyWithUnsuccessfulUpdatableDataDoesNotChange() 403 .setAds( in testCopyWithDebuggableWorksSuccessfully() 432 .setAds( in testCopyWithSuccessfulEmptyUpdatableDataOnlyUpdatesTime() 465 .setAds( in testCopyWithSuccessfulFullUpdatableDataUpdatesAll() [all …]
|
D | CustomAudienceDaoTest.java | 183 .setAds(List.of(ADS_1)) 212 .setAds(List.of(ADS_1)) 247 .setAds(List.of(ADS_2)) 264 .setAds(List.of(ADS_2)) 279 .setAds(List.of(ADS_2)) 307 .setAds(List.of(ADS_1)) 322 .setAds(List.of(ADS_1)) 337 .setAds(List.of(ADS_2)) 365 .setAds(List.of(ADS_1)) 393 .setAds(List.of(ADS_1)) [all …]
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/rootcts/ |
D | CustomAudienceBackgroundFetchTest.java | 65 joinCustomAudience(makeCustomAudience(CA_NAME).setAds(List.of()).build()); in testAdSelection_withInvalidFields_backgroundJobUpdatesSuccessfully() 92 joinCustomAudience(makeCustomAudience(CA_NAME).setAds(List.of()).build()); in testAdSelection_withInvalidAds_backgroundJobUpdateFails() 120 joinCustomAudience(makeCustomAudience(CA_NAME).setAds(List.of()).build()); in testAdSelection_withHighLatencyBackend_backgroundJobFails() 151 joinCustomAudience(makeCustomAudience(CA_NAME).setAds(List.of()).build()); in testAdSelection_withOverlyLargeDailyUpdate_backgroundJobFails() 182 joinCustomAudience(makeCustomAudience(CA_NAME).setAds(List.of()).build()); in testAdSelection_withLongRunningJob_backgroundJobFails()
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/customaudience/ |
D | CustomAudienceFixture.java | 109 .setAds(AdDataFixture.getValidAdsByBuyer(buyer)); in getValidBuilderForBuyer() 135 .setAds( in getValidBuilderWithSubdomainsForBuyer() 154 .setAds(AdDataFixture.getValidFilterAdsByBuyer(buyer)); in getValidBuilderForBuyerFilters() 169 .setAds(AdDataFixture.getValidFilterAdsWithAdRenderIdByBuyer(buyer)); in getValidBuilderForBuyerFiltersWithAdRenderId() 195 .setAds(ads) in getNValidCustomAudiences()
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/customaudience/ |
D | DBCustomAudienceFixture.java | 49 .setAds(DBAdDataFixture.getValidDbAdDataListByBuyer(buyer)); in getValidBuilderByBuyer() 66 .setAds(DBAdDataFixture.getValidDbAdDataListByBuyer(buyer)); in getValidBuilderByBuyer() 88 .setAds(DBAdDataFixture.getValidDbAdDataListByBuyerWithAdRenderId(buyer)); in getValidBuilderByBuyerWithAdRenderId() 104 .setAds(DBAdDataFixture.getValidDbAdDataListByBuyerNoFilters(buyer)); in getValidBuilderByBuyerNoFilters()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/ |
D | CustomAudienceUpdatableDataTest.java | 73 .setAds(VALID_DB_AD_DATA_LIST) in testBuildUpdatableDataSuccess() 125 .setAds(VALID_DB_AD_DATA_LIST) in testBuildUpdatableDataSuccessWithAuctionServerFlagsEnabled() 183 .setAds(VALID_DB_AD_DATA_LIST) in testBuildUpdatableDataSuccessWithJunkWithAuctionServerFlagsEnabled() 241 .setAds(VALID_DB_AD_DATA_LIST) in testBuildUpdatableDataSuccessWithAuctionServerFlagsDisabled() 291 .setAds(null) in testBuildEmptyUpdatableDataSuccess() 348 .setAds(null) in testBuildEmptyUpdatableDataWithNonEmptyResponseSuccess() 438 .setAds(VALID_DB_AD_DATA_LIST) in testBuildNonEmptyUpdatableDataWithUnsuccessfulUpdateFailure()
|
D | CustomAudienceBlobValidatorTest.java | 1296 mCustomAudience.setAds(getValidFilterAdsWithAdRenderIdByBuyer(VALID_BUYER_1)); in testValidator_validAds() 1306 mCustomAudience.setAds(getValidFilterAdsWithAdRenderIdByBuyer(VALID_BUYER_1)); in testValidator_invalidAds_invalidBuyer_unset() 1327 mCustomAudience.setAds(getValidFilterAdsWithAdRenderIdByBuyer(VALID_BUYER_1)); in testValidator_invalidAds_invalidBuyer_emptyIdentifier() 1349 mCustomAudience.setAds(validAds); in testValidator_invalidAds_invalidBuyer_missingHost() 1431 mCustomAudience.setAds(validAds); in testValidator_invalidAds_invalidBuyer_domainHasPath() 1513 mCustomAudience.setAds(validAds); in testValidator_invalidAds_invalidBuyer_domainHasPort() 1614 mCustomAudience.setAds( in testValidator_invalidAds_malformedAds() 1688 mCustomAudience.setAds(tooBigAds); in testValidator_invalidAds_exceedsSizeLimit() 1740 mCustomAudience.setAds(tooManyAds); in testValidator_invalidAds_exceedsCountLimit()
|
D | CustomAudienceValidatorTest.java | 296 .setAds( in testInvalidAdData() 368 .setAds(List.of(adDataWithExceededFrequencyCapLimits)) in testExceededFrequencyCapLimits() 391 .setAds(List.of(adDataWithInvalidRenderId)) in testInvalidRenderId()
|
D | CustomAudienceFieldSizeValidatorTest.java | 163 .setAds(tooBigAds) in testAdsTooBig() 188 .setAds(tooManyAds) in testAdsCountTooBig()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | FrequencyCapAdFiltererImplTest.java | 259 .setAds( in testFilterCustomAudiencesWithEmptyFrequencyCapFilters() 302 .setAds( in testFilterCustomAudiencesWithNonMatchingFrequencyCapFilters() 382 .setAds( in testFilterCustomAudiencesWithMatchingNonWinFrequencyCapFilters() 392 .setAds(Arrays.asList(DBAdDataFixture.VALID_DB_AD_DATA_NO_FILTERS)) in testFilterCustomAudiencesWithMatchingNonWinFrequencyCapFilters() 441 .setAds( in testFilterCustomAudiencesWithMatchingWinFrequencyCapFilters() 449 .setAds(Arrays.asList(DBAdDataFixture.VALID_DB_AD_DATA_NO_FILTERS)) in testFilterCustomAudiencesWithMatchingWinFrequencyCapFilters()
|
D | AuctionServerCustomAudienceFiltererTest.java | 163 .setAds(new ArrayList<>()) in test_isValidCustomAudience_noAds_returnsFalse() 189 .setAds( in test_isValidCustomAudience_emptyAdRenderId_returnsFalse() 224 .setAds( in test_isValidCustomAudience_nullAdRenderId_returnsFalse() 285 .setAds(mixOfValidAndInValidAds) in test_isValidCustomAudience_atLeastOneNonNullNonEmptyKeyAndAdRenderId_returnsTrue()
|
D | FrequencyCapFilteringE2ETest.java | 593 .setAds(Collections.singletonList(AD_WITH_FILTER)) in testAdSelectionPersistsAdCounterKeys() 627 .setAds(Arrays.asList(AD_WITH_FILTER)) in testEmptyHistogramDoesNotFilterAds() 661 .setAds(Arrays.asList(AD_WITH_FILTER)) in testUpdatedHistogramFiltersAdsForBuyerWithinInterval() 707 .setAds(Arrays.asList(AD_WITH_FILTER)) in testUpdatedHistogramDoesNotFilterAdsForBuyerOutsideInterval() 743 .setAds(Arrays.asList(AD_WITH_FILTER)) in testUpdatedHistogramDoesNotFilterAdsForOtherBuyer() 836 .setAds(Arrays.asList(AD_WITH_FILTER)) in testUpdateHistogramBeyondMaxTotalEventCountDoesNotFilterAds() 957 .setAds(Arrays.asList(AD_WITH_FILTER)) in testUpdateHistogramBeyondMaxPerBuyerEventCountDoesNotFilterAds()
|
D | AuctionServerE2ETest.java | 663 .setAds(ads) in testAuctionServerFlow_withoutEncrypt_validRequest_BothFiltersEnabled() 792 .setAds(ads) in testAuctionServerFlow_withoutEncrypt_validRequest_AppInstallDisabled() 942 .setAds(ads) in testAuctionServerFlow_withoutEncrypt_validRequest_FrequencyCapDisabled() 1425 .setAds(filterableAds) in testGetAdSelectionData_fCap_success() 1553 .setAds( in testPersistAdSelectionResult_withoutDecrypt_validRequest_success() 1652 .setAds( in testPersistAdSelectionResult_withoutDecrypt_validRequest_successOmitAdsEnabled() 1743 .setAds( in testAuctionServerResult_usedInWaterfallMediation_success() 2008 .setAds( in testReportImpression_serverAuction_impressionAndInteractionReportingUnifiedTablesDisabled() 2196 .setAds( in testReportImpression_serverAuction_impressionAndInteractionReportingUnifiedTablesEnabled() 2348 .setAds( in testReportImpression_serverAuction_sellerReportingFailure_noExceptionThrown() [all …]
|
D | AppInstallAdFiltererImplTest.java | 301 .setAds(Arrays.asList(AD_TO_FILTER_ON_APP_INSTALL)) in testFilterCustomAudiencesWholeCaFiltered() 318 .setAds(Arrays.asList(AD_TO_FILTER_ON_APP_INSTALL)) in testFilterCustomAudiencesAllCasFiltered()
|
D | AdSelectionScriptEngineTest.java | 640 .setAds(AD_DATA_WITH_DOUBLE_RESULT_LIST) in testGenerateBidV3SuccessfulCase() 701 .setAds(AD_DATA_WITH_DOUBLE_RESULT_LIST) in testGenerateBidV3WithCopierSuccessfulCase() 746 .setAds(AD_DATA_WITH_DOUBLE_WITH_AD_COUNTER_KEYS_RESULT_LIST) in testGenerateBidV3WithCopierWithAdCounterKeysSuccessfulCase() 1080 .setAds(AD_DATA_WITH_DOUBLE_RESULT_LIST) in testGenerateBidV3ReturnDebugReportingNoUrl() 1145 .setAds(AD_DATA_WITH_DOUBLE_RESULT_LIST) in testGenerateBidV3ReturnDebugReportingNoUrl_WhenDisabled() 1208 .setAds(AD_DATA_WITH_DOUBLE_RESULT_LIST) in testGenerateBidV3ReturnDebugReportingNoBadUrl()
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/customaudience/ |
D | FetchCustomAudienceFixture.java | 131 .setAds( in getFullSuccessfulDBCustomAudience() 156 .setAds( in getFullSuccessfulDBCustomAudienceWithAdRenderId() 182 .setAds( in getFullSuccessfulDBCustomAudienceWithAuctionServerRequestFlags()
|
D | CustomAudienceUpdatableDataFixture.java | 354 .setAds(DBAdDataFixture.getValidDbAdDataListByBuyer(CommonFixture.VALID_BUYER_1)) in getValidBuilderFullSuccessfulResponse() 364 .setAds(null) in getValidBuilderEmptySuccessfulResponse() 374 .setAds(null) in getValidBuilderEmptyFailedResponse()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/ |
D | CustomAudienceUpdatableData.java | 309 dataBuilder.setAds(ads); in readAds() 322 dataBuilder.setAds(null); in readAds() 330 dataBuilder.setAds(null); in readAds() 383 public abstract Builder setAds(@Nullable List<DBAdData> value); in setAds() method in CustomAudienceUpdatableData.Builder
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/ |
D | CustomAudienceTestFixture.java | 141 .setAds(ads) in createCustomAudience() 177 .setAds(ads) in createCustomAudienceWithAdCost() 200 .setAds(ads) in createCustomAudienceWithSubdomains()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/customaudience/ |
D | DBCustomAudience.java | 213 .setAds( in fromServiceObject() 260 customAudienceBuilder.setAds(updatableData.getAds()); in copyWithUpdatableData() 428 .setAds(this.mAds) in cloneToBuilder() 566 public Builder setAds(List<DBAdData> ads) { in setAds() method in DBCustomAudience.Builder
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/ |
D | CustomAudienceTest.java | 324 .setAds(AdDataFixture.getValidAdsByBuyer(CommonFixture.VALID_BUYER_1)) in testNonNullValueNotSetBuildFails() 346 .setAds(null) in testBuildNullAdsCustomAudienceSuccess() 379 .setAds(emptyAds) in testBuildEmptyAdsCustomAudienceSuccess() 433 .setAds(List.of()) in testGetCustomAudienceService_lowRamDevice_throwsIllegalStateException()
|
D | CustomAudienceApiCtsTest.java | 255 .setAds(AdDataFixture.getInvalidAdsByBuyer(VALID_BUYER_1)) in testJoinCustomAudience_invalidAdsMetadata_fail() 277 .setAds( in testJoinCustomAudience_invalidAdsRenderUris_fail() 302 .setAds(ImmutableList.of(adWithVeryLongAdRenderId)) in testJoinCustomAudience_adRenderIdDisabled_invalidAdRenderIds_success() 318 .setAds(ImmutableList.of(adWithVeryLongAdRenderId)) in testJoinCustomAudience_adRenderIdEnabled_invalidAdRenderIds_fail() 335 .setAds( in testJoinCustomAudience_invalidNumberOfAds_fail()
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/utils/ |
D | CustomAudienceSetupRule.java | 141 .setAds(ads) in customAudienceFromInterestGroup() 213 .setAds(ads)
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/ |
D | FledgeCtsDebuggableTest.java | 3064 .setAds(adsForBuyer2) in testFledgeAuctionAppFilteringFlow_overall_Success() 3199 .setAds(adsForBuyer2) in testFledgeAuctionAppFilteringFlow_overall_AppInstallFailure() 3327 .setAds(ImmutableList.of(adWithNonWinFrequencyCapFilter)) in testFrequencyCapFiltering_NonWinEvent_FiltersAds() 3333 .setAds(ImmutableList.of(adWithoutFilters)) in testFrequencyCapFiltering_NonWinEvent_FiltersAds() 3499 .setAds(ImmutableList.of(adWithNonWinFrequencyCapFilter)) in testFrequencyCapFiltering_DifferentNonWinEvent_IsNotFiltered() 3505 .setAds(ImmutableList.of(adWithoutFilters)) in testFrequencyCapFiltering_DifferentNonWinEvent_IsNotFiltered() 3685 .setAds( in testFrequencyCapFiltering_NonWinEventDifferentKey_IsNotFiltered() 3844 .setAds(ImmutableList.of(adForBuyer1ToFilter)) in testFrequencyCapFiltering_NonWinEventDifferentBuyer_IsNotFiltered() 3859 .setAds(ImmutableList.of(adForBuyer2)) in testFrequencyCapFiltering_NonWinEventDifferentBuyer_IsNotFiltered() 4022 .setAds(ImmutableList.of(adWithNonWinFrequencyCapFilter)) in testFrequencyCapFiltering_NonWinEventWrongAdSelection_DoesNotFilterAds() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | AppInstallAdFiltererImpl.java | 83 toReturn.add(new DBCustomAudience.Builder(ca).setAds(filteredAds).build()); in filterCustomAudiences()
|