Searched refs:CoordinatorOriginUriValidator (Results 1 – 6 of 6) sorted by relevance
26 private CoordinatorOriginUriValidator mValidator;37 mValidator = CoordinatorOriginUriValidator.createEnabledInstance(ALLOWLIST); in setup()42 mValidator = CoordinatorOriginUriValidator.createDisabledInstance(); in test_multiCloudFlagOff_invalidUri_hasNoViolation()62 String.format(CoordinatorOriginUriValidator.URI_SHOULD_HAVE_PRESENT_HOST)); in test_noHostUri_hasViolation()69 String.format(CoordinatorOriginUriValidator.URI_SHOULD_USE_HTTPS)); in test_notHttpsScheme_hasViolation()76 String.format(CoordinatorOriginUriValidator.URI_SHOULD_NOT_HAVE_PATH)); in test_hasPath_hasViolation()83 String.format(CoordinatorOriginUriValidator.URI_SHOULD_BELONG_TO_ALLOWLIST)); in test_urlNotAllowlisted_hasViolation()
26 import com.android.adservices.service.common.CoordinatorOriginUriValidator;39 public CoordinatorOriginUriValidator getCoordinatorOriginUriValidator() { in getCoordinatorOriginUriValidator()40 return CoordinatorOriginUriValidator.createDisabledInstance(); in getCoordinatorOriginUriValidator()70 public CoordinatorOriginUriValidator getCoordinatorOriginUriValidator() { in getCoordinatorOriginUriValidator()71 return CoordinatorOriginUriValidator.createEnabledInstance(mAllowList); in getCoordinatorOriginUriValidator()
31 public interface CoordinatorOriginUriValidator extends Validator<Uri> { interface44 CoordinatorOriginUriValidator VALIDATOR_NO_OP = (object, violations) -> {};47 static CoordinatorOriginUriValidator createDisabledInstance() { in createDisabledInstance()52 static CoordinatorOriginUriValidator createEnabledInstance(String allowlist) { in createEnabledInstance()
30 import com.android.adservices.service.common.CoordinatorOriginUriValidator;46 public CoordinatorOriginUriValidator getCoordinatorOriginUriValidator() { in getCoordinatorOriginUriValidator()47 return CoordinatorOriginUriValidator.createEnabledInstance(mAllowlist); in getCoordinatorOriginUriValidator()93 public CoordinatorOriginUriValidator getCoordinatorOriginUriValidator() { in getCoordinatorOriginUriValidator()94 return CoordinatorOriginUriValidator.createDisabledInstance(); in getCoordinatorOriginUriValidator()
25 import com.android.adservices.service.common.CoordinatorOriginUriValidator;35 CoordinatorOriginUriValidator getCoordinatorOriginUriValidator(); in getCoordinatorOriginUriValidator()
54 import com.android.adservices.service.common.CoordinatorOriginUriValidator;126 @NonNull private final CoordinatorOriginUriValidator mCoordinatorOriginUriValidator;