/packages/apps/Email/src/com/android/email/ |
D | MessagingController.java | 46 import com.android.emailcommon.mail.Message; 441 ArrayList<Message> unsyncedMessages, final Mailbox toMailbox) in loadUnsyncedMessages() 452 ArrayList<Message> largeMessages = new ArrayList<Message>(); in loadUnsyncedMessages() 453 ArrayList<Message> smallMessages = new ArrayList<Message>(); in loadUnsyncedMessages() 454 for (Message message : unsyncedMessages) { in loadUnsyncedMessages() 471 remoteFolder.fetch(smallMessages.toArray(new Message[smallMessages.size()]), fp, in loadUnsyncedMessages() 473 public void messageRetrieved(Message message) { in loadUnsyncedMessages() 476 EmailContent.Message.FLAG_LOADED_COMPLETE); in loadUnsyncedMessages() 488 remoteFolder.fetch(largeMessages.toArray(new Message[largeMessages.size()]), fp, null); in loadUnsyncedMessages() 489 for (Message message : largeMessages) { in loadUnsyncedMessages() [all …]
|
D | Controller.java | 47 import com.android.emailcommon.provider.EmailContent.Message; 221 resolver.delete(Message.CONTENT_URI, WHERE_MAILBOX_KEY, in deleteAttachmentMessages() 295 public Message loadMessageFromUri(Uri uri) { in loadMessageFromUri() 306 Message msg = new Message(); in loadMessageFromUri() 312 Message.FLAG_LOADED_COMPLETE, mProviderContext); in loadMessageFromUri() 314 return Message.restoreMessageWithId(mProviderContext, msg.mId); in loadMessageFromUri() 448 Uri uri = ContentUris.withAppendedId(Message.CONTENT_URI, messageId); in loadMessageForView() 450 cv.put(MessageColumns.FLAG_LOADED, Message.FLAG_LOADED_COMPLETE); in loadMessageForView() 477 public void saveToMailbox(final EmailContent.Message message, final int mailboxType) { in saveToMailbox() 561 public void sendMessage(Message message) { in sendMessage() [all …]
|
D | LegacyConversions.java | 35 import com.android.emailcommon.mail.Message; 36 import com.android.emailcommon.mail.Message.RecipientType; 77 public static boolean updateMessageFields(EmailContent.Message localMessage, Message message, in updateMessageFields() 81 Address[] to = message.getRecipients(Message.RecipientType.TO); in updateMessageFields() 82 Address[] cc = message.getRecipients(Message.RecipientType.CC); in updateMessageFields() 83 Address[] bcc = message.getRecipients(Message.RecipientType.BCC); in updateMessageFields() 100 localMessage.mFlags |= EmailContent.Message.FLAG_REPLIED_TO; in updateMessageFields() 105 if (localMessage.mFlagLoaded != EmailContent.Message.FLAG_LOADED_COMPLETE) { in updateMessageFields() 107 localMessage.mFlagLoaded = EmailContent.Message.FLAG_LOADED_UNLOADED; in updateMessageFields() 109 localMessage.mFlagLoaded = EmailContent.Message.FLAG_LOADED_PARTIAL; in updateMessageFields() [all …]
|
/packages/apps/Email/src/com/android/email/provider/ |
D | DBHelper.java | 43 import com.android.emailcommon.provider.EmailContent.Message; 63 " delete from " + Message.TABLE_NAME + 65 "; delete from " + Message.UPDATED_TABLE_NAME + 67 "; delete from " + Message.DELETED_TABLE_NAME + 193 db.execSQL("create table " + Message.TABLE_NAME + createString); in createMessageTable() 194 db.execSQL("create table " + Message.UPDATED_TABLE_NAME + altCreateString); in createMessageTable() 195 db.execSQL("create table " + Message.DELETED_TABLE_NAME + altCreateString); in createMessageTable() 206 db.execSQL(createIndex(Message.TABLE_NAME, columnName)); in createMessageTable() 212 db.execSQL("create trigger message_delete before delete on " + Message.TABLE_NAME + in createMessageTable() 223 db.execSQL("create trigger unread_message_insert before insert on " + Message.TABLE_NAME + in createMessageTable() [all …]
|
D | EmailProvider.java | 51 import com.android.emailcommon.provider.EmailContent.Message; 138 new ContentCache("Message", Message.CONTENT_PROJECTION, 8); 226 Message.TABLE_NAME, 229 Message.UPDATED_TABLE_NAME, 230 Message.DELETED_TABLE_NAME, 256 Message.CONTENT_PROJECTION, 278 Message.UPDATED_TABLE_NAME + " select * from " + Message.TABLE_NAME + " where " + 282 Message.UPDATED_TABLE_NAME + " where " + EmailContent.RECORD_ID + '='; 285 Message.DELETED_TABLE_NAME + " select * from " + Message.TABLE_NAME + " where " + 291 Message.TABLE_NAME + ')'; [all …]
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
D | EmailSyncAdapter.java | 50 import com.android.emailcommon.provider.EmailContent.Message; 101 new String[] { Message.RECORD_ID, MessageColumns.SUBJECT }; 151 mContentResolver.delete(Message.CONTENT_URI, in wipe() 152 Message.MAILBOX_KEY + "=" + mMailbox.mId, null); in wipe() 153 mContentResolver.delete(Message.DELETED_CONTENT_URI, in wipe() 154 Message.MAILBOX_KEY + "=" + mMailbox.mId, null); in wipe() 155 mContentResolver.delete(Message.UPDATED_CONTENT_URI, in wipe() 156 Message.MAILBOX_KEY + "=" + mMailbox.mId, null); in wipe() 209 Cursor c = mContext.getContentResolver().query(Message.CONTENT_URI, in sendSyncOptions() 211 MessageColumns.FLAG_LOADED + "=" + Message.FLAG_LOADED_PARTIAL + " AND " + in sendSyncOptions() [all …]
|
/packages/apps/Email/tests/src/com/android/email/ |
D | LegacyConversionsTests.java | 29 import com.android.emailcommon.mail.Message; 30 import com.android.emailcommon.mail.Message.RecipientType; 104 EmailContent.Message localMessage = new EmailContent.Message(); in testUpdateMessageFields() 118 EmailContent.Message localMessage = new EmailContent.Message(); in testUpdateMessageFieldsNoMessageId() 180 EmailContent.Message localMessage = new EmailContent.Message(); in testUpdateBodyFieldsNullText() 200 final EmailContent.Message localMessage = ProviderTestUtils.setupMessage( in testAddAttachments() 202 final Message legacyMessage = prepareLegacyMessageWithAttachments(2, false); in testAddAttachments() 206 final EmailContent.Message localMessage2 = ProviderTestUtils.setupMessage( in testAddAttachments() 208 final Message legacyMessage2 = prepareLegacyMessageWithAttachments(2, true); in testAddAttachments() 215 private void convertAndCheckcheckAddedAttachments(final EmailContent.Message localMessage, in convertAndCheckcheckAddedAttachments() [all …]
|
D | ControllerProviderOpsTests.java | 29 import com.android.emailcommon.provider.EmailContent.Message; 190 Message message1 = ProviderTestUtils.setupMessage("message1", account1Id, box1Id, false, in testMoveMessage() 192 Message message2 = ProviderTestUtils.setupMessage("message2", account1Id, box2Id, false, in testMoveMessage() 201 assertEquals(boxDestId, EmailContent.Message.restoreMessageWithId(mProviderContext, in testMoveMessage() 203 assertEquals(boxDestId, EmailContent.Message.restoreMessageWithId(mProviderContext, in testMoveMessage() 232 Message message = ProviderTestUtils.setupMessage("message1", account1Id, boxId, false, in testDeleteMessage() 239 Message restored = EmailContent.Message.restoreMessageWithId(mProviderContext, in testDeleteMessage() 246 Message message = ProviderTestUtils.setupMessage("message3", account1Id, trashBoxId, in testDeleteMessage() 253 assertNull(EmailContent.Message.restoreMessageWithId(mProviderContext, messageId)); in testDeleteMessage() 258 Message message = ProviderTestUtils.setupMessage("message3", account1Id, draftBoxId, in testDeleteMessage() [all …]
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/ |
D | EmailSyncAdapterTests.java | 26 import com.android.emailcommon.provider.EmailContent.Message; 43 private static final String WHERE_ACCOUNT_KEY = Message.ACCOUNT_KEY + "=?"; 112 Message msg1 = EmailContentSetupUtils.setupMessage("message1", mAccount.mId, box1.mId, in testSendDeletedItems() 115 Message msg2 = EmailContentSetupUtils.setupMessage("message2", mAccount.mId, box1.mId, in testSendDeletedItems() 118 Message msg3 = EmailContentSetupUtils.setupMessage("message3", mAccount.mId, box1.mId, in testSendDeletedItems() 121 assertEquals(3, EmailContent.count(mProviderContext, Message.CONTENT_URI, WHERE_ACCOUNT_KEY, in testSendDeletedItems() 126 mResolver.delete(ContentUris.withAppendedId(Message.SYNCED_CONTENT_URI, id), in testSendDeletedItems() 131 assertEquals(0, EmailContent.count(mProviderContext, Message.CONTENT_URI, WHERE_ACCOUNT_KEY, in testSendDeletedItems() 133 assertEquals(3, EmailContent.count(mProviderContext, Message.DELETED_CONTENT_URI, in testSendDeletedItems() 145 Message msg4 = EmailContentSetupUtils.setupMessage("message4", mAccount.mId, box1.mId, in testSendDeletedItems() [all …]
|
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/ |
D | EmailSyncAdapterTests.java | 26 import com.android.emailcommon.provider.EmailContent.Message; 43 private static final String WHERE_ACCOUNT_KEY = Message.ACCOUNT_KEY + "=?"; 112 Message msg1 = EmailContentSetupUtils.setupMessage("message1", mAccount.mId, box1.mId, in testSendDeletedItems() 115 Message msg2 = EmailContentSetupUtils.setupMessage("message2", mAccount.mId, box1.mId, in testSendDeletedItems() 118 Message msg3 = EmailContentSetupUtils.setupMessage("message3", mAccount.mId, box1.mId, in testSendDeletedItems() 121 assertEquals(3, EmailContent.count(mProviderContext, Message.CONTENT_URI, WHERE_ACCOUNT_KEY, in testSendDeletedItems() 126 mResolver.delete(ContentUris.withAppendedId(Message.SYNCED_CONTENT_URI, id), in testSendDeletedItems() 131 assertEquals(0, EmailContent.count(mProviderContext, Message.CONTENT_URI, WHERE_ACCOUNT_KEY, in testSendDeletedItems() 133 assertEquals(3, EmailContent.count(mProviderContext, Message.DELETED_CONTENT_URI, in testSendDeletedItems() 145 Message msg4 = EmailContentSetupUtils.setupMessage("message4", mAccount.mId, box1.mId, in testSendDeletedItems() [all …]
|
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/ |
D | SendTestBroadcastActivity.java | 22 import android.os.Message; 46 public void handleMessage(Message msg) { 107 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate() 121 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate() 135 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate() 149 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate() 163 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate() 177 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate() 191 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate() 205 Message msg = mDelayHandler.obtainMessage(0, this); in onCreate() [all …]
|
/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
D | MailboxTests.java | 23 import com.android.emailcommon.provider.EmailContent.Message; 78 private static Message createMessage(Context c, Mailbox b, boolean starred, boolean read, in createMessage() 80 Message message = ProviderTestUtils.setupMessage( in createMessage() 209 Message m1 = ProviderTestUtils.setupMessage("1", b1.mAccountKey, b1.mId, in testGetMailboxForMessageId() 211 Message m2 = ProviderTestUtils.setupMessage("1", b2.mAccountKey, b2.mId, in testGetMailboxForMessageId() 364 assertEquals(0, Message.getFavoriteMessageCount(c)); in testMessageCount() 365 assertEquals(0, Message.getFavoriteMessageCount(c, a1.mId)); in testMessageCount() 366 assertEquals(0, Message.getFavoriteMessageCount(c, a2.mId)); in testMessageCount() 390 Message m11 = createMessage(c, b1, true, false, Message.FLAG_LOADED_COMPLETE); in testMessageCount() 393 Message m21 = createMessage(c, b2, false, false, Message.FLAG_LOADED_COMPLETE); in testMessageCount() [all …]
|
/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
D | Rfc822OutputTests.java | 26 import com.android.emailcommon.provider.EmailContent.Message; 101 private Message createTestMessage(String text, boolean save) { in createTestMessage() 102 Message message = new Message(); in createTestMessage() 105 message.mFlags = Message.FLAG_TYPE_REPLY; in createTestMessage() 115 private Body createTestBody(Message message) { in createTestBody() 127 Message message1 = createTestMessage("", true); in testBuildBodyText() 161 Message message2 = createTestMessage("", true); in testBuildBodyText() 200 Message msg = new Message(); in testBuildBodyTextWithForward() 206 msg.mFlags = Message.FLAG_TYPE_FORWARD; in testBuildBodyTextWithForward() 217 Message msg = new Message(); in testWriteToText() [all …]
|
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
D | ImapStoreUnitTests.java | 51 import com.android.emailcommon.mail.Message; 52 import com.android.emailcommon.mail.Message.RecipientType; 104 private Message[] mCopyMessages; 163 assertEquals("", ImapStore.joinMessageUids(new Message[] {})); in testJoinMessageUids() 164 assertEquals("a", ImapStore.joinMessageUids(new Message[] { in testJoinMessageUids() 167 assertEquals("a,XX", ImapStore.joinMessageUids(new Message[] { in testJoinMessageUids() 767 final Message message = mFolder.createMessage("1"); in testFetchFlagEnvelope() 790 mFolder.fetch(new Message[] { message }, fp, null); in testFetchFlagEnvelope() 808 final Message message = mFolder.createMessage("1"); in testFetchBodyStructureSimple() 818 mFolder.fetch(new Message[] { message }, fp, null); in testFetchBodyStructureSimple() [all …]
|
D | Pop3StoreUnitTests.java | 36 import com.android.emailcommon.mail.Message; 37 import com.android.emailcommon.mail.Message.RecipientType; 369 Message msg1 = mFolder.getMessage(uid1); in testGetMessageByUid() 373 Message msg3 = mFolder.getMessage(uid3); in testGetMessageByUid() 376 Message msg2 = mFolder.getMessage(uid2); in testGetMessageByUid() 404 Message[] messages = mFolder.getMessages(1, 1, null); in testCatchClosed1a() 448 Message[] messages = mFolder.getMessages(1, 1, null); in testCatchClosed1b() 491 Message[] messages = mFolder.getMessages(1, 1, null); in testCatchClosed1c() 528 Message[] messages = mFolder.getMessages(1, 1, null); in testCatchClosed2() 579 Message[] messages = mFolder.getMessages(1, 1, null); in testCatchClosed2a() [all …]
|
/packages/apps/Email/tests/src/com/android/email/activity/ |
D | MessageComposeTests.java | 41 import com.android.emailcommon.provider.EmailContent.Message; 203 final Message message = buildTestMessage(RECIPIENT_TO, SENDER, SUBJECT, BODY); in testProcessSourceMessageReply() 246 final Message message = buildTestMessage(RECIPIENT_TO, SENDER, SUBJECT, BODY); in testRepliesWithREplyToFields() 290 final Message message = buildTestMessage(RECIPIENT_TO, SENDER, SUBJECT, BODY); in testProcessSourceMessageReplyWithSignature() 322 final Message message = buildTestMessage(RECIPIENT_TO, SENDER, SUBJECT, BODY); in testProcessSourceMessageForwardWithSignature() 342 final Message message = buildTestMessage(UTF16_RECIPIENT_TO, UTF16_SENDER, in testProcessSourceMessageReplyUtf16() 377 final Message message = buildTestMessage(UTF32_RECIPIENT_TO, UTF32_SENDER, in testProcessSourceMessageReplyUtf32() 415 final Message message = buildTestMessage(RECIPIENT_TO, SENDER, SUBJECT, BODY); in testProcessSourceMessageForward() 441 final Message message = buildTestMessage(RECIPIENT_TO, SENDER, SUBJECT, BODY); in testProcessDraftMessage() 475 final Message message = buildTestMessage(UTF16_RECIPIENT_TO, UTF16_SENDER, in testProcessDraftMessageWithUtf16() [all …]
|
D | MailboxFragmentAdapterTest.java | 23 import com.android.emailcommon.provider.EmailContent.Message; 64 createMessage(c, b1i, false, false, Message.FLAG_LOADED_COMPLETE); in testBuildCombinedMailboxes() 65 createMessage(c, b2i, true, true, Message.FLAG_LOADED_COMPLETE); in testBuildCombinedMailboxes() 66 createMessage(c, b2i, true, false, Message.FLAG_LOADED_COMPLETE); in testBuildCombinedMailboxes() 68 createMessage(c, b3i, true, true, Message.FLAG_LOADED_UNLOADED); in testBuildCombinedMailboxes() 70 createMessage(c, b1o, true, true, Message.FLAG_LOADED_COMPLETE); in testBuildCombinedMailboxes() 71 createMessage(c, b2o, false, true, Message.FLAG_LOADED_COMPLETE); in testBuildCombinedMailboxes() 73 createMessage(c, b1d, false, true, Message.FLAG_LOADED_COMPLETE); in testBuildCombinedMailboxes() 74 createMessage(c, b2d, false, true, Message.FLAG_LOADED_COMPLETE); in testBuildCombinedMailboxes() 75 createMessage(c, b2d, false, true, Message.FLAG_LOADED_COMPLETE); in testBuildCombinedMailboxes() [all …]
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/mail/ |
D | Folder.java | 52 public void messageRetrieved(Message message); in messageRetrieved() 112 public abstract Message getMessage(String uid) throws MessagingException; in getMessage() 120 public abstract Message[] getMessages(int start, int end, MessageRetrievalListener listener) in getMessages() 123 public abstract Message[] getMessages(SearchParams params,MessageRetrievalListener listener) in getMessages() 126 public abstract Message[] getMessages(String[] uids, MessageRetrievalListener listener) in getMessages() 139 public Message[] getMessages(Flag[] setFlags, Flag[] clearFlags, in getMessages() 144 public abstract void appendMessages(Message[] messages) throws MessagingException; in appendMessages() 149 public abstract void copyMessages(Message[] msgs, Folder folder, in copyMessages() 152 public abstract void setFlags(Message[] messages, Flag[] flags, boolean value) in setFlags() 155 public abstract Message[] expunge() throws MessagingException; in expunge() [all …]
|
/packages/apps/Email/src/com/android/email/mail/store/ |
D | Pop3Store.java | 35 import com.android.emailcommon.mail.Message; 389 public Message getMessage(String uid) throws MessagingException { in getMessage() 406 public Message[] getMessages(int start, int end, MessageRetrievalListener listener) in getMessages() 421 ArrayList<Message> messages = new ArrayList<Message>(); in getMessages() 429 return messages.toArray(new Message[messages.size()]); in getMessages() 629 public Message[] getMessages(String[] uids, MessageRetrievalListener listener) { in getMessages() 642 public void fetch(Message[] messages, FetchProfile fp, MessageRetrievalListener listener) in fetch() 648 for (Message message : messages) { in fetch() 666 Message message = messages[i]; in fetch() 703 private void fetchEnvelope(Message[] messages, in fetchEnvelope() [all …]
|
D | ImapFolder.java | 46 import com.android.emailcommon.mail.Message; 256 public void copyMessages(Message[] messages, Folder folder, in copyMessages() 265 HashMap<String, Message> messageMap = new HashMap<String, Message>(); in copyMessages() 267 for (Message m : messages) { in copyMessages() 301 final Message m = messageMap.get(id); in copyMessages() 315 for (Message m : messages) { in copyMessages() 411 public Message getMessage(String uid) throws MessagingException { in getMessage() 440 public Message[] getMessages(SearchParams params, MessageRetrievalListener listener) in getMessages() 479 public Message[] getMessages(int start, int end, MessageRetrievalListener listener) in getMessages() 490 public Message[] getMessages(String[] uids, MessageRetrievalListener listener) in getMessages() [all …]
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
D | EasOutboxService.java | 36 import com.android.emailcommon.provider.EmailContent.Message; 96 private final Message mMessage; 102 Message message) { in SendMailEntity() 287 cols = Utility.getRowColumns(context, Message.CONTENT_URI, refId, in getOriginalMessageInfo() 312 Message.update(mContext, Message.CONTENT_URI, msgId, cv); in sendFailed() 336 Message msg = Message.restoreMessageWithId(mContext, msgId); in sendMessage() 341 boolean reply = (flags & Message.FLAG_TYPE_REPLY) != 0; in sendMessage() 342 boolean forward = (flags & Message.FLAG_TYPE_FORWARD) != 0; in sendMessage() 343 boolean includeQuotedText = (flags & Message.FLAG_NOT_INCLUDE_QUOTED_TEXT) == 0; in sendMessage() 442 ContentUris.withAppendedId(Message.CONTENT_URI, msgId), null, null); in sendMessage() [all …]
|
/packages/apps/Email/src/com/android/email/activity/ |
D | MessageCompose.java | 74 import com.android.emailcommon.provider.EmailContent.Message; 160 private Message mDraft = new Message(); 170 private Message mSource; 404 long draftId = savedInstanceState.getLong(STATE_KEY_DRAFT_ID, Message.NOT_SAVED); in onCreate() 409 if ((draftId != Message.NOT_SAVED) || (existingSaveTask != null)) { in onCreate() 436 long sourceMessageId = getIntent().getLongExtra(EXTRA_MESSAGE_ID, Message.NOT_SAVED); in resolveIntent() 441 long draftId = getIntent().getLongExtra(EXTRA_MESSAGE_ID, Message.NOT_SAVED); in resolveIntent() 561 if (draftId != Message.NOT_SAVED) { in onSaveInstanceState() 850 public void onMessageLoaded(Message message, Body body) { in resumeDraft() 873 if (message.mSourceKey != Message.NOT_SAVED) { in resumeDraft() [all …]
|
/packages/apps/Email/tests/src/com/android/emailcommon/mail/ |
D | MockFolder.java | 25 public void appendMessages(Message[] messages) { in appendMessages() 33 public void copyMessages(Message[] msgs, Folder folder, in copyMessages() 57 public Message[] expunge() { in expunge() 62 public void fetch(Message[] messages, FetchProfile fp, MessageRetrievalListener listener) { in fetch() 66 public Message getMessage(String uid) { in getMessage() 76 public Message[] getMessages(int start, int end, MessageRetrievalListener listener) { in getMessages() 81 public Message[] getMessages(String[] uids, MessageRetrievalListener listener) { in getMessages() 115 public void setFlags(Message[] messages, Flag[] flags, boolean value) { in setFlags() 119 public Message createMessage(String uid) { in createMessage() 124 public Message[] getMessages(SearchParams params, MessageRetrievalListener listener) in getMessages()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | EmailContent.java | 533 public static final class Message extends EmailContent implements SyncColumns, MessageColumns { class in EmailContent 646 + Message.FLAG_LOADED_PARTIAL + "," + Message.FLAG_LOADED_COMPLETE 799 public Message() { in Message() method in EmailContent.Message 841 public static Message restoreMessageWithId(Context context, long id) { in restoreMessageWithId() 842 return EmailContent.restoreContentWithId(context, Message.class, in restoreMessageWithId() 843 Message.CONTENT_URI, Message.CONTENT_PROJECTION, id); in restoreMessageWithId() 951 .withSelection(Message.RECORD_ID + "=?", new String[] {Long.toString(mId)}); in addSaveOps() 1021 return count(context, Message.CONTENT_URI, ALL_FAVORITE_SELECTION, null); in getFavoriteMessageCount() 1028 return count(context, Message.CONTENT_URI, PER_ACCOUNT_FAVORITE_SELECTION, in getFavoriteMessageCount() 1034 Utility.getRowColumns(context, Message.CONTENT_URI, messageId, column); in getKeyColumnLong() [all …]
|
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
D | UtilityUnitTests.java | 26 import com.android.emailcommon.provider.EmailContent.Message; 343 Message message1_1_1 = ProviderTestUtils.setupMessage("message_1_1_1", account1.mId, in testUpdateLastSeenMessageKey() 345 Message message1_1_2 = ProviderTestUtils.setupMessage("message_1_1_2", account1.mId, in testUpdateLastSeenMessageKey() 347 Message message1_1_3 = ProviderTestUtils.setupMessage("message_1_1_3", account1.mId, in testUpdateLastSeenMessageKey() 349 Message message1_2_1 = ProviderTestUtils.setupMessage("message_1_2_1", account1.mId, in testUpdateLastSeenMessageKey() 351 Message message1_3_1 = ProviderTestUtils.setupMessage("message_1_3_1", account1.mId, in testUpdateLastSeenMessageKey() 353 Message message1_4_1 = ProviderTestUtils.setupMessage("message_1_4_1", account1.mId, in testUpdateLastSeenMessageKey() 355 Message message1_5_1 = ProviderTestUtils.setupMessage("message_1_5_1", account1.mId, in testUpdateLastSeenMessageKey() 357 Message message2_1_1 = ProviderTestUtils.setupMessage("message_2_1_1", account2.mId, in testUpdateLastSeenMessageKey() 359 Message message2_1_2 = ProviderTestUtils.setupMessage("message_2_1_2", account2.mId, in testUpdateLastSeenMessageKey() [all …]
|