/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/customaudience/ |
D | CustomAudienceDaoTest.java | 850 .setBuyer(ca1.getBuyer()) in testListDebuggableCustomAudiences_happyPath() 868 ca1.getOwner(), ca1.getBuyer()); in testListDebuggableCustomAudiences_happyPath() 899 ca.getOwner(), ca.getBuyer()); in testListBackgroundDebuggableCustomAudiences_happyPath() 923 expected.getOwner(), expected.getBuyer(), expected.getName()); in testViewDebuggableCustomAudiences_happyPath() 936 .setBuyer(ca.getBuyer()) in testViewBackgroundDebuggableCustomAudiences_happyPath() 949 ca.getOwner(), ca.getBuyer(), ca.getName()); in testViewBackgroundDebuggableCustomAudiences_happyPath() 962 ca.getOwner(), ca.getBuyer(), ca.getName()); in testViewDebuggableCustomAudiences_withNoResult_returnsNull() 975 ca.getOwner(), ca.getBuyer(), ca.getName()); in testViewBackgroundDebuggableCustomAudiences_withNoResult_throwsException() 1309 CUSTOM_AUDIENCE_NO_USER_BIDDING_SIGNALS.getBuyer(), in testCreateOrUpdate_immediatelyEligibleForUpdate() 1315 CUSTOM_AUDIENCE_NO_USER_BIDDING_SIGNALS.getBuyer(), in testCreateOrUpdate_immediatelyEligibleForUpdate() [all …]
|
D | DBCustomAudienceQuarantineTest.java | 48 assertEquals(CommonFixture.VALID_BUYER_1, dbCustomAudienceQuarantine.getBuyer()); in testBuildDBFetchCustomAudienceQuarantineSucceeds() 62 assertEquals(CommonFixture.VALID_BUYER_1, dbCustomAudienceQuarantine.getBuyer()); in testCreateDBFetchCustomAudienceQuarantineSucceeds()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/ |
D | FrequencyCapDaoTest.java | 128 .getBuyer(), in testGetHistogramIdentifierForeignKeyIfExists() 147 originalIdentifier.getBuyer(), in testInsertNewHistogramIdentifierWithSameForeignKeyThrows() 166 originalIdentifier.getBuyer(), in testInsertNewHistogramIdentifierWithSameForeignKeyThrows() 173 conflictingIdentifier.getBuyer(), in testInsertNewHistogramIdentifierWithSameForeignKeyThrows() 359 HistogramEventFixture.VALID_HISTOGRAM_EVENT.getBuyer(), in testInsertNonWinHistogramEventAddsNewIdentifierAndData() 369 HistogramEventFixture.VALID_HISTOGRAM_EVENT.getBuyer(), in testInsertNonWinHistogramEventAddsNewIdentifierAndData() 389 HistogramEventFixture.VALID_WIN_HISTOGRAM_EVENT.getBuyer(), in testInsertWinHistogramEventAddsNewIdentifierAndData() 401 HistogramEventFixture.VALID_WIN_HISTOGRAM_EVENT.getBuyer(), in testInsertWinHistogramEventAddsNewIdentifierAndData() 410 HistogramEventFixture.VALID_WIN_HISTOGRAM_EVENT.getBuyer(), in testInsertWinHistogramEventAddsNewIdentifierAndData() 453 HistogramEventFixture.VALID_HISTOGRAM_EVENT.getBuyer(), in testInsertMultipleHistogramEventsAddsNewIdentifiersAndData() [all …]
|
D | DBHistogramIdentifierTest.java | 56 assertThat(originalIdentifier.getBuyer()).isEqualTo(CommonFixture.VALID_BUYER_1); in testBuildValidIdentifier_success() 75 assertThat(originalIdentifier.getBuyer()).isEqualTo(CommonFixture.VALID_BUYER_1); in testBuildUnsetForeignKey_success() 108 assertThat(originalIdentifier.getBuyer()).isEqualTo(CommonFixture.VALID_BUYER_1); in testBuildUnsetCustomAudienceOwner_success() 127 assertThat(originalIdentifier.getBuyer()).isEqualTo(CommonFixture.VALID_BUYER_1); in testBuildUnsetCustomAudienceName_success() 146 assertThat(originalIdentifier.getBuyer()).isEqualTo(CommonFixture.VALID_BUYER_1); in testBuildUnsetSourceApp_success() 166 assertThat(originalIdentifier.getBuyer()).isEqualTo(CommonFixture.VALID_BUYER_1); in testSetNullForeignKey_success() 193 assertThat(originalIdentifier.getBuyer()).isEqualTo(CommonFixture.VALID_BUYER_1); in testSetNullCustomAudienceOwner_success() 213 assertThat(originalIdentifier.getBuyer()).isEqualTo(CommonFixture.VALID_BUYER_1); in testSetNullCustomAudienceName_success() 233 assertThat(originalIdentifier.getBuyer()).isEqualTo(CommonFixture.VALID_BUYER_1); in testSetNullSourceApp_success() 254 assertThat(originalIdentifier.getBuyer()).isEqualTo(CommonFixture.VALID_BUYER_1); in testCreateValidIdentifier_success() [all …]
|
D | DBAdSelectionHistogramInfoTest.java | 45 assertThat(histogramInfo.getBuyer()).isEqualTo(CommonFixture.VALID_BUYER_1); in testCreateValidHistogramInfo() 73 assertThat(histogramInfo.getBuyer()).isEqualTo(CommonFixture.VALID_BUYER_1); in testCreateNullAdCounterKeysSuccess()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/customaudience/ |
D | CustomAudienceViewCommandTest.java | 81 CUSTOM_AUDIENCE_1.getBuyer(), in testRun_happyPath_returnsSuccess() 86 CUSTOM_AUDIENCE_1.getBuyer(), in testRun_happyPath_returnsSuccess() 102 CUSTOM_AUDIENCE_1.getOwner(), CUSTOM_AUDIENCE_1.getBuyer())) in testRun_notPresent_returnsEmpty() 106 CUSTOM_AUDIENCE_1.getBuyer(), in testRun_notPresent_returnsEmpty() 118 CUSTOM_AUDIENCE_1.getOwner(), CUSTOM_AUDIENCE_1.getBuyer())) in testRun_presentButNotDebuggable_returnsEmpty() 123 CUSTOM_AUDIENCE_1.getBuyer(), in testRun_presentButNotDebuggable_returnsEmpty() 135 CUSTOM_AUDIENCE_1.getOwner(), CUSTOM_AUDIENCE_1.getBuyer())) in testRun_presentButBackgroundFetchDataNotDebuggable_returnsEmpty() 139 CUSTOM_AUDIENCE_1.getBuyer(), in testRun_presentButBackgroundFetchDataNotDebuggable_returnsEmpty()
|
D | CustomAudienceListCommandTest.java | 75 CUSTOM_AUDIENCE_1.getOwner(), CUSTOM_AUDIENCE_1.getBuyer())) in testRun_simpleCase_returnsSuccess() 78 CUSTOM_AUDIENCE_1.getOwner(), CUSTOM_AUDIENCE_1.getBuyer())) in testRun_simpleCase_returnsSuccess() 97 CUSTOM_AUDIENCE_1.getOwner(), CUSTOM_AUDIENCE_1.getBuyer())) in testRun_missingBackgroundFetchData_returnsEmpty() 100 CUSTOM_AUDIENCE_1.getOwner(), CUSTOM_AUDIENCE_1.getBuyer())) in testRun_missingBackgroundFetchData_returnsEmpty() 146 CUSTOM_AUDIENCE_1.getOwner(), CUSTOM_AUDIENCE_1.getBuyer())) in testRun_complexCase_returnsSuccess() 149 CUSTOM_AUDIENCE_1.getOwner(), CUSTOM_AUDIENCE_1.getBuyer())) in testRun_complexCase_returnsSuccess()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/ |
D | CustomAudienceBlobValidator.java | 144 sLogger.d("The CustomAudienceBlob has a valid buyer: %s.", customAudience.getBuyer()); in addValidation() 145 mBuyerValidator.addValidation(customAudience.getBuyer().toString(), violations); in addValidation() 151 ? customAudience.getBuyer() in addValidation() 158 customAudience.getBuyer()); in addValidation() 167 customAudience.getBuyer()); in addValidation() 176 customAudience.getBuyer()); in addValidation() 185 customAudience.getBuyer()); in addValidation()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/ |
D | ScheduledUpdatesHandlerTest.java | 179 UPDATE.getBuyer(), in testPerformScheduledUpdates_Success() 209 .leaveCustomAudience(UPDATE.getOwner(), UPDATE.getBuyer(), LEAVE_CA_1); in testPerformScheduledUpdates_Success() 211 .leaveCustomAudience(UPDATE.getOwner(), UPDATE.getBuyer(), LEAVE_CA_2); in testPerformScheduledUpdates_Success() 254 UPDATE.getBuyer(), in testPerformScheduledUpdates_SuccessWithAuctionServerRequestFlagsEnabled() 284 .leaveCustomAudience(UPDATE.getOwner(), UPDATE.getBuyer(), LEAVE_CA_1); in testPerformScheduledUpdates_SuccessWithAuctionServerRequestFlagsEnabled() 286 .leaveCustomAudience(UPDATE.getOwner(), UPDATE.getBuyer(), LEAVE_CA_2); in testPerformScheduledUpdates_SuccessWithAuctionServerRequestFlagsEnabled() 336 UPDATE.getBuyer(), in testPerformScheduledUpdates_SuccessWithAuctionServerRequestFlagsDisabled() 366 .leaveCustomAudience(UPDATE.getOwner(), UPDATE.getBuyer(), LEAVE_CA_1); in testPerformScheduledUpdates_SuccessWithAuctionServerRequestFlagsDisabled() 368 .leaveCustomAudience(UPDATE.getOwner(), UPDATE.getBuyer(), LEAVE_CA_2); in testPerformScheduledUpdates_SuccessWithAuctionServerRequestFlagsDisabled() 422 UPDATE.getBuyer(), in testPerformScheduledUpdates_SuccessWithAuctionServerRequestFlagsEnabledButNoFlagsInResponse() [all …]
|
D | CustomAudienceBlobTest.java | 124 assertEquals(mCustomAudienceBlob.getBuyer(), VALID_BUYER_1); in testOverrideFromFetchAndJoinCustomAudienceInput_validValues() 150 assertEquals(mCustomAudienceBlob.getBuyer(), VALID_BUYER_1); in testOverrideFromPartialCustomAudience_validValues() 168 assertEquals(mCustomAudienceBlob.getBuyer(), VALID_BUYER_1); in testOverrideFromJSONObject_validValues() 222 assertEquals(blob.getBuyer(), VALID_BUYER_1); in testOverrideFromJSONObject_validValuesWithAuctionServerRequestFlagsEnabled() 268 assertEquals(blob.getBuyer(), VALID_BUYER_1); in testOverrideFromJSONObject_invalidValuesWithAuctionServerRequestFlagsEnabled() 318 assertEquals(blob.getBuyer(), VALID_BUYER_1); in testOverrideFromJSONObject_UnexpectedValuesWithAuctionServerRequestFlagsEnabled() 362 assertEquals(mCustomAudienceBlob.getBuyer(), VALID_BUYER_1); in testOverrideFromJSONObject_validValuesWithAuctionServerRequestFlagsDisabled() 439 assertEquals(mCustomAudienceBlob.getBuyer(), VALID_BUYER_1); in testGetBuyer_valid() 444 assertThrows(NullPointerException.class, mCustomAudienceBlob::getBuyer); in testGetBuyer_unsetThrows() 451 assertEquals(mCustomAudienceBlob.getBuyer(), VALID_BUYER_1); in testSetBuyer_valid() [all …]
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/ |
D | CustomAudienceOverrideRequestTest.java | 48 assertEquals(request.getBuyer(), BUYER); in testCreateAddCustomAudienceOverrideRequest_withoutBiddingLogicVersion_Success() 65 assertEquals(request.getBuyer(), BUYER); in testBuildAddCustomAudienceOverrideRequest_biddingLogicVersionNotSet_Success() 83 assertEquals(request.getBuyer(), BUYER); in testBuildAddCustomAudienceOverrideRequest_Success() 95 assertEquals(request.getBuyer(), BUYER); in testCreateRemoveCustomAudienceOverrideRequestSuccess() 107 assertEquals(request.getBuyer(), BUYER); in testBuildRemoveCustomAudienceOverrideRequestSuccess()
|
D | SignedContextualAdsTest.java | 57 assertThat(contextualAds.getBuyer()).isEqualTo(SignedContextualAdsFixture.BUYER); in testBuildContextualAdsSuccess() 69 assertThat(contextualAds.getBuyer()).isNotEqualTo(newAdTech); in testBuildContextualAdsBuilderSuccess() 73 assertThat(anotherContextualAds.getBuyer()).isEqualTo(newAdTech); in testBuildContextualAdsBuilderSuccess() 85 assertThat(fromParcel.getBuyer()).isEqualTo(contextualAds.getBuyer()); in testParcelValidContextualAdsSuccess()
|
D | CustomAudienceTest.java | 81 assertEquals(CommonFixture.VALID_BUYER_1, validCustomAudience.getBuyer()); in testBuildValidCustomAudienceSuccess() 114 assertEquals(CommonFixture.VALID_BUYER_1, validCustomAudience.getBuyer()); in testBuildValidCustomAudienceSuccessWithPriority() 146 assertEquals(CommonFixture.VALID_BUYER_1, validCustomAudience.getBuyer()); in testBuildValidCustomAudienceSuccessWithoutPriority() 180 assertThat(validCustomAudience.getBuyer()).isEqualTo(CommonFixture.VALID_BUYER_1); in testBuildValidCustomAudienceSuccessWithAuctionServerRequestFlags() 214 assertThat(validDelayedActivationCustomAudience.getBuyer()) in testBuildValidDelayedActivationCustomAudienceSuccess() 349 assertThat(nullAdsCustomAudience.getBuyer()).isEqualTo(CommonFixture.VALID_BUYER_1); in testBuildNullAdsCustomAudienceSuccess() 382 assertThat(emptyAdsCustomAudience.getBuyer()).isEqualTo(CommonFixture.VALID_BUYER_1); in testBuildEmptyAdsCustomAudienceSuccess()
|
D | PerBuyerConfigurationTest.java | 45 expect.that(perBuyerConfiguration.getBuyer()).isEqualTo(BUYER_1); in testPerBuyerConfiguration_success() 55 expect.that(perBuyerConfiguration.getBuyer()).isEqualTo(BUYER_1); in testPerBuyerConfiguration_withoutTargetSize_success() 106 expect.that(fromParcel.getBuyer()).isEqualTo(BUYER_1); in testParcelPerBuyerConfiguration()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | AuctionResultValidator.java | 86 if (auctionResult.getBuyer().isEmpty()) { in addValidation() 93 AdTechIdentifier.fromString(auctionResult.getBuyer()), in addValidation() 97 String.format(Locale.ENGLISH, BUYER_ENROLLMENT, auctionResult.getBuyer())); in addValidation() 104 auctionResult.getBuyer(), in addValidation()
|
D | PostAuctionSignals.java | 66 .setWinningBuyer(winningAd.getCustomAudienceSignals().getBuyer()) in create() 73 secondHighestAd.getCustomAudienceSignals().getBuyer()); in create()
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/ |
D | FledgeCtsDebuggableTest.java | 607 .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/framework/src/android/adservices/adselection/ |
D | SignedContextualAdsTest.java | 51 expect.that(contextualAds.getBuyer()).isEqualTo(SignedContextualAdsFixture.BUYER); in testBuildContextualAdsSuccess() 63 expect.that(contextualAds.getBuyer()).isNotEqualTo(newAdTech); in testBuildContextualAdsBuilderSuccess() 67 expect.that(anotherContextualAds.getBuyer()).isEqualTo(newAdTech); in testBuildContextualAdsBuilderSuccess() 79 expect.that(fromParcel.getBuyer()).isEqualTo(contextualAds.getBuyer()); in testParcelValidContextualAdsSuccess()
|
D | RemoveAdCounterHistogramOverrideInputTest.java | 48 expect.that(originalInput.getBuyer()).isEqualTo(CommonFixture.VALID_BUYER_1); in testBuildValidInput_success() 69 expect.that(inputFromParcel.getBuyer()).isEqualTo(CommonFixture.VALID_BUYER_1); in testParcelValidInput_success() 130 expect.that(originalInput.getBuyer()).isEqualTo(CommonFixture.VALID_BUYER_1); in testBuildUnsetAdCounterKey_success()
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/ |
D | BaselinePerfTest.java | 50 .leaveCustomAudience(ca.getBuyer(), ca.getName()) in test_joinCustomAudience_success() 96 .leaveCustomAudience(ca.getBuyer(), ca.getName()) in testAdSelectionAndReporting_normalFlow_success() 148 .leaveCustomAudience(ca.getBuyer(), ca.getName()) in testAdSelectionAndReporting_normalFlowWithThrottling_success() 232 .leaveCustomAudience(ca.getBuyer(), ca.getName()) in testAdSelectionAndReporting_executionHeavyJS_success() 314 .leaveCustomAudience(ca.getBuyer(), ca.getName()) in testAdSelectionAndReporting_memoryHeavyJS_success() 369 .leaveCustomAudience(ca.getBuyer(), ca.getName()) in testAdSelectionAndReporting_multipleCustomAudienceList_success()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | HistogramEventTest.java | 54 assertThat(event.getBuyer()).isEqualTo(CommonFixture.VALID_BUYER_1); in testBuildValidHistogramEvent_success() 120 assertThat(event.getBuyer()).isEqualTo(CommonFixture.VALID_BUYER_1); in testBuildUnsetCustomAudienceOwnerWithNonWinType_success() 156 assertThat(event.getBuyer()).isEqualTo(CommonFixture.VALID_BUYER_1); in testBuildUnsetCustomAudienceNameWithNonWinType_success() 228 assertThat(event.getBuyer()).isEqualTo(CommonFixture.VALID_BUYER_1); in testSetNullCustomAudienceOwnerNonWinType_success() 250 assertThat(event.getBuyer()).isEqualTo(CommonFixture.VALID_BUYER_1); in testSetNullCustomAudienceNameNonWinType_success()
|
D | AdScoringOutcomeFixture.java | 51 .getBuyer()); in anAdScoringBuilder() 80 .getBuyer()); in anAdScoringBuilderWithBuyerContextualSignals() 109 .getBuyer()); in anAdScoringBuilderWithSellerContextualSignals()
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/ |
D | CustomAudienceTestFixture.java | 213 + customAudience.getBuyer()); in joinCustomAudience() 223 .leaveCustomAudience(customAudience.getBuyer(), customAudience.getName()) in leaveCustomAudience() 238 + customAudience.getBuyer()); in leaveJoinedCustomAudiences() 240 .leaveCustomAudience(customAudience.getBuyer(), customAudience.getName()) in leaveJoinedCustomAudiences()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/signals/ |
D | EncodedPayloadDaoTest.java | 99 assertEquals(payload.getBuyer(), retrieved.getBuyer()); in testExistsAndGetAnEncodedPayload() 117 encodedPayloadList.stream().map(a -> a.getBuyer()).collect(Collectors.toSet()); in testGetAllEncodedPayloads() 151 encodedPayloadList.stream().map(a -> a.getBuyer()).collect(Collectors.toSet()); in testDeleteAllBuyersRegisteredBefore()
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/data/adselection/ |
D | DBAdSelectionFixture.java | 40 .getBuyer(), in getValidDbAdSelectionBuilder() 45 .getBuyer(), in getValidDbAdSelectionBuilder()
|