Home
last modified time | relevance | path

Searched refs:setBuyer (Results 1 – 25 of 167) sorted by relevance

1234567

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/
DDBAppInstallPermissionsTest.java42 .setBuyer(BUYER) in testBuildDBAppInstall()
54 .setBuyer(BUYER) in testEquals()
59 .setBuyer(BUYER) in testEquals()
70 .setBuyer(BUYER) in testNotEqualDifferentType()
81 .setBuyer(BUYER) in testNotEqualSameType()
86 .setBuyer(BUYER) in testNotEqualSameType()
97 .setBuyer(BUYER) in testToString()
124 new DBAppInstallPermissions.Builder().setBuyer(BUYER).build(); in testFailsWithNoPackageName()
132 .setBuyer(BUYER) in testEqualDBAppInstallObjectsHaveSameHashCode()
138 .setBuyer(BUYER) in testEqualDBAppInstallObjectsHaveSameHashCode()
DCustomAudienceSignalsTest.java39 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildCustomAudienceSignals()
81 .setBuyer(CommonFixture.VALID_BUYER_1) in testEqualCustomAudienceSignalsHaveSameHashCode()
86 .setBuyer(CommonFixture.VALID_BUYER_1) in testEqualCustomAudienceSignalsHaveSameHashCode()
97 .setBuyer(CommonFixture.VALID_BUYER_1) in testNotEqualCustomAudienceSignalsHaveDifferentHashCodes()
102 .setBuyer(CommonFixture.VALID_BUYER_1) in testNotEqualCustomAudienceSignalsHaveDifferentHashCodes()
DDBHistogramIdentifierTest.java48 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildValidIdentifier_success()
68 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildUnsetForeignKey_success()
101 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildUnsetCustomAudienceOwner_success()
120 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildUnsetCustomAudienceName_success()
139 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildUnsetSourceApp_success()
159 .setBuyer(CommonFixture.VALID_BUYER_1) in testSetNullForeignKey_success()
177 NullPointerException.class, () -> DBHistogramIdentifier.builder().setBuyer(null)); in testSetNullBuyer_throws()
185 .setBuyer(CommonFixture.VALID_BUYER_1) in testSetNullCustomAudienceOwner_success()
205 .setBuyer(CommonFixture.VALID_BUYER_1) in testSetNullCustomAudienceName_success()
225 .setBuyer(CommonFixture.VALID_BUYER_1) in testSetNullSourceApp_success()
DDBBuyerDecisionOverrideTest.java45 .setBuyer(BUYER) in testBuildDBBuyerDecisionOverride()
77 .setBuyer(BUYER) in testThrowsExceptionWithNoAdSelectionId()
90 .setBuyer(BUYER) in testThrowsExceptionWithNoAppPackageName()
114 .setBuyer(BUYER) in testThrowsExceptionWithNoDecisionLogic()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DPerBuyerConfigurationTest.java41 .setBuyer(BUYER_1) in testPerBuyerConfiguration_success()
53 new PerBuyerConfiguration.Builder().setBuyer(BUYER_1).build(); in testPerBuyerConfiguration_withoutTargetSize_success()
76 .setBuyer(BUYER_1) in testPerBuyerConfiguration_withNegativeTargetSize_throws()
86 .setBuyer(BUYER_1) in testPerBuyerConfigurationEquals_notPerBuyerConfiguration()
97 .setBuyer(BUYER_1) in testParcelPerBuyerConfiguration()
114 .setBuyer(BUYER_1) in testDescribeContents()
131 .setBuyer(BUYER_1) in testPerBuyerConfiguration_notEqual()
137 .setBuyer(BUYER_2) in testPerBuyerConfiguration_notEqual()
DSignedContextualAdsTest.java51 .setBuyer(SignedContextualAdsFixture.BUYER) in testBuildContextualAdsSuccess()
72 new SignedContextualAds.Builder(contextualAds).setBuyer(newAdTech).build(); in testBuildContextualAdsBuilderSuccess()
94 NullPointerException.class, () -> new SignedContextualAds.Builder().setBuyer(null)); in testSetContextualAdsNullBuyerFailure()
143 .setBuyer(SignedContextualAdsFixture.BUYER) in testBuildContextualAdsUnsetDecisionLogicUriFailure()
155 .setBuyer(SignedContextualAdsFixture.BUYER) in testBuildContextualAdsUnsetAdWithBidFailure()
167 .setBuyer(SignedContextualAdsFixture.BUYER) in testBuildContextualAdsUnsetSignatureFailure()
195 .setBuyer(SignedContextualAdsFixture.BUYER_2) in testContextualAdsHaveDifferentHashCode()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DHistogramEventTest.java45 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildValidHistogramEvent_success()
68 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildUnsetAdCounterKey_throws()
99 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildUnsetCustomAudienceOwnerWithWinType_throws()
112 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildUnsetCustomAudienceOwnerWithNonWinType_success()
135 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildUnsetCustomAudienceNameWithWinType_throws()
148 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildUnsetCustomAudienceNameWithNonWinType_success()
171 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildUnsetAdEventType_throws()
186 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildUnsetTimestamp_throws()
201 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildUnsetSourceApp_throws()
211 assertThrows(NullPointerException.class, () -> HistogramEvent.builder().setBuyer(null)); in testSetNullBuyer_throws()
[all …]
DAuctionServerCustomAudienceFiltererTest.java57 .setBuyer(VALID_BUYER_1) in test_isValidCustomAudience_nullBiddingData_returnsFalse()
78 .setBuyer(VALID_BUYER_1) in test_isValidCustomAudience_emptyBiddingKeyList_returnsFalse()
100 .setBuyer(VALID_BUYER_1) in test_isValidCustomAudience_nullBiddingKeys_returnsFalse()
125 .setBuyer(VALID_BUYER_1) in test_isValidCustomAudience_emptyBiddingKeys_returnsFalse()
150 .setBuyer(VALID_BUYER_1) in test_isValidCustomAudience_noAds_returnsFalse()
176 .setBuyer(VALID_BUYER_1) in test_isValidCustomAudience_emptyAdRenderId_returnsFalse()
211 .setBuyer(VALID_BUYER_1) in test_isValidCustomAudience_nullAdRenderId_returnsFalse()
272 .setBuyer(VALID_BUYER_1) in test_isValidCustomAudience_atLeastOneNonNullNonEmptyKeyAndAdRenderId_returnsTrue()
DAdScoringOutcomeFixture.java47 .setBuyer( in anAdScoringBuilder()
76 .setBuyer( in anAdScoringBuilderWithBuyerContextualSignals()
105 .setBuyer( in anAdScoringBuilderWithSellerContextualSignals()
123 .setBuyer(buyer) in anAdScoringBuilderWithAdCounterKeys()
127 .setBuyer(buyer) in anAdScoringBuilderWithAdCounterKeys()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/signals/
DDBSignalsUpdateMetadataTest.java52 .setBuyer(buyer) in testBuildSignalsUpdateMetadata()
75 .setBuyer(buyer) in testEquals()
80 .setBuyer(buyer) in testEquals()
92 .setBuyer(buyer1) in testNotEquals()
97 .setBuyer(buyer2) in testNotEquals()
108 .setBuyer(buyer) in testHashCode()
113 .setBuyer(buyer) in testHashCode()
DDBEncoderEndpointTest.java53 .setBuyer(buyer) in testBuildEndPoint()
76 .setBuyer(buyer) in testEquals()
82 .setBuyer(buyer) in testEquals()
95 .setBuyer(buyer1) in testNotEquals()
101 .setBuyer(buyer2) in testNotEquals()
113 .setBuyer(buyer) in testHashCode()
119 .setBuyer(buyer) in testHashCode()
DDBEncoderLogicMetadataTest.java62 .setBuyer(buyer) in testBuildEncodingLogic()
91 .setBuyer(buyer) in testEquals()
98 .setBuyer(buyer) in testEquals()
116 .setBuyer(buyer) in testNotEquals()
123 .setBuyer(buyer) in testNotEquals()
141 .setBuyer(buyer) in testHashCode()
148 .setBuyer(buyer) in testHashCode()
DProtectedSignalsDaoTest.java165 .setBuyer(CommonFixture.VALID_BUYER_1) in testTwoBuyers()
174 .setBuyer(CommonFixture.VALID_BUYER_2) in testTwoBuyers()
238 .setBuyer(BUYER_1) in testDeleteSignalsBeforeTime()
252 .setBuyer(BUYER_1) in testDeleteSignalsBeforeTime()
270 DBProtectedSignal signal1 = DBProtectedSignalFixture.getBuilder().setBuyer(BUYER_1).build(); in testDeleteDisallowedBuyerSignalsAllAllowed()
271 DBProtectedSignal signal2 = DBProtectedSignalFixture.getBuilder().setBuyer(BUYER_2).build(); in testDeleteDisallowedBuyerSignalsAllAllowed()
288 .setBuyer(BUYER_1) in testDeleteDisallowedBuyerSignalsAllAllowed()
302 DBProtectedSignalFixture.getBuilder().setBuyer(CommonFixture.VALID_BUYER_1).build(); in testDeleteDisallowedBuyerSignals()
304 DBProtectedSignalFixture.getBuilder().setBuyer(CommonFixture.VALID_BUYER_2).build(); in testDeleteDisallowedBuyerSignals()
318 .setBuyer(BUYER_1) in testDeleteDisallowedBuyerSignals()
[all …]
DDBProtectedSignalTest.java59 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildSignal()
78 .setBuyer(CommonFixture.VALID_BUYER_1) in testEqual()
87 .setBuyer(CommonFixture.VALID_BUYER_1) in testEqual()
101 .setBuyer(CommonFixture.VALID_BUYER_1) in testNotEqual()
110 .setBuyer(CommonFixture.VALID_BUYER_1) in testNotEqual()
124 .setBuyer(CommonFixture.VALID_BUYER_1) in testHashCode()
133 .setBuyer(CommonFixture.VALID_BUYER_1) in testHashCode()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DCustomAudienceBlobValidatorTest.java600 mCustomAudience.setBuyer(VALID_BUYER_1); in testValidator_validBuyer()
609 mCustomAudience.setBuyer(emptyBuyer); in testValidator_invalidBuyer_emptyIdentifier()
630 mCustomAudience.setBuyer(buyerWithoutHost); in testValidator_invalidBuyer_missingHost()
650 mCustomAudience.setBuyer(buyerWithPath); in testValidator_invalidBuyer_domainHasPath()
670 mCustomAudience.setBuyer(buyerWithPort); in testValidator_invalidBuyer_domainHasPort()
689 mCustomAudience.setBuyer(VALID_BUYER_1); in testValidator_validBiddingLogicUri()
720 mCustomAudience.setBuyer(emptyBuyer); in testValidator_invalidBiddingLogicUri_invalidBuyer_emptyIdentifier()
741 mCustomAudience.setBuyer(buyerWithoutHost); in testValidator_invalidBiddingLogicUri_invalidBuyer_missingHost()
770 mCustomAudience.setBuyer(buyerWithPath); in testValidator_invalidBiddingLogicUri_invalidBuyer_domainHasPath()
799 mCustomAudience.setBuyer(buyerWithPort); in testValidator_invalidBiddingLogicUri_invalidBuyer_domainHasPort()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/
DSetAdCounterHistogramOverrideRequestTest.java52 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildValidRequest_success()
74 .setBuyer(CommonFixture.VALID_BUYER_1) in testToString()
107 () -> new SetAdCounterHistogramOverrideRequest.Builder().setBuyer(null)); in testSetNullBuyer_throws()
136 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildUnsetAdEventType()
148 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildUnsetAdCounterKey_success()
169 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildUnsetHistogramTimestamps_success()
200 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildUnsetCustomAudienceOwner_throws()
214 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildUnsetCustomAudienceName_throws()
DSetAdCounterHistogramOverrideInputTest.java53 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildValidInput_success()
75 .setBuyer(CommonFixture.VALID_BUYER_1) in testParcelValidInput_success()
112 .setBuyer(CommonFixture.VALID_BUYER_1) in testToString()
145 () -> new SetAdCounterHistogramOverrideInput.Builder().setBuyer(null)); in testSetNullBuyer_throws()
172 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildUnsetAdEventType()
184 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildUnsetAdCounterKey_success()
205 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildUnsetHistogramTimestamps_success()
236 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildUnsetCustomAudienceOwner_throws()
250 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildUnsetCustomAudienceName_throws()
DRemoveAdCounterHistogramOverrideInputTest.java42 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildValidInput_success()
57 .setBuyer(CommonFixture.VALID_BUYER_1) in testParcelValidInput_success()
87 .setBuyer(CommonFixture.VALID_BUYER_1) in testToString()
105 () -> new RemoveAdCounterHistogramOverrideInput.Builder().setBuyer(null)); in testSetNullBuyer_throws()
115 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildUnsetAdEventType()
124 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildUnsetAdCounterKey_success()
DSignedContextualAdsTest.java45 .setBuyer(SignedContextualAdsFixture.BUYER) in testBuildContextualAdsSuccess()
66 new SignedContextualAds.Builder(contextualAds).setBuyer(newAdTech).build(); in testBuildContextualAdsBuilderSuccess()
89 NullPointerException.class, () -> new SignedContextualAds.Builder().setBuyer(null)); in testSetContextualAdsNullBuyerFailure()
137 .setBuyer(SignedContextualAdsFixture.BUYER) in testBuildContextualAdsUnsetDecisionLogicUriFailure()
149 .setBuyer(SignedContextualAdsFixture.BUYER) in testBuildContextualAdsUnsetAdWithBidFailure()
161 .setBuyer(SignedContextualAdsFixture.BUYER) in testBuildContextualAdsUnsetSignatureFailure()
189 .setBuyer(SignedContextualAdsFixture.BUYER_2) in testContextualAdsDifferent()
DRemoveAdCounterHistogramOverrideRequestTest.java39 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildValidRequest_success()
54 .setBuyer(CommonFixture.VALID_BUYER_1) in testToString()
72 () -> new RemoveAdCounterHistogramOverrideRequest.Builder().setBuyer(null)); in testSetNullBuyer_throws()
82 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildUnsetAdEventType()
91 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildUnsetAdCounterKey_success()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/customaudience/
DCustomAudienceOverrideTest.java46 .setBuyer(CommonFixture.VALID_BUYER_1) in testBuildDBAdSelectionOverride()
69 .setBuyer(CommonFixture.VALID_BUYER_1) in testThrowsExceptionWithNoOwner()
102 .setBuyer(CommonFixture.VALID_BUYER_1) in testThrowsExceptionWithNoName()
118 .setBuyer(CommonFixture.VALID_BUYER_1) in testThrowsExceptionWithNoAppPackageName()
134 .setBuyer(CommonFixture.VALID_BUYER_1) in testThrowsExceptionWithNoBiddingLogicJS()
150 .setBuyer(CommonFixture.VALID_BUYER_1) in testThrowsExceptionWithNoTrustedBiddingData()
164 .setBuyer(CommonFixture.VALID_BUYER_1) in testNoBiddingLogicJsVersion()
DDBScheduledCustomAudienceUpdateTest.java47 .setBuyer(BUYER) in testBuildDBScheduledCustomAudienceUpdate_BuilderSuccess()
115 .setBuyer(BUYER) in testBuildDBScheduledCustomAudienceUpdate_NullOwner_ThrowsException()
144 .setBuyer(BUYER) in testBuildDBScheduledCustomAudienceUpdate_NullUpdateUri_ThrowsException()
158 .setBuyer(BUYER) in testBuildDBScheduledCustomAudienceUpdate_NullScheduledTime_ThrowsException()
172 .setBuyer(BUYER) in testBuildDBScheduledCustomAudienceUpdate_NullCreationTime_ThrowsException()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/
DFledgeCtsDebuggableTest.java607 .setBuyer(customAudience1.getBuyer()) in testFledgeAuctionSelectionFlow_overall_Success()
614 .setBuyer(customAudience2.getBuyer()) in testFledgeAuctionSelectionFlow_overall_Success()
687 .setBuyer(customAudience1.getBuyer()) in testFledgeAuctionSelectionFlow_v3BiddingLogic_overall_Success()
696 .setBuyer(customAudience2.getBuyer()) in testFledgeAuctionSelectionFlow_v3BiddingLogic_overall_Success()
771 .setBuyer(customAudience1.getBuyer()) in testFledgeAuctionSelectionFlow_v3HeaderV2Logic_overall_fail()
780 .setBuyer(customAudience2.getBuyer()) in testFledgeAuctionSelectionFlow_v3HeaderV2Logic_overall_fail()
850 .setBuyer(customAudience1.getBuyer()) in testFledgeAuctionSelectionFlow_overall_SuccessWithCpcBillingEnabled()
857 .setBuyer(customAudience2.getBuyer()) in testFledgeAuctionSelectionFlow_overall_SuccessWithCpcBillingEnabled()
933 .setBuyer(customAudience1.getBuyer()) in testFledgeAuctionSelectionFlow_overall_SuccessWithCpcBillingDisabled()
940 .setBuyer(customAudience2.getBuyer()) in testFledgeAuctionSelectionFlow_overall_SuccessWithCpcBillingDisabled()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/adselection/
DHistogramEventFixture.java56 getValidHistogramEventBuilder().setBuyer(CommonFixture.VALID_BUYER_2).build();
60 .setBuyer(CommonFixture.VALID_BUYER_2)
66 .setBuyer(CommonFixture.VALID_BUYER_2)
98 .setBuyer(CommonFixture.VALID_BUYER_1) in getValidHistogramEventBuilder()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/
DSignalsFixture.java82 .setBuyer(ADTECH) in createSignal()
93 .setBuyer(ADTECH) in createSignal()
105 .setBuyer(ADTECH) in createSignal()
119 builder.setBuyer(ADTECH).setPackageName(PACKAGE).setCreationTime(NOW).build()); in assertSignalsBuilderUnorderedListEquals()
123 builder.setBuyer(ADTECH).setPackageName(PACKAGE).setCreationTime(NOW).build()); in assertSignalsBuilderUnorderedListEquals()

1234567