/frameworks/opt/vcard/tests/res/raw/ |
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...] |
VCardParserImpl_V21.java | 16 package com.android.vcard; 18 import com.android.vcard.exception.VCardAgentNotSupportedException; 19 import com.android.vcard.exception.VCardException; 20 import com.android.vcard.exception.VCardInvalidCommentLineException; 21 import com.android.vcard.exception.VCardInvalidLineException; 22 import com.android.vcard.exception.VCardVersionException; 41 * Basic implementation achieving vCard parsing. Based on vCard 2.1. 113 * "Encoding" in vCard is different from "Charset". It is mainly used for 135 * Set for storing unkonwn TYPE attributes, which is not acceptable in vCard [all...] |
VCardParser_V40.java | 16 package com.android.vcard; 18 import com.android.vcard.exception.VCardException; 29 * vCard parser for vCard 4.0. DO NOT USE IN PRODUCTION. 32 * Currently this parser is based on vCard 4.0 specification rev 15 (partly). 33 * Note that some of current implementation lack basic capability required in vCard 4.0. 50 * A unmodifiable Set storing the values for the type "ENCODING", available in vCard 4.0.
|
/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/Contacts/src/com/android/contacts/vcard/ |
ImportRequest.java | 16 package com.android.contacts.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.vcard; 18 import com.android.vcard.VCardEntry; 19 import com.android.vcard.VCardEntryCommitter; 20 import com.android.vcard.VCardEntryConstructor; 21 import com.android.vcard.VCardEntryHandler; 22 import com.android.vcard.VCardInterpreter; 23 import com.android.vcard.VCardParser; 24 import com.android.vcard.VCardParser_V21; 25 import com.android.vcard.VCardParser_V30; 26 import com.android.vcard.exception.VCardException [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...] |
/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/Bluetooth/ |
Android.mk | 11 LOCAL_STATIC_JAVA_LIBRARIES := com.android.vcard
|
/packages/apps/Tag/ |
Android.mk | 6 LOCAL_STATIC_JAVA_LIBRARIES := guava com.android.vcard
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
VCardRecord.java | 20 import com.android.vcard.VCardConfig; 21 import com.android.vcard.VCardEntry; 22 import com.android.vcard.VCardEntryConstructor; 23 import com.android.vcard.VCardEntryHandler; 24 import com.android.vcard.VCardParser; 25 import com.android.vcard.VCardParser_V21; 26 import com.android.vcard.VCardParser_V30; 27 import com.android.vcard.exception.VCardException; 28 import com.android.vcard.exception.VCardVersionException; 70 * VCard Ndef Record objec [all...] |
/packages/apps/Contacts/res/values/ |
donottranslate_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. 50 <!-- The type of vcard for improt. If the vcard importer cannot guess the exact type 51 of a vCard type, the improter uses this type. --> 54 <!-- The type of VCard for export. If you want to let the app emit vCard which i [all...] |