HomeSort by relevance Sort by last modified time
    Searched refs:vcard (Results 26 - 50 of 88) sorted by null

12 3 4

  /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...]
NfcImportVCardActivity.java 17 package com.android.contacts.common.vcard;
37 import com.android.vcard.VCardEntry;
38 import com.android.vcard.VCardEntryCounter;
39 import com.android.vcard.VCardParser;
40 import com.android.vcard.VCardParser_V21;
41 import com.android.vcard.VCardParser_V30;
42 import com.android.vcard.VCardSourceDetector;
43 import com.android.vcard.exception.VCardException;
44 import com.android.vcard.exception.VCardNestedException;
45 import com.android.vcard.exception.VCardVersionException
    [all...]
ProcessorBase.java 16 package com.android.contacts.common.vcard;
24 * A base processor class. One instance processes vCard one import/export request (imports a given
25 * vCard or exports a vCard). Expected to be used with {@link ExecutorService}.
  /packages/apps/Tag/
Android.mk 6 LOCAL_STATIC_JAVA_LIBRARIES := guava com.android.vcard
  /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");
PropertyNodesVerifier.java 16 package com.android.vcard.tests.testutils;
20 import com.android.vcard.VCardParser;
21 import com.android.vcard.VCardUtils;
22 import com.android.vcard.exception.VCardException;
VCardTestsBase.java 16 package com.android.vcard.tests.testutils;
21 import com.android.vcard.VCardConfig;
22 import com.android.vcard.tests.testutils.VCardVerifier;
25 * BaseClass for vCard unit tests with utility classes.
50 // Not using constants in vCard code since it may be wrong.
VCardVerifier.java 16 package com.android.vcard.tests.testutils;
27 import com.android.vcard.VCardComposer;
28 import com.android.vcard.VCardConfig;
29 import com.android.vcard.VCardEntryConstructor;
30 import com.android.vcard.VCardParser;
31 import com.android.vcard.VCardUtils;
32 import com.android.vcard.exception.VCardException;
43 * The class lets users checks that given expected vCard data are same as given actual vCard data.
44 * Able to verify both vCard importer/exporter
364 final String vcard = composer.createOneEntry(mockGetEntityIteratorMethod); local
    [all...]
ContactEntry.java 16 package com.android.vcard.tests.testutils;
ContentValuesBuilder.java 16 package com.android.vcard.tests.testutils;
ExportTestResolver.java 16 package com.android.vcard.tests.testutils;
VNodeBuilder.java 16 package com.android.vcard.tests.testutils;
18 import com.android.vcard.VCardConfig;
19 import com.android.vcard.VCardInterpreter;
20 import com.android.vcard.VCardProperty;
21 import com.android.vcard.VCardUtils;
40 * Maybe several vcard instance, so use vNodeList to store.
ImportTestResolver.java 16 package com.android.vcard.tests.testutils;
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapUtils.java 26 import com.android.vcard.VCardComposer;
27 import com.android.vcard.VCardConfig;
42 import com.android.vcard.VCardComposer;
43 import com.android.vcard.VCardConfig;
60 // For vcard 2.0: VERSION,N,TEL is mandatory
61 // For vcard 3.0, VERSION,N,FN,TEL is mandatory
155 String vcard = null; local
163 vcard = composer.createOneEntry();
166 "Unable to create profile vcard. Error initializing composer: "
170 Log.e(TAG, "Unable to create profile vcard.", t)
    [all...]
BluetoothPbapVcardManager.java 52 import com.android.vcard.VCardComposer;
53 import com.android.vcard.VCardConfig;
54 import com.android.vcard.VCardPhoneNumberTranslationCallback;
110 * Create an owner vcard from the configured profile
115 // Currently only support Generic Vcard 2.1 and 3.0
131 //Owner vCard enhancement: Use "ME" profile if configured
133 String vcard = getOwnerPhoneNumberVcardFromProfile(vcardType21, filter); local
134 if (vcard != null && vcard.length() != 0) {
135 return vcard;
143 String vcard = composer.composeVCardForPhoneOwnNumber(Phone.TYPE_MOBILE, name, number, local
525 String vcard = composer.createOneEntry(); local
568 String vcard = composer.createOneEntry(vcardType21); local
    [all...]
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/
VCardTestUtilsTests.java 16 package com.android.vcard.tests;
21 import com.android.vcard.VCardConfig;
22 import com.android.vcard.tests.testutils.VCardVerifier;
30 * Tests confirming utilities for vCard tests work fine.
32 * Now that the foundation classes for vCard test cases became too complicated to
VCardTestRunner.java 16 package com.android.vcard.tests;
24 * Usage: adb shell am instrument -w com.android.vcard.tests/.VCardTestRunnerTestRunner
VCardParserTests.java 16 package com.android.vcard.tests;
18 import com.android.vcard.VCardInterpreter;
19 import com.android.vcard.VCardParser;
20 import com.android.vcard.VCardParser_V21;
21 import com.android.vcard.VCardProperty;
22 import com.android.vcard.exception.VCardException;
119 .addExpectedOrder(Order.START_ENTRY) // First nested vCard begins
122 .addExpectedOrder(Order.END_ENTRY) // First nested vCard ends
123 .addExpectedOrder(Order.START_ENTRY) // Second nested vCard begins
126 .addExpectedOrder(Order.END_ENTRY) // Second nested vCard end
    [all...]
  /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...]
  /frameworks/opt/vcard/java/com/android/vcard/
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...]
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.
VCardParserImpl_V40.java 16 package com.android.vcard;
23 * Basic implementation parsing vCard 4.0.
26 * vCard 4.0 is not published yet. Also this implementation is premature.
60 // TODO: more strictly, vCard 4.0 requires different type of unescaping rule
  /packages/apps/Bluetooth/
Android.mk 14 LOCAL_STATIC_JAVA_LIBRARIES := com.android.vcard
  /external/libmtp/examples/
evolution-sync.sh 70 # export your contacts to vcard.
72 $EADDEXP --format=vcard \

Completed in 177 milliseconds

12 3 4