Searched refs:vpnLabel (Results 1 – 1 of 1) sorted by relevance
80 private String getSimplifiedLabel(String vpnLabel, String packageName) { in getSimplifiedLabel() argument81 if (vpnLabel.codePointCount(0, vpnLabel.length()) > 30) { in getSimplifiedLabel()83 vpnLabel.substring(0, vpnLabel.offsetByCodePoints(0, 30)), in getSimplifiedLabel()87 return getString(R.string.sanitized_vpn_label, vpnLabel, packageName); in getSimplifiedLabel()91 protected String getSanitizedVpnLabel(String vpnLabel, String packageName) { in getSanitizedVpnLabel() argument92 final String sanitizedVpnLabel = Html.escapeHtml(vpnLabel); in getSanitizedVpnLabel()95 if (exceedMaxVpnLabelLength || !vpnLabel.equals(sanitizedVpnLabel)) { in getSanitizedVpnLabel()