Searched refs:AttachmentProvider (Results 1 - 10 of 10) sorted by relevance
/packages/apps/Email/tests/src/com/android/email/provider/ |
H A D | AttachmentProviderTests.java | 22 import com.android.email.provider.AttachmentProvider.AttachmentProviderColumns; 51 public class AttachmentProviderTests extends ProviderTestCase2<AttachmentProvider> { 54 * This switch will enable us to transition these tests, and the AttachmentProvider, from the 66 super(AttachmentProvider.class, AttachmentProvider.AUTHORITY); 98 assertEquals(0, mMockResolver.delete(AttachmentProvider.CONTENT_URI, null, null)); 99 assertEquals(0, mMockResolver.update(AttachmentProvider.CONTENT_URI, null, null, null)); 100 assertEquals(null, mMockResolver.insert(AttachmentProvider.CONTENT_URI, null)); 122 Uri attachment1Uri = AttachmentProvider.getAttachmentUri(account1.mId, attachment1Id); 123 Uri attachment2Uri = AttachmentProvider [all...] |
/packages/apps/Email/src/com/android/email/mail/internet/ |
H A D | EmailHtmlUtil.java | 23 import com.android.email.provider.AttachmentProvider; 39 * Resolve content-id reference in src attribute of img tag to AttachmentProvider's 63 AttachmentProvider.getAttachmentUri(accountId, attachment.getAttachmentId()); 65 AttachmentProvider.resolveAttachmentIdToContentUri(resolver, attachmentUri);
|
/packages/apps/Email/tests/src/com/android/email/mail/ |
H A D | MessageTestUtils.java | 26 import com.android.email.provider.AttachmentProvider; 62 * Generate AttachmentProvider content URI from attachment ID and Account. 66 * @return AttachmentProvider content URI 69 return AttachmentProvider.getAttachmentUri(account.mId, attachmentId);
|
/packages/apps/Email/src/com/android/exchange/adapter/ |
H A D | FolderSyncParser.java | 20 import com.android.email.provider.AttachmentProvider; 166 AttachmentProvider.deleteAllMailboxAttachmentFiles(mContext,
|
H A D | EmailSyncAdapter.java | 24 import com.android.email.provider.AttachmentProvider; 541 AttachmentProvider.deleteAllAttachmentFiles(mContext, mAccount.mId, id);
|
/packages/apps/Email/src/com/android/email/provider/ |
H A D | AttachmentProvider.java | 67 public class AttachmentProvider extends ContentProvider { class in inherits:ContentProvider 413 new String[] { AttachmentProvider.AttachmentProviderColumns.DATA }, 422 Email.log("AttachmentProvider: attachment with null contentUri");
|
/packages/apps/Email/src/com/android/email/ |
H A D | Controller.java | 22 import com.android.email.provider.AttachmentProvider; 611 AttachmentProvider.deleteAllAttachmentFiles(mProviderContext, accountId, messageId); 735 * by the AttachmentProvider. 746 File saveToFile = AttachmentProvider.getAttachmentFilename(mProviderContext, 772 AttachmentProvider.getAttachmentUri(accountId, attachmentId).toString());
|
H A D | LegacyConversions.java | 34 import com.android.email.provider.AttachmentProvider; 443 File saveIn = AttachmentProvider.getAttachmentDirectory(context, accountId); 447 File saveAs = AttachmentProvider.getAttachmentFilename(context, accountId, 456 String contentUriString = AttachmentProvider.getAttachmentUri(
|
H A D | MessagingController.java | 35 import com.android.email.provider.AttachmentProvider; 303 AttachmentProvider.deleteAllMailboxAttachmentFiles( 728 AttachmentProvider.deleteAllAttachmentFiles(mContext, account.mId, infoToDelete.mId); 1817 File saveToFile = AttachmentProvider.getAttachmentFilename(mContext, accountId, 1907 File cacheDir = AttachmentProvider.getAttachmentDirectory(mContext, accountId); 2009 AttachmentProvider.deleteAllAttachmentFiles(mContext, account.mId, messageId);
|
/packages/apps/Email/src/com/android/email/activity/ |
H A D | MessageView.java | 29 import com.android.email.provider.AttachmentProvider; 952 AttachmentProvider.getAttachmentThumbnailUri( 1008 AttachmentProvider.inferMimeType(attachment.mFileName, attachment.mMimeType); 1620 Uri attachmentUri = AttachmentProvider.getAttachmentUri(mAccountId, attachment.mId); 1622 AttachmentProvider.resolveAttachmentIdToContentUri(getContentResolver(), attachmentUri);
|
Completed in 363 milliseconds