/packages/apps/Email/tests/src/com/android/email/ |
H A D | MessagingControllerUnitTests.java | 35 private long mAccountId; field in class:MessagingControllerUnitTests 47 Account.CONTENT_URI, mAccountId); 82 mAccountId = mAccount.mId;
|
H A D | RefreshManagerTest.java | 130 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 D | AccountSettingsTests.java | 45 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 D | MessageListContext.java | 42 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 D | NotificationController.java | 811 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 D | MailboxListItem.java | 39 public long mAccountId; field in class:MailboxListItem
|
H A D | MailboxMoveToAdapter.java | 139 private final long mAccountId; field in class:MailboxMoveToAdapter.MailboxMoveToLoader 144 mAccountId = accountId; 150 final String protocol = Account.getProtocol(getContext(), mAccountId);
|
H A D | MailboxFinder.java | 51 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 D | MoveMessageToDialog.java | 61 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 D | Welcome.java | 95 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 D | ShortcutPickerFragment.java | 234 private final long mAccountId; field in class:ShortcutPickerFragment.MailboxPickerLoader 239 mAccountId = accountId; 261 if (mAccountId == Account.ACCOUNT_ID_COMBINED_VIEW) {
|
H A D | AccountSelectorAdapter.java | 308 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 D | MailboxFragmentAdapter.java | 364 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 D | MessagesAdapter.java | 203 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 D | UIControllerTwoPane.java | 397 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...] |
/packages/apps/Email/src/com/android/email/widget/ |
H A D | EmailWidgetLoader.java | 63 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 D | EmailWidget.java | 116 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 290 || Account.restoreAccountWithId(mContext, mAccountId) == null) { 299 intent = MessageCompose.getMessageComposeIntent(mContext, mAccountId); 303 intent = Welcome.createOpenAccountInboxIntent(mContext, mAccountId); 427 if (mAccountId != Account.ACCOUNT_ID_COMBINED_VIEW) {
|
/packages/apps/Email/tests/src/com/android/email/activity/ |
H A D | FindParentMailboxTaskTest.java | 34 private long mAccountId; field in class:FindParentMailboxTaskTest 70 mAccountId = a.mId; 290 mProviderContext, null, mAccountId, enableHighlight, parentMailboxId,
|
H A D | MailboxFinderTest.java | 198 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 D | AttachmentLoader.java | 59 private final long mAccountId; field in class:AttachmentLoader 69 mAccountId = mAttachment.mAccountKey; 72 mAttachmentUri = AttachmentUtilities.getAttachmentUri(mAccountId, mAttachmentId);
|
H A D | FolderSyncParser.java | 101 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/Gallery2/tests/src/com/android/photos/data/ |
H A D | PhotoProviderTest.java | 60 private long mAccountId; field in class:PhotoProviderTest 81 mAccountId = PhotoDatabaseUtils.queryAccountIdFromName(db, ACCOUNT_NAME); 83 Albums.VISIBILITY_PRIVATE, mAccountId); 86 MIME_TYPE, mAccountId); 189 Uri accountUri = ContentUris.withAppendedId(Accounts.CONTENT_URI, mAccountId); 193 "image/jpeg", mAccountId);
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | AccountSettingsEditQuickResponsesFragment.java | 71 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 D | AccountServerBaseFragment.java | 323 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 D | AttachmentDownloadServiceTests.java | 48 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);
|