Searched refs:sanitizedVpnLabel (Results 1 – 2 of 2) sorted by relevance
92 final String sanitizedVpnLabel = Html.escapeHtml(vpnLabel); in getSanitizedVpnLabel() local93 final boolean exceedMaxVpnLabelLength = sanitizedVpnLabel.codePointCount(0, in getSanitizedVpnLabel()94 sanitizedVpnLabel.length()) > MAX_VPN_LABEL_LENGTH; in getSanitizedVpnLabel()95 if (exceedMaxVpnLabelLength || !vpnLabel.equals(sanitizedVpnLabel)) { in getSanitizedVpnLabel()96 return getSimplifiedLabel(sanitizedVpnLabel, packageName); in getSanitizedVpnLabel()99 return sanitizedVpnLabel; in getSanitizedVpnLabel()
121 final String sanitizedVpnLabel = in verifySanitizedVpnLabel()123 assertTrue(sanitizedVpnLabel.codePointCount(0, sanitizedVpnLabel.length()) in verifySanitizedVpnLabel()125 assertFalse(sanitizedVpnLabel.contains("<b>")); in verifySanitizedVpnLabel()