Home
last modified time | relevance | path

Searched refs:Body (Results 1 – 25 of 46) sorted by relevance

12

/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeBodyPart.java18 import com.android.voicemail.impl.mail.Body;
32 protected Body mBody;
44 public MimeBodyPart(Body body) throws MessagingException { in MimeBodyPart()
48 public MimeBodyPart(Body body, String mimeType) throws MessagingException { in MimeBodyPart()
80 public Body getBody() throws MessagingException { in getBody()
85 public void setBody(Body body) throws MessagingException { in setBody()
DMimeMessage.java22 import com.android.voicemail.impl.mail.Body;
68 private Body mBody;
408 public Body getBody() throws MessagingException { in getBody()
413 public void setBody(Body body) throws MessagingException { in setBody()
626 final Body body = MimeUtility.decodeBody(in, bd.getTransferEncoding()); in body()
DTextBody.java19 import com.android.voicemail.impl.mail.Body;
27 public class TextBody implements Body {
DBinaryTempFileBody.java20 import com.android.voicemail.impl.mail.Body;
38 public class BinaryTempFileBody implements Body {
DMimeUtility.java23 import com.android.voicemail.impl.mail.Body;
325 public static Body decodeBody(InputStream in, String contentTransferEncoding) throws IOException { in decodeBody()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeBodyPart.java19 import com.android.emailcommon.mail.Body;
36 protected Body mBody;
48 public MimeBodyPart(Body body) throws MessagingException { in MimeBodyPart()
52 public MimeBodyPart(Body body, String mimeType) throws MessagingException { in MimeBodyPart()
84 public Body getBody() throws MessagingException { in getBody()
89 public void setBody(Body body) throws MessagingException { in setBody()
DMimeMessage.java20 import com.android.emailcommon.mail.Body;
68 private Body mBody;
396 public Body getBody() throws MessagingException { in getBody()
401 public void setBody(Body body) throws MessagingException { in setBody()
612 final Body body = MimeUtility.decodeBody(in, bd.getTransferEncoding()); in body()
DTextBody.java19 import com.android.emailcommon.mail.Body;
30 public class TextBody implements Body {
DBinaryTempFileBody.java20 import com.android.emailcommon.mail.Body;
42 public class BinaryTempFileBody implements Body {
DMimeUtility.java25 import com.android.emailcommon.mail.Body;
340 public static Body decodeBody(InputStream in, String contentTransferEncoding) in decodeBody()
/packages/experimental/DreamTheater/src/com/android/dreamtheater/
DBouncyDroid.java80 public static class Body { class in BouncyDroid.BouncyView.World
86 public Body(float _m, Vec _p) { in Body() method in BouncyDroid.BouncyView.World.Body
116 LinkedList<Body> mBodies = new LinkedList<Body>();
117 public void addBody(Body b) { in addBody()
122 for (Body b : mBodies) { in step()
134 World.Body mBody;
204 mBody = new World.Body(mass, new World.Vec(200,200)); in reset()
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTests.java43 import com.android.emailcommon.provider.EmailContent.Body;
387 private Body loadBodyForMessageId(long messageId) { in loadBodyForMessageId()
390 c = mMockContext.getContentResolver().query(EmailContent.Body.CONTENT_URI, in loadBodyForMessageId()
391 EmailContent.Body.CONTENT_PROJECTION, BodyColumns.MESSAGE_KEY + "=?", in loadBodyForMessageId()
395 return c.moveToFirst() ? EmailContent.getContent(mMockContext, c, Body.class) : null; in loadBodyForMessageId()
444 Body body2 = loadBodyForMessageId(message2Id); in testMessageSave()
662 long bodyId1 = Body.lookupBodyIdWithMessageId(mMockContext, message1Id); in testLookupBodyIdWithMessageId()
673 long bodyId2 = Body.lookupBodyIdWithMessageId(mMockContext, message2Id); in testLookupBodyIdWithMessageId()
674 Body body = loadBodyForMessageId(message2Id); in testLookupBodyIdWithMessageId()
711 Body body1 = loadBodyForMessageId(message1Id); in testUpdateBodyWithMessageId()
[all …]
DProviderTestUtils.java23 import com.android.emailcommon.provider.EmailContent.Body;
211 public static Body setupBody(long messageId, String textContent, String htmlContent, in setupBody()
213 Body body = new Body(); in setupBody()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DEmailContent.java197 Body.initBody(); in init()
469 public static final class Body extends EmailContent { class in EmailContent
506 public Body() { in Body() method in EmailContent.Body
527 private static Body restoreBodyWithCursor(final Context context, final Cursor cursor) { in restoreBodyWithCursor()
530 return getContent(context, cursor, Body.class); in restoreBodyWithCursor()
539 public static Body restoreBodyWithMessageId(Context context, long messageId) { in restoreBodyWithMessageId()
540 Cursor c = context.getContentResolver().query(Body.CONTENT_URI, in restoreBodyWithMessageId()
541 Body.CONTENT_PROJECTION, BodyColumns.MESSAGE_KEY + "=?", in restoreBodyWithMessageId()
551 return Utility.getFirstRowLong(context, Body.CONTENT_URI, in lookupBodyIdWithMessageId()
576 return Utility.getFirstRowLong(context, Body.CONTENT_URI, in restoreBodySourceKey()
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/
DEntity.java37 private Body body = null;
83 public Body getBody() { in getBody()
92 public void setBody(Body body) { in setBody()
DMessage.java49 public class Message extends Entity implements Body {
89 Body body = getBody(); in writeTo()
185 Body body = null; in body()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailMessageCursor.java27 import com.android.emailcommon.provider.EmailContent.Body;
71 final Uri htmlUri = Body.getBodyHtmlUriForMessageWithId(messageId); in EmailMessageCursor()
87 final Uri textUri = Body.getBodyTextUriForMessageWithId(messageId); in EmailMessageCursor()
DDBHelper.java43 import com.android.emailcommon.provider.EmailContent.Body;
684 db.execSQL("create table " + Body.TABLE_NAME + s); in createBodyTable()
685 db.execSQL(createIndex(Body.TABLE_NAME, BodyColumns.MESSAGE_KEY)); in createBodyTable()
690 db.execSQL("drop table " + Body.TABLE_NAME); in upgradeBodyToVersion5()
701 db.execSQL("alter table " + Body.TABLE_NAME in upgradeBodyFromVersion5ToVersion6()
711 db.execSQL("alter table " + Body.TABLE_NAME in upgradeBodyFromVersion6ToVersion8()
727 final Cursor cursor = db.query(Body.TABLE_NAME, projection, in upgradeBodyFromVersion100ToVersion101()
735 " FROM " + Body.TABLE_NAME + in upgradeBodyFromVersion100ToVersion101()
741 " FROM " + Body.TABLE_NAME + in upgradeBodyFromVersion100ToVersion101()
779 db.execSQL("update " + Body.TABLE_NAME + in upgradeBodyFromVersion100ToVersion101()
DUtilities.java104 EmailContent.Body body = null; in copyOneMessageToProvider()
106 body = EmailContent.Body.restoreBodyWithMessageId(context, localMessage.mId); in copyOneMessageToProvider()
109 body = new EmailContent.Body(); in copyOneMessageToProvider()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
DRfc822Output.java28 import com.android.emailcommon.provider.EmailContent.Body;
92 /*package*/ static String[] buildBodyText(Body body, boolean useSmartReply) { in buildBodyText()
156 final Body body = Body.restoreBodyWithMessageId(context, message.mId); in writeTo()
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DRfc822OutputTests.java28 import com.android.emailcommon.provider.EmailContent.Body;
94 private Body createTestBody(Message message) { in createTestBody()
95 return Body.restoreBodyWithMessageId(mMockContext, message.mId); in createTestBody()
111 Body body = createTestBody(msg); in testBuildBodyTextWithForward()
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DSmtpSenderUnitTests.java30 import com.android.emailcommon.provider.EmailContent.Body;
115 Body body = new Body(); in testSendMessageWithBody()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DPart.java28 public Body getBody() throws MessagingException; in getBody()
48 public void setBody(Body body) throws MessagingException; in setBody()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
DPart.java29 public Body getBody() throws MessagingException; in getBody()
49 public void setBody(Body body) throws MessagingException; in setBody()
/packages/apps/Email/tests/src/com/android/emailcommon/mail/
DMessageTestUtils.java174 private Body mBody;
188 public MessageBuilder setBody(final Body body) { in setBody()

12