/packages/apps/Email/provider_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 | 346 private static final String MESSAGE_URI_PARAMETER_MAILBOX_ID = "mailboxId"; 595 long mailboxId = c.getLong(ORPHANS_MAILBOX_KEY); 597 if (notFoundMailboxes.contains(mailboxId)) { 600 } else if (!foundMailboxes.contains(mailboxId)) { 601 bindArray[0] = Long.toString(mailboxId); 607 foundMailboxes.add(mailboxId); 610 notFoundMailboxes.add(mailboxId); [all...] |
EmailConversationCursor.java | 65 final Folder folder, final long mailboxId) { 67 mMailboxId = mailboxId; 70 Mailbox mailbox = Mailbox.restoreMailboxWithId(context, mailboxId);
|
/packages/apps/Email/provider_src/com/android/email/service/ |
PopImapSyncAdapterService.java | 102 private static void sync(final Context context, final long mailboxId, 106 Mailbox mailbox = Mailbox.restoreMailboxWithId(context, mailboxId); 122 Uri mailboxUri = ContentUris.withAppendedId(Mailbox.CONTENT_URI, mailboxId); 138 EmailServiceStatus.syncMailboxStatus(resolver, extras, mailboxId, 148 EmailServiceStatus.syncMailboxStatus(resolver, extras, mailboxId, status, 0, 158 EmailServiceStatus.syncMailboxStatus(resolver, extras, mailboxId, 165 EmailServiceStatus.syncMailboxStatus(resolver, extras, mailboxId, 172 EmailServiceStatus.syncMailboxStatus(resolver, extras, mailboxId, 179 EmailServiceStatus.syncMailboxStatus(resolver, extras, mailboxId, 218 Long mailboxId = updatesCursor.getLong(0) [all...] |
EmailServiceStub.java | 99 protected void requestSync(long mailboxId, boolean userRequest, int deltaMessageCount) { 100 final Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, mailboxId); 108 final Bundle extras = Mailbox.createSyncBundle(mailboxId); 339 final long mailboxId = localFolderCursor.getLong(MAILBOX_COLUMN_ID); 352 mContext, accountId, mailboxId); 356 Mailbox.CONTENT_URI, mailboxId);
|
ImapService.java | [all...] |
/packages/apps/Email/src/com/android/email2/ui/ |
MailActivityEmail.java | 66 final long mailboxId = IntentUtilities.getMailboxIdFromIntent(intent); 67 final Mailbox mailbox = Mailbox.restoreMailboxWithId(this, mailboxId); 73 final Intent viewIntent = getViewIntent(mailbox.mAccountKey, mailboxId); 98 private Intent getViewIntent(long accountId, long mailboxId) { 122 EmailProvider.uiUri("uifolder", mailboxId), 127 accountId, mailboxId); 137 accountId, 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 | 109 public static Bundle createSyncBundle(final long mailboxId) { 112 bundle.putLong(formatMailboxIdExtra(0), mailboxId); 676 final long mailboxId = findMailboxOfType(context, accountId, type); 677 if (mailboxId != Mailbox.NO_MAILBOX) { 678 return Mailbox.restoreMailboxWithId(context, mailboxId); 690 final long mailboxId = Message.getKeyColumnLong(context, messageId, 692 if (mailboxId != -1) { 693 return Mailbox.restoreMailboxWithId(context, mailboxId); 701 public static int getMailboxType(Context context, long mailboxId) { 702 final 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));
|
EmailContent.java | [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
EmailServiceStatus.java | 138 * @param mailboxId The mailbox whose status is changing. 143 final long mailboxId, final int statusCode, final int progress, int syncResult) { 144 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));
|
AttachmentUtilities.java | 351 * @param mailboxId the mailbox for the messages 354 long mailboxId) { 357 new String[] { Long.toString(mailboxId) }, null);
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
MailboxSettings.java | 227 private static final String EXTRA_MAILBOX_ID = "MailboxId"; 244 private static Bundle getArguments(long mailboxId) { 246 b.putLong(EXTRA_MAILBOX_ID, mailboxId); 255 final long mailboxId = getArguments().getLong(EXTRA_MAILBOX_ID, Mailbox.NO_MAILBOX); 256 if (mailboxId == Mailbox.NO_MAILBOX) { 322 private MailboxLoader(Context context, long mailboxId) { 324 mMailboxId = mailboxId; 365 final long mailboxId = args.getLong(EXTRA_MAILBOX_ID); 366 return new MailboxLoader(getActivity(), mailboxId);
|
/packages/apps/Email/tests/src/com/android/email/ |
LegacyConversionsTests.java | 85 final long mailboxId = 1; 89 "local-message", accountId, mailboxId, false, true, mProviderContext); 95 "local-message", accountId, mailboxId, false, true, mProviderContext); 143 final long mailboxId = 1; 177 "local-message", accountId, mailboxId, false, true, mProviderContext); 193 final long mailboxId = 1; 195 "local-message", accountId, mailboxId, false, true, mProviderContext);
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
ProviderTestUtils.java | 152 public static Message setupMessage(String name, long accountId, long mailboxId, 155 return setupMessage(name, accountId, mailboxId, addBody, saveIt, context, true, true); 161 public static Message setupMessage(String name, long accountId, long mailboxId, 179 message.mMailboxKey = mailboxId; 188 message.mMeetingInfo = "123" + accountId + mailboxId + name.length();
|
AttachmentProviderTests.java | 634 * @param mailboxId the mailbox to populate 637 private void populateAccountMailbox(Account account, long mailboxId, int numAttachments) 643 "msg1a", accountId, mailboxId, false, true, mMockContext); 645 "msg1b", accountId, mailboxId, false, true, mMockContext);
|
ProviderTests.java | 157 private int getMessageCount(long mailboxId) { 159 ContentUris.withAppendedId(Mailbox.CONTENT_URI, mailboxId), 364 private int getUnreadCount(long mailboxId) { 370 new String[] {String.valueOf(mailboxId)}, null); [all...] |
/packages/apps/Email/src/com/android/email/ |
EmailNotificationController.java | 620 final long mailboxId = 622 if (mailboxId == 0) continue; 636 final Uri folderUri = EmailProvider.uiUri("uifolder", mailboxId); 640 + mailboxId + ", unreadCount: " + unreadCount + ", unseenCount: " [all...] |
/packages/apps/Email/provider_src/com/android/email/ |
LegacyConversions.java | 79 final Message message, final long accountId, final long mailboxId) 135 localMessage.mMailboxKey = mailboxId;
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
BluetoothMapContentTest.java | 310 int mailboxId = 0; 321 mailboxId = c.getInt(c.getColumnIndex( 333 extras.putLong(BluetoothMapContract.EXTRA_UPDATE_FOLDER_ID, mailboxId); [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
MailboxTests.java | 73 private int getMessageCount(long mailboxId) { 75 ContentUris.withAppendedId(Mailbox.CONTENT_URI, mailboxId),
|