/packages/apps/Email/src/com/android/email/provider/ |
RefreshStatusMonitor.java | 65 public void monitorRefreshStatus(long mailboxId, Callback callback) { 67 if (!mMailboxSync.containsKey(mailboxId)) 68 mMailboxSync.put(mailboxId, false); 70 new RemoveRefreshStatusRunnable(mailboxId, callback), 75 public void setSyncStarted(long mailboxId) { 78 if (mMailboxSync.containsKey(mailboxId)) { 79 LogUtils.d(TAG, "RefreshStatusMonitor: setSyncStarted: mailboxId=%d", mailboxId); 80 mMailboxSync.put(mailboxId, true); 99 RemoveRefreshStatusRunnable(long mailboxId, Callback callback) [all...] |
WidgetProvider.java | 93 long mailboxId = loadMailboxIdPref(context, widgetId); 95 if (accountId == Account.NO_ACCOUNT || mailboxId == Mailbox.NO_MAILBOX) { 97 " mailboxId: %d widgetId %d", accountId, mailboxId, widgetId); 102 mailboxId = migrateLegacyWidgetMailboxId(mailboxId, accountId); 106 final Folder uiFolder = EmailProvider.getFolder(context, mailboxId); 133 private static long migrateLegacyWidgetMailboxId(long mailboxId, long accountId) { 134 if (mailboxId == Mailbox.QUERY_ALL_INBOXES) { 136 } else if (mailboxId == Mailbox.QUERY_ALL_UNREAD) [all...] |
EmailProvider.java | 319 private static final String MESSAGE_URI_PARAMETER_MAILBOX_ID = "mailboxId"; 541 long mailboxId = c.getLong(ORPHANS_MAILBOX_KEY); 543 if (notFoundMailboxes.contains(mailboxId)) { 546 } else if (!foundMailboxes.contains(mailboxId)) { 547 bindArray[0] = Long.toString(mailboxId); 553 foundMailboxes.add(mailboxId); 556 notFoundMailboxes.add(mailboxId); [all...] |
/packages/apps/Email/emailsync/src/com/android/emailsync/ |
EmailSyncAlarmReceiver.java | 79 long mailboxId = c.getLong(0); 80 if (!mailboxesToNotify.contains(mailboxId)) { 81 mailboxesToNotify.add(mailboxId); 95 long mailboxId = c.getLong(0); 96 if (!mailboxesToNotify.contains(mailboxId)) { 97 mailboxesToNotify.add(mailboxId); 105 for (Long mailboxId: mailboxesToNotify) { 106 SyncManager.serviceRequest(mailboxId, SyncManager.SYNC_UPSYNC);
|
MailboxAlarmReceiver.java | 33 long mailboxId = intent.getLongExtra("mailbox", SyncManager.EXTRA_MAILBOX_ID); 35 if (mailboxId == SyncManager.SYNC_SERVICE_MAILBOX_ID) { 38 SyncManager.alert(context, mailboxId);
|
MessageMoveRequest.java | 27 public MessageMoveRequest(long messageId, long mailboxId) { 29 mMailboxId = mailboxId;
|
SyncManager.java | [all...] |
/packages/apps/Email/src/com/android/email/service/ |
PopImapSyncAdapterService.java | 101 private static void sync(final Context context, final long mailboxId, 105 Mailbox mailbox = Mailbox.restoreMailboxWithId(context, mailboxId); 121 Uri mailboxUri = ContentUris.withAppendedId(Mailbox.CONTENT_URI, mailboxId); 133 EmailServiceStatus.syncMailboxStatus(resolver, extras, mailboxId, 143 EmailServiceStatus.syncMailboxStatus(resolver, extras, mailboxId, status, 0, 152 EmailServiceStatus.syncMailboxStatus(resolver, extras, mailboxId, cause, 0, 157 EmailServiceStatus.syncMailboxStatus(resolver, extras, mailboxId, cause, 0, 163 EmailServiceStatus.syncMailboxStatus(resolver, extras, mailboxId, cause, 0, 202 Long mailboxId = updatesCursor.getLong(0); 203 if (!mailboxesToUpdate.contains(mailboxId)) { [all...] |
EmailServiceStub.java | 98 protected void requestSync(long mailboxId, boolean userRequest, int deltaMessageCount) { 99 final Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, mailboxId); 107 final Bundle extras = Mailbox.createSyncBundle(mailboxId); 324 final long mailboxId = localFolderCursor.getLong(MAILBOX_COLUMN_ID); 337 mContext, accountId, mailboxId); 341 Mailbox.CONTENT_URI, mailboxId);
|
/packages/apps/Exchange/src/com/android/exchange/ |
MessageMoveRequest.java | 27 public MessageMoveRequest(long messageId, long mailboxId) { 29 mMailboxId = mailboxId;
|
/packages/apps/Exchange/tests/src/com/android/exchange/provider/ |
EmailContentSetupUtils.java | 86 public static Message setupMessage(String name, long accountId, long mailboxId, 89 return setupMessage(name, accountId, mailboxId, addBody, saveIt, context, true, true); 95 public static Message setupMessage(String name, long accountId, long mailboxId, 100 message.mMailboxKey = mailboxId;
|
/external/chromium_org/cc/trees/ |
damage_tracker.h | 65 void Update(const gfx::RectF& rect, unsigned int mailboxId) { 66 mailboxId_ = mailboxId;
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/service/ |
SearchParams.java | 59 public SearchParams(long mailboxId, String filter) { 60 mMailboxId = mailboxId; 66 public SearchParams(long mailboxId, String filter, long searchMailboxId) { 67 mMailboxId = mailboxId; 74 public SearchParams(long mailboxId, String filter, long searchMailboxId, Date startDate, 76 mMailboxId = mailboxId;
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
Mailbox.java | 110 public static Bundle createSyncBundle(final long mailboxId) { 113 bundle.putLong(formatMailboxIdExtra(0), mailboxId); 675 long mailboxId = findMailboxOfType(context, accountId, type); 676 if (mailboxId != Mailbox.NO_MAILBOX) { 677 return Mailbox.restoreMailboxWithId(context, mailboxId); 689 long mailboxId = Message.getKeyColumnLong(context, messageId, 691 if (mailboxId != -1) { 692 return Mailbox.restoreMailboxWithId(context, mailboxId); 700 public static int getMailboxType(Context context, long mailboxId) { 701 Uri url = ContentUris.withAppendedId(Mailbox.CONTENT_URI, mailboxId); [all...] |
MessageStateChange.java | 72 final long mailboxId) { 78 mMailboxId = mailboxId; 152 final long mailboxId = MessageMove.getLastSyncedMailboxForMessage(cr, 154 if (mailboxId == Mailbox.NO_MAILBOX) { 159 mailboxId));
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
MailboxSettings.java | 88 public static final void start(Activity parent, long mailboxId) { 90 i.putExtra(EXTRA_MAILBOX_ID, mailboxId); 98 final long mailboxId = getIntent().getLongExtra(EXTRA_MAILBOX_ID, Mailbox.NO_MAILBOX); 99 if (mailboxId == Mailbox.NO_MAILBOX) { 120 new LoadMailboxTask(mailboxId).executeParallel((Void[]) null); 162 public LoadMailboxTask(long mailboxId) { 164 mMailboxId = mailboxId;
|
/packages/apps/Email/src/com/android/email2/ui/ |
MailActivityEmail.java | 177 final long mailboxId = IntentUtilities.getMailboxIdFromIntent(intent); 178 final Mailbox mailbox = Mailbox.restoreMailboxWithId(this, mailboxId); 184 final Intent viewIntent = getViewIntent(mailbox.mAccountKey, mailboxId); 272 private Intent getViewIntent(long accountId, long mailboxId) { 296 EmailProvider.uiUri("uifolder", mailboxId), 301 accountId, mailboxId); 311 accountId, mailboxId);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
EmailServiceStatus.java | 119 * @param mailboxId The mailbox whose status is changing. 124 final long mailboxId, final int statusCode, final int progress, int syncResult) { 125 syncStatus(cr, syncExtras, SYNC_STATUS_TYPE_MAILBOX, mailboxId, statusCode, progress,
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
IntentUtilities.java | 75 public static void setMailboxId(Uri.Builder b, long mailboxId) { 76 if (mailboxId != -1) { 77 b.appendQueryParameter(MAILBOX_ID_PARAM, Long.toString(mailboxId));
|
/packages/apps/Exchange/src/com/android/exchange/service/ |
EasServerConnection.java | 510 long mailboxId = Mailbox.findMailboxOfType(mContext, account.mId, Mailbox.TYPE_OUTBOX); 512 if (mailboxId == Mailbox.NO_MAILBOX) { 517 mailboxId = outbox.mId; 519 msg.mMailboxKey = mailboxId; 523 Eas.EXCHANGE_ACCOUNT_MANAGER_TYPE), EmailContent.AUTHORITY, mailboxId); 530 * @param mailboxId The id of the mailbox that needs to sync. 533 final String authority, final long mailboxId) { 534 final Bundle extras = Mailbox.createSyncBundle(mailboxId);
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
ProviderTestUtils.java | 154 public static Message setupMessage(String name, long accountId, long mailboxId, 157 return setupMessage(name, accountId, mailboxId, addBody, saveIt, context, true, true); 163 public static Message setupMessage(String name, long accountId, long mailboxId, 181 message.mMailboxKey = mailboxId; 190 message.mMeetingInfo = "123" + accountId + mailboxId + name.length();
|
/packages/apps/Email/tests/src/com/android/email/ |
LegacyConversionsTests.java | 200 final long mailboxId = 1; 204 "local-message", accountId, mailboxId, false, true, mProviderContext); 210 "local-message", accountId, mailboxId, false, true, mProviderContext); 257 final long mailboxId = 1; 291 "local-message", accountId, mailboxId, false, true, mProviderContext); 307 final long mailboxId = 1; 309 "local-message", accountId, mailboxId, false, true, mProviderContext);
|
/packages/apps/Exchange/src/com/android/exchange/eas/ |
EasOperation.java | 682 long mailboxId = Mailbox.findMailboxOfType(mContext, account.mId, Mailbox.TYPE_OUTBOX); 684 if (mailboxId == Mailbox.NO_MAILBOX) { 689 mailboxId = outbox.mId; 691 msg.mMailboxKey = mailboxId; 695 Eas.EXCHANGE_ACCOUNT_MANAGER_TYPE), mailboxId); 701 * @param mailboxId The id of the mailbox that needs to sync. 704 final long mailboxId) { 705 final Bundle extras = Mailbox.createSyncBundle(mailboxId); [all...] |
EasSyncCalendar.java | [all...] |
/packages/apps/Email/src/com/android/email/ |
NotificationController.java | 626 final long mailboxId = 628 if (mailboxId == 0) continue; 636 EmailProvider.uiUri("uifolder", mailboxId), 641 accountId, mailboxId); 651 accountId, mailboxId); [all...] |