Home
last modified time | relevance | path

Searched refs:setAdCounterKeys (Results 1 – 25 of 35) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAdCounterKeyCopierNoOpImplTest.java68 .setAdCounterKeys(AdDataFixture.getAdCounterKeys()) in testCopyAdCounterKeys_DBAdDataToAdDataBuilder()
72 .setAdCounterKeys(new HashSet<>()); in testCopyAdCounterKeys_DBAdDataToAdDataBuilder()
85 .setAdCounterKeys(AdDataFixture.getAdCounterKeys()) in testCopyAdCounterKeys_AdDataToRecordArg_NullBuilderThrows()
107 .setAdCounterKeys(AdDataFixture.getAdCounterKeys()) in testCopyAdCounterKeys_AdDataToRecordArg()
146 .setAdCounterKeys(AdDataFixture.getAdCounterKeys()) in testCopyAdCounterKeys_DBAdDataToRecordArg()
182 .setAdCounterKeys(new HashSet<>()); in testCopyAdCounterKeys_JsonObjectToAdDataBuilder()
DAdCounterKeyCopierImplTest.java70 .setAdCounterKeys(AdDataFixture.getAdCounterKeys()) in testCopyAdCounterKeys_DBAdDataToAdDataBuilder()
74 .setAdCounterKeys(new HashSet<>()); in testCopyAdCounterKeys_DBAdDataToAdDataBuilder()
87 .setAdCounterKeys(AdDataFixture.getAdCounterKeys()) in testCopyAdCounterKeys_AdDataToRecordArg_NullBuilderThrows()
109 .setAdCounterKeys(AdDataFixture.getAdCounterKeys()) in testCopyAdCounterKeys_AdDataToRecordArg()
155 .setAdCounterKeys(AdDataFixture.getAdCounterKeys()) in testCopyAdCounterKeys_DBAdDataToRecordArg()
198 .setAdCounterKeys(new HashSet<>()); in testCopyAdCounterKeys_JsonObjectToAdDataBuilder()
DAuctionServerCustomAudienceFiltererTest.java196 .setAdCounterKeys(AdDataFixture.getAdCounterKeys()) in test_isValidCustomAudience_emptyAdRenderId_returnsFalse()
231 .setAdCounterKeys(AdDataFixture.getAdCounterKeys()) in test_isValidCustomAudience_nullAdRenderId_returnsFalse()
251 .setAdCounterKeys(AdDataFixture.getAdCounterKeys()) in test_isValidCustomAudience_atLeastOneNonNullNonEmptyKeyAndAdRenderId_returnsTrue()
258 .setAdCounterKeys(AdDataFixture.getAdCounterKeys()) in test_isValidCustomAudience_atLeastOneNonNullNonEmptyKeyAndAdRenderId_returnsTrue()
265 .setAdCounterKeys(AdDataFixture.getAdCounterKeys()) in test_isValidCustomAudience_atLeastOneNonNullNonEmptyKeyAndAdRenderId_returnsTrue()
DPerBuyerBiddingRunnerTest.java243 builder.setAdCounterKeys(AdDataFixture.getAdCounterKeys()); in createDBCustomAudience()
249 builder.setAdCounterKeys(AdDataFixture.getAdCounterKeys()); in createDBCustomAudience()
DAdDataArgumentUtilTest.java55 .setAdCounterKeys(AdDataFixture.getAdCounterKeys())
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DAdDataTest.java50 .setAdCounterKeys(AdDataFixture.getAdCounterKeys()) in testBuildValidAdDataSuccess()
112 assertThrows(NullPointerException.class, () -> new AdData.Builder().setAdCounterKeys(null)); in testSetNullAdCounterKeysThrows()
119 () -> new AdData.Builder().setAdCounterKeys(Collections.singleton(null))); in testSetAdCounterKeysWithNullValueThrows()
128 .setAdCounterKeys( in testSetExcessiveNumberOfAdCounterKeysThrows()
155 .setAdCounterKeys(AdDataFixture.getAdCounterKeys()) in testBuildValidAdDataWithUnsetFiltersSuccess()
171 .setAdCounterKeys(AdDataFixture.getAdCounterKeys()) in testAdDataToString()
202 .setAdCounterKeys(AdDataFixture.getAdCounterKeys()) in testParcelWithFilters_success()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/datahandlers/
DWinningCustomAudience.java51 return builder().setOwner(owner).setName(name).setAdCounterKeys(adCounterKeys).build(); in create()
73 public abstract Builder setAdCounterKeys(@Nullable Set<Integer> adCounterKeys); in setAdCounterKeys() method in WinningCustomAudience.Builder
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/customaudience/
DDBCustomAudienceTest.java101 .setAdCounterKeys(ImmutableSet.of()) in testFromServiceObject_successNoRenderId()
112 .setAdCounterKeys(ImmutableSet.of()) in testFromServiceObject_successNoRenderId()
133 .setAdCounterKeys(ImmutableSet.of()) in testFromServiceObject_successWIthRenderId()
144 .setAdCounterKeys(ImmutableSet.of()) in testFromServiceObject_successWIthRenderId()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DAdCounterKeyCopierImpl.java56 return targetBuilder.setAdCounterKeys(sourceAdData.getAdCounterKeys()); in copyAdCounterKeys()
119 return targetBuilder.setAdCounterKeys(keysSet); in copyAdCounterKeys()
DPersistAdSelectionResultRunner.java458 .setAdCounterKeys(Collections.emptySet())
478 .setAdCounterKeys(Collections.emptySet())
587 .setAdCounterKeys(winningAd.getAdCounterKeys())
DAdBidGeneratorImpl.java503 .setAdCounterKeys(adData.getAdCounterKeys());
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/common/
DDBAdData.java150 setAdCounterKeys(copyFrom.getAdCounterKeys()); in Builder()
167 public Builder setAdCounterKeys(@NonNull Set<Integer> adCounterKeys) { in setAdCounterKeys() method in DBAdData.Builder
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/customaudience/
DAdDataConversionStrategyFactory.java81 adDataBuilder.setAdCounterKeys(adCounterKeys); in fromJsonAdCounterKeys()
96 adDataBuilder.setAdCounterKeys(parcelable.getAdCounterKeys()); in fromServiceObjectAdCounterKeys()
318 .setAdCounterKeys(Collections.emptySet()); in fromServiceObject()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/common/
DAdDataFixture.java151 .setAdCounterKeys(getAdCounterKeys()) in getValidFilterAdDataBuilderByBuyer()
181 .setAdCounterKeys(getAdCounterKeys()) in getValidFilterAdDataWithAdRenderIdByBuyer()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/signature/
DBinarySerializerSignedContextualAdsTest.java137 .setAdCounterKeys(adCounterKeysSet) in testContextualAdSerialization_fullObject_success()
203 .setAdCounterKeys( in testContextualAdSerialization_minimalistObject_success()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/common/
DDBAdDataFixture.java37 .setAdCounterKeys(mirrorAdData.getAdCounterKeys()) in getValidDbAdDataBuilder()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DReadFiltersFromJsonStrategyFactory.java115 adDataBuilder.setAdCounterKeys(adCounterKeys); in readAdCounterKeys()
DScheduledUpdatesHandler.java457 .setAdCounterKeys(ad.getAdCounterKeys()) in persistCustomAudience()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/
DFledgeCtsDebuggableTest.java3293 .setAdCounterKeys(ImmutableSet.of(keyToFilter)) in testFrequencyCapFiltering_NonWinEvent_FiltersAds()
3465 .setAdCounterKeys(ImmutableSet.of(keyToFilter)) in testFrequencyCapFiltering_DifferentNonWinEvent_IsNotFiltered()
3638 .setAdCounterKeys(ImmutableSet.of(keyToFilter)) in testFrequencyCapFiltering_NonWinEventDifferentKey_IsNotFiltered()
3662 .setAdCounterKeys(ImmutableSet.of(otherKeyNotFiltered)) in testFrequencyCapFiltering_NonWinEventDifferentKey_IsNotFiltered()
3806 .setAdCounterKeys(ImmutableSet.of(keyToFilter)) in testFrequencyCapFiltering_NonWinEventDifferentBuyer_IsNotFiltered()
3818 .setAdCounterKeys(ImmutableSet.of(keyToFilter)) in testFrequencyCapFiltering_NonWinEventDifferentBuyer_IsNotFiltered()
3988 .setAdCounterKeys(ImmutableSet.of(keyToFilter)) in testFrequencyCapFiltering_NonWinEventWrongAdSelection_DoesNotFilterAds()
4159 .setAdCounterKeys(ImmutableSet.of(keyToFilter)) in testFrequencyCapFiltering_WinEvent_FiltersAds()
4316 .setAdCounterKeys(ImmutableSet.of(keyToFilter)) in testFrequencyCapFiltering_WinEventDifferentKey_IsNotFiltered()
4340 .setAdCounterKeys(ImmutableSet.of(otherKeyNotFiltered)) in testFrequencyCapFiltering_WinEventDifferentKey_IsNotFiltered()
[all …]
DCustomAudienceShellCommandHelper.java119 builder.setAdCounterKeys( in getAdFromJson()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DFledgeE2ETest.java2360 .setAdCounterKeys(ad.getAdCounterKeys()) in testFledgeFlowSuccessWithMockServer_fetchAndJoinCustomAudienceFlow_noFilters()
2383 .setAdCounterKeys(ad.getAdCounterKeys()) in testFledgeFlowSuccessWithMockServer_fetchAndJoinCustomAudienceFlow_noFilters()
2522 .setAdCounterKeys(ad.getAdCounterKeys()) in testFledgeFlowSuccessWithMockServer_fetchAndJoinCustomAudience_appInstallFilters()
2545 .setAdCounterKeys(ad.getAdCounterKeys()) in testFledgeFlowSuccessWithMockServer_fetchAndJoinCustomAudience_appInstallFilters()
2686 .setAdCounterKeys(ad.getAdCounterKeys()) in testFledgeFlowSuccessWithMockServer_fetchAndJoinCustomAudienceFlow_bothFilters()
2709 .setAdCounterKeys(ad.getAdCounterKeys()) in testFledgeFlowSuccessWithMockServer_fetchAndJoinCustomAudienceFlow_bothFilters()
2870 .setAdCounterKeys(ad.getAdCounterKeys()) in testFledgeFlowSuccessWithMockServer_fetchAndJoinCustomAudienceFlow_FCapEnabled_AppInstallDisabled()
2893 .setAdCounterKeys(ad.getAdCounterKeys()) in testFledgeFlowSuccessWithMockServer_fetchAndJoinCustomAudienceFlow_FCapEnabled_AppInstallDisabled()
3055 .setAdCounterKeys(ad.getAdCounterKeys()) in testFledgeFlowSuccessWithMockServer_fetchAndJoinCustomAudienceFlow_AppInstallEnabled_FCapDisabled()
3078 .setAdCounterKeys(ad.getAdCounterKeys()) in testFledgeFlowSuccessWithMockServer_fetchAndJoinCustomAudienceFlow_AppInstallEnabled_FCapDisabled()
[all …]
/packages/modules/AdServices/adservices/framework/java/android/adservices/common/
DAdData.java259 public AdData.Builder setAdCounterKeys(@NonNull Set<Integer> adCounterKeys) { in setAdCounterKeys() method in AdData.Builder
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/
DDataHandlersFixture.java242 .setAdCounterKeys(adCounterKeys) in getWinningCustomAudience()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/common/
DDBAdDataTest.java278 .setAdCounterKeys(SAMPLE_AD_DATA.getAdCounterKeys()) in testBuilder()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/shell/customaudience/
DCustomAudienceHelper.java227 builder.setAdCounterKeys( in getAdFromJson()

12