Searched refs:AttachmentProvider (Results 1 - 10 of 10) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/provider/
H A DAttachmentProviderTests.java22 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 DEmailHtmlUtil.java23 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 DMessageTestUtils.java26 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 DFolderSyncParser.java20 import com.android.email.provider.AttachmentProvider;
166 AttachmentProvider.deleteAllMailboxAttachmentFiles(mContext,
H A DEmailSyncAdapter.java24 import com.android.email.provider.AttachmentProvider;
541 AttachmentProvider.deleteAllAttachmentFiles(mContext, mAccount.mId, id);
/packages/apps/Email/src/com/android/email/provider/
H A DAttachmentProvider.java67 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 DController.java22 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 DLegacyConversions.java34 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 DMessagingController.java35 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 DMessageView.java29 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