/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/ |
D | DBAppInstallPermissionsTest.java | 42 .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()
|
D | CustomAudienceSignalsTest.java | 39 .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()
|
D | DBHistogramIdentifierTest.java | 48 .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()
|
D | DBBuyerDecisionOverrideTest.java | 45 .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/ |
D | PerBuyerConfigurationTest.java | 41 .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()
|
D | SignedContextualAdsTest.java | 51 .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/ |
D | HistogramEventTest.java | 45 .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 …]
|
D | AuctionServerCustomAudienceFiltererTest.java | 57 .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()
|
D | AdScoringOutcomeFixture.java | 47 .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/ |
D | DBSignalsUpdateMetadataTest.java | 52 .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()
|
D | DBEncoderEndpointTest.java | 53 .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()
|
D | DBEncoderLogicMetadataTest.java | 62 .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()
|
D | ProtectedSignalsDaoTest.java | 165 .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 …]
|
D | DBProtectedSignalTest.java | 59 .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/ |
D | CustomAudienceBlobValidatorTest.java | 600 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/ |
D | SetAdCounterHistogramOverrideRequestTest.java | 52 .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()
|
D | SetAdCounterHistogramOverrideInputTest.java | 53 .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()
|
D | RemoveAdCounterHistogramOverrideInputTest.java | 42 .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()
|
D | SignedContextualAdsTest.java | 45 .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()
|
D | RemoveAdCounterHistogramOverrideRequestTest.java | 39 .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/ |
D | CustomAudienceOverrideTest.java | 46 .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()
|
D | DBScheduledCustomAudienceUpdateTest.java | 47 .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/ |
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/fixtures/java/com/android/adservices/service/adselection/ |
D | HistogramEventFixture.java | 56 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/ |
D | SignalsFixture.java | 82 .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()
|