Home
last modified time | relevance | path

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

12

/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()
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 {
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()
/packages/services/Telephony/src/com/android/phone/common/mail/internet/
DMimeBodyPart.java18 import com.android.phone.common.mail.Body;
35 protected Body mBody;
47 public MimeBodyPart(Body body) throws MessagingException { in MimeBodyPart()
51 public MimeBodyPart(Body body, String mimeType) throws MessagingException { in MimeBodyPart()
83 public Body getBody() throws MessagingException { in getBody()
88 public void setBody(Body body) throws MessagingException { in setBody()
DTextBody.java20 import com.android.phone.common.mail.Body;
29 public class TextBody implements Body {
DBinaryTempFileBody.java18 import com.android.phone.common.mail.Body;
41 public class BinaryTempFileBody implements Body {
DMimeMessage.java19 import com.android.phone.common.mail.Body;
67 private Body mBody;
395 public Body getBody() throws MessagingException { in getBody()
400 public void setBody(Body body) throws MessagingException { in setBody()
611 final Body body = MimeUtility.decodeBody(in, bd.getTransferEncoding()); in body()
/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/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()
DBinaryBody.java32 public interface BinaryBody extends Body {
DTextBody.java32 public interface TextBody extends 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()
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()
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()
/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/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/services/Telephony/src/com/android/phone/common/mail/
DPart.java28 public Body getBody() throws MessagingException; in getBody()
48 public void setBody(Body body) throws MessagingException; in setBody()
/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/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/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/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/Email/tests/src/com/android/emailcommon/mail/
DMessageTestUtils.java174 private Body mBody;
188 public MessageBuilder setBody(final Body body) { in setBody()

12