Home
last modified time | relevance | path

Searched refs:safeChars (Results 1 – 2 of 2) sorted by relevance

/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DPercentEscaper.java118 public PercentEscaper(String safeChars, boolean plusForSpace) { in PercentEscaper() argument
119 checkNotNull(safeChars); // eager for GWT. in PercentEscaper()
122 if (safeChars.matches(".*[0-9A-Za-z].*")) { in PercentEscaper()
129 if (plusForSpace && safeChars.contains(" ")) { in PercentEscaper()
133 if (safeChars.contains("%")) { in PercentEscaper()
138 this.safeOctets = createSafeOctets(safeChars); in PercentEscaper()
146 private static boolean[] createSafeOctets(String safeChars) { in createSafeOctets() argument
148 char[] safeCharArray = safeChars.toCharArray(); in createSafeOctets()
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/
DPercentEscaper.java117 public PercentEscaper(String safeChars, boolean plusForSpace) { in PercentEscaper() argument
118 checkNotNull(safeChars); // eager for GWT. in PercentEscaper()
121 if (safeChars.matches(".*[0-9A-Za-z].*")) { in PercentEscaper()
128 if (plusForSpace && safeChars.contains(" ")) { in PercentEscaper()
132 if (safeChars.contains("%")) { in PercentEscaper()
137 this.safeOctets = createSafeOctets(safeChars); in PercentEscaper()
145 private static boolean[] createSafeOctets(String safeChars) { in createSafeOctets() argument
147 char[] safeCharArray = safeChars.toCharArray(); in createSafeOctets()