OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MimeHeader
(Results
1 - 19
of
19
) sorted by null
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
MimeHeaderUnitTests.java
19
import com.android.emailcommon.internet.
MimeHeader
;
26
* This is a series of unit tests for the
MimeHeader
class. These tests must be locally
38
MimeHeader
header = new
MimeHeader
();
57
header.setHeader(
MimeHeader
.HEADER_ANDROID_ATTACHMENT_STORE_DATA, "value3");
MimeBodyPartTest.java
20
import com.android.emailcommon.internet.
MimeHeader
;
47
bp.setHeader(
MimeHeader
.HEADER_CONTENT_ID, cid1);
51
bp.setHeader(
MimeHeader
.HEADER_CONTENT_ID, "<" + cid1 + ">");
MimeUtilityTest.java
20
import com.android.emailcommon.internet.
MimeHeader
;
318
cid2bp.addHeader(
MimeHeader
.HEADER_CONTENT_DISPOSITION, "inline; filename=\"im2.gif\"");
321
cid3bp.addHeader(
MimeHeader
.HEADER_CONTENT_DISPOSITION, "attachment; filename=\"im3.gif\"");
327
cid5bp.addHeader(
MimeHeader
.HEADER_CONTENT_DISPOSITION, "inline"); // no filename attr
370
p.setHeader(
MimeHeader
.HEADER_CONTENT_TYPE, "text/plain");
376
p.setHeader(
MimeHeader
.HEADER_CONTENT_TYPE, "TEXT/PLAIN");
382
p.setHeader(
MimeHeader
.HEADER_CONTENT_TYPE, "text/other");
413
p.setHeader(
MimeHeader
.HEADER_CONTENT_TYPE, "text/html; charset=utf-8");
419
p.setHeader(
MimeHeader
.HEADER_CONTENT_TYPE, "text/html; charset=windows-1252");
426
p.setHeader(
MimeHeader
.HEADER_CONTENT_TYPE
[
all
...]
MimeMessageTest.java
142
message.setHeader(
MimeHeader
.HEADER_CONTENT_ID, cid1);
146
message.setHeader(
MimeHeader
.HEADER_CONTENT_ID, "<" + cid1 + ">");
410
message.setHeader(
MimeHeader
.HEADER_ANDROID_ATTACHMENT_STORE_DATA, "value2");
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
MimeBodyPart.java
30
protected
MimeHeader
mHeader = new
MimeHeader
();
31
protected
MimeHeader
mExtendedHeader;
50
setHeader(
MimeHeader
.HEADER_CONTENT_TYPE, mimeType);
91
setHeader(
MimeHeader
.HEADER_CONTENT_TYPE, multipart.getContentType());
98
setHeader(
MimeHeader
.HEADER_CONTENT_TYPE, contentType);
99
setHeader(
MimeHeader
.HEADER_CONTENT_TRANSFER_ENCODING, "base64");
105
String contentType = getFirstHeader(
MimeHeader
.HEADER_CONTENT_TYPE);
115
String contentDisposition = getFirstHeader(
MimeHeader
.HEADER_CONTENT_DISPOSITION);
125
String contentId = getFirstHeader(
MimeHeader
.HEADER_CONTENT_ID)
[
all
...]
MimeMessage.java
54
private
MimeHeader
mHeader;
55
private
MimeHeader
mExtendedHeader;
149
private
MimeHeader
getMimeHeaders() {
151
mHeader = new
MimeHeader
();
201
final String contentType = getFirstHeader(
MimeHeader
.HEADER_CONTENT_TYPE);
211
return getFirstHeader(
MimeHeader
.HEADER_CONTENT_DISPOSITION);
216
final String contentId = getFirstHeader(
MimeHeader
.HEADER_CONTENT_ID);
394
setHeader(
MimeHeader
.HEADER_CONTENT_TYPE, multipart.getContentType());
398
MimeHeader
.HEADER_CONTENT_TYPE, String.format("%s;\n charset=utf-8", getMimeType()));
399
setHeader(
MimeHeader
.HEADER_CONTENT_TRANSFER_ENCODING, "base64")
[
all
...]
MimeHeader.java
25
public class
MimeHeader
{
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
MimeBodyPart.java
34
protected
MimeHeader
mHeader = new
MimeHeader
();
35
protected
MimeHeader
mExtendedHeader;
54
setHeader(
MimeHeader
.HEADER_CONTENT_TYPE, mimeType);
95
setHeader(
MimeHeader
.HEADER_CONTENT_TYPE, multipart.getContentType());
103
setHeader(
MimeHeader
.HEADER_CONTENT_TYPE, contentType);
104
setHeader(
MimeHeader
.HEADER_CONTENT_TRANSFER_ENCODING, "base64");
110
String contentType = getFirstHeader(
MimeHeader
.HEADER_CONTENT_TYPE);
120
String contentDisposition = getFirstHeader(
MimeHeader
.HEADER_CONTENT_DISPOSITION);
130
String contentId = getFirstHeader(
MimeHeader
.HEADER_CONTENT_ID)
[
all
...]
MimeMessage.java
56
private
MimeHeader
mHeader;
57
private
MimeHeader
mExtendedHeader;
159
private
MimeHeader
getMimeHeaders() {
161
mHeader = new
MimeHeader
();
207
final String contentType = getFirstHeader(
MimeHeader
.HEADER_CONTENT_TYPE);
217
return getFirstHeader(
MimeHeader
.HEADER_CONTENT_DISPOSITION);
222
final String contentId = getFirstHeader(
MimeHeader
.HEADER_CONTENT_ID);
406
setHeader(
MimeHeader
.HEADER_CONTENT_TYPE, multipart.getContentType());
410
setHeader(
MimeHeader
.HEADER_CONTENT_TYPE, String.format("%s;\n charset=utf-8",
412
setHeader(
MimeHeader
.HEADER_CONTENT_TRANSFER_ENCODING, "base64")
[
all
...]
MimeHeader.java
27
public class
MimeHeader
{
/packages/apps/Email/tests/src/com/android/email/
LegacyConversionsTests.java
28
import com.android.emailcommon.internet.
MimeHeader
;
151
attachmentPart.setHeader(
MimeHeader
.HEADER_CONTENT_TYPE, "image/jpg");
152
attachmentPart.setHeader(
MimeHeader
.HEADER_CONTENT_TRANSFER_ENCODING, "base64");
153
attachmentPart.setHeader(
MimeHeader
.HEADER_CONTENT_DISPOSITION,
155
attachmentPart.setHeader(
MimeHeader
.HEADER_ANDROID_ATTACHMENT_STORE_DATA, "100");
160
attachmentPart.setHeader(
MimeHeader
.HEADER_CONTENT_TYPE, "image/gif");
161
attachmentPart.setHeader(
MimeHeader
.HEADER_CONTENT_TRANSFER_ENCODING, "base64");
162
attachmentPart.setHeader(
MimeHeader
.HEADER_CONTENT_DISPOSITION,
164
attachmentPart.setHeader(
MimeHeader
.HEADER_ANDROID_ATTACHMENT_STORE_DATA, "101");
169
attachmentPart.setHeader(
MimeHeader
.HEADER_CONTENT_TYPE
[
all
...]
/packages/apps/Email/tests/src/com/android/emailcommon/mail/
MessageTestUtils.java
20
import com.android.emailcommon.internet.
MimeHeader
;
80
bp.setHeader(
MimeHeader
.HEADER_CONTENT_ID, contentId);
96
textPart.setHeader(
MimeHeader
.HEADER_CONTENT_TYPE, mimeType);
/frameworks/base/wifi/java/android/net/wifi/hotspot2/
ConfigParser.java
85
private static class
MimeHeader
{
221
MimeHeader
header = parseHeaders(in);
266
MimeHeader
header = parseHeaders(in);
308
* @return {@link
MimeHeader
}
311
private static
MimeHeader
parseHeaders(LineNumberReader in)
313
MimeHeader
header = new
MimeHeader
();
/packages/apps/UnifiedEmail/src/com/android/emailcommon/utility/
ConversionUtilities.java
19
import com.android.emailcommon.internet.
MimeHeader
;
/packages/apps/Email/provider_src/com/android/email/
LegacyConversions.java
28
import com.android.emailcommon.internet.
MimeHeader
;
222
final String[] partIds = part.getHeader(
MimeHeader
.HEADER_ANDROID_ATTACHMENT_STORE_DATA);
396
message.setHeader(
MimeHeader
.HEADER_CONTENT_TYPE, "multipart/mixed");
500
bp.setHeader(
MimeHeader
.HEADER_CONTENT_TRANSFER_ENCODING, "base64");
501
bp.setHeader(
MimeHeader
.HEADER_CONTENT_DISPOSITION, "attachment;\n "
505
bp.setHeader(
MimeHeader
.HEADER_CONTENT_ID, contentId);
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/
ImapFolder.java
35
import com.android.voicemail.impl.mail.internet.
MimeHeader
;
290
final String[] partIds = fetchPart.getHeader(
MimeHeader
.HEADER_ANDROID_ATTACHMENT_STORE_DATA);
380
String[] encodings = fetchPart.getHeader(
MimeHeader
.HEADER_CONTENT_TRANSFER_ENCODING);
574
part.setHeader(
MimeHeader
.HEADER_CONTENT_TYPE, contentType.toString());
629
part.setHeader(
MimeHeader
.HEADER_CONTENT_DISPOSITION, contentDisposition.toString());
637
part.setHeader(
MimeHeader
.HEADER_CONTENT_TRANSFER_ENCODING, encoding.getString());
644
part.setHeader(
MimeHeader
.HEADER_CONTENT_ID, cid.getString());
656
part.setHeader(
MimeHeader
.HEADER_ANDROID_ATTACHMENT_STORE_DATA, id);
/packages/apps/Email/provider_src/com/android/email/service/
EmailServiceStub.java
37
import com.android.emailcommon.internet.
MimeHeader
;
198
storePart.setHeader(
MimeHeader
.HEADER_ANDROID_ATTACHMENT_STORE_DATA,
200
storePart.setHeader(
MimeHeader
.HEADER_CONTENT_TYPE,
207
storePart.setHeader(
MimeHeader
.HEADER_CONTENT_TRANSFER_ENCODING, "base64");
213
storeMessage.setHeader(
MimeHeader
.HEADER_CONTENT_TYPE, "multipart/mixed");
/packages/apps/Email/provider_src/com/android/email/mail/store/
ImapFolder.java
36
import com.android.emailcommon.internet.
MimeHeader
;
669
fetchPart.getHeader(
MimeHeader
.HEADER_ANDROID_ATTACHMENT_STORE_DATA);
755
MimeHeader
.HEADER_CONTENT_TRANSFER_ENCODING);
[
all
...]
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
Message.java
34
import com.android.emailcommon.internet.
MimeHeader
;
486
final String[] cids = viewablePart.getHeader(
MimeHeader
.HEADER_CONTENT_ID);
Completed in 574 milliseconds