Home
last modified time | relevance | path

Searched refs:ValidatorUtil (Results 1 – 25 of 31) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DCustomAudienceValidatorTest.java38 import com.android.adservices.service.common.ValidatorUtil;
98 ValidatorUtil.AD_TECH_ROLE_BUYER), in testInvalidBuyer()
101 ValidatorUtil.AD_TECH_ROLE_BUYER, in testInvalidBuyer()
103 ValidatorUtil.AD_TECH_ROLE_BUYER, in testInvalidBuyer()
108 ValidatorUtil.AD_TECH_ROLE_BUYER, in testInvalidBuyer()
110 ValidatorUtil.AD_TECH_ROLE_BUYER, in testInvalidBuyer()
115 ValidatorUtil.AD_TECH_ROLE_BUYER, in testInvalidBuyer()
117 ValidatorUtil.AD_TECH_ROLE_BUYER, in testInvalidBuyer()
125 ValidatorUtil.AD_TECH_ROLE_BUYER, in testInvalidBuyer()
127 ValidatorUtil.AD_TECH_ROLE_BUYER, in testInvalidBuyer()
[all …]
DTrustedBiddingDataValidatorTest.java36 import com.android.adservices.service.common.ValidatorUtil;
132 ValidatorUtil.AD_TECH_ROLE_BUYER, in testValidator_malformedUri()
134 ValidatorUtil.AD_TECH_ROLE_BUYER, in testValidator_malformedUri()
DCustomAudienceDailyUpdateUriValidatorTest.java25 import static com.android.adservices.service.common.ValidatorUtil.AD_TECH_ROLE_BUYER;
DCustomAudienceBiddingLogicUriValidatorTest.java25 import static com.android.adservices.service.common.ValidatorUtil.AD_TECH_ROLE_BUYER;
DCustomAudienceFieldSizeValidatorTest.java19 import static com.android.adservices.service.common.ValidatorUtil.HTTPS_SCHEME;
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAdTechUriValidatorTest.java35 ValidatorUtil.AD_TECH_ROLE_BUYER,
79 ValidatorUtil.AD_TECH_ROLE_BUYER, in testNotMatchHost_hasViolation()
81 ValidatorUtil.AD_TECH_ROLE_BUYER, in testNotMatchHost_hasViolation()
113 ValidatorUtil.AD_TECH_ROLE_BUYER, in testDomainContainingNotMatchingHost_hasNoViolations()
115 ValidatorUtil.AD_TECH_ROLE_BUYER, in testDomainContainingNotMatchingHost_hasNoViolations()
158 ValidatorUtil.AD_TECH_ROLE_BUYER, in testNonSubdomainEndingWithSameSubstring_hasViolation()
160 ValidatorUtil.AD_TECH_ROLE_BUYER, in testNonSubdomainEndingWithSameSubstring_hasViolation()
DAdDataValidatorTest.java41 ValidatorUtil.AD_TECH_ROLE_BUYER,
71 ValidatorUtil.AD_TECH_ROLE_BUYER, in testInvalidUri()
73 ValidatorUtil.AD_TECH_ROLE_BUYER, in testInvalidUri()
126 ValidatorUtil.AD_TECH_ROLE_BUYER, in testInvalidRenderId()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DAdSelectionConfigValidator.java33 import com.android.adservices.service.common.ValidatorUtil;
73 AD_SELECTION_CONFIG_CLASS_NAME, ValidatorUtil.AD_TECH_ROLE_SELLER); in AdSelectionConfigValidator()
94 ValidatorUtil.AD_TECH_ROLE_SELLER, in addValidation()
105 ValidatorUtil.AD_TECH_ROLE_SELLER, in addValidation()
126 ValidatorUtil.AD_TECH_ROLE_BUYER, in validateSignedContextualAds()
135 ValidatorUtil.AD_TECH_ROLE_BUYER, in validateSignedContextualAds()
DAuctionResultValidator.java31 import com.android.adservices.service.common.ValidatorUtil;
103 ValidatorUtil.AD_TECH_ROLE_BUYER, in addValidation()
DImpressionReporterLegacy.java60 import com.android.adservices.service.common.ValidatorUtil;
433 ValidatorUtil.AD_TECH_ROLE_SELLER, in doReport()
470 ValidatorUtil.AD_TECH_ROLE_BUYER, in doReport()
766 ValidatorUtil.AD_TECH_ROLE_SELLER,
803 ValidatorUtil.AD_TECH_ROLE_BUYER,
DImpressionReporter.java61 import com.android.adservices.service.common.ValidatorUtil;
406 ValidatorUtil.AD_TECH_ROLE_SELLER, in validateReportingUris()
420 ValidatorUtil.AD_TECH_ROLE_BUYER, in validateReportingUris()
744 ValidatorUtil.AD_TECH_ROLE_SELLER,
780 ValidatorUtil.AD_TECH_ROLE_BUYER,
DDebugReportProcessor.java28 import com.android.adservices.service.common.ValidatorUtil;
260 ValidatorUtil.AD_TECH_ROLE_SELLER, in hasValidUriForAdTech()
DPersistAdSelectionResultRunner.java57 import com.android.adservices.service.common.ValidatorUtil;
567 ValidatorUtil.AD_TECH_ROLE_BUYER,
573 ValidatorUtil.AD_TECH_ROLE_SELLER,
645 ValidatorUtil.AD_TECH_ROLE_BUYER,
651 ValidatorUtil.AD_TECH_ROLE_SELLER,
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DAdTechUriValidator.java92 if (ValidatorUtil.isStringNullOrEmpty(uriHost)) { in addValidation()
99 } else if (!ValidatorUtil.isStringNullOrEmpty(mAdTechIdentifier) in addValidation()
110 } else if (!ValidatorUtil.HTTPS_SCHEME.equalsIgnoreCase(uri.getScheme())) { in addValidation()
117 if (ValidatorUtil.isStringNullOrEmpty(uriHost)) { in matchesEtldPlus1()
DCoordinatorOriginUriValidator.java55 if (ValidatorUtil.isStringNullOrEmpty(uri.getHost())) { in createEnabledInstance()
57 } else if (!ValidatorUtil.HTTPS_SCHEME.equalsIgnoreCase(uri.getScheme())) { in createEnabledInstance()
59 } else if (!ValidatorUtil.isStringNullOrEmpty(uri.getPath())) { in createEnabledInstance()
DValidatorUtil.java24 public class ValidatorUtil { class
35 private ValidatorUtil() {} in ValidatorUtil() method in ValidatorUtil
DAdTechIdentifierValidator.java19 import static com.android.adservices.service.common.ValidatorUtil.HTTPS_SCHEME;
82 if (ValidatorUtil.isStringNullOrEmpty(adTechIdentifier)) { in addValidation()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DCustomAudienceValidator.java35 import com.android.adservices.service.common.ValidatorUtil;
100 CUSTOM_AUDIENCE_CLASS_NAME, ValidatorUtil.AD_TECH_ROLE_BUYER), in CustomAudienceValidator()
160 ValidatorUtil.AD_TECH_ROLE_BUYER, in validateFieldFormat()
166 ValidatorUtil.AD_TECH_ROLE_BUYER, in validateFieldFormat()
184 ValidatorUtil.AD_TECH_ROLE_BUYER, in validateFieldFormat()
DCustomAudienceBiddingLogicUriValidator.java29 import com.android.adservices.service.common.ValidatorUtil;
109 ValidatorUtil.AD_TECH_ROLE_BUYER, in addValidation()
DCustomAudienceDailyUpdateUriValidator.java29 import com.android.adservices.service.common.ValidatorUtil;
109 ValidatorUtil.AD_TECH_ROLE_BUYER, in addValidation()
DTrustedBiddingDataValidator.java28 import com.android.adservices.service.common.ValidatorUtil;
113 ValidatorUtil.AD_TECH_ROLE_BUYER, in addValidation()
DCustomAudienceUpdatableDataReader.java34 import com.android.adservices.service.common.ValidatorUtil;
219 ValidatorUtil.AD_TECH_ROLE_BUYER, in getTrustedBiddingDataFromJsonObject()
273 ValidatorUtil.AD_TECH_ROLE_BUYER, in getAdsFromJsonObject()
DCustomAudienceAdsValidator.java33 import com.android.adservices.service.common.ValidatorUtil;
134 ValidatorUtil.AD_TECH_ROLE_BUYER, in addValidation()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/common/
DCommonFixture.java28 import com.android.adservices.service.common.ValidatorUtil;
68 return Uri.parse(ValidatorUtil.HTTPS_SCHEME + "://" + authority + path); in getUri()
72 return Uri.parse(ValidatorUtil.HTTPS_SCHEME + "://" + subdomain + "." + authority + path); in getUriWithGivenSubdomain()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAdSelectionConfigValidatorTest.java45 import com.android.adservices.service.common.ValidatorUtil;
428 ValidatorUtil.AD_TECH_ROLE_BUYER, in testContextualAdsRenderUriEtldMismatch()
430 ValidatorUtil.AD_TECH_ROLE_BUYER, in testContextualAdsRenderUriEtldMismatch()

12