Home
last modified time | relevance | path

Searched refs:vcard (Results 1 – 25 of 57) sorted by relevance

123

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DBluetoothMapbMessageVCardTest.java53 VCard vcard = new VCard(TEST_NAME, TEST_PHONE_NUMBERS, TEST_EMAIL_ADDRESSES); in constructor_forVersionTwoPointOne() local
54 assertThat(vcard.getName()).isEqualTo(TEST_NAME); in constructor_forVersionTwoPointOne()
55 assertThat(vcard.getFirstPhoneNumber()) in constructor_forVersionTwoPointOne()
57 assertThat(vcard.getFirstEmail()).isEqualTo(TEST_FIRST_EMAIL); in constructor_forVersionTwoPointOne()
62 VCard vcard = in constructor_forVersionTwoPointOne_withEnvLevel() local
64 assertThat(vcard.getName()).isEqualTo(TEST_NAME); in constructor_forVersionTwoPointOne_withEnvLevel()
65 assertThat(vcard.getFirstPhoneNumber()) in constructor_forVersionTwoPointOne_withEnvLevel()
67 assertThat(vcard.getFirstEmail()).isEqualTo(TEST_FIRST_EMAIL); in constructor_forVersionTwoPointOne_withEnvLevel()
68 assertThat(vcard.getEnvLevel()).isEqualTo(TEST_ENV_LEVEL); in constructor_forVersionTwoPointOne_withEnvLevel()
73 VCard vcard = in constructor_forVersionThree() local
[all …]
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DVCardResourceEntry.java35 import com.android.vcard.VCardEntry;
36 import com.android.vcard.VCardEntry.EmailData;
37 import com.android.vcard.VCardEntry.ImData;
38 import com.android.vcard.VCardEntry.NoteData;
39 import com.android.vcard.VCardEntry.OrganizationData;
40 import com.android.vcard.VCardEntry.PhoneData;
41 import com.android.vcard.VCardEntry.PostalData;
42 import com.android.vcard.VCardEntry.WebsiteData;
43 import com.android.vcard.VCardProperty;
64 public VCardResourceEntry(final CustomVCardEntry vcard, final Uri avatarUri) { in VCardResourceEntry() argument
[all …]
DVCardRequest.java28 import com.android.vcard.VCardConfig;
29 import com.android.vcard.VCardEntry;
30 import com.android.vcard.VCardEntryCounter;
31 import com.android.vcard.VCardInterpreter;
32 import com.android.vcard.VCardParser;
33 import com.android.vcard.VCardParser_V21;
34 import com.android.vcard.VCardParser_V30;
35 import com.android.vcard.VCardSourceDetector;
36 import com.android.vcard.exception.VCardException;
37 import com.android.vcard.exception.VCardNestedException;
[all …]
DCustomVCardEntryConstructor.java19 import com.android.vcard.VCardConfig;
20 import com.android.vcard.VCardInterpreter;
21 import com.android.vcard.VCardProperty;
DVCardResource.java48 for (final VCardResourceEntry vcard : mVCards) { in close()
49 vcard.close(); in close()
DCustomVCardEntry.java21 import com.android.vcard.VCardEntry;
22 import com.android.vcard.VCardProperty;
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/
DBmessageParser.java22 import com.android.vcard.VCardEntry;
23 import com.android.vcard.VCardEntryConstructor;
24 import com.android.vcard.VCardEntryHandler;
25 import com.android.vcard.VCardParser;
26 import com.android.vcard.VCardParser_V21;
27 import com.android.vcard.VCardParser_V30;
28 import com.android.vcard.exception.VCardException;
29 import com.android.vcard.exception.VCardVersionException;
124 StringBuilder vcard = new StringBuilder(); in parse() local
125 prop = extractVcard(vcard); in parse()
[all …]
DBmessageBuilder.java19 import com.android.vcard.VCardEntry;
20 import com.android.vcard.VCardEntry.EmailData;
21 import com.android.vcard.VCardEntry.NameData;
22 import com.android.vcard.VCardEntry.PhoneData;
84 for (VCardEntry vcard : bmsg.mOriginators) { in build()
85 buildVcard(vcard); in build()
91 for (VCardEntry vcard : bmsg.mRecipients) { in build()
92 buildVcard(vcard); in build()
129 private void buildVcard(VCardEntry vcard) { in buildVcard() argument
130 String n = buildVcardN(vcard); in buildVcard()
[all …]
DBmessage.java19 import com.android.vcard.VCardEntry;
66 public Bmessage addOriginator(VCardEntry vcard) { in addOriginator() argument
67 mOriginators.add(vcard); in addOriginator()
75 public Bmessage addRecipient(VCardEntry vcard) { in addRecipient() argument
76 mRecipients.add(vcard); in addRecipient()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DBluetoothPbapVcardManager.java48 import com.android.vcard.VCardComposer;
49 import com.android.vcard.VCardConfig;
50 import com.android.vcard.VCardPhoneNumberTranslationCallback;
116 String vcard = getOwnerPhoneNumberVcardFromProfile(vcardType21, filter); in getOwnerPhoneNumberVcard() local
117 if (vcard != null && vcard.length() != 0) { in getOwnerPhoneNumberVcard()
118 return vcard; in getOwnerPhoneNumberVcard()
125 String vcard = in getOwnerPhoneNumberVcard() local
128 return vcard; in getOwnerPhoneNumberVcard()
416 String vcard = in getSelectedPhonebookNameList() local
423 if (vcard == null) { in getSelectedPhonebookNameList()
[all …]
DBluetoothPbapSimVcardManager.java42 import com.android.vcard.VCardBuilder;
43 import com.android.vcard.VCardConfig;
429 String vcard = composer.createOneEntry(vcardType21); in composeAndSendSIMPhonebookVcards() local
430 if (vcard == null) { in composeAndSendSIMPhonebookVcards()
445 buffer.writeVCard(vcard); in composeAndSendSIMPhonebookVcards()
492 String vcard = composer.createOneEntry(vcardType21); in composeAndSendSIMPhonebookOneVcard() local
493 if (vcard == null) { in composeAndSendSIMPhonebookOneVcard()
502 buffer.writeVCard(vcard); in composeAndSendSIMPhonebookOneVcard()
DBluetoothPbapCallLogComposer.java34 import com.android.vcard.VCardBuilder;
35 import com.android.vcard.VCardConfig;
36 import com.android.vcard.VCardConstants;
37 import com.android.vcard.VCardUtils;
DBluetoothPbapUtils.java42 import com.android.vcard.VCardComposer;
43 import com.android.vcard.VCardConfig;
199 String vcard = null; in createProfileVCard() local
211 vcard = composer.createOneEntry(); in createProfileVCard()
234 return vcard; in createProfileVCard()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/
DBluetoothPbapVcardList.java22 import com.android.vcard.VCardConfig;
23 import com.android.vcard.VCardEntry;
24 import com.android.vcard.VCardEntryConstructor;
25 import com.android.vcard.VCardEntryHandler;
26 import com.android.vcard.VCardParser;
27 import com.android.vcard.VCardParser_V21;
28 import com.android.vcard.VCardParser_V30;
29 import com.android.vcard.exception.VCardException;
30 import com.android.vcard.exception.VCardVersionException;
DCallLogPullRequest.java34 import com.android.vcard.VCardEntry;
35 import com.android.vcard.VCardEntry.PhoneData;
83 for (VCardEntry vcard : mEntries) { in onPullComplete()
88 List<PhoneData> phones = vcard.getPhoneList(); in onPullComplete()
103 List<Pair<String, String>> irmc = vcard.getUnknownXData(); in onPullComplete()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DImportProcessor.java16 package com.android.contacts.vcard;
25 import com.android.vcard.VCardEntry;
26 import com.android.vcard.VCardEntryCommitter;
27 import com.android.vcard.VCardEntryConstructor;
28 import com.android.vcard.VCardEntryHandler;
29 import com.android.vcard.VCardInterpreter;
30 import com.android.vcard.VCardParser;
31 import com.android.vcard.VCardParser_V21;
32 import com.android.vcard.VCardParser_V30;
33 import com.android.vcard.exception.VCardException;
[all …]
DNfcImportVCardActivity.java17 package com.android.contacts.vcard;
44 import com.android.vcard.VCardEntry;
45 import com.android.vcard.VCardEntryCounter;
46 import com.android.vcard.VCardParser;
47 import com.android.vcard.VCardParser_V21;
48 import com.android.vcard.VCardParser_V30;
49 import com.android.vcard.VCardSourceDetector;
50 import com.android.vcard.exception.VCardException;
51 import com.android.vcard.exception.VCardNestedException;
52 import com.android.vcard.exception.VCardVersionException;
DVCardImportExportListener.java17 package com.android.contacts.vcard;
22 import com.android.vcard.VCardEntry;
DImportRequest.java16 package com.android.contacts.vcard;
22 import com.android.vcard.VCardSourceDetector;
DImportVCardActivity.java17 package com.android.contacts.vcard;
48 import com.android.vcard.VCardEntryCounter;
49 import com.android.vcard.VCardParser;
50 import com.android.vcard.VCardParser_V21;
51 import com.android.vcard.VCardParser_V30;
52 import com.android.vcard.VCardSourceDetector;
53 import com.android.vcard.exception.VCardException;
54 import com.android.vcard.exception.VCardNestedException;
55 import com.android.vcard.exception.VCardVersionException;
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DVCardTest.java24 import com.android.vcard.VCardComposer;
25 import com.android.vcard.VCardConfig;
48 String vcard = composer.createOneEntry(); in testCompose() local
49 assertNotNull(vcard); in testCompose()
52 assertTrue(vcard.contains("John")); in testCompose()
53 assertTrue(vcard.contains("Doe")); in testCompose()
/packages/apps/Tag/src/com/android/apps/tag/record/
DVCardRecord.java20 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;
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbapclient/
DPhonebookPullRequestTest.java27 import com.android.vcard.VCardConstants;
28 import com.android.vcard.VCardEntry;
29 import com.android.vcard.VCardProperty;
DCallLogPullRequestTest.java36 import com.android.vcard.VCardConstants;
37 import com.android.vcard.VCardEntry;
38 import com.android.vcard.VCardProperty;
/packages/apps/Contacts/src/com/android/contacts/interactions/
DExportDialogFragment.java43 import com.android.contacts.vcard.ExportVCardActivity;
44 import com.android.contacts.vcard.ShareVCardActivity;
45 import com.android.contacts.vcard.VCardCommonArguments;

123