Lines Matching refs:message
84 * Create a message for test purposes
93 * Create a message for test purposes
97 Message message = new Message();
99 message.mDisplayName = name;
100 message.mMailboxKey = mailboxId;
101 message.mAccountKey = accountId;
102 message.mFlagRead = read;
103 message.mFlagLoaded = Message.FLAG_LOADED_UNLOADED;
104 message.mFlagFavorite = starred;
105 message.mServerId = "serverid " + name;
108 message.mText = "body text " + name;
109 message.mHtml = "body html " + name;
113 message.save(context);
115 return message;