/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/ |
D | MailboxUtilitiesTests.java | 63 if (mAccount != null && mAccount.mId > 0) { in tearDown() 65 ContentUris.withAppendedId(Account.CONTENT_URI, mAccount.mId), null, null); in tearDown() 72 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, true, in testSetupParentKeyAndFlag() 74 Mailbox box2 = EmailContentSetupUtils.setupMailbox("box2", mAccount.mId, true, in testSetupParentKeyAndFlag() 76 Mailbox box3 = EmailContentSetupUtils.setupMailbox("box3", mAccount.mId, true, in testSetupParentKeyAndFlag() 78 Mailbox box4 = EmailContentSetupUtils.setupMailbox("box4", mAccount.mId, true, in testSetupParentKeyAndFlag() 80 Mailbox box5 = EmailContentSetupUtils.setupMailbox("box5", mAccount.mId, true, in testSetupParentKeyAndFlag() 88 String accountSelector = MailboxColumns.ACCOUNT_KEY + " IN (" + mAccount.mId + ")"; in testSetupParentKeyAndFlag() 92 box1 = Mailbox.restoreMailboxWithId(mProviderContext, box1.mId); in testSetupParentKeyAndFlag() 93 box2 = Mailbox.restoreMailboxWithId(mProviderContext, box2.mId); in testSetupParentKeyAndFlag() [all …]
|
/packages/apps/Exchange/tests/src/com/android/exchange/provider/ |
D | MailboxUtilitiesTests.java | 63 if (mAccount != null && mAccount.mId > 0) { in tearDown() 65 ContentUris.withAppendedId(Account.CONTENT_URI, mAccount.mId), null, null); in tearDown() 72 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, true, in testSetupParentKeyAndFlag() 74 Mailbox box2 = EmailContentSetupUtils.setupMailbox("box2", mAccount.mId, true, in testSetupParentKeyAndFlag() 76 Mailbox box3 = EmailContentSetupUtils.setupMailbox("box3", mAccount.mId, true, in testSetupParentKeyAndFlag() 78 Mailbox box4 = EmailContentSetupUtils.setupMailbox("box4", mAccount.mId, true, in testSetupParentKeyAndFlag() 80 Mailbox box5 = EmailContentSetupUtils.setupMailbox("box5", mAccount.mId, true, in testSetupParentKeyAndFlag() 88 String accountSelector = MailboxColumns.ACCOUNT_KEY + " IN (" + mAccount.mId + ")"; in testSetupParentKeyAndFlag() 92 box1 = Mailbox.restoreMailboxWithId(mProviderContext, box1.mId); in testSetupParentKeyAndFlag() 93 box2 = Mailbox.restoreMailboxWithId(mProviderContext, box2.mId); in testSetupParentKeyAndFlag() [all …]
|
/packages/apps/Email/tests/src/com/android/email/activity/ |
D | RecentMailboxManagerTest.java | 95 Mailbox untouchedMailbox = Mailbox.restoreMailboxWithId(mMockContext, mailbox.mId); in testTouch() 101 mManager.touch(1L, mailbox.mId).get(); in testTouch() 104 Mailbox touchedMailbox = Mailbox.restoreMailboxWithId(mMockContext, mailbox.mId); in testTouch() 113 Mailbox touchedMailbox = Mailbox.restoreMailboxWithId(mMockContext, mailbox.mId); in testTouch() 132 assertEquals(mMailboxArray[1].mId, (long) testList.get(0)); // Drafts in testGetMostRecent01() 133 assertEquals(mMailboxArray[3].mId, (long) testList.get(1)); // Sent in testGetMostRecent01() 140 mMockClock.advance(1000L); mManager.touch(1L, mMailboxArray[7].mId).get(); // costello in testGetMostRecent02() 145 assertEquals(mMailboxArray[7].mId, (long) testList.get(0)); // costello in testGetMostRecent02() 146 assertEquals(mMailboxArray[1].mId, (long) testList.get(1)); // Drafts in testGetMostRecent02() 147 assertEquals(mMailboxArray[3].mId, (long) testList.get(2)); // Sent in testGetMostRecent02() [all …]
|
D | AccountSelectorAdapterTest.java | 89 final Mailbox m1 = ProviderTestUtils.setupMailbox("Inbox", a1.mId, true, context, in testCursorWithExtras_setAccountMailboxInfo() 91 final Mailbox m2 = ProviderTestUtils.setupMailbox("box2", a2.mId, true, context, in testCursorWithExtras_setAccountMailboxInfo() 100 c.setAccountMailboxInfo(context, a1.mId, Mailbox.NO_MAILBOX); in testCursorWithExtras_setAccountMailboxInfo() 103 assertEquals(a1.mId, c.getAccountId()); in testCursorWithExtras_setAccountMailboxInfo() 111 c.setAccountMailboxInfo(context, a1.mId, m1.mId); in testCursorWithExtras_setAccountMailboxInfo() 114 assertEquals(a1.mId, c.getAccountId()); in testCursorWithExtras_setAccountMailboxInfo() 116 assertEquals(m1.mId, c.getMailboxId()); in testCursorWithExtras_setAccountMailboxInfo() 122 c.setAccountMailboxInfo(context, a2.mId, m2.mId); in testCursorWithExtras_setAccountMailboxInfo() 125 assertEquals(a2.mId, c.getAccountId()); in testCursorWithExtras_setAccountMailboxInfo() 127 assertEquals(m2.mId, c.getMailboxId()); in testCursorWithExtras_setAccountMailboxInfo() [all …]
|
D | MailboxFragmentAdapterTest.java | 54 Mailbox b1i = ProviderTestUtils.setupMailbox("box1i", a1.mId, true, c, Mailbox.TYPE_INBOX); in testBuildCombinedMailboxes() 55 Mailbox b2i = ProviderTestUtils.setupMailbox("box2i", a2.mId, true, c, Mailbox.TYPE_INBOX); in testBuildCombinedMailboxes() 56 Mailbox b3i = ProviderTestUtils.setupMailbox("box3i", a3.mId, true, c, Mailbox.TYPE_INBOX); in testBuildCombinedMailboxes() 57 Mailbox b1o = ProviderTestUtils.setupMailbox("box1i", a1.mId, true, c, Mailbox.TYPE_OUTBOX); in testBuildCombinedMailboxes() 58 Mailbox b2o = ProviderTestUtils.setupMailbox("box2i", a2.mId, true, c, Mailbox.TYPE_OUTBOX); in testBuildCombinedMailboxes() 59 Mailbox b1d = ProviderTestUtils.setupMailbox("box1d", a1.mId, true, c, Mailbox.TYPE_DRAFTS); in testBuildCombinedMailboxes() 60 Mailbox b2d = ProviderTestUtils.setupMailbox("box2d", a2.mId, true, c, Mailbox.TYPE_DRAFTS); in testBuildCombinedMailboxes() 61 Mailbox b1t = ProviderTestUtils.setupMailbox("box1t", a1.mId, true, c, Mailbox.TYPE_TRASH); in testBuildCombinedMailboxes() 62 Mailbox b2t = ProviderTestUtils.setupMailbox("box2t", a2.mId, true, c, Mailbox.TYPE_TRASH); in testBuildCombinedMailboxes() 108 "1", b.mAccountKey, b.mId, true, false, c, starred, read); in createMessage()
|
D | MessagesAdapterTests.java | 48 acct.mHostAuthKeyRecv = acct.mHostAuthRecv.mId; in createAccount() 50 return acct.mId; in createAccount() 57 return box.mId; in createMailbox() 76 assertEquals(accountId, result.mAccount.mId); in testLoad() 77 assertEquals(mailboxId, result.mMailbox.mId); in testLoad() 91 assertEquals(accountId, result.mAccount.mId); in testLoadEas() 92 assertEquals(mailboxId, result.mMailbox.mId); in testLoadEas() 106 assertEquals(accountId, result.mAccount.mId); in testLoadNotRefreshable() 107 assertEquals(mailboxId, result.mMailbox.mId); in testLoadNotRefreshable()
|
/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
D | MailboxTests.java | 81 "1", b.mAccountKey, b.mId, true, false, c, starred, read); in createMessage() 98 long account1Id = account1.mId; in testSave() 100 long box1Id = box1.mId; in testSave() 114 long account1Id = account1.mId; in testDelete() 116 long box1Id = box1.mId; in testDelete() 118 long box2Id = box2.mId; in testDelete() 148 Mailbox bi = ProviderTestUtils.setupMailbox("b1", a.mId, true, c, Mailbox.TYPE_INBOX); in testGetMailboxType() 149 Mailbox bm = ProviderTestUtils.setupMailbox("b2", a.mId, true, c, Mailbox.TYPE_MAIL); in testGetMailboxType() 151 assertEquals(Mailbox.TYPE_INBOX, Mailbox.getMailboxType(c, bi.mId)); in testGetMailboxType() 152 assertEquals(Mailbox.TYPE_MAIL, Mailbox.getMailboxType(c, bm.mId)); in testGetMailboxType() [all …]
|
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
D | UtilityUnitTests.java | 294 Mailbox mailbox = ProviderTestUtils.setupMailbox("box", account.mId, true, providerContext); in testGetContentFileName() 297 Attachment att = ProviderTestUtils.setupAttachment(mailbox.mId, "name", 123, true, in testGetContentFileName() 299 long attachmentId = att.mId; in testGetContentFileName() 300 Uri uri = AttachmentUtilities.getAttachmentUri(account.mId, attachmentId); in testGetContentFileName() 306 Uri notExistUri = AttachmentUtilities.getAttachmentUri(account.mId, 123456789); in testGetContentFileName() 325 Mailbox mailbox1_1 = ProviderTestUtils.setupMailbox("mbox1_1", account1.mId, true, in testUpdateLastSeenMessageKey() 327 Mailbox mailbox1_2 = ProviderTestUtils.setupMailbox("mbox1_2", account1.mId, true, in testUpdateLastSeenMessageKey() 329 Mailbox mailbox1_3 = ProviderTestUtils.setupMailbox("mbox1_3", account1.mId, true, in testUpdateLastSeenMessageKey() 331 Mailbox mailbox1_4 = ProviderTestUtils.setupMailbox("mbox1_4", account1.mId, true, in testUpdateLastSeenMessageKey() 333 Mailbox mailbox1_5 = ProviderTestUtils.setupMailbox("mbox1_5", account1.mId, true, in testUpdateLastSeenMessageKey() [all …]
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | AttachmentProviderTests.java | 105 Uri attachment1Uri = AttachmentUtilities.getAttachmentUri(account1.mId, in testQuery() 107 Uri attachment2Uri = AttachmentUtilities.getAttachmentUri(account1.mId, in testQuery() 109 Uri attachment3Uri = AttachmentUtilities.getAttachmentUri(account1.mId, in testQuery() 121 AttachmentUtilities.getAttachmentUri(account1.mId, attachment1Id).toString(); in testQuery() 128 AttachmentUtilities.getAttachmentUri(account1.mId, attachment2Id).toString(); in testQuery() 135 AttachmentUtilities.getAttachmentUri(account1.mId, attachment3Id).toString(); in testQuery() 140 attachment2Uri = AttachmentUtilities.getAttachmentUri(account1.mId, attachment2Id); in testQuery() 156 attachment3Uri = AttachmentUtilities.getAttachmentUri(account1.mId, attachment3Id); in testQuery() 173 Message m = ProviderTestUtils.setupMessage("1", b.mAccountKey, b.mId, true, false, c, false, in createMessage() 187 "box1", a1.mId, true, mMockContext, Mailbox.TYPE_INBOX); in testInboxQuery() [all …]
|
/packages/apps/Email/tests/src/com/android/email/ |
D | ControllerProviderOpsTests.java | 151 long accountId = account.mId; in testFindOrCreateMailboxOfType() 156 long boxId = box.mId; in testFindOrCreateMailboxOfType() 182 long account1Id = account1.mId; in testMoveMessage() 184 long box1Id = box1.mId; in testMoveMessage() 186 long box2Id = box2.mId; in testMoveMessage() 188 long boxDestId = boxDest.mId; in testMoveMessage() 194 long message1Id = message1.mId; in testMoveMessage() 195 long message2Id = message2.mId; in testMoveMessage() 214 long account1Id = account1.mId; in testDeleteMessage() 216 long boxId = box.mId; in testDeleteMessage() [all …]
|
D | NotificationControllerTest.java | 213 Mailbox b1 = ProviderTestUtils.setupMailbox("inbox", a1.mId, true, c, Mailbox.TYPE_INBOX); in testCreateNewMessageNotification() 214 Message m1 = ProviderTestUtils.setupMessage("message", a1.mId, b1.mId, true, true, c); in testCreateNewMessageNotification() 216 n = mTarget.createNewMessageNotification(a1.mId, b1.mId, null, m1.mId, 1, 1); in testCreateNewMessageNotification() 226 n = mTarget.createNewMessageNotification(a1.mId, b1.mId, null, m1.mId, 2, 2); in testCreateNewMessageNotification() 244 Mailbox b1 = ProviderTestUtils.setupMailbox("inbox", a1.mId, true, c, Mailbox.TYPE_INBOX); in testCreateNewMessageNotificationWithEmptyFrom() 245 Message m1 = ProviderTestUtils.setupMessage("message", a1.mId, b1.mId, true, false, c); in testCreateNewMessageNotificationWithEmptyFrom() 250 n = mTarget.createNewMessageNotification(a1.mId, b1.mId, null, m1.mId, 1, 1); in testCreateNewMessageNotificationWithEmptyFrom()
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/ |
D | ExchangeServiceAccountTests.java | 51 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", acct1.mId, true, in testReleaseSyncHolds() 53 Mailbox box2 = EmailContentSetupUtils.setupMailbox("box2", acct1.mId, true, in testReleaseSyncHolds() 56 Mailbox box3 = EmailContentSetupUtils.setupMailbox("box3", acct2.mId, true, in testReleaseSyncHolds() 58 Mailbox box4 = EmailContentSetupUtils.setupMailbox("box4", acct2.mId, true, in testReleaseSyncHolds() 63 errorMap.put(box1.mId, securityErrorAccount1); in testReleaseSyncHolds() 64 errorMap.put(box2.mId, ioError); in testReleaseSyncHolds() 65 errorMap.put(box3.mId, securityErrorAccount2); in testReleaseSyncHolds() 66 errorMap.put(box4.mId, securityErrorAccount2); in testReleaseSyncHolds() 75 assertNotNull(errorMap.get(box2.mId)); in testReleaseSyncHolds() 76 assertNotNull(errorMap.get(box1.mId)); in testReleaseSyncHolds() [all …]
|
/packages/apps/Exchange/tests/src/com/android/exchange/ |
D | ExchangeServiceAccountTests.java | 51 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", acct1.mId, true, in testReleaseSyncHolds() 53 Mailbox box2 = EmailContentSetupUtils.setupMailbox("box2", acct1.mId, true, in testReleaseSyncHolds() 56 Mailbox box3 = EmailContentSetupUtils.setupMailbox("box3", acct2.mId, true, in testReleaseSyncHolds() 58 Mailbox box4 = EmailContentSetupUtils.setupMailbox("box4", acct2.mId, true, in testReleaseSyncHolds() 63 errorMap.put(box1.mId, securityErrorAccount1); in testReleaseSyncHolds() 64 errorMap.put(box2.mId, ioError); in testReleaseSyncHolds() 65 errorMap.put(box3.mId, securityErrorAccount2); in testReleaseSyncHolds() 66 errorMap.put(box4.mId, securityErrorAccount2); in testReleaseSyncHolds() 75 assertNotNull(errorMap.get(box2.mId)); in testReleaseSyncHolds() 76 assertNotNull(errorMap.get(box1.mId)); in testReleaseSyncHolds() [all …]
|
/packages/apps/Email/tests/src/com/android/email/service/ |
D | AttachmentDownloadServiceTests.java | 64 mAccountId = mAccount.mId; in setUp() 67 mMailboxId = mMailbox.mId; in setUp() 97 Attachment att1 = ProviderTestUtils.setupAttachment(message.mId, "filename1", 1000, in testDownloadSet() 99 Attachment att2 = ProviderTestUtils.setupAttachment(message.mId, "filename2", 1000, in testDownloadSet() 101 Attachment att3 = ProviderTestUtils.setupAttachment(message.mId, "filename3", 1000, in testDownloadSet() 103 Attachment att4 = ProviderTestUtils.setupAttachment(message.mId, "filename4", 1000, in testDownloadSet() 113 long[] expectedAttachmentIds = new long[] {att1.mId, att4.mId, att2.mId, att3.mId}; in testDownloadSet() 123 DownloadRequest req = mDownloadSet.findDownloadRequest(att1.mId); in testDownloadSet() 126 assertTrue(mDownloadSet.mDownloadsInProgress.containsKey(att1.mId)); in testDownloadSet() 131 mDownloadSet.endDownload(att1.mId, EmailServiceStatus.CONNECTION_ERROR); in testDownloadSet() [all …]
|
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/ |
D | EmailSyncAdapterTests.java | 107 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, true, in testSendDeletedItems() 112 Message msg1 = EmailContentSetupUtils.setupMessage("message1", mAccount.mId, box1.mId, in testSendDeletedItems() 114 ids.add(msg1.mId); in testSendDeletedItems() 115 Message msg2 = EmailContentSetupUtils.setupMessage("message2", mAccount.mId, box1.mId, in testSendDeletedItems() 117 ids.add(msg2.mId); in testSendDeletedItems() 118 Message msg3 = EmailContentSetupUtils.setupMessage("message3", mAccount.mId, box1.mId, in testSendDeletedItems() 120 ids.add(msg3.mId); in testSendDeletedItems() 122 getAccountArgument(mAccount.mId))); in testSendDeletedItems() 132 getAccountArgument(mAccount.mId))); in testSendDeletedItems() 134 WHERE_ACCOUNT_KEY, getAccountArgument(mAccount.mId))); in testSendDeletedItems() [all …]
|
D | FolderSyncParserTests.java | 63 Mailbox boxMailType = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, false, in testIsValidMailFolder() 69 Mailbox boxCalendarType = EmailContentSetupUtils.setupMailbox("box", mAccount.mId, false, in testIsValidMailFolder() 71 Mailbox boxContactsType = EmailContentSetupUtils.setupMailbox("box", mAccount.mId, false, in testIsValidMailFolder() 73 Mailbox boxTasksType = EmailContentSetupUtils.setupMailbox("box", mAccount.mId, false, in testIsValidMailFolder() 81 Mailbox boxUnknownType = EmailContentSetupUtils.setupMailbox("box", mAccount.mId, false, in testIsValidMailFolder() 100 Mailbox boxParentUnknownType = EmailContentSetupUtils.setupMailbox("box", mAccount.mId, in testIsValidMailFolder() 119 Mailbox box = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, false, in setupBoxSync() 145 parser.mAccountId = mAccount.mId; in testSaveAndRestoreMailboxSyncOptions() 146 parser.mAccountIdAsString = Long.toString(mAccount.mId); in testSaveAndRestoreMailboxSyncOptions() 198 box1x = Mailbox.restoreMailboxWithId(mProviderContext, box1x.mId); in testSaveAndRestoreMailboxSyncOptions() [all …]
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/ |
D | EmailSyncAdapterTests.java | 107 Mailbox box1 = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, true, in testSendDeletedItems() 112 Message msg1 = EmailContentSetupUtils.setupMessage("message1", mAccount.mId, box1.mId, in testSendDeletedItems() 114 ids.add(msg1.mId); in testSendDeletedItems() 115 Message msg2 = EmailContentSetupUtils.setupMessage("message2", mAccount.mId, box1.mId, in testSendDeletedItems() 117 ids.add(msg2.mId); in testSendDeletedItems() 118 Message msg3 = EmailContentSetupUtils.setupMessage("message3", mAccount.mId, box1.mId, in testSendDeletedItems() 120 ids.add(msg3.mId); in testSendDeletedItems() 122 getAccountArgument(mAccount.mId))); in testSendDeletedItems() 132 getAccountArgument(mAccount.mId))); in testSendDeletedItems() 134 WHERE_ACCOUNT_KEY, getAccountArgument(mAccount.mId))); in testSendDeletedItems() [all …]
|
D | FolderSyncParserTests.java | 63 Mailbox boxMailType = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, false, in testIsValidMailFolder() 69 Mailbox boxCalendarType = EmailContentSetupUtils.setupMailbox("box", mAccount.mId, false, in testIsValidMailFolder() 71 Mailbox boxContactsType = EmailContentSetupUtils.setupMailbox("box", mAccount.mId, false, in testIsValidMailFolder() 73 Mailbox boxTasksType = EmailContentSetupUtils.setupMailbox("box", mAccount.mId, false, in testIsValidMailFolder() 81 Mailbox boxUnknownType = EmailContentSetupUtils.setupMailbox("box", mAccount.mId, false, in testIsValidMailFolder() 100 Mailbox boxParentUnknownType = EmailContentSetupUtils.setupMailbox("box", mAccount.mId, in testIsValidMailFolder() 119 Mailbox box = EmailContentSetupUtils.setupMailbox("box1", mAccount.mId, false, in setupBoxSync() 145 parser.mAccountId = mAccount.mId; in testSaveAndRestoreMailboxSyncOptions() 146 parser.mAccountIdAsString = Long.toString(mAccount.mId); in testSaveAndRestoreMailboxSyncOptions() 198 box1x = Mailbox.restoreMailboxWithId(mProviderContext, box1x.mId); in testSaveAndRestoreMailboxSyncOptions() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | StreamItemPhotoEntry.java | 29 private final long mId; field in StreamItemPhotoEntry 39 mId = id; in StreamItemPhotoEntry() 51 mId = getLong(cursor, StreamItemPhotos._ID); in StreamItemPhotoEntry() 61 return mId; in getId() 95 return mId == streamItemPhotoEntry.mId ? 0 in compareTo() 96 : mId < streamItemPhotoEntry.mId ? -1 : 1; in compareTo()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppService.java | 436 mShares.get(arrayPos).mId + " @ " + arrayPos); in run() 462 int arrayId = mShares.get(arrayPos).mId; in run() 538 Log.v(TAG, "ID : " + info.mId); in insertShare() 559 Constants.updateShareStatus(this, info.mId, BluetoothShare.STATUS_UNKNOWN_ERROR); in insertShare() 578 Log.e(TAG, "Can't open file for OUTBOUND info " + info.mId); in insertShare() 579 Constants.updateShareStatus(this, info.mId, BluetoothShare.STATUS_BAD_REQUEST); in insertShare() 582 Log.e(TAG, "Exception:" + e.toString() + " for OUTBOUND info " + info.mId); in insertShare() 583 Constants.updateShareStatus(this, info.mId, BluetoothShare.STATUS_BAD_REQUEST); in insertShare() 590 Log.e(TAG, "IO error when close file for OUTBOUND info " + info.mId); in insertShare() 596 newBatch.mId = mBatchId; in insertShare() [all …]
|
D | BluetoothOppBatch.java | 66 public int mId; field in BluetoothOppBatch 115 if (V) Log.v(TAG, "New Batch created for info " + info.mId); in BluetoothOppBatch() 128 mListener.onShareAdded(info.mId); in addShare() 147 mListener.onShareDeleted(info.mId); in deleteShare() 159 if (V) Log.v(TAG, "batch " + this.mId + " is canceled"); in cancelBatch() 172 if (V) Log.v(TAG, "Cancel batch for info " + info.mId); in cancelBatch() 174 Constants.updateShareStatus(mContext, info.mId, BluetoothShare.STATUS_CANCELED); in cancelBatch()
|
/packages/apps/Email/src/com/android/email/ |
D | AttachmentInfo.java | 68 public final long mId; field in AttachmentInfo 85 this(context, attachment.mId, attachment.mSize, attachment.mFileName, attachment.mMimeType, in AttachmentInfo() 96 this(context, info.mId, info.mSize, info.mName, info.mContentType, info.mAccountKey, in AttachmentInfo() 105 mId = id; in AttachmentInfo() 203 Uri contentUri = AttachmentUtilities.getAttachmentUri(accountId, mId); in getUriForIntent() 222 return (int) (mId ^ (mId >>> 32)); in hashCode() 235 return ((AttachmentInfo) o).mId == mId; in equals() 240 return "{Attachment " + mId + ":" + mName + "," + mContentType + "," + mSize + "}"; in toString()
|
D | MessagingController.java | 277 new String[] { String.valueOf(account.mId) }, in listFolders() 337 mListeners.synchronizeMailboxStarted(account.mId, folder.mId); in synchronizeMailbox() 355 mListeners.synchronizeMailboxStarted(account.mId, folder.mId); in synchronizeMailboxSynchronous() 358 mListeners.synchronizeMailboxFinished(account.mId, folder.mId, 0, 0, null); in synchronizeMailboxSynchronous() 369 mListeners.synchronizeMailboxFinished(account.mId, folder.mId, in synchronizeMailboxSynchronous() 374 nc.cancelLoginFailedNotification(account.mId); in synchronizeMailboxSynchronous() 381 nc.showLoginFailedNotification(account.mId); in synchronizeMailboxSynchronous() 383 mListeners.synchronizeMailboxFailed(account.mId, folder.mId, e); in synchronizeMailboxSynchronous() 406 final long mId; field in MessagingController.LocalMessageInfo 414 mId = c.getLong(COLUMN_ID); in LocalMessageInfo() [all …]
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadHandler.java | 43 if (!mDownloadsQueue.containsKey(info.mId)) { in enqueueDownload() 45 Log.i(TAG, "enqueued download. id: " + info.mId + ", uri: " + info.mUri); in enqueueDownload() 47 mDownloadsQueue.put(info.mId, info); in enqueueDownload() 74 synchronized void dequeueDownload(long mId) { in dequeueDownload() argument 75 mDownloadsInProgress.remove(mId); in dequeueDownload() 93 Log.i(TAG, "** progress: " + info.mId + ", " + info.mUri); in WaitUntilDownloadsTerminate() 96 Log.i(TAG, "** in Q: " + info.mId + ", " + info.mUri); in WaitUntilDownloadsTerminate()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | AbstractPublicApiTest.java | 37 final long mId; field in AbstractPublicApiTest.Download 40 this.mId = downloadId; in Download() 48 Cursor cursor = mManager.query(new DownloadManager.Query().setFilterById(mId)); in getStatusIfExists() 64 Cursor cursor = mManager.query(new DownloadManager.Query().setFilterById(mId)); in getStringField() 75 Cursor cursor = mManager.query(new DownloadManager.Query().setFilterById(mId)); in getLongField() 86 ParcelFileDescriptor downloadedFile = mManager.openDownloadedFile(mId); in getContents() 128 Cursor cursor = mManager.query(new DownloadManager.Query().setFilterById(mId)); in runUntilProgress()
|