Searched refs:foldAndEncode2 (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
D | MimeUtilityTest.java | 188 String result2 = MimeUtility.foldAndEncode2(SHORT_PLAIN, 10); in testEfficientFoldAndEncode() 200 String result1 = MimeUtility.foldAndEncode2(PADDED2_UNICODE, 0); in testPaddingOfFoldAndEncode2() 201 String result2 = MimeUtility.foldAndEncode2(PADDED1_UNICODE, 0); in testPaddingOfFoldAndEncode2() 202 String result3 = MimeUtility.foldAndEncode2(PADDED0_UNICODE, 0); in testPaddingOfFoldAndEncode2() 215 String result1 = MimeUtility.foldAndEncode2(SHORT_UNICODE, 10); in testFoldAndEncode2() 223 String result = MimeUtility.foldAndEncode2(LONG_UNICODE_SPLIT, "Subject: ".length()); in testFoldAndEncode2WithLongSplit() 237 String result1 = MimeUtility.foldAndEncode2(SHORT_SUPPLEMENTAL, "Subject: ".length()); in testFoldAndEncode2Supplemental() 238 String result2 = MimeUtility.foldAndEncode2(LONG_SUPPLEMENTAL, "Subject: ".length()); in testFoldAndEncode2Supplemental() 239 String result3 = MimeUtility.foldAndEncode2(LONG_SUPPLEMENTAL_2, "Subject: ".length()); in testFoldAndEncode2Supplemental() 252 String result = MimeUtility.foldAndEncode2(LONG_SUPPLEMENTAL_QP, "Subject: ".length()); in testFoldAndEncode2SupplementalQuotedPrintable()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
D | MimeUtility.java | 97 public static String foldAndEncode2(String s, int usedCharacters) { in foldAndEncode2() method in MimeUtility
|
D | Rfc822Output.java | 361 writer.append(MimeUtility.foldAndEncode2(value, name.length() + 2)); in writeEncodedHeader()
|
D | MimeMessage.java | 284 setHeader("Subject", MimeUtility.foldAndEncode2(subject, HEADER_NAME_LENGTH)); in setSubject()
|