/packages/apps/UnifiedEmail/tests/src/com/android/mail/utils/ |
QuotedHtmlSanitizerTest.java | 45 final String cleansedHTML = HtmlSanitizer.sanitizeHtml(dirtyHTML);
|
AdvancedHtmlSanitizerTest.java | 535 final String cleansedHTML = HtmlSanitizer.sanitizeHtml(dirtyHTML);
|
BasicHtmlSanitizerTest.java | [all...] |
/external/owasp/sanitizer/src/main/org/owasp/html/examples/ |
SlashdotPolicyExample.java | 37 import org.owasp.html.HtmlSanitizer; 67 public static final Function<HtmlStreamEventReceiver, HtmlSanitizer.Policy> 118 HtmlSanitizer.sanitize(html, POLICY_DEFINITION.apply(renderer));
|
UrlTextExample.java | 37 import org.owasp.html.HtmlSanitizer; 136 HtmlSanitizer.Policy policy = policyBuilder.apply( 149 HtmlSanitizer.sanitize(input, policy);
|
EbayPolicyExample.java | 37 import org.owasp.html.HtmlSanitizer; 234 HtmlSanitizer.sanitize(html, POLICY_DEFINITION.apply(renderer));
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
HtmlChangeReporter.java | 45 * HtmlSanitizer.sanitize(html, hcr.getWrappedPolicy()); 69 public void setPolicy(HtmlSanitizer.Policy policy) { 75 public HtmlSanitizer.Policy getWrappedPolicy() { return input; } 77 private static final class InputChannel<T> implements HtmlSanitizer.Policy {
|
PolicyFactory.java | 54 implements Function<HtmlStreamEventReceiver, HtmlSanitizer.Policy> { 70 public HtmlSanitizer.Policy apply(@Nonnull HtmlStreamEventReceiver out) { 86 public <CTX> HtmlSanitizer.Policy apply( 121 HtmlSanitizer.sanitize(
|
HtmlSanitizer.java | 41 public final class HtmlSanitizer {
|
ElementAndAttributePolicyBasedSanitizerPolicy.java | 47 implements HtmlSanitizer.Policy {
|
HtmlPolicyBuilder.java | 48 * Conveniences for configuring policies for the {@link HtmlSanitizer}. 59 * Function<HtmlStreamEventReceiver, HtmlSanitizer.Policy> policy 66 * HtmlSanitizer.sanitize(myHtml, policy.apply(myHtmlStreamRenderer)); 455 public HtmlSanitizer.Policy build(HtmlStreamEventReceiver out) { 472 public <CTX> HtmlSanitizer.Policy build(
|
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
Benchmark.java | 143 HtmlSanitizer.sanitize(html, new HtmlSanitizer.Policy() { 202 HtmlSanitizer.sanitize(html, policyBuilder.build(renderer));
|
HtmlSanitizerFuzzerTest.java | 50 private static final HtmlSanitizer.Policy DO_NOTHING_POLICY 51 = new HtmlSanitizer.Policy() { 131 HtmlSanitizer.sanitize(fuzzyHtml, DO_NOTHING_POLICY);
|
HtmlPolicyBuilderTest.java | 292 HtmlSanitizer.Policy policy = b.build(HtmlStreamRenderer.create(sb, 296 HtmlSanitizer.sanitize(src, policy);
|
HtmlChangeReporterTest.java | 72 HtmlSanitizer.sanitize(
|
HtmlPolicyBuilderFuzzerTest.java | 58 final Function<HtmlStreamEventReceiver, HtmlSanitizer.Policy> policyFactory 92 HtmlSanitizer.Policy policy = policyFactory.apply(
|
HtmlSanitizerTest.java | 353 HtmlSanitizer.Policy policy = new HtmlPolicyBuilder() 379 HtmlSanitizer.sanitize(html, policy);
|
HtmlStreamRendererTest.java | 295 HtmlSanitizer.sanitize(htmlInput, new HtmlSanitizer.Policy() {
|
AntiSamyTest.java | 54 private static HtmlSanitizer.Policy makePolicy(Appendable buffer) {
95 HtmlSanitizer.sanitize(html, makePolicy(sb));
[all...] |
/packages/apps/Email/provider_src/com/android/email/provider/ |
EmailMessageCursor.java | 28 import com.android.mail.utils.HtmlSanitizer; 79 final String sanitizedHtml = HtmlSanitizer.sanitizeHtml(underlyingHtmlString);
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
HtmlSanitizer.java | 46 public final class HtmlSanitizer { 362 private HtmlSanitizer() {} 398 final org.owasp.html.HtmlSanitizer.Policy policy = POLICY_DEFINITION.apply(renderer); 403 org.owasp.html.HtmlSanitizer.sanitize(rawHtml, policy);
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationPagerAdapter.java | 43 import com.android.mail.utils.HtmlSanitizer; 238 if (HtmlSanitizer.VERSION >= mailPrefs.getRequiredSanitizerVersionNumber()) {
|
/external/owasp/sanitizer/distrib/lib/ |
owasp-java-html-sanitizer.jar | |
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
Message.java | 43 import com.android.mail.utils.HtmlSanitizer; 470 bodyHtml = HtmlSanitizer.sanitizeHtml(data.htmlContent);
|