Home
last modified time | relevance | path

Searched refs:VCardUtils (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardUtilsTests.java20 import com.android.vcard.VCardUtils;
28 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()
[all …]
/frameworks/opt/vcard/java/com/android/vcard/
DVCardBuilder.java37 import com.android.vcard.VCardUtils.PhoneNumberUtilsPort;
332 VCardUtils.toStringAsV40ParamValue(sortAs)); in appendNamePropertiesV40()
354 final String escaped = escapeCharacters(VCardUtils.constructNameFromElements( in appendNamePropertiesV40()
408 !(VCardUtils.containsOnlyNonCrLfPrintableAscii(familyName) && in appendNameProperties()
409 VCardUtils.containsOnlyNonCrLfPrintableAscii(givenName) && in appendNameProperties()
410 VCardUtils.containsOnlyNonCrLfPrintableAscii(middleName) && in appendNameProperties()
411 VCardUtils.containsOnlyNonCrLfPrintableAscii(prefix) && in appendNameProperties()
412 VCardUtils.containsOnlyNonCrLfPrintableAscii(suffix))); in appendNameProperties()
418 formattedName = VCardUtils.constructNameFromElements( in appendNameProperties()
426 !VCardUtils.containsOnlyNonCrLfPrintableAscii(formattedName); in appendNameProperties()
[all …]
DVCardParserImpl_V21.java597 VCardUtils.appearsLikeAndroidVCardQuotedPrintable(propertyRawValue))
601 VCardUtils.parseQuotedPrintable(quotedPrintablePart,
688 String value = maybeUnescapeText(VCardUtils.convertStringCharset(
716 VCardUtils.constructListFromValue(quotedPrintablePart, getVersion());
718 String encoded = VCardUtils.parseQuotedPrintable(quotedPrintableValue,
723 final String propertyValue = VCardUtils.convertStringCharset(
726 VCardUtils.constructListFromValue(propertyValue, getVersion());
DVCardEntry.java19 import com.android.vcard.VCardUtils.PhoneNumberUtilsPort;
1797 final int formattingType = VCardUtils.getPhoneNumberFormat(mVCardType); in addPhone()
1861 final List<String> sortNames = VCardUtils.constructListFromValue(sortAsCollection in buildSinglePhoneticNameFromSortAsParam()
2011 final List<String> sortNames = VCardUtils.constructListFromValue(sortAsCollection in tryHandleSortAsName()
2165 final List<String> phoneticNameList = VCardUtils.constructListFromValue(propValue, in addProperty()
2320 final Object typeObject = VCardUtils.getPhoneTypeFromStrings(typeCollection, in addProperty()
2405 final List<String> customPropertyList = VCardUtils.constructListFromValue(propValue, in addProperty()
2486 displayName = VCardUtils.constructNameFromElements(mVCardType, mNameData.mFamily, in constructDisplayName()
2489 displayName = VCardUtils.constructNameFromElements(mVCardType, in constructDisplayName()
DVCardUtils.java43 public class VCardUtils { class
628 return ((result.isEmpty() || VCardUtils.containsOnlyWhiteSpaces(result)) in toStringAsParamValue()
853 private VCardUtils() { in VCardUtils() method in VCardUtils
DVCardParserImpl_V30.java262 return VCardUtils.convertStringCharset( in encodeParamValue()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DPropertyNodesVerifier.java21 import com.android.vcard.VCardUtils;
57 final VCardParser parser = VCardUtils.getAppropriateParser(vcardType); in verify()
DVCardVerifier.java31 import com.android.vcard.VCardUtils;
243 final VCardParser parser = VCardUtils.getAppropriateParser(mVCardType); in verifyWithInputStream()
DVNodeBuilder.java21 import com.android.vcard.VCardUtils;