Searched refs:VCardUtils (Results 1 – 9 of 9) sorted by relevance
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
D | VCardUtilsTests.java | 20 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/ |
D | VCardBuilder.java | 37 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 …]
|
D | VCardParserImpl_V21.java | 597 VCardUtils.appearsLikeAndroidVCardQuotedPrintable(propertyRawValue)) 601 VCardUtils.parseQuotedPrintable(quotedPrintablePart, 688 String value = VCardUtils.convertStringCharset( 716 VCardUtils.constructListFromValue(quotedPrintablePart, getVersion()); 718 String encoded = VCardUtils.parseQuotedPrintable(quotedPrintableValue, 725 VCardUtils.constructListFromValue(propertyValue, getVersion()); 727 encodedValueList.add(VCardUtils.convertStringCharset(
|
D | VCardEntry.java | 19 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()
|
D | VCardUtils.java | 43 public class VCardUtils { class 628 return ((result.isEmpty() || VCardUtils.containsOnlyWhiteSpaces(result)) in toStringAsParamValue() 853 private VCardUtils() { in VCardUtils() method in VCardUtils
|
D | VCardParserImpl_V30.java | 262 return VCardUtils.convertStringCharset( in encodeParamValue()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | PropertyNodesVerifier.java | 21 import com.android.vcard.VCardUtils; 57 final VCardParser parser = VCardUtils.getAppropriateParser(vcardType); in verify()
|
D | VCardVerifier.java | 31 import com.android.vcard.VCardUtils; 243 final VCardParser parser = VCardUtils.getAppropriateParser(mVCardType); in verifyWithInputStream()
|
D | VNodeBuilder.java | 21 import com.android.vcard.VCardUtils;
|