HomeSort by relevance Sort by last modified time
    Searched refs:EmailContent (Results 1 - 25 of 105) sorted by null

1 2 3 4 5

  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
QuickResponse.java 22 import com.android.emailcommon.provider.EmailContent.QuickResponseColumns;
28 public abstract class QuickResponse extends EmailContent
35 CONTENT_URI = Uri.parse(EmailContent.CONTENT_URI + "/quickresponse");
36 ACCOUNT_ID_URI = Uri.parse(EmailContent.CONTENT_URI + "/quickresponse/account");
  /packages/apps/Exchange/src/com/android/exchange/
Exchange.java 21 import com.android.emailcommon.provider.EmailContent;
33 EmailContent.init(this);
34 getContentResolver().call(EmailContent.CONTENT_URI, MailboxUtilities.FIX_PARENT_KEYS_METHOD,
ExchangeBroadcastReceiver.java 15 import com.android.emailcommon.provider.EmailContent;
30 if (!ContentResolver.getSyncAutomatically(account, EmailContent.AUTHORITY) &&
37 ContentResolver.requestSync(account, EmailContent.AUTHORITY, bundle);
  /packages/apps/Exchange/src/com/android/exchange/service/
AbstractSyncAdapterService.java 24 import com.android.emailcommon.provider.EmailContent;
39 // Make sure EmailContent is initialized in Exchange app
40 EmailContent.init(this);
ContactsSyncAdapterService.java 32 import com.android.emailcommon.provider.EmailContent;
33 import com.android.emailcommon.provider.EmailContent.MailboxColumns;
80 Cursor c = resolver.query(uri, EmailContent.ID_PROJECTION, dirtyColumn + "=1", null, null);
138 ContentResolver.requestSync(account, EmailContent.AUTHORITY, mailExtras);
  /packages/apps/Email/src/com/android/email/provider/
Utilities.java 32 import com.android.emailcommon.provider.EmailContent;
33 import com.android.emailcommon.provider.EmailContent.Attachment;
34 import com.android.emailcommon.provider.EmailContent.MessageColumns;
35 import com.android.emailcommon.provider.EmailContent.SyncColumns;
52 * EmailContent.Message.LOADED)
56 EmailContent.Message localMessage = null;
60 EmailContent.Message.CONTENT_URI,
61 EmailContent.Message.CONTENT_PROJECTION,
62 EmailContent.MessageColumns.ACCOUNT_KEY + "=?" +
74 localMessage = EmailContent.getContent(c, EmailContent.Message.class)
    [all...]
DBHelper.java 35 import com.android.emailcommon.provider.EmailContent;
36 import com.android.emailcommon.provider.EmailContent.AccountColumns;
37 import com.android.emailcommon.provider.EmailContent.Attachment;
38 import com.android.emailcommon.provider.EmailContent.AttachmentColumns;
39 import com.android.emailcommon.provider.EmailContent.Body;
40 import com.android.emailcommon.provider.EmailContent.BodyColumns;
41 import com.android.emailcommon.provider.EmailContent.HostAuthColumns;
42 import com.android.emailcommon.provider.EmailContent.MailboxColumns;
43 import com.android.emailcommon.provider.EmailContent.Message;
44 import com.android.emailcommon.provider.EmailContent.MessageColumns
    [all...]
  /packages/apps/Exchange/src/com/android/exchange/adapter/
EmailSyncParser.java 29 import com.android.emailcommon.provider.EmailContent;
56 private static final String WHERE_SERVER_ID_AND_MAILBOX_KEY = EmailContent.SyncColumns.SERVER_ID
57 + "=? and " + EmailContent.MessageColumns.MAILBOX_KEY + "=?";
61 private final ArrayList<EmailContent.Message>
62 newEmails = new ArrayList<EmailContent.Message>();
63 private final ArrayList<EmailContent.Message> fetchedEmails =
64 new ArrayList<EmailContent.Message>();
71 new String[] { EmailContent.Message.RECORD_ID, EmailContent.MessageColumns.SUBJECT };
130 public void addData(EmailContent.Message msg, int endingTag) throws IOException
    [all...]
  /packages/apps/Email/tests/src/com/android/emailcommon/utility/
UtilityMediumTests.java 28 import com.android.emailcommon.provider.EmailContent;
29 import com.android.emailcommon.provider.EmailContent.Attachment;
30 import com.android.emailcommon.provider.EmailContent.Message;
52 super(EmailProvider.class, EmailContent.AUTHORITY);
157 mMockContext, Account.CONTENT_URI, EmailContent.ID_PROJECTION,
160 EmailContent.ID_PROJECTION_COLUMN));
163 mMockContext, Account.CONTENT_URI, EmailContent.ID_PROJECTION,
166 EmailContent.ID_PROJECTION_COLUMN));
170 mMockContext, Account.CONTENT_URI, EmailContent.ID_PROJECTION,
173 EmailContent.ID_PROJECTION_COLUMN))
    [all...]
  /packages/apps/Email/tests/src/com/android/email/provider/
AccountBackupRestoreTests.java 27 import com.android.emailcommon.provider.EmailContent;
43 super(EmailProvider.class, EmailContent.AUTHORITY);
100 assertEquals(2, EmailContent.count(mMockContext, Account.CONTENT_URI));
101 assertEquals(4, EmailContent.count(mMockContext, HostAuth.CONTENT_URI));
112 assertEquals(0, EmailContent.count(mMockContext, Account.CONTENT_URI));
113 assertEquals(0, EmailContent.count(mMockContext, HostAuth.CONTENT_URI));
121 assertEquals(2, EmailContent.count(mMockContext, Account.CONTENT_URI));
122 assertEquals(4, EmailContent.count(mMockContext, HostAuth.CONTENT_URI));
PolicyTests.java 27 import com.android.emailcommon.provider.EmailContent;
28 import com.android.emailcommon.provider.EmailContent.Attachment;
29 import com.android.emailcommon.provider.EmailContent.AttachmentColumns;
30 import com.android.emailcommon.provider.EmailContent.Message;
52 super(EmailProvider.class, EmailContent.AUTHORITY);
95 assertEquals(0, EmailContent.count(mMockContext, Policy.CONTENT_URI));
112 assertEquals(0, EmailContent.count(mMockContext, Policy.CONTENT_URI));
148 assertEquals(4, EmailContent.count(mMockContext, Attachment.CONTENT_URI));
150 assertEquals(0, EmailContent.count(mMockContext, Attachment.CONTENT_URI,
155 assertEquals(4, EmailContent.count(mMockContext, Attachment.CONTENT_URI
    [all...]
ProviderTests.java 39 import com.android.emailcommon.provider.EmailContent;
40 import com.android.emailcommon.provider.EmailContent.AccountColumns;
41 import com.android.emailcommon.provider.EmailContent.Attachment;
42 import com.android.emailcommon.provider.EmailContent.AttachmentColumns;
43 import com.android.emailcommon.provider.EmailContent.Body;
44 import com.android.emailcommon.provider.EmailContent.BodyColumns;
45 import com.android.emailcommon.provider.EmailContent.MailboxColumns;
46 import com.android.emailcommon.provider.EmailContent.Message;
47 import com.android.emailcommon.provider.EmailContent.MessageColumns;
48 import com.android.emailcommon.provider.EmailContent.PolicyColumns
    [all...]
  /packages/apps/Email/src/com/android/email/service/
EmailServiceStub.java 47 import com.android.emailcommon.provider.EmailContent;
48 import com.android.emailcommon.provider.EmailContent.Attachment;
49 import com.android.emailcommon.provider.EmailContent.AttachmentColumns;
50 import com.android.emailcommon.provider.EmailContent.Body;
51 import com.android.emailcommon.provider.EmailContent.BodyColumns;
52 import com.android.emailcommon.provider.EmailContent.MailboxColumns;
53 import com.android.emailcommon.provider.EmailContent.MessageColumns;
116 ContentResolver.requestSync(acct, EmailContent.AUTHORITY, extras);
136 final EmailContent.Message message =
137 EmailContent.Message.restoreMessageWithId(mContext, attachment.mMessageKey)
    [all...]
ImapService.java 53 import com.android.emailcommon.provider.EmailContent;
54 import com.android.emailcommon.provider.EmailContent.MailboxColumns;
55 import com.android.emailcommon.provider.EmailContent.MessageColumns;
56 import com.android.emailcommon.provider.EmailContent.SyncColumns;
179 EmailContent.RECORD_ID, MessageColumns.FLAG_READ, MessageColumns.FLAG_FAVORITE,
242 EmailContent.Message.FLAG_LOADED_COMPLETE);
270 EmailContent.Message localMessage;
272 localMessage = new EmailContent.Message();
274 localMessage = EmailContent.Message.restoreMessageWithId(
356 localOldestCursor = resolver.query(EmailContent.Message.CONTENT_URI
    [all...]
Pop3Service.java 44 import com.android.emailcommon.provider.EmailContent;
45 import com.android.emailcommon.provider.EmailContent.Attachment;
46 import com.android.emailcommon.provider.EmailContent.AttachmentColumns;
47 import com.android.emailcommon.provider.EmailContent.Message;
48 import com.android.emailcommon.provider.EmailContent.MessageColumns;
49 import com.android.emailcommon.provider.EmailContent.SyncColumns;
140 EmailContent.RECORD_ID, MessageColumns.FLAG_LOADED, SyncColumns.SERVER_ID
180 int flag = EmailContent.Message.FLAG_LOADED_COMPLETE;
187 flag = EmailContent.Message.FLAG_LOADED_PARTIAL;
243 EmailContent.Message.CONTENT_URI
    [all...]
  /packages/apps/Email/emailsync/src/com/android/emailsync/
PartRequest.java 20 import com.android.emailcommon.provider.EmailContent.Attachment;
EmailSyncAlarmReceiver.java 26 import com.android.emailcommon.provider.EmailContent.Message;
27 import com.android.emailcommon.provider.EmailContent.MessageColumns;
  /packages/apps/Email/tests/src/com/android/emailcommon/provider/
QuickResponseTests.java 37 super(EmailProvider.class, EmailContent.AUTHORITY);
  /packages/apps/Email/tests/src/com/android/email/
LegacyConversionsTests.java 43 import com.android.emailcommon.provider.EmailContent;
44 import com.android.emailcommon.provider.EmailContent.Attachment;
81 super(EmailProvider.class, EmailContent.AUTHORITY);
107 EmailContent.Message localMessage = new EmailContent.Message();
121 EmailContent.Message localMessage = new EmailContent.Message();
182 EmailContent.Body localBody = new EmailContent.Body();
183 EmailContent.Message localMessage = new EmailContent.Message()
    [all...]
ControllerProviderOpsTests.java 25 import com.android.emailcommon.provider.EmailContent;
46 super(EmailProvider.class, EmailContent.AUTHORITY);
  /packages/apps/Exchange/tests/src/com/android/exchange/adapter/
EmailSyncAdapterTests.java 24 import com.android.emailcommon.provider.EmailContent;
25 import com.android.emailcommon.provider.EmailContent.Body;
26 import com.android.emailcommon.provider.EmailContent.Message;
27 import com.android.emailcommon.provider.EmailContent.MessageColumns;
28 import com.android.emailcommon.provider.EmailContent.SyncColumns;
122 assertEquals(3, EmailContent.count(mProviderContext, Message.CONTENT_URI, WHERE_ACCOUNT_KEY,
132 assertEquals(0, EmailContent.count(mProviderContext, Message.CONTENT_URI, WHERE_ACCOUNT_KEY,
134 assertEquals(3, EmailContent.count(mProviderContext, Message.DELETED_CONTENT_URI,
148 assertEquals(1, EmailContent.count(mProviderContext, Message.CONTENT_URI, WHERE_ACCOUNT_KEY,
189 assertEquals(numMessages, EmailContent.count(mProviderContext, Message.CONTENT_URI
    [all...]
  /packages/apps/Exchange/src/com/android/exchange/eas/
EasLoadAttachment.java 22 import com.android.emailcommon.provider.EmailContent;
23 import com.android.emailcommon.provider.EmailContent.Attachment;
105 private final EmailContent.Attachment mAttachment;
108 final EmailContent.Attachment attachment) {
150 mAttachment = EmailContent.Attachment.restoreAttachmentWithId(mContext, mAttachmentId);
163 final EmailContent.Message message = EmailContent.Message
255 private boolean finishLoadAttachment(final EmailContent.Attachment attachment, final File file) {
EasOperation.java 32 import com.android.emailcommon.provider.EmailContent;
444 cv.put(EmailContent.AccountColumns.FLAGS, newFlags);
447 cv.put(EmailContent.AccountColumns.PROTOCOL_VERSION, protocolVersion);
643 EmailContent.CONTENT_URI, EmailContent.DEVICE_FRIENDLY_NAME, null, null);
645 final String friendlyName = deviceName.getString(EmailContent.DEVICE_FRIENDLY_NAME);
681 protected final void sendMessage(final Account account, final EmailContent.Message msg) {
706 ContentResolver.requestSync(amAccount, EmailContent.AUTHORITY, extras);
    [all...]
  /packages/apps/Email/src/com/android/email/
LegacyConversions.java 38 import com.android.emailcommon.provider.EmailContent;
39 import com.android.emailcommon.provider.EmailContent.Attachment;
40 import com.android.emailcommon.provider.EmailContent.AttachmentColumns;
78 public static boolean updateMessageFields(EmailContent.Message localMessage, Message message,
104 localMessage.mFlags |= EmailContent.Message.FLAG_REPLIED_TO;
109 if (localMessage.mFlagLoaded != EmailContent.Message.FLAG_LOADED_COMPLETE) {
111 localMessage.mFlagLoaded = EmailContent.Message.FLAG_LOADED_UNLOADED;
113 localMessage.mFlagLoaded = EmailContent.Message.FLAG_LOADED_PARTIAL;
165 public static void updateAttachments(Context context, EmailContent.Message localMessage,
191 public static void addOneAttachment(Context context, EmailContent.Message localMessage
    [all...]
  /packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
BluetoothMapContentTest.java 15 import com.android.emailcommon.provider.EmailContent;
16 import com.android.emailcommon.provider.EmailContent.Message;
17 import com.android.emailcommon.provider.EmailContent.MessageColumns;
18 import com.android.emailcommon.provider.EmailContent.SyncColumns;
30 EmailContent.RECORD_ID,
52 c.getLong(c.getColumnIndex(EmailContent.RECORD_ID)) +

Completed in 48 milliseconds

1 2 3 4 5