/frameworks/opt/vcard/java/com/android/vcard/ |
VCardSourceDetector.java | 110 mVersion = VCardConfig.VERSION_21; 112 mVersion = VCardConfig.VERSION_30; 114 mVersion = VCardConfig.VERSION_40; 145 return VCardConfig.VCARD_TYPE_DOCOMO; 147 return VCardConfig.VCARD_TYPE_V21_JAPANESE_MOBILE; 151 if (mVersion == VCardConfig.VERSION_21) { 152 return VCardConfig.VCARD_TYPE_V21_GENERIC; 153 } else if (mVersion == VCardConfig.VERSION_30) { 154 return VCardConfig.VCARD_TYPE_V30_GENERIC; 155 } else if (mVersion == VCardConfig.VERSION_40) [all...] |
VCardBuilder.java | 137 if (VCardConfig.isVersion40(vcardType)) { 142 mIsV30OrV40 = VCardConfig.isVersion30(vcardType) || VCardConfig.isVersion40(vcardType); 143 mShouldUseQuotedPrintable = VCardConfig.shouldUseQuotedPrintable(vcardType); 144 mIsDoCoMo = VCardConfig.isDoCoMo(vcardType); 145 mIsJapaneseMobilePhone = VCardConfig.needsToConvertPhoneticString(vcardType); 146 mOnlyOneNoteFieldIsAvailable = VCardConfig.onlyOneNoteFieldIsAvailable(vcardType); 147 mUsesAndroidProperty = VCardConfig.usesAndroidSpecificProperty(vcardType); 148 mUsesDefactProperty = VCardConfig.usesDefactProperty(vcardType); 149 mRefrainsQPToNameProperties = VCardConfig.shouldRefrainQPToNameProperties(vcardType) [all...] |
VCardParserImpl_V40.java | 43 return VCardConfig.VERSION_40;
|
VCardUtils.java | 289 final int nameOrderType = VCardConfig.getNameOrderType(nameOrder); 291 case VCardConfig.NAME_ORDER_JAPANESE: { 304 case VCardConfig.NAME_ORDER_EUROPE: { 321 if (VCardConfig.isJapaneseDevice(vcardType)) { 378 if (VCardConfig.isVersion40(vcardType)) { 380 } else if (VCardConfig.isVersion30(vcardType)) { 383 if (!VCardConfig.isVersion21(vcardType)) { 791 if (VCardConfig.isVersion21(vcardType)) { 793 } else if (VCardConfig.isVersion30(vcardType)) { 795 } else if (VCardConfig.isVersion40(vcardType)) [all...] |
VCardParserImpl_V21.java | 157 this(VCardConfig.VCARD_TYPE_DEFAULT); 161 mIntermediateCharset = VCardConfig.DEFAULT_INTERMEDIATE_CHARSET; 574 final String sourceCharset = VCardConfig.DEFAULT_INTERMEDIATE_CHARSET; 580 targetCharset = VCardConfig.DEFAULT_IMPORT_CHARSET; 681 if (getVersion() == VCardConfig.VERSION_21) { [all...] |
VCardComposer.java | 162 this(context, VCardConfig.VCARD_TYPE_DEFAULT, null, true); 188 * @param vcardType The type of vCard, typically available via {@link VCardConfig}. 209 mIsDoCoMo = VCardConfig.isDoCoMo(vcardType); 211 charset = (TextUtils.isEmpty(charset) ? VCardConfig.DEFAULT_EXPORT_CHARSET : charset); 213 VCardConfig.isVersion30(vcardType) && UTF_8.equalsIgnoreCase(charset)); 567 * When this is set {@link VCardConfig#FLAG_REFRAIN_PHONE_NUMBER_FORMATTING} will be ignored 596 if ((mVCardType & VCardConfig.FLAG_REFRAIN_IMAGE_EXPORT) == 0) {
|
VCardConfig.java | 30 public class VCardConfig { 449 return (VCardConfig.LOG_LEVEL & VCardConfig.LOG_LEVEL_PERFORMANCE_MEASUREMENT) != 0; 488 private VCardConfig() {
|
VCardEntryCommitter.java | 63 if (VCardConfig.showPerformanceLog()) {
|
VCardEntryConstructor.java | 59 this(VCardConfig.VCARD_TYPE_V21_GENERIC, null, null);
|
VCardParserImpl_V30.java | 54 return VCardConfig.VERSION_30; 286 paramValue, VCardConfig.DEFAULT_INTERMEDIATE_CHARSET, "UTF-8");
|
VCardEntry.java | 599 if (VCardConfig.isJapaneseDevice(vcardType)) { [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
VCardJapanizationTests.java | 25 import com.android.vcard.VCardConfig; 45 (VCardConfig.isVersion21(vcardType) ? mContentValuesForQPAndUtf8 : null); 56 testNameUtf8Common(VCardConfig.VCARD_TYPE_V21_JAPANESE); 60 testNameUtf8Common(VCardConfig.VCARD_TYPE_V30_JAPANESE); 64 mVerifier.initForExportTest(VCardConfig.VCARD_TYPE_V30_JAPANESE, "Shift_JIS"); 86 mVerifier.initForExportTest(VCardConfig.VCARD_TYPE_DOCOMO, "Shift_JIS"); 121 (VCardConfig.isVersion21(vcardType) ? mContentValuesForQPAndSJis : 123 (VCardConfig.isVersion21(vcardType) ? mContentValuesForQPAndUtf8 : null)); 132 if (!VCardConfig.isVersion21(vcardType)) { 148 testPhoneticNameCommon(VCardConfig.VCARD_TYPE_V21_JAPANESE, null) [all...] |
VCardTestUtilsTests.java | 21 import com.android.vcard.VCardConfig; 40 verifier.initForImportTest(VCardConfig.VCARD_TYPE_V21_GENERIC, R.raw.v21_backslash); 58 verifier.initForImportTest(VCardConfig.VCARD_TYPE_V21_GENERIC, R.raw.v21_backslash); 79 verifier.initForExportTest(VCardConfig.VCARD_TYPE_V30_GENERIC);
|
VCardExporterTests.java | 19 import com.android.vcard.VCardConfig; 244 if (VCardConfig.isVersion40(vcardType)) { 262 if (VCardConfig.isVersion30(vcardType)) { 343 if (VCardConfig.isVersion40(vcardType)) { 361 if (VCardConfig.isVersion30(vcardType)) { 411 if (VCardConfig.isVersion40(vcardType)) { 433 mVerifier.initForExportTest(V21 | VCardConfig.FLAG_REFRAIN_PHONE_NUMBER_FORMATTING); 497 if (VCardConfig.isVersion40(vcardType)) { 570 if (VCardConfig.isVersion40(vcardType)) { 632 if (VCardConfig.isVersion40(vcardType)) [all...] |
VCardEntryTests.java | 18 import com.android.vcard.VCardConfig; 241 VCardConfig.VCARD_TYPE_DEFAULT);
|
VCardImporterTests.java | 18 import com.android.vcard.VCardConfig; 418 mVerifier.initForImportTest(VCardConfig.VCARD_TYPE_V21_GENERIC, R.raw.v21_simple_1); 427 mVerifier.initForImportTest(VCardConfig.VCARD_TYPE_V21_JAPANESE, R.raw.v21_simple_1); 439 mVerifier.initForImportTest(VCardConfig.VCARD_TYPE_V21_JAPANESE, R.raw.v21_simple_2); [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
LineVerifierElem.java | 21 import com.android.vcard.VCardConfig; 70 } else if ((VCardConfig.isVersion21(mVCardType) ? "VERSION:2.1" : 71 (VCardConfig.isVersion30(mVCardType) ? "VERSION:3.0" :
|
VCardTestsBase.java | 21 import com.android.vcard.VCardConfig; 29 public static final int V21 = VCardConfig.VCARD_TYPE_V21_GENERIC; 30 public static final int V30 = VCardConfig.VCARD_TYPE_V30_GENERIC; 31 public static final int V40 = VCardConfig.VCARD_TYPE_V40_GENERIC;
|
VCardVerifier.java | 19 import com.android.vcard.VCardConfig; 111 mIsDoCoMo = VCardConfig.isDoCoMo(vcardType); 127 mIsDoCoMo = VCardConfig.isDoCoMo(vcardType); 177 if (VCardConfig.isVersion21(mVCardType)) { 179 } else if (VCardConfig.isVersion30(mVCardType)) { 181 } else if (VCardConfig.isVersion40(mVCardType)) { 196 if (VCardConfig.isVersion40(mVCardType)) { 198 } else if (VCardConfig.isVersion30(mVCardType)) {
|
VNodeBuilder.java | 18 import com.android.vcard.VCardConfig; 65 this(VCardConfig.DEFAULT_IMPORT_CHARSET, false); 69 mSourceCharset = VCardConfig.DEFAULT_INTERMEDIATE_CHARSET; 73 mTargetCharset = VCardConfig.DEFAULT_IMPORT_CHARSET;
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
VCardTest.java | 20 import com.android.vcard.VCardConfig; 42 getContext(), mResolver, VCardConfig.VCARD_TYPE_DEFAULT, null, true);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapCallLogComposer.java | 33 import com.android.vcard.VCardConfig; 137 final int vcardType = (vcardVer21 ? VCardConfig.VCARD_TYPE_V21_GENERIC : 138 VCardConfig.VCARD_TYPE_V30_GENERIC) | 139 VCardConfig.FLAG_REFRAIN_PHONE_NUMBER_FORMATTING; 177 VCardConfig.VCARD_TYPE_V21_GENERIC : 178 VCardConfig.VCARD_TYPE_V30_GENERIC) | 179 VCardConfig.FLAG_REFRAIN_PHONE_NUMBER_FORMATTING;
|
BluetoothPbapVcardManager.java | 52 import com.android.vcard.VCardConfig; 442 vcardType = VCardConfig.VCARD_TYPE_V21_GENERIC; 444 vcardType = VCardConfig.VCARD_TYPE_V30_GENERIC; 446 vcardType |= VCardConfig.FLAG_REFRAIN_IMAGE_EXPORT;
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
ExportProcessor.java | 21 import com.android.vcard.VCardConfig; 124 vcardType = VCardConfig.getVCardTypeFromString( 127 vcardType = VCardConfig.getVCardTypeFromString(exportType); 133 // int vcardType = (VCardConfig.VCARD_TYPE_V21_GENERIC | 134 // VCardConfig.FLAG_USE_QP_TO_PRIMARY_PROPERTIES);
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
VCardRecord.java | 20 import com.android.vcard.VCardConfig; 120 final int type = VCardConfig.VCARD_TYPE_UNKNOWN;
|