OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:MimeUtility
(Results
1 - 6
of
6
) sorted by null
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
Rfc822Output.java
361
writer.append(
MimeUtility
.foldAndEncode2(value, name.length() + 2));
378
writer.append(
MimeUtility
.fold(Address.packedToHeader(value), name.length() + 2));
MimeUtility.java
46
public class
MimeUtility
{
265
if (mimeType != null &&
MimeUtility
.mimeTypeMatches(mimeType, "text/*")) {
361
MimeUtility
.getHeaderParameter(contentTransferEncoding, null);
412
dispositionType =
MimeUtility
.getHeaderParameter(disposition, null);
413
dispositionFilename =
MimeUtility
.getHeaderParameter(disposition, "filename");
420
dispositionFilename =
MimeUtility
.getHeaderParameter(contentType, "name");
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
MimeUtilityTest.java
21
import com.android.emailcommon.internet.
MimeUtility
;
38
* This is a series of unit tests for the
MimeUtility
class. These tests must be locally
133
String result1 =
MimeUtility
.unfold(SHORT_PLAIN);
134
String result2 =
MimeUtility
.decode(SHORT_PLAIN);
135
String result3 =
MimeUtility
.unfoldAndDecode(SHORT_PLAIN);
148
String result1 =
MimeUtility
.decode(SHORT_UNICODE_ENCODED);
158
String result1 =
MimeUtility
.unfoldAndDecode(SHORT_UNICODE_ENCODED);
167
String result1 =
MimeUtility
.unfoldAndDecode(CALENDAR_SUBJECT_UNICODE);
171
String degenerate1 =
MimeUtility
.unfoldAndDecode(CALENDAR_DEGENERATE_UNICODE_1);
173
String degenerate2 =
MimeUtility
.unfoldAndDecode(CALENDAR_DEGENERATE_UNICODE_2)
[
all
...]
/packages/apps/Email/tests/src/com/android/email/
LegacyConversionsTests.java
24
import com.android.emailcommon.internet.
MimeUtility
;
220
MimeUtility
.collectParts(legacyMessage, viewables, attachments);
314
MimeUtility
.collectParts(legacyMessage, viewables, attachments);
329
MimeUtility
.collectParts(legacyMessage, viewables, attachments);
419
String contentType =
MimeUtility
.unfoldAndDecode(expected.getContentType());
420
String contentTypeName =
MimeUtility
.getHeaderParameter(contentType, "name");
423
String sizeString =
MimeUtility
.getHeaderParameter(disposition, "size");
424
String dispositionFilename =
MimeUtility
.getHeaderParameter(disposition, "filename");
535
MimeUtility
.collectParts(actual, viewables, attachments);
542
String text =
MimeUtility
.getTextFromPart(viewable)
[
all
...]
/packages/apps/Email/src/com/android/email/
MessagingController.java
37
import com.android.emailcommon.internet.
MimeUtility
;
509
MimeUtility
.collectParts(message, viewables, attachments);
[
all
...]
/packages/apps/Email/tests/src/com/android/email/mail/store/
ImapStoreUnitTests.java
41
import com.android.emailcommon.internet.
MimeUtility
;
[
all
...]
Completed in 467 milliseconds