Home
last modified time | relevance | path

Searched refs:AdRenderIdValidator (Results 1 – 20 of 20) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAdRenderIdValidatorTest.java36 AdRenderIdValidator validator = in testCreateInstance_disabled_returnsNoViolations()
37 AdRenderIdValidator.createInstance( in testCreateInstance_disabled_returnsNoViolations()
47 AdRenderIdValidator validator = in testCreateInstance_enabled_returnsViolations()
48 AdRenderIdValidator.createInstance( in testCreateInstance_enabled_returnsViolations()
58 AdRenderIdValidator validator = in testCreateInstance_enabled_shortId_returnsNoViolations()
59 AdRenderIdValidator.createInstance( in testCreateInstance_enabled_shortId_returnsNoViolations()
DAdDataValidatorTest.java36 private static final AdRenderIdValidator AD_RENDER_ID_VALIDATOR =
37 AdRenderIdValidator.createEnabledInstance(100);
129 AdRenderIdValidator.createEnabledInstance(5)); in testInvalidRenderId()
DFledgeE2ETest.java4891 AdRenderIdValidator.createInstance(flags)), in initClients()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DAdRenderIdValidator.java30 public interface AdRenderIdValidator extends Validator<String> { interface
34 AdRenderIdValidator AD_RENDER_ID_VALIDATOR_NO_OP = (object, violations) -> {};
40 static AdRenderIdValidator createInstance(Flags flags) { in createInstance()
58 static AdRenderIdValidator createEnabledInstance(long maxLength) { in createEnabledInstance()
DAdDataValidator.java41 @NonNull private final AdRenderIdValidator mAdRenderIdValidator;
47 @NonNull AdRenderIdValidator adRenderIdValidator) { in AdDataValidator()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DCustomAudienceValidator.java29 import com.android.adservices.service.common.AdRenderIdValidator;
63 @NonNull private final AdRenderIdValidator mAdRenderIdValidator;
75 @NonNull AdRenderIdValidator adRenderIdValidator, in CustomAudienceValidator()
96 @NonNull AdRenderIdValidator adRenderIdValidator) { in CustomAudienceValidator()
132 AdRenderIdValidator.createInstance(flags)); in getInstance()
DReadAdRenderIdFromJsonStrategyFactory.java24 import com.android.adservices.service.common.AdRenderIdValidator;
35 @NonNull private final AdRenderIdValidator mAdRenderIdValidator;
38 mAdRenderIdValidator = AdRenderIdValidator.createEnabledInstance(maxLength); in AdRenderIdEnabledStrategy()
DCustomAudienceAdsValidator.java31 import com.android.adservices.service.common.AdRenderIdValidator;
47 @NonNull private final AdRenderIdValidator mAdRenderIdValidator;
53 @NonNull AdRenderIdValidator adRenderIdValidator, in CustomAudienceAdsValidator()
DScheduledUpdatesHandler.java48 import com.android.adservices.service.common.AdRenderIdValidator;
128 @NonNull AdRenderIdValidator adRenderIdValidator, in ScheduledUpdatesHandler()
199 AdRenderIdValidator.createInstance(FlagsFactory.getFlags()), in ScheduledUpdatesHandler()
DFetchCustomAudienceImpl.java51 import com.android.adservices.service.common.AdRenderIdValidator;
156 @NonNull AdRenderIdValidator adRenderIdValidator, in FetchCustomAudienceImpl()
DCustomAudienceServiceImpl.java62 import com.android.adservices.service.common.AdRenderIdValidator;
343 AdRenderIdValidator.createInstance(mFlags), in fetchAndJoinCustomAudience()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DAdSelectionConfigValidator.java28 import com.android.adservices.service.common.AdRenderIdValidator;
61 @NonNull private final AdRenderIdValidator mAdRenderIdValidator;
74 mAdRenderIdValidator = AdRenderIdValidator.AD_RENDER_ID_VALIDATOR_NO_OP; in AdSelectionConfigValidator()
DAdSelectionServiceImpl.java87 import com.android.adservices.service.common.AdRenderIdValidator;
175 @NonNull private final AdRenderIdValidator mAdRenderIdValidator;
272 mAdRenderIdValidator = AdRenderIdValidator.AD_RENDER_ID_VALIDATOR_NO_OP; in AdSelectionServiceImpl()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DCustomAudienceValidatorTest.java31 import com.android.adservices.service.common.AdRenderIdValidator;
57 AdRenderIdValidator.AD_RENDER_ID_VALIDATOR_NO_OP);
351 AdRenderIdValidator.createEnabledInstance(100)); in testExceededFrequencyCapLimits()
385 AdRenderIdValidator.createEnabledInstance(5)); in testInvalidRenderId()
DCustomAudienceAdsValidatorTest.java45 import com.android.adservices.service.common.AdRenderIdValidator;
70 private final AdRenderIdValidator mAdRenderIdValidator =
71 AdRenderIdValidator.createEnabledInstance(100);
DCustomAudienceImplTest.java40 import com.android.adservices.service.common.AdRenderIdValidator;
268 AdRenderIdValidator.AD_RENDER_ID_VALIDATOR_NO_OP), in testJoinCustomAudienceWithSubdomains_runNormally()
DCustomAudienceBlobValidatorTest.java94 import com.android.adservices.service.common.AdRenderIdValidator;
141 private final AdRenderIdValidator mAdRenderIdValidator =
142 AdRenderIdValidator.createEnabledInstance(
1656 AdRenderIdValidator.AD_RENDER_ID_TOO_LONG, in testValidator_invalidAds_malformedAds()
DScheduledUpdatesHandlerTest.java66 import com.android.adservices.service.common.AdRenderIdValidator;
117 private final AdRenderIdValidator mAdRenderIdValidator =
118 AdRenderIdValidator.createEnabledInstance(100);
DFetchCustomAudienceImplTest.java123 import com.android.adservices.service.common.AdRenderIdValidator;
182 private final AdRenderIdValidator mAdRenderIdValidator =
183 AdRenderIdValidator.createEnabledInstance(100);
DCustomAudienceServiceEndToEndTest.java112 import com.android.adservices.service.common.AdRenderIdValidator;
219 private static final AdRenderIdValidator RENDER_ID_VALIDATOR_NO_OP =
220 AdRenderIdValidator.AD_RENDER_ID_VALIDATOR_NO_OP;