/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/ |
D | CustomAudienceBlobValidator.java | 107 public void addValidation( in addValidation() method in CustomAudienceBlobValidator 116 mNameValidator.addValidation(customAudience.getName(), violations); in addValidation() 122 mUserBiddingSignalsValidator.addValidation( in addValidation() 131 mActivationTimeValidator.addValidation(calculatedActivationTime, violations); in addValidation() 138 mExpirationTimeValidator.addValidation( in addValidation() 145 mBuyerValidator.addValidation(customAudience.getBuyer().toString(), violations); in addValidation() 159 mBiddingLogicUriValidator.addValidation( in addValidation() 168 mDailyUpdateUriValidator.addValidation( in addValidation() 177 mTrustedBiddingDataValidator.addValidation( in addValidation() 186 mAdsValidator.addValidation(customAudience.getAds(), buyer, violations); in addValidation()
|
D | CustomAudienceValidator.java | 144 public void addValidation( in addValidation() method in CustomAudienceValidator 151 mCustomAudienceTimestampValidator.addValidation(customAudience, violations); in addValidation() 152 mCustomAudienceFieldSizeValidator.addValidation(customAudience, violations); in addValidation() 158 mBuyerValidator.addValidation(buyer, violations); in validateFieldFormat() 164 .addValidation(customAudience.getDailyUpdateUri(), violations); in validateFieldFormat() 170 .addValidation(customAudience.getBiddingLogicUri(), violations); in validateFieldFormat() 172 mUserBiddingSignalsValidator.addValidation( in validateFieldFormat() 177 .addValidation( in validateFieldFormat() 189 adDataValidator.addValidation(adData, violations); in validateFieldFormat()
|
D | CustomAudienceBiddingLogicUriValidator.java | 83 addValidation(biddingLogicUri, buyer, violations); in getValidationViolations() 99 public void addValidation( in addValidation() method in CustomAudienceBiddingLogicUriValidator 113 adTechUriValidator.addValidation(biddingLogicUri, violations); in addValidation()
|
D | CustomAudienceDailyUpdateUriValidator.java | 83 addValidation(dailyUpdateUri, buyer, violations); in getValidationViolations() 99 public void addValidation( in addValidation() method in CustomAudienceDailyUpdateUriValidator 113 adTechUriValidator.addValidation(dailyUpdateUri, violations); in addValidation()
|
D | TrustedBiddingDataValidator.java | 87 addValidation(trustedBiddingData, buyer, violations); in getValidationViolations() 103 public void addValidation( in addValidation() method in TrustedBiddingDataValidator 118 adTechUriValidator.addValidation(trustedBiddingData.getTrustedBiddingUri(), violations); in addValidation()
|
D | CustomAudienceAdsValidator.java | 104 addValidation(ads, buyer, violations); in getValidationViolations() 123 public void addValidation( in addValidation() method in CustomAudienceAdsValidator 139 adDataValidator.addValidation(ad, violations); in addValidation()
|
D | CustomAudienceUserBiddingSignalsValidator.java | 65 public void addValidation( in addValidation() method in CustomAudienceUserBiddingSignalsValidator 72 mJsonValidator.addValidation(userBiddingSignals.toString(), violations); in addValidation()
|
D | CustomAudienceExpirationTimeValidator.java | 88 addValidation(expirationTime, calculatedActivationTime, violations); in getValidationViolations() 107 public void addValidation( in addValidation() method in CustomAudienceExpirationTimeValidator
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | FrequencyCapAdDataValidatorImplTest.java | 54 () -> mFrequencyCapAdDataValidator.addValidation(null, ImmutableList.builder())); in testAddValidation_nullAdDataThrows() 62 mFrequencyCapAdDataValidator.addValidation( in testAddValidation_nullViolationsThrows() 72 mFrequencyCapAdDataValidator.addValidation( in testAddValidation_validKeysAndFiltersNoViolationsFound() 111 mFrequencyCapAdDataValidator.addValidation( in testAddValidation_excessiveNumKeysAndFiltersReturnsViolations() 127 mFrequencyCapAdDataValidator.addValidation( in testAddValidation_nullKeyedFrequencyCapReturnsViolations() 159 mFrequencyCapAdDataValidator.addValidation( in testAddValidation_KeyedFrequencyCapsWithNegativeFieldsReturnsViolations() 196 mFrequencyCapAdDataValidator.addValidation( in testAddValidation_KeyedFrequencyCapsWithZeroFieldsReturnsViolations() 233 mFrequencyCapAdDataValidator.addValidation( in testAddValidation_KeyedFrequencyCapsWithExcessiveIntervalReturnsViolations() 261 mFrequencyCapAdDataValidator.addValidation( in testAddValidation_noKeysOrFiltersNoViolationsFound()
|
D | FrequencyCapAdDataValidatorNoOpImplTest.java | 45 () -> mFrequencyCapAdDataValidator.addValidation(null, ImmutableList.builder())); in testAddValidation_nullAdDataThrows() 53 mFrequencyCapAdDataValidator.addValidation( in testAddValidation_nullViolationsThrows() 63 mFrequencyCapAdDataValidator.addValidation( in testAddValidation_validKeysAndFiltersNoViolationsFound() 102 mFrequencyCapAdDataValidator.addValidation( in testAddValidation_excessiveNumKeysAndFiltersReturnsViolations() 114 mFrequencyCapAdDataValidator.addValidation( in testAddValidation_noKeysOrFiltersNoViolationsFound()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ |
D | AdDataValidator.java | 67 public void addValidation( in addValidation() method in AdDataValidator 73 mUriValidator.addValidation(adData.getRenderUri(), adDataViolations); in addValidation() 74 mMetadataValidator.addValidation(adData.getMetadata(), adDataViolations); in addValidation() 75 mFrequencyCapAdDataValidator.addValidation(adData, adDataViolations); in addValidation() 76 mAdRenderIdValidator.addValidation(adData.getAdRenderId(), adDataViolations); in addValidation()
|
D | Validator.java | 57 addValidation(object, violations); in getValidationViolations() 62 void addValidation(T object, ImmutableCollection.Builder<String> violations); in addValidation() method
|
D | FrequencyCapAdDataValidator.java | 30 void addValidation( in addValidation() method
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | AdSelectionConfigValidator.java | 78 public void addValidation( in addValidation() method in AdSelectionConfigValidator 86 mAdTechIdentifierValidator.addValidation(sellerString, violations); in addValidation() 98 sellerDecisionLogicUriValidator.addValidation( in addValidation() 109 trustedScoringSignalsUriValidator.addValidation( in addValidation() 130 buyerUriValidator.addValidation(entry.getValue().getDecisionLogicUri(), violations); in validateSignedContextualAds() 140 adDataValidator.addValidation(ad.getAdData(), violations); in validateSignedContextualAds()
|
D | AdvertiserSetValidator.java | 66 public void addValidation( in addValidation() method in AdvertiserSetValidator 82 mAdTechIdentifierValidator.addValidation(advertiserString, violations); in addValidation()
|
D | AuctionResultValidator.java | 77 public void addValidation( in addValidation() method in AuctionResultValidator 107 adRenderUriValidator.addValidation(Uri.parse(auctionResult.getAdRenderUrl()), violations); in addValidation()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/ |
D | CustomAudienceDailyUpdateUriValidatorTest.java | 76 () -> mValidator.addValidation(null, VALID_BUYER_1, new ImmutableList.Builder<>())); in testAddValidation_nullDailyUpdateUri_throws() 84 mValidator.addValidation( in testAddValidation_nullBuyer_throws() 95 mValidator.addValidation( in testAddValidation_nullViolations_throws()
|
D | CustomAudienceBiddingLogicUriValidatorTest.java | 77 () -> mValidator.addValidation(null, VALID_BUYER_1, new ImmutableList.Builder<>())); in testAddValidation_nullBiddingLogicUri_throws() 85 mValidator.addValidation( in testAddValidation_nullBuyer_throws() 96 mValidator.addValidation( in testAddValidation_nullViolations_throws()
|
D | TrustedBiddingDataValidatorTest.java | 76 () -> mValidator.addValidation(null, VALID_BUYER_1, new ImmutableList.Builder<>())); in testAddValidation_nullTrustedBiddingData_throws() 84 mValidator.addValidation( in testAddValidation_nullBuyer_throws() 95 mValidator.addValidation( in testAddValidation_nullViolations_throws()
|
D | CustomAudienceExpirationTimeValidatorTest.java | 98 mValidator.addValidation( in testAddValidation_nullExpirationTime_throws() 107 mValidator.addValidation( in testAddValidation_nullCalculatedActivationTime_throws() 115 () -> mValidator.addValidation(VALID_EXPIRATION_TIME, VALID_ACTIVATION_TIME, null)); in testAddValidation_nullViolations_throws()
|
D | CustomAudienceNameValidatorTest.java | 54 () -> mValidator.addValidation(null, new ImmutableList.Builder<>())); in testAddValidation_nullName_throws() 59 assertThrows(NullPointerException.class, () -> mValidator.addValidation(VALID_NAME, null)); in testAddValidation_nullViolations_throws()
|
D | CustomAudienceActivationTimeValidatorTest.java | 80 () -> mValidator.addValidation(null, new ImmutableList.Builder<>())); in testAddValidation_nullActivationTime_throws() 87 () -> mValidator.addValidation(VALID_ACTIVATION_TIME, null)); in testAddValidation_nullViolations_throws()
|
D | CustomAudienceUserBiddingSignalsValidatorTest.java | 69 () -> mValidator.addValidation(null, new ImmutableList.Builder<>())); in testAddValidation_nullUserBiddingSignals_throws() 76 () -> mValidator.addValidation(VALID_USER_BIDDING_SIGNALS, null)); in testAddValidation_nullViolations_throws()
|
D | CustomAudienceAdsValidatorTest.java | 139 () -> mValidator.addValidation(null, VALID_BUYER_1, new ImmutableList.Builder<>())); in testAddValidation_nullAds_throws() 146 () -> mValidator.addValidation(mValidAds, null, new ImmutableList.Builder<>())); in testAddValidation_nullBuyer_throws() 153 () -> mValidator.addValidation(mValidAds, VALID_BUYER_1, null)); in testAddValidation_nullViolations_throws()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | AdvertiserSetValidatorTest.java | 94 .addValidation(eq(CommonFixture.VALID_BUYER_1.toString()), any()); in testSuccessValidSet() 96 .addValidation(eq(CommonFixture.VALID_BUYER_2.toString()), any()); in testSuccessValidSet()
|