Home
last modified time | relevance | path

Searched refs:vcardType (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DVCardRequest.java155 int vcardType = detector.getEstimatedType(); in doActuallyReadOneVCard() local
156 if (vcardType == VCardConfig.VCARD_TYPE_UNKNOWN) { in doActuallyReadOneVCard()
157 vcardType = VCardConfig.getVCardTypeFromString(DEFAULT_VCARD_TYPE); in doActuallyReadOneVCard()
160 new CustomVCardEntryConstructor(vcardType, null); in doActuallyReadOneVCard()
164 if (!readOneVCardFile(uri, vcardType, builder, false, null)) { in doActuallyReadOneVCard()
175 private boolean readOneVCardFile(final Uri uri, final int vcardType, in readOneVCardFile() argument
185 vCardParser = new VCardParser_V21(vcardType); in readOneVCardFile()
204 vCardParser = new VCardParser_V30(vcardType); in readOneVCardFile()
DCustomVCardEntryConstructor.java73 public CustomVCardEntryConstructor(final int vcardType) { in CustomVCardEntryConstructor() argument
74 this(vcardType, null); in CustomVCardEntryConstructor()
77 public CustomVCardEntryConstructor(final int vcardType, final Account account) { in CustomVCardEntryConstructor() argument
78 mVCardType = vcardType; in CustomVCardEntryConstructor()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DBluetoothPbapVcardManager.java99 int vcardType; in getOwnerPhoneNumberVcardFromProfile() local
101 vcardType = VCardConfig.VCARD_TYPE_V21_GENERIC; in getOwnerPhoneNumberVcardFromProfile()
103 vcardType = VCardConfig.VCARD_TYPE_V30_GENERIC; in getOwnerPhoneNumberVcardFromProfile()
107 vcardType |= VCardConfig.FLAG_REFRAIN_IMAGE_EXPORT; in getOwnerPhoneNumberVcardFromProfile()
110 return BluetoothPbapUtils.createProfileVCard(mContext, vcardType, filter); in getOwnerPhoneNumberVcardFromProfile()
351 int vcardType; in getSelectedPhonebookNameList() local
354 vcardType = VCardConfig.VCARD_TYPE_V21_GENERIC; in getSelectedPhonebookNameList()
356 vcardType = VCardConfig.VCARD_TYPE_V30_GENERIC; in getSelectedPhonebookNameList()
360 BluetoothPbapUtils.createFilteredVCardComposer(mContext, vcardType, null); in getSelectedPhonebookNameList()
852 int vcardType; in composeContactsAndSendVCards() local
[all …]
DBluetoothPbapCallLogComposer.java166 final int vcardType = in createOneCallLogEntryInternal() local
171 final VCardBuilder builder = new VCardBuilder(vcardType); in createOneCallLogEntryInternal()
203 final int vcardType = in composeVCardForPhoneOwnNumber() local
208 final VCardBuilder builder = new VCardBuilder(vcardType); in composeVCardForPhoneOwnNumber()
DBluetoothPbapUtils.java133 final Context ctx, final int vcardType, final byte[] filter) { in createFilteredVCardComposer() argument
134 int vType = vcardType; in createFilteredVCardComposer()
197 static String createProfileVCard(Context ctx, final int vcardType, final byte[] filter) { in createProfileVCard() argument
201 composer = createFilteredVCardComposer(ctx, vcardType, filter); in createProfileVCard()
DBluetoothPbapSimVcardManager.java158 final int vcardType = in createOnevCardEntryInternal() local
163 final VCardBuilder builder = new VCardBuilder(vcardType); in createOnevCardEntryInternal()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DExportProcessor.java143 final int vcardType; in runInternal() local
145 vcardType = VCardConfig.getVCardTypeFromString( in runInternal()
148 vcardType = VCardConfig.getVCardTypeFromString(exportType); in runInternal()
151 composer = new VCardComposer(mService, vcardType, true); in runInternal()
DImportProcessor.java216 private boolean readOneVCard(InputStream is, int vcardType, String charset, in readOneVCard() argument
235 new VCardParser_V30(vcardType) : in readOneVCard()
236 new VCardParser_V21(vcardType)); in readOneVCard()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/
DBluetoothPbapUtilsTest.java142 int vcardType = VCardConfig.VCARD_TYPE_V21_GENERIC; in createFilteredVCardComposer_returnsNewVCardComposer() local
144 assertThat(BluetoothPbapUtils.createFilteredVCardComposer(mContext, vcardType, filter)) in createFilteredVCardComposer_returnsNewVCardComposer()