Home
last modified time | relevance | path

Searched refs:VCardConstants (Results 1 – 17 of 17) sorted by relevance

/frameworks/opt/vcard/java/com/android/vcard/
DVCardBuilder.java69 private static final String LOG_TAG = VCardConstants.LOG_TAG;
95 "ENCODING=" + VCardConstants.PARAM_ENCODING_QP;
97 "ENCODING=" + VCardConstants.PARAM_ENCODING_BASE64;
99 "ENCODING=" + VCardConstants.PARAM_ENCODING_B;
192 appendLine(VCardConstants.PROPERTY_BEGIN, VCARD_DATA_VCARD); in clear()
194 appendLine(VCardConstants.PROPERTY_VERSION, VCardConstants.VERSION_V40); in clear()
196 appendLine(VCardConstants.PROPERTY_VERSION, VCardConstants.VERSION_V30); in clear()
201 appendLine(VCardConstants.PROPERTY_VERSION, VCardConstants.VERSION_V21); in clear()
281 appendLine(VCardConstants.PROPERTY_FN, ""); in appendNamePropertiesV40()
304 appendLine(VCardConstants.PROPERTY_FN, ""); in appendNamePropertiesV40()
[all …]
DVCardUtils.java44 private static final String LOG_TAG = VCardConstants.LOG_TAG;
132 sKnownPhoneTypesMap_ItoS.put(Phone.TYPE_CAR, VCardConstants.PARAM_TYPE_CAR); in sKnownPhoneTypesMap_ItoS.put()
133 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_CAR, Phone.TYPE_CAR); in sKnownPhoneTypeMap_StoI.put()
134 sKnownPhoneTypesMap_ItoS.put(Phone.TYPE_PAGER, VCardConstants.PARAM_TYPE_PAGER); in sKnownPhoneTypesMap_ItoS.put()
135 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_PAGER, Phone.TYPE_PAGER); in sKnownPhoneTypeMap_StoI.put()
136 sKnownPhoneTypesMap_ItoS.put(Phone.TYPE_ISDN, VCardConstants.PARAM_TYPE_ISDN); in sKnownPhoneTypesMap_ItoS.put()
137 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_ISDN, Phone.TYPE_ISDN); in sKnownPhoneTypeMap_StoI.put()
139 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_HOME, Phone.TYPE_HOME); in sKnownPhoneTypeMap_StoI.put()
140 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_WORK, Phone.TYPE_WORK); in sKnownPhoneTypeMap_StoI.put()
141 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_CELL, Phone.TYPE_MOBILE); in sKnownPhoneTypeMap_StoI.put()
[all …]
DVCardEntry.java69 private static final String LOG_TAG = VCardConstants.LOG_TAG;
76 sImMap.put(VCardConstants.PROPERTY_X_AIM, Im.PROTOCOL_AIM); in sImMap.put()
77 sImMap.put(VCardConstants.PROPERTY_X_MSN, Im.PROTOCOL_MSN); in sImMap.put()
78 sImMap.put(VCardConstants.PROPERTY_X_YAHOO, Im.PROTOCOL_YAHOO); in sImMap.put()
79 sImMap.put(VCardConstants.PROPERTY_X_ICQ, Im.PROTOCOL_ICQ); in sImMap.put()
80 sImMap.put(VCardConstants.PROPERTY_X_JABBER, Im.PROTOCOL_JABBER); in sImMap.put()
81 sImMap.put(VCardConstants.PROPERTY_X_SKYPE_USERNAME, Im.PROTOCOL_SKYPE); in sImMap.put()
82 sImMap.put(VCardConstants.PROPERTY_X_GOOGLE_TALK, Im.PROTOCOL_GOOGLE_TALK); in sImMap.put()
83 sImMap.put(VCardConstants.ImportOnly.PROPERTY_X_GOOGLE_TALK_WITH_SPACE, in sImMap.put()
1455 final int max = (list.size() < VCardConstants.MAX_DATA_COLUMN + 1) ? list.size() in constructAndroidCustomData()
[all …]
DVCardParser_V21.java85 Arrays.asList(VCardConstants.PARAM_ENCODING_7BIT,
86 VCardConstants.PARAM_ENCODING_8BIT,
87 VCardConstants.PARAM_ENCODING_QP,
88 VCardConstants.PARAM_ENCODING_BASE64,
89 VCardConstants.PARAM_ENCODING_B)));
DVCardParserImpl_V21.java46 private static final String LOG_TAG = VCardConstants.LOG_TAG;
313 if (propertyNameUpper.equals(VCardConstants.PROPERTY_BEGIN)) { in parseItem()
319 } else if (propertyNameUpper.equals(VCardConstants.PROPERTY_END)) { in parseItem()
334 if (propertyNameUpper.equals(VCardConstants.PROPERTY_AGENT)) { in parseItemInter()
337 if (propertyNameUpper.equals(VCardConstants.PROPERTY_VERSION) && in parseItemInter()
405 if (VCardConstants.VERSION_V21.equalsIgnoreCase(getVersionString())) { in constructPropertyData()
422 if (VCardConstants.VERSION_V21.equalsIgnoreCase(getVersionString())) { in constructPropertyData()
486 propertyData.addParameter(VCardConstants.PARAM_TYPE, ptypeval);
500 propertyData.addParameter(VCardConstants.PARAM_VALUE, pvalueval);
510 propertyData.addParameter(VCardConstants.PARAM_ENCODING, pencodingval);
[all …]
DVCardParser_V30.java65 VCardConstants.PARAM_ENCODING_7BIT,
66 VCardConstants.PARAM_ENCODING_8BIT,
67 VCardConstants.PARAM_ENCODING_BASE64,
68 VCardConstants.PARAM_ENCODING_B)));
DVCardSourceDetector.java43 private static final String LOG_TAG = VCardConstants.LOG_TAG;
106 if (propertyName.equalsIgnoreCase(VCardConstants.PROPERTY_VERSION) in onPropertyCreated()
109 if (versionString.equals(VCardConstants.VERSION_V21)) { in onPropertyCreated()
111 } else if (versionString.equals(VCardConstants.VERSION_V30)) { in onPropertyCreated()
113 } else if (versionString.equals(VCardConstants.VERSION_V40)) { in onPropertyCreated()
DVCardParser_V40.java55 VCardConstants.PARAM_ENCODING_8BIT,
56 VCardConstants.PARAM_ENCODING_B)));
DVCardComposer.java122 sImMap.put(Im.PROTOCOL_AIM, VCardConstants.PROPERTY_X_AIM); in sImMap.put()
123 sImMap.put(Im.PROTOCOL_MSN, VCardConstants.PROPERTY_X_MSN); in sImMap.put()
124 sImMap.put(Im.PROTOCOL_YAHOO, VCardConstants.PROPERTY_X_YAHOO); in sImMap.put()
125 sImMap.put(Im.PROTOCOL_ICQ, VCardConstants.PROPERTY_X_ICQ); in sImMap.put()
126 sImMap.put(Im.PROTOCOL_JABBER, VCardConstants.PROPERTY_X_JABBER); in sImMap.put()
127 sImMap.put(Im.PROTOCOL_SKYPE, VCardConstants.PROPERTY_X_SKYPE_USERNAME); in sImMap.put()
DVCardParserImpl_V30.java39 private static final String LOG_TAG = VCardConstants.LOG_TAG;
59 return VCardConstants.VERSION_V30; in getVersionString()
186 splitAndPutParam(property, VCardConstants.PARAM_TYPE, paramValue); in handleType()
DVCardConstants.java21 public class VCardConstants { class
186 private VCardConstants() { in VCardConstants() method in VCardConstants
DVCardParserImpl_V40.java48 return VCardConstants.VERSION_V40; in getVersionString()
DVCardEntryConstructor.java45 private static String LOG_TAG = VCardConstants.LOG_TAG;
DVCardEntryCommitter.java41 public static String LOG_TAG = VCardConstants.LOG_TAG;
DVCardProperty.java61 private static final String LOG_TAG = VCardConstants.LOG_TAG;
DVCardConfig.java31 private static final String LOG_TAG = VCardConstants.LOG_TAG;
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardEntryTests.java19 import com.android.vcard.VCardConstants;
114 property.setName(VCardConstants.PROPERTY_N); in testNestHandling()
120 property.setName(VCardConstants.PROPERTY_N); in testNestHandling()
126 property.setName(VCardConstants.PROPERTY_TEL); in testNestHandling()