Searched defs:mAccountId (Results 1 - 25 of 29) sorted by relevance

12

/packages/apps/Email/tests/src/com/android/email/
H A DMessagingControllerUnitTests.java35 private long mAccountId; field in class:MessagingControllerUnitTests
47 Account.CONTENT_URI, mAccountId);
82 mAccountId = mAccount.mId;
H A DRefreshManagerTest.java130 assertEquals(ACCOUNT_1, mListener.mAccountId);
134 assertEquals(ACCOUNT_1, mController.mAccountId);
154 assertEquals(ACCOUNT_2, mListener.mAccountId);
158 assertEquals(ACCOUNT_2, mController.mAccountId);
169 assertEquals(ACCOUNT_1, mListener.mAccountId);
181 assertEquals(ACCOUNT_1, mListener.mAccountId);
198 assertEquals(ACCOUNT_2, mListener.mAccountId);
209 assertEquals(ACCOUNT_2, mListener.mAccountId);
228 assertEquals(ACCOUNT_1, mListener.mAccountId);
232 assertEquals(ACCOUNT_1, mController.mAccountId);
423 public volatile long mAccountId = -1; field in class:RefreshManagerTest.MockController
480 public long mAccountId = -1; field in class:RefreshManagerTest.RefreshListener
[all...]
/packages/apps/Email/tests/src/com/android/email/activity/setup/
H A DAccountSettingsTests.java45 private long mAccountId; field in class:AccountSettingsTests
73 Uri uri = ContentUris.withAppendedId(Account.CONTENT_URI, mAccountId);
163 mAccountId = mAccount.mId;
165 return AccountSettings.createAccountSettingsIntent(mContext, mAccountId, null);
/packages/apps/Email/src/com/android/email/
H A DMessageListContext.java42 public final long mAccountId; field in class:MessageListContext
57 mAccountId = accountId;
141 return mAccountId == om.mAccountId
148 return Objects.hashCode(mAccountId, mMailboxId, mSearchParams);
153 return "[MessageListContext " + mAccountId + ":" + mMailboxId + ":" + mSearchParams + "]";
158 mAccountId = in.readLong();
170 dest.writeLong(mAccountId);
H A DNotificationController.java811 private final long mAccountId; field in class:NotificationController.MessageContentObserver
818 mAccountId = accountId;
823 if (mAccountId == sInstance.mSuspendAccountId
828 ContentObserver observer = sInstance.mNotificationMap.get(mAccountId);
835 Account account = Account.restoreAccountWithId(mContext, mAccountId);
873 int notificationId = sInstance.getNewMessageNotificationId(mAccountId);
888 mAccountId, mMailboxId, c, newMessageId,
893 sInstance.getNewMessageNotificationId(mAccountId), n);
900 resolver.update(ContentUris.withAppendedId(Account.CONTENT_URI, mAccountId), cv,
/packages/apps/Email/src/com/android/email/activity/
H A DMailboxListItem.java39 public long mAccountId; field in class:MailboxListItem
H A DMailboxMoveToAdapter.java139 private final long mAccountId; field in class:MailboxMoveToAdapter.MailboxMoveToLoader
144 mAccountId = accountId;
150 final String protocol = Account.getProtocol(getContext(), mAccountId);
H A DMailboxFinder.java51 private final long mAccountId; field in class:MailboxFinder
80 mAccountId = accountId;
130 if (mClosed || (accountId != mAccountId)) {
137 mCallback.onMailboxNotFound(mAccountId);
175 if (Account.isSecurityHold(mContext, mAccountId)) {
181 long mailboxId = Mailbox.findMailboxOfType(mContext, mAccountId, mMailboxType);
188 final boolean accountExists = Account.isValidId(mContext, mAccountId);
208 mCallback.onAccountSecurityHold(mAccountId);
224 mCallback.onMailboxNotFound(mAccountId);
234 mCallback.onMailboxFound(mAccountId, mailboxI
[all...]
H A DMoveMessageToDialog.java61 private long mAccountId; field in class:MoveMessageToDialog
209 if (idSet == null || idSet.mAccountId == Account.NO_ACCOUNT
215 mAccountId = idSet.mAccountId;
234 mAccountId, mMailboxId);
337 private final long mAccountId; field in class:MoveMessageToDialog.IdContainer
341 mAccountId = accountId;
H A DWelcome.java95 private long mAccountId; field in class:Welcome
189 mAccountId = IntentUtilities.getAccountIdFromIntent(intent);
230 AccountSettings.actionSettings(this, mAccountId);
284 mInboxFinder = new MailboxFinder(this, mAccountId, Mailbox.TYPE_INBOX,
345 * {@link #mAccountId} and {@link #mAccountUuid}.
361 mAccountId = resolveAccountId(this, mAccountId, mAccountUuid);
362 if (Account.isNormalAccount(mAccountId) &&
363 Mailbox.findMailboxOfType(this, mAccountId, Mailbox.TYPE_INBOX)
373 * Start {@link EmailActivity} using {@link #mAccountId}, {
[all...]
H A DShortcutPickerFragment.java234 private final long mAccountId; field in class:ShortcutPickerFragment.MailboxPickerLoader
239 mAccountId = accountId;
261 if (mAccountId == Account.ACCOUNT_ID_COMBINED_VIEW) {
H A DAccountSelectorAdapter.java308 private final long mAccountId; field in class:AccountSelectorAdapter.AccountsLoader
319 mAccountId = accountId;
334 resultCursor.setAccountMailboxInfo(getContext(), mAccountId, mMailboxId);
355 if (accountId == mAccountId) {
382 if (mAccountId == Account.NO_ACCOUNT) {
385 if (mAccountId == Account.ACCOUNT_ID_COMBINED_VIEW) {
402 recentMailboxes = mailboxManager.getMostRecent(mAccountId, mUseTwoPane);
427 accountPosition, mAccountId);
448 mFolderProperties.getMessageCount(c), accountPosition, mAccountId);
488 private long mAccountId; field in class:AccountSelectorAdapter.CursorWithExtras
[all...]
H A DMailboxFragmentAdapter.java364 listItem.mAccountId = accountId;
514 private final long mAccountId; field in class:MailboxFragmentAdapter.MailboxFragmentLoader
526 mAccountId = accountId;
550 new String[] { Long.toString(mAccountId), Long.toString(mParentKey) },
558 new String[] { Long.toString(mAccountId) }, MAILBOX_ORDER_BY);
569 .getMostRecent(mAccountId, true);
588 int accountStarredCount = Message.getFavoriteMessageCount(mContext, mAccountId);
H A DMessagesAdapter.java203 itemView.mAccountId = accountId;
292 private final long mAccountId; field in class:MessagesAdapter.MessagesCursorLoader
301 mAccountId = listContext.mAccountId;
308 setSelection(Message.buildMessageListSelection(mContext, mAccountId, mMailboxId));
412 mListContext.mAccountId, mListContext.getSearchParams());
H A DUIControllerTwoPane.java397 long accountId = mListContext.mAccountId;
567 private final long mAccountId; field in class:UIControllerTwoPane.RefreshTask
586 mAccountId = accountId;
595 mInboxId = Account.getInboxId(mContext, mAccountId);
608 mRefreshManager.refreshMessageList(mAccountId, mMailboxId, true);
611 if (mAccountId != Account.NO_ACCOUNT) {
613 mRefreshManager.refreshMailboxList(mAccountId);
618 mRefreshManager.refreshMessageList(mAccountId, mInboxId, true);
628 if (mRefreshManager.isMailboxListRefreshing(mAccountId)) {
631 final long nextRefreshTime = mRefreshManager.getLastMailboxListRefreshTime(mAccountId)
[all...]
H A DMailboxListFragment.java629 private final long mAccountId; field in class:MailboxListFragment.FindParentMailboxTask
640 mAccountId = accountId;
663 nextHighlightedId = Mailbox.findMailboxOfType(mContext, mAccountId,
/packages/apps/Email/src/com/android/email/widget/
H A DEmailWidgetLoader.java63 private long mAccountId; field in class:EmailWidgetLoader
126 Account account = Account.restoreAccountWithId(mContext, mAccountId);
131 if (mAccountId == Account.ACCOUNT_ID_COMBINED_VIEW) {
175 mAccountId = accountId;
183 if (mAccountId == Account.ACCOUNT_ID_COMBINED_VIEW) {
197 new String[] { Long.toString(mAccountId), Long.toString(mMailboxId) });
204 setSelectionArgs(new String[] { Long.toString(mAccountId) });
H A DEmailWidget.java116 private long mAccountId = Account.NO_ACCOUNT; field in class:EmailWidget
168 mAccountId = accountId;
169 mLoader.load(mAccountId, mailboxId);
210 PendingIntent.getActivity(mContext, (int) mAccountId, intent,
289 if (mAccountId == Account.ACCOUNT_ID_COMBINED_VIEW) {
298 intent = MessageCompose.getMessageComposeIntent(mContext, mAccountId);
302 intent = Welcome.createOpenAccountInboxIntent(mContext, mAccountId);
426 if (mAccountId != Account.ACCOUNT_ID_COMBINED_VIEW) {
/packages/apps/Email/tests/src/com/android/email/activity/
H A DFindParentMailboxTaskTest.java34 private long mAccountId; field in class:FindParentMailboxTaskTest
70 mAccountId = a.mId;
290 mProviderContext, null, mAccountId, enableHighlight, parentMailboxId,
H A DMailboxFinderTest.java198 assertEquals(accountId, mCallback.mAccountId);
287 assertEquals(accountId, mCallback.mAccountId);
422 public volatile long mAccountId = -1; field in class:MailboxFinderTest.MockCallback
438 mAccountId = accountId;
444 mAccountId = accountId;
451 mAccountId = accountId;
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
H A DAttachmentLoader.java59 private final long mAccountId; field in class:AttachmentLoader
69 mAccountId = mAttachment.mAccountKey;
72 mAttachmentUri = AttachmentUtilities.getAttachmentUri(mAccountId, mAttachmentId);
H A DFolderSyncParser.java101 long mAccountId; field in class:FolderSyncParser
130 mAccountId = mAccount.mId;
131 mAccountIdAsString = Long.toString(mAccountId);
146 new String[] {Long.toString(mAccountId)});
173 ExchangeService.deleteAccountPIMData(mAccountId);
178 new String[] {Long.toString(mAccountId)});
180 ExchangeService.stopNonAccountMailboxSyncsForAccount(mAccountId);
235 mAccountId, mMailbox.mId);
354 mailbox.mAccountKey = mAccountId;
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountSettingsEditQuickResponsesFragment.java71 private final long mAccountId; field in class:AccountSettingsEditQuickResponsesFragment.ArrayAdapterWithButtons
80 .newInstance(quickResponse, mAccountId)
118 mAccountId = accountId;
142 private final long mAccountId; field in class:AccountSettingsEditQuickResponsesFragment.QuickResponseFinder
170 mAccountId = accountId;
181 mContext, mAccountId);
193 mAccountId);
H A DAccountServerBaseFragment.java323 private final long mAccountId; field in class:AccountServerBaseFragment.DuplicateCheckTask
330 mAccountId = accountId;
338 Account account = Utility.findExistingAccount(mContext, mAccountId,
/packages/apps/Email/tests/src/com/android/email/service/
H A DAttachmentDownloadServiceTests.java48 private long mAccountId; field in class:AttachmentDownloadServiceTests
64 mAccountId = mAccount.mId;
66 mMailbox = ProviderTestUtils.setupMailbox("mailbox", mAccountId, true, mMockContext);
73 mService.addServiceIntentForTest(mAccountId, new Intent(mContext,
95 Message message = ProviderTestUtils.setupMessage("message", mAccountId, mMailboxId, false,
255 mService.mAttachmentStorageMap.remove(mAccountId);
260 mService.mAttachmentStorageMap.remove(mAccountId);

Completed in 479 milliseconds

12