Home | History | Annotate | Download | only in service

Lines Matching refs:att1

97         Attachment att1 = ProviderTestUtils.setupAttachment(message.mId, "filename1", 1000,
106 mDownloadSet.onChange(mMockContext, att1);
113 long[] expectedAttachmentIds = new long[] {att1.mId, att4.mId, att2.mId, att3.mId};
123 DownloadRequest req = mDownloadSet.findDownloadRequest(att1.mId);
126 assertTrue(mDownloadSet.mDownloadsInProgress.containsKey(att1.mId));
131 mDownloadSet.endDownload(att1.mId, EmailServiceStatus.CONNECTION_ERROR);
136 // Things should be as they were earlier; att1 should be an in-progress download
137 req = mDownloadSet.findDownloadRequest(att1.mId);
140 assertTrue(mDownloadSet.mDownloadsInProgress.containsKey(att1.mId));
142 // att1 should no longer be in the queue
143 mDownloadSet.endDownload(att1.mId, EmailServiceStatus.SUCCESS);
145 assertNull(mDownloadSet.findDownloadRequest(att1.mId));