/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardParserImpl_V40.java | 37 public VCardParserImpl_V40(final int vcardType) { argument 38 super(vcardType);
|
H A D | VCardParser_V21.java | 97 public VCardParser_V21(int vcardType) { argument 98 mVCardParserImpl = new VCardParserImpl_V21(vcardType);
|
H A D | VCardParser_V30.java | 76 public VCardParser_V30(int vcardType) { argument 77 mVCardParserImpl = new VCardParserImpl_V30(vcardType);
|
H A D | VCardParser_V40.java | 64 public VCardParser_V40(int vcardType) { argument 65 mVCardParserImpl = new VCardParserImpl_V40(vcardType);
|
H A D | VCardEntryConstructor.java | 62 public VCardEntryConstructor(final int vcardType) { argument 63 this(vcardType, null, null); 66 public VCardEntryConstructor(final int vcardType, final Account account) { argument 67 this(vcardType, account, null); 75 public VCardEntryConstructor(final int vcardType, final Account account, argument 77 mVCardType = vcardType;
|
H A D | VCardParserImpl_V30.java | 48 public VCardParserImpl_V30(int vcardType) { argument 49 super(vcardType);
|
H A D | VCardComposer.java | 168 public VCardComposer(Context context, int vcardType) { argument 169 this(context, vcardType, null, true); 172 public VCardComposer(Context context, int vcardType, String charset) { argument 173 this(context, vcardType, charset, true); 179 public VCardComposer(final Context context, final int vcardType, argument 181 this(context, vcardType, null, careHandlerErrors); 188 * @param vcardType The type of vCard, typically available via {@link VCardConfig}. 192 public VCardComposer(final Context context, final int vcardType, String charset, argument 194 this(context, context.getContentResolver(), vcardType, charset, careHandlerErrors); 203 final int vcardType, Strin 202 VCardComposer(final Context context, ContentResolver resolver, final int vcardType, String charset, final boolean careHandlerErrors) argument [all...] |
H A D | VCardConfig.java | 420 public static boolean isVersion21(final int vcardType) { argument 421 return (vcardType & VERSION_MASK) == VERSION_21; 424 public static boolean isVersion30(final int vcardType) { argument 425 return (vcardType & VERSION_MASK) == VERSION_30; 428 public static boolean isVersion40(final int vcardType) { argument 429 return (vcardType & VERSION_MASK) == VERSION_40; 432 public static boolean shouldUseQuotedPrintable(final int vcardType) { argument 433 return !isVersion30(vcardType); 436 public static int getNameOrderType(final int vcardType) { argument 437 return vcardType 440 usesAndroidSpecificProperty(final int vcardType) argument 444 usesDefactProperty(final int vcardType) argument 452 shouldRefrainQPToNameProperties(final int vcardType) argument 457 appendTypeParamName(final int vcardType) argument 465 isJapaneseDevice(final int vcardType) argument 472 refrainPhoneNumberFormatting(final int vcardType) argument 476 needsToConvertPhoneticString(final int vcardType) argument 480 onlyOneNoteFieldIsAvailable(final int vcardType) argument 484 isDoCoMo(final int vcardType) argument [all...] |
H A D | VCardUtils.java | 329 public static int getPhoneNumberFormat(final int vcardType) { argument 330 if (VCardConfig.isJapaneseDevice(vcardType)) { 378 final int vcardType) { 387 if (VCardConfig.isVersion40(vcardType)) { 389 } else if (VCardConfig.isVersion30(vcardType)) { 392 if (!VCardConfig.isVersion21(vcardType)) { 798 public static final VCardParser getAppropriateParser(int vcardType) argument 800 if (VCardConfig.isVersion21(vcardType)) { 802 } else if (VCardConfig.isVersion30(vcardType)) { 804 } else if (VCardConfig.isVersion40(vcardType)) { 377 constructListFromValue(final String value, final int vcardType) argument [all...] |
H A D | VCardBuilder.java | 53 * <pre class="prettyprint">final VCardBuilder builder = new VCardBuilder(vcardType); 124 public VCardBuilder(final int vcardType) { argument 126 this(vcardType, null); 130 * @param vcardType 134 public VCardBuilder(final int vcardType, String charset) { argument 135 mVCardType = vcardType; 137 if (VCardConfig.isVersion40(vcardType)) { 142 mIsV30OrV40 = VCardConfig.isVersion30(vcardType) || VCardConfig.isVersion40(vcardType); 143 mShouldUseQuotedPrintable = VCardConfig.shouldUseQuotedPrintable(vcardType); [all...] |
H A D | VCardParserImpl_V21.java | 160 public VCardParserImpl_V21(int vcardType) { argument
|
H A D | VCardEntry.java | 506 boolean isPrimary, int vcardType) { 517 mVCardType = vcardType; 524 final int type, final String label, boolean isPrimary, int vcardType) { 549 dataArray[4], dataArray[5], dataArray[6], type, label, isPrimary, vcardType); 593 public String getFormattedAddress(final int vcardType) { argument 599 if (VCardConfig.isJapaneseDevice(vcardType)) { 1756 public VCardEntry(int vcardType) { argument 1757 this(vcardType, null); 1760 public VCardEntry(int vcardType, Account account) { argument 1761 mVCardType = vcardType; 504 PostalData(String pobox, String extendedAddress, String street, String localty, String region, String postalCode, String country, int type, String label, boolean isPrimary, int vcardType) argument 523 constructPostalData(final List<String> propValueList, final int type, final String label, boolean isPrimary, int vcardType) argument [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
H A D | LineVerifier.java | 30 public LineVerifier(AndroidTestCase androidTestCase, int vcardType) { argument 33 mVCardType = vcardType;
|
H A D | LineVerifierElem.java | 32 public LineVerifierElem(AndroidTestCase androidTestCase, int vcardType) { argument 33 mVCardType = vcardType;
|
H A D | PropertyNodesVerifier.java | 46 public void verify(int resId, int vcardType) throws IOException, VCardException { argument 47 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId), vcardType); 50 public void verify(int resId, int vcardType, final VCardParser parser) argument 53 vcardType, parser); 56 public void verify(InputStream is, int vcardType) throws IOException, VCardException { argument 57 final VCardParser parser = VCardUtils.getAppropriateParser(vcardType); 58 verify(is, vcardType, parser); 61 public void verify(InputStream is, int vcardType, final VCardParser parser) argument
|
H A D | VCardVerifier.java | 106 public void initForImportTest(int vcardType, int resId) { argument 110 mVCardType = vcardType; 111 mIsDoCoMo = VCardConfig.isDoCoMo(vcardType); 117 public void initForExportTest(int vcardType) { argument 118 initForExportTest(vcardType, "UTF-8"); 121 public void initForExportTest(int vcardType, String charset) { argument 126 mVCardType = vcardType; 127 mIsDoCoMo = VCardConfig.isDoCoMo(vcardType);
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
H A D | VCardJapanizationTests.java | 35 private void testNameUtf8Common(int vcardType) { argument 36 mVerifier.initForExportTest(vcardType); 45 (VCardConfig.isVersion21(vcardType) ? mContentValuesForQPAndUtf8 : null); 111 private void testPhoneticNameCommon(int vcardType, String charset) { argument 112 mVerifier.initForExportTest(vcardType, charset); 121 (VCardConfig.isVersion21(vcardType) ? mContentValuesForQPAndSJis : 123 (VCardConfig.isVersion21(vcardType) ? mContentValuesForQPAndUtf8 : null)); 132 if (!VCardConfig.isVersion21(vcardType)) { 204 private void testPostalAddressWithJapaneseCommon(int vcardType, String charset) { argument 205 mVerifier.initForExportTest(vcardType, charse 362 testJapanesePhoneNumberCommon(int vcardType) argument [all...] |
H A D | VCardImporterTests.java | 749 private void testV21Japanese1Common(int resId, int vcardType, boolean japanese) { argument 750 mVerifier.initForImportTest(vcardType, resId);
|
H A D | VCardExporterTests.java | 62 private void testStructuredNameBasic(int vcardType) { argument 63 mVerifier.initForExportTest(vcardType); 99 private void testStructuredNameUsePrimaryCommon(int vcardType) { argument 100 mVerifier.initForExportTest(vcardType); 159 private void testStructuredNameUseSuperPrimaryCommon(int vcardType) { argument 160 mVerifier.initForExportTest(vcardType); 229 private void testStructuredNamePhoneticNameCommon(int vcardType) { argument 230 mVerifier.initForExportTest(vcardType); 244 if (VCardConfig.isVersion40(vcardType)) { 262 if (VCardConfig.isVersion30(vcardType)) { 294 testStructuredNameComplicatedCommon(int vcardType) argument 406 testPhoneBasicCommon(int vcardType) argument 445 testPhoneVariousTypeSupport(int vcardType) argument 552 testPhonePrefHandlingCommon(int vcardType) argument 597 testMiscPhoneTypeHandling(int vcardType) argument 676 testEmailBasicCommon(int vcardType) argument 696 testEmailVariousTypeSupportCommon(int vcardType) argument 730 testEmailPrefHandlingCommon(int vcardType) argument 758 testPostalAddressCommon(int vcardType) argument 793 testPostalAddressNonNeighborhood(int vcardType) argument 814 testPostalAddressNonCity(int vcardType) argument 835 testPostalOnlyWithFormattedAddressCommon(int vcardType) argument 863 testPostalWithBothStructuredAndFormattedCommon(int vcardType) argument 888 testOrganizationCommon(int vcardType) argument 929 testImVariousTypeSupportCommon(int vcardType) argument 985 testImPrefHandlingCommon(int vcardType) argument 1014 testWebsiteCommon(int vcardType) argument 1053 testEventCommon(int vcardType) argument 1099 testNoteCommon(int vcardType) argument 1124 testPhotoCommon(int vcardType) argument 1156 testRelationCommon(int vcardType) argument 1220 testPickUpNonEmptyContentValuesCommon(int vcardType) argument [all...] |