Home
last modified time | relevance | path

Searched refs:containsOnlyPrintableAscii (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardUtilsTests.java28 assertTrue(VCardUtils.containsOnlyPrintableAscii((String)null)); in testContainsOnlyPrintableAscii()
29 assertTrue(VCardUtils.containsOnlyPrintableAscii((String[])null)); in testContainsOnlyPrintableAscii()
30 assertTrue(VCardUtils.containsOnlyPrintableAscii((List<String>)null)); in testContainsOnlyPrintableAscii()
31 assertTrue(VCardUtils.containsOnlyPrintableAscii("")); in testContainsOnlyPrintableAscii()
32 assertTrue(VCardUtils.containsOnlyPrintableAscii("abcdefghijklmnopqrstuvwxyz")); in testContainsOnlyPrintableAscii()
33 assertTrue(VCardUtils.containsOnlyPrintableAscii("ABCDEFGHIJKLMNOPQRSTUVWXYZ")); in testContainsOnlyPrintableAscii()
38 assertTrue(VCardUtils.containsOnlyPrintableAscii(builder.toString())); in testContainsOnlyPrintableAscii()
39 assertTrue(VCardUtils.containsOnlyPrintableAscii("\r\n")); in testContainsOnlyPrintableAscii()
40 assertFalse(VCardUtils.containsOnlyPrintableAscii("\u0019")); in testContainsOnlyPrintableAscii()
41 assertFalse(VCardUtils.containsOnlyPrintableAscii("\u007F")); in testContainsOnlyPrintableAscii()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardUtils.java298 if (containsOnlyPrintableAscii(familyName) && in sortNameElements()
299 containsOnlyPrintableAscii(givenName)) { in sortNameElements()
413 public static boolean containsOnlyPrintableAscii(final String...values) { in containsOnlyPrintableAscii() method in VCardUtils
417 return containsOnlyPrintableAscii(Arrays.asList(values)); in containsOnlyPrintableAscii()
420 public static boolean containsOnlyPrintableAscii(final Collection<String> values) { in containsOnlyPrintableAscii() method in VCardUtils
DVCardBuilder.java1080 !VCardUtils.containsOnlyPrintableAscii(rawAddressArray); in tryConstructPostalStruct()
1154 !VCardUtils.containsOnlyPrintableAscii(rawFormattedAddress); in tryConstructPostalStruct()
1284 !VCardUtils.containsOnlyPrintableAscii(orgline), in appendOrganizations()
1290 !VCardUtils.containsOnlyPrintableAscii(title), in appendOrganizations()
1347 !VCardUtils.containsOnlyPrintableAscii(noteStr); in appendNotes()
1358 !VCardUtils.containsOnlyPrintableAscii(noteStr); in appendNotes()
1885 !VCardUtils.containsOnlyPrintableAscii(rawValue); in appendLineWithCharsetAndQPDetection()
2075 if (!VCardUtils.containsOnlyPrintableAscii(propertyValue)) { in shouldAppendCharsetParam()