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

12 3

  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
ContactEntry.java 16 package com.android.vcard.tests.testutils;
ContentValuesBuilder.java 16 package com.android.vcard.tests.testutils;
ContentValuesVerifier.java 16 package com.android.vcard.tests.testutils;
20 import com.android.vcard.VCardEntry;
21 import com.android.vcard.VCardEntryHandler;
ExportTestResolver.java 16 package com.android.vcard.tests.testutils;
ImportTestResolver.java 16 package com.android.vcard.tests.testutils;
LineVerifier.java 16 package com.android.vcard.tests.testutils;
42 public void verify(String vcard) {
48 lineVerifier.verify(vcard);
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;
ExportTestProvider.java 16 package com.android.vcard.tests.testutils;
PropertyNode.java 16 package com.android.vcard.tests.testutils;
20 import com.android.vcard.VCardEntry;
33 * Previously used in main vCard handling code but now exists only for testing.
38 * interpretation of the content of each vCard. We cannot know whether vCard parser or
55 * defined in vCard 3.0 (See also RFC 2426). multiple-values are stored as
64 /** Store group values. Used only in VCard. */
115 // vCard may contain more than one same line in one entry, while HashSet or any other
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;
PropertyNodesVerifierElem.java 16 package com.android.vcard.tests.testutils;
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.
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;
39 * Maybe several vcard instance, so use vNodeList to store.
  /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...]
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}.
VCardImportExportListener.java 17 package com.android.contacts.common.vcard;
21 import com.android.vcard.VCardEntry;
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
VCardTest.java 23 import com.android.vcard.VCardComposer;
24 import com.android.vcard.VCardConfig;
27 * Tests (or integration tests) verifying if vCard library works well with {@link ContentResolver}.
29 * Unit tests for vCard itself should be availabel in vCard library.
38 * a vCard string.
47 String vcard = composer.createOneEntry(); local
48 assertNotNull(vcard);
50 // Check vCard very roughly.
51 assertTrue(vcard.contains("John"))
    [all...]
  /frameworks/opt/vcard/java/com/android/vcard/
VCardEntryCommitter.java 16 package com.android.vcard;
35 * Each vCard may contain big photo images encoded by BASE64,
36 * If we store all vCard entries in memory, OutOfMemoryError may be thrown.
37 * Thus, this class push each VCard entry into ContentResolver immediately.
VCardEntryConstructor.java 16 package com.android.vcard;
30 * to easily handle each vCard entry.
33 * This class understand details inside vCard and translates it to {@link VCardEntry}.
39 * If you want to know the detail inside vCard, it would be better to implement
48 * Represents current stack of VCardEntry. Used to support nested vCard (vCard 2.1).
VCardProperty.java 16 package com.android.vcard;
29 * Represents vCard's property, or logical "one line" of each vCard entry.
32 * Given a vCard below, objects for <code>N:name</code>, <code>TEL:1111111111</code> are
36 * BEGIN:VCARD
39 * END:VCARD
42 * vCard's property has three elements: name, parameter (or param), and value. Name is the name
52 * which are same as "TYPE=WORK" and "TYPE=VOICE". In vCard 3.0, we can even express them as
58 * separable or not is specified by vCard specs.
VCardSourceDetector.java 16 package com.android.vcard;
28 * The class which tries to detects the source of a vCard file from its contents.
31 * The specification of vCard (including both 2.1 and 3.0) is not so strict as to
34 * Also we cannot store all vCard entries in memory, while there's no specification
35 * how big the vCard entry would become after the parse.
38 * This class is usually used for the "first scan", in which we can understand which vCard
64 * constant when you don't want to let a vCard parser rely on estimation for parse type.
69 // We confirmed they usually use UTF-8, but not sure about vCard type.
139 * @return The available type can be used with vCard parser. You probably need to
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/
VCardUtilsTests.java 16 package com.android.vcard.tests;
20 import com.android.vcard.VCardUtils;
VCardJapanizationTests.java 16 package com.android.vcard.tests;
25 import com.android.vcard.VCardConfig;
26 import com.android.vcard.tests.testutils.ContactEntry;
27 import com.android.vcard.tests.testutils.ContentValuesBuilder;
28 import com.android.vcard.tests.testutils.PropertyNodesVerifierElem;
29 import com.android.vcard.tests.testutils.VCardTestsBase;
30 import com.android.vcard.tests.testutils.PropertyNodesVerifierElem.TypeSet;
227 // LABEL must be ignored in vCard 2.1. As for vCard 3.0, the current behavior is
228 // same as that in vCard 3.0, which can be changed in the future
    [all...]
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.VCardParser_V30;
22 import com.android.vcard.VCardProperty;
23 import com.android.vcard.exception.VCardException;
120 .addExpectedOrder(Order.START_ENTRY) // First nested vCard begins
123 .addExpectedOrder(Order.END_ENTRY) // First nested vCard ends
124 .addExpectedOrder(Order.START_ENTRY) // Second nested vCard begin
    [all...]

Completed in 187 milliseconds

12 3