Home
last modified time | relevance | path

Searched refs:HtmlSanitizer (Results 1 – 7 of 7) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DHtmlSanitizer.java46 public final class HtmlSanitizer { class
362 private HtmlSanitizer() {} in HtmlSanitizer() method in HtmlSanitizer
398 final org.owasp.html.HtmlSanitizer.Policy policy = POLICY_DEFINITION.apply(renderer); in sanitizeHtml()
403 org.owasp.html.HtmlSanitizer.sanitize(rawHtml, policy); in sanitizeHtml()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailMessageCursor.java28 import com.android.mail.utils.HtmlSanitizer;
79 final String sanitizedHtml = HtmlSanitizer.sanitizeHtml(underlyingHtmlString); in EmailMessageCursor()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationPagerAdapter.java43 import com.android.mail.utils.HtmlSanitizer;
238 if (HtmlSanitizer.VERSION >= mailPrefs.getRequiredSanitizerVersionNumber()) { in getConversationViewFragment()
/packages/apps/UnifiedEmail/tests/src/com/android/mail/utils/
DQuotedHtmlSanitizerTest.java45 final String cleansedHTML = HtmlSanitizer.sanitizeHtml(dirtyHTML); in sanitize()
DAdvancedHtmlSanitizerTest.java535 final String cleansedHTML = HtmlSanitizer.sanitizeHtml(dirtyHTML); in sanitize()
DBasicHtmlSanitizerTest.java1075 final String cleansedHTML = HtmlSanitizer.sanitizeHtml(dirtyHTML); in sanitize()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DMessage.java43 import com.android.mail.utils.HtmlSanitizer;
470 bodyHtml = HtmlSanitizer.sanitizeHtml(data.htmlContent); in Message()