Home
last modified time | relevance | path

Searched refs:mAccountKey (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTestUtils.java133 box.mAccountKey = accountId; in setupMailbox()
180 message.mAccountKey = accountId; in setupMessage()
249 att.mAccountKey = messageId + 0x1000; in setupAttachment()
352 assertEquals(caller + " mAccountKey", expect.mAccountKey, actual.mAccountKey); in assertMailboxEqual()
397 assertEquals(caller + " mAccountKey", expect.mAccountKey, actual.mAccountKey); in assertMessageEqual()
448 assertEquals(caller + " mAccountKey", expect.mAccountKey, actual.mAccountKey); in assertAttachmentEqual()
DProviderTests.java171 b.mAccountKey, in createMessage()
1988 b.mAccountKey, in createMessage()
2180 box.mAccountKey = accountId; in createMailbox()
2215 assertEquals(expected.mAccountKey, actual.mAccountKey); in assertEqualsExceptServerId()
2243 box.mAccountKey = accountId; in createTypeMailbox()
DPolicyTests.java120 att.mAccountKey = acct.mId; in setupSimpleAttachment()
DAttachmentProviderTests.java162 Message m = ProviderTestUtils.setupMessage("1", b.mAccountKey, b.mId, true, false, c, false, in createMessage()
/packages/apps/Email/tests/src/com/android/email/mail/
DStoreTests.java105 assertEquals(1L, testMailbox.mAccountKey); in testUpdateMailbox()
111 assertEquals(2L, testMailbox.mAccountKey); in testUpdateMailbox()
117 assertEquals(3L, testMailbox.mAccountKey); in testUpdateMailbox()
123 assertEquals(4L, testMailbox.mAccountKey); in testUpdateMailbox()
/packages/apps/Email/provider_src/com/android/email/
DAttachmentInfo.java79 public final long mAccountKey; field in AttachmentInfo
93 attachment.mAccountKey, attachment.mFlags); in AttachmentInfo()
103 this(context, info.mId, info.mSize, info.mName, info.mContentType, info.mAccountKey, in AttachmentInfo()
113 mAccountKey = accountKey; in AttachmentInfo()
DLegacyConversions.java136 localMessage.mAccountKey = accountId; in updateMessageFields()
262 localAttachment.mAccountKey = localMessage.mAccountKey; in addOneAttachment()
307 saveAttachmentBody(context, part, localAttachment, localMessage.mAccountKey); in addOneAttachment()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DMailbox.java162 public long mAccountKey; field in Mailbox
493 box.mAccountKey = accountId; in newSystemMailbox()
583 mAccountKey = cursor.getLong(CONTENT_ACCOUNT_KEY_COLUMN); in restore()
608 values.put(MailboxColumns.ACCOUNT_KEY, mAccountKey); in toContentValues()
764 = mAccountKey; in getHashes()
813 dest.writeLong(mAccountKey); in writeToParcel()
838 mAccountKey = in.readLong(); in Mailbox()
DEmailContent.java898 public long mAccountKey; field in EmailContent.Message
1016 values.put(MessageColumns.ACCOUNT_KEY, mAccountKey); in toContentValues()
1055 mAccountKey = cursor.getLong(CONTENT_ACCOUNT_KEY_COLUMN); in restore()
1367 public long mAccountKey; field in EmailContent.Attachment
1557 mAccountKey = cursor.getLong(CONTENT_ACCOUNT_KEY_COLUMN); in restore()
1578 values.put(AttachmentColumns.ACCOUNT_KEY, mAccountKey); in toContentValues()
1605 dest.writeLong(mAccountKey); in writeToParcel()
1631 mAccountKey = in.readLong(); in Attachment()
1662 + mAccountKey + "," + mUiState + "," + mUiDestination + "," in toString()
/packages/apps/Email/provider_src/com/android/email/provider/
DUtilities.java82 localMessage.mAccountKey = account.mId; in copyOneMessageToProvider()
114 localMessage.mAccountKey, localMessage.mMailboxKey); in copyOneMessageToProvider()
163 att.mAccountKey = localMessage.mAccountKey; in copyOneMessageToProvider()
DEmailProvider.java3376 String protocol = Account.getProtocol(context, mailbox.mAccountKey); in genQueryMailbox()
4316 contentUri = AttachmentUtilities.getAttachmentUri(att.mAccountKey, id) in AttachmentsCursor()
4810 att.mAccountKey = accountKey; in convertUiAttachmentToAttachment()
4865 final Account account = Account.restoreAccountWithId(context, mailbox.mAccountKey); in uiSaveMessage()
4882 msg.mAccountKey = mailbox.mAccountKey; in uiSaveMessage()
4967 atts.add(convertUiAttachmentToAttachment(uiAtt, cachedFileUri, msg.mAccountKey)); in uiSaveMessage()
5343 String protocol = Account.getProtocol(context, m.mAccountKey); in uploadsToServer()
5367 EmailServiceUtils.getServiceForAccount(context, mailbox.mAccountKey); in uiUpdateMessage()
5474 AttachmentUtilities.deleteAllAttachmentFiles(context, msg.mAccountKey, msg.mId); in uiDeleteMessage()
5477 notifyUIFolder(mailbox.mId, mailbox.mAccountKey); in uiDeleteMessage()
[all …]
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DMailboxTests.java83 "1", b.mAccountKey, b.mId, true, false, c, starred, read); in createMessage()
211 Message m1 = ProviderTestUtils.setupMessage("1", b1.mAccountKey, b1.mId, in testGetMailboxForMessageId()
213 Message m2 = ProviderTestUtils.setupMessage("1", b2.mAccountKey, b2.mId, in testGetMailboxForMessageId()
443 testMailbox.mAccountKey = 1L; in buildTestMailbox()
/packages/apps/Email/tests/src/com/android/email/
DLegacyConversionsTests.java122 localMessage.mAccountKey); in convertAndCheckcheckAddedAttachments()
125 localMessage.mAccountKey); in convertAndCheckcheckAddedAttachments()
317 assertEquals(tag, accountKey, actual.mAccountKey); in checkAttachment()
/packages/apps/Email/provider_src/com/android/email/service/
DAttachmentService.java205 mAccountId = msg.mAccountKey; in DownloadRequest()
929 final Account account = Account.restoreAccountWithId(this, att.mAccountKey); in processQueue()
1124 final long accountId = attachment.mAccountKey; in endDownload()
DEmailServiceStub.java102 final Account account = Account.restoreAccountWithId(mContext, mailbox.mAccountKey); in requestSync()
157 final Account account = Account.restoreAccountWithId(mContext, message.mAccountKey); in loadAttachment()
DPopImapSyncAdapterService.java108 Account account = Account.restoreAccountWithId(context, mailbox.mAccountKey); in sync()
DPop3Service.java84 long inboxId = Mailbox.findMailboxOfType(mContext, att.mAccountKey, Mailbox.TYPE_INBOX);
DImapService.java784 long accountKey = message.mAccountKey; in getRemoteMailboxForMessage()
/packages/apps/Email/src/com/android/email2/ui/
DMailActivityEmail.java73 final Intent viewIntent = getViewIntent(mailbox.mAccountKey, mailboxId); in onCreate()
/packages/apps/Email/src/com/android/email/
DEmailNotificationController.java395 showNotification(mailbox.mAccountKey, in showDownloadForwardFailedNotificationSynchronous()
431 showNotification(mailbox.mAccountKey, in showLoginFailedNotificationSynchronous()
/packages/apps/Email/provider_src/com/android/email/mail/
DStore.java205 mailbox.mAccountKey = accountId; in updateMailbox()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DAttachmentUtilities.java400 final long accountId = attachment.mAccountKey; in saveAttachment()
DUtility.java719 Account acct = Account.restoreAccountWithId(context, msg.mAccountKey);
/packages/apps/Email/src/com/android/email/activity/setup/
DMailboxSettings.java341 ContentUris.withAppendedId(Account.CONTENT_URI, mailbox.mAccountKey), in loadInBackground()