/frameworks/opt/vcard/tests/res/raw/ |
v21_invalid_comment_line.vcf | 1 BEGIN:vCard
10 END:vCard
|
v21_pref_handling.vcf | 1 BEGIN:VCARD 15 END:VCARD
|
v21_winmo_65.vcf | 1 BEGIN:VCARD
10 END:VCARD
|
v21_x_param.vcf | 1 BEGIN:VCARD
9 END:VCARD
|
v30_simple.vcf | 1 BEGIN:VCARD
13 END:VCARD
|
v21_android_custom_prop.vcf | 1 BEGIN:VCARD 6 END:VCARD
|
v21_multiple_entry.vcf | 1 BEGIN:VCARD
9 END:VCARD
12 BEGIN:VCARD
20 END:VCARD
23 BEGIN:VCARD
31 END:VCARD
|
/packages/apps/Contacts/tests/assets/ |
v30_simple.vcf | 1 BEGIN:VCARD
13 END:VCARD
|
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardConfig.java | 16 package com.android.vcard; 27 * The class representing VCard related configurations. Useful static methods are not in this class 46 * We cannot determine which charset should be used to interpret lines in vCard, 51 * In order to avoid "misinterpretation" of charset and lose any data in vCard, 66 * encode the binary given from vCard. 88 * The flag indicating the vCard composer will add some "X-" properties used only in Android 89 * when the formal vCard specification does not have appropriate fields for that data. 92 * For example, Android accepts nickname information while vCard 2.1 does not. 93 * When this flag is on, vCard composer emits alternative "X-" property (like "X-NICKNAME") 97 * vCard parser code automatically parses the field emitted even when this flag is off [all...] |
VCardParser_V21.java | 16 package com.android.vcard; 18 import com.android.vcard.exception.VCardException; 29 * vCard parser for vCard 2.1. See the specification for more detail about the spec itself. 32 * The spec is written in 1996, and currently various types of "vCard 2.1" exist. 33 * To handle real the world vCard formats appropriately and effectively, this class does not 34 * obey with strict vCard 2.1. 35 * In stead, not only vCard spec but also real world vCard is considered. 37 * e.g. A lot of devices and softwares let vCard importer/exporter to us [all...] |
VCardParser_V30.java | 16 package com.android.vcard; 18 import com.android.vcard.exception.VCardException; 29 * vCard parser for vCard 3.0. See RFC 2426 for more detail. 32 * This parser allows vCard format which is not allowed in the RFC, since 33 * we have seen several vCard 3.0 files which don't comply with it. 36 * e.g. vCard 3.0 does not allow "CHARSET" attribute, but some actual files 53 * A unmodifiable Set storing the values for the type "ENCODING", available in the vCard 3.0. 56 * Though vCard 2.1 specification does not allow "7BIT" or "BASE64", we allow them for safety. 59 * "QUOTED-PRINTABLE" is not allowed in vCard 3.0 and not in this parser either [all...] |
VCardConstants.java | 16 package com.android.vcard; 22 /* package */ static final String LOG_TAG = "vCard"; 48 public static final String PROPERTY_IMPP = "IMPP"; // RFC 4770 (vCard 3.0) and vCard 4.0 69 // Available in vCard 3.0. Shoud not use when composing vCard 2.1 file. 76 // Properties both ContactsStruct and de-fact vCard extensions 77 // Shown in http://en.wikipedia.org/wiki/VCard support are defined here. 95 // Properties for DoCoMo vCard. 114 // Abbreviation of "prefered" according to vCard 2.1 specification [all...] |
/frameworks/opt/vcard/java/com/android/vcard/exception/ |
VCardInvalidCommentLineException.java | 17 package com.android.vcard.exception; 20 * Thrown when the vCard has some line starting with '#'. In the specification, 21 * both vCard 2.1 and vCard 3.0 does not allow such line, but some actual exporter emit
|
VCardInvalidLineException.java | 16 package com.android.vcard.exception; 19 * Thrown when the vCard has some line starting with '#'. In the specification, 20 * both vCard 2.1 and vCard 3.0 does not allow such line, but some actual exporter emit
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
ImportRequest.java | 16 package com.android.contacts.common.vcard; 21 import com.android.vcard.VCardSourceDetector; 24 * Class representing one request for importing vCard (given as a Uri). 30 * there's only one vCard entry inside the instance, as one Uri often has multiple 31 * vCard entries inside it. 44 * If this is null {@link #data} contains the byte stream of the vcard. 49 * Holds the byte stream of the vcard, if {@link #uri} is null. 54 * String to be displayed to the user to indicate the source of the VCARD. 70 * we may have two types in one vCard. 73 * BEGIN:VCARD [all...] |
ImportProcessor.java | 16 package com.android.contacts.common.vcard; 23 import com.android.vcard.VCardEntry; 24 import com.android.vcard.VCardEntryCommitter; 25 import com.android.vcard.VCardEntryConstructor; 26 import com.android.vcard.VCardEntryHandler; 27 import com.android.vcard.VCardInterpreter; 28 import com.android.vcard.VCardParser; 29 import com.android.vcard.VCardParser_V21; 30 import com.android.vcard.VCardParser_V30; 31 import com.android.vcard.exception.VCardException [all...] |
/external/smack/src/org/jivesoftware/smackx/provider/ |
VCardProvider.java | 26 import org.jivesoftware.smackx.packet.VCard; 39 * vCard provider. 68 if (event == XmlPullParser.END_TAG && "vCard".equals(parser.getName())) break; 85 * Builds a users vCard from xml file. 87 * @param xml the xml representing a users vCard. 88 * @return the VCard. 91 public static VCard createVCardFromXML(String xml) throws Exception { 92 VCard vCard = new VCard(); [all...] |
/external/smack/src/org/jivesoftware/smackx/packet/ |
VCard.java | 48 * A VCard class for use with the 55 * information in vCards. Also remember that VCard transfer is not a standard, and the protocol 61 * // To save VCard: 63 * VCard vCard = new VCard(); 64 * vCard.setFirstName("kir"); 65 * vCard.setLastName("max"); 66 * vCard.setEmailHome("foo@fee.bar"); 67 * vCard.setJabberId("jabber@id.org") [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
LineVerifierElem.java | 16 package com.android.vcard.tests.testutils; 21 import com.android.vcard.VCardConfig; 43 public void verify(final String vcard) { 44 final String[] lineArray = vcard.split("\\r?\\n"); 56 if ("BEGIN:VCARD".equalsIgnoreCase(line)) { 58 TestCase.fail("Multiple \"BEGIN:VCARD\" line found"); 63 } else if ("END:VCARD".equalsIgnoreCase(line)) { 65 TestCase.fail("Multiple \"END:VCARD\" line found");
|
ContentValuesVerifierElem.java | 16 package com.android.vcard.tests.testutils; 22 import com.android.vcard.VCardEntry; 23 import com.android.vcard.VCardEntryCommitter; 24 import com.android.vcard.VCardEntryHandler;
|
/packages/experimental/LoaderApp/res/values/ |
config.xml | 23 <!-- If true, all vcard files are imported from SDCard without asking a user. 24 If not, dialog shows to let the user to select whether all vcard files are imported or not. 27 <!-- If true, vcard importer shows a dialog which asks the user whether the user wants 28 to import all vcard files in SDCard or select one vcard file. If false, the dialog is 29 skipped and the importer asks the user to choose one vcard file. 47 <!-- The type of vcard for improt. If the vcard importer cannot guess the exact type 48 of a vCard type, the improter uses this type. --> 51 <!-- The type of VCard for export. If you want to let the app emit vCard which i [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
VCardEntryTests.java | 16 package com.android.vcard.tests; 18 import com.android.vcard.VCardConfig; 19 import com.android.vcard.VCardConstants; 20 import com.android.vcard.VCardEntry; 21 import com.android.vcard.VCardEntry.AndroidCustomData; 22 import com.android.vcard.VCardEntry.AnniversaryData; 23 import com.android.vcard.VCardEntry.BirthdayData; 24 import com.android.vcard.VCardEntry.EmailData; 25 import com.android.vcard.VCardEntry.EntryElement; 26 import com.android.vcard.VCardEntry.EntryLabel [all...] |
/external/bluetooth/bluedroid/bta/include/ |
bta_op_api.h | 45 #define BTA_OP_VCARD21_FMT 1 /* vCard 2.1 */ 46 #define BTA_OP_VCARD30_FMT 2 /* vCard 3.0 */ 56 #define BTA_OP_VCARD21_MASK 0x01 /* vCard 2.1 */ 57 #define BTA_OP_VCARD30_MASK 0x02 /* vCard 3.0 */
|
/frameworks/opt/vcard/tests/ |
AndroidManifest.xml | 18 package="com.android.vcard.tests" 26 android:targetPackage="com.android.vcard.tests" 27 android:label="TestRunner running all Android vCard Library Tests" /> 30 android:targetPackage="com.android.vcard.tests"
|
/packages/apps/ContactsCommon/res/values/ |
donottranslate_config.xml | 20 <!-- If true, all vcard files are imported from SDCard without asking a user. 21 If not, dialog shows to let the user to select whether all vcard files are imported or not. 24 <!-- If true, vcard importer shows a dialog which asks the user whether the user wants 25 to import all vcard files in SDCard or select one vcard file. If false, the dialog is 26 skipped and the importer asks the user to choose one vcard file. 46 <!-- The type of VCard for export. If you want to let the app emit vCard which is 50 <!-- The type of vcard for improt. If the vcard importer cannot guess the exact typ [all...] |