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

/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.java129 assertEquals(ACCOUNT_1, mListener.mAccountId);
133 assertEquals(ACCOUNT_1, mController.mAccountId);
153 assertEquals(ACCOUNT_2, mListener.mAccountId);
157 assertEquals(ACCOUNT_2, mController.mAccountId);
168 assertEquals(ACCOUNT_1, mListener.mAccountId);
180 assertEquals(ACCOUNT_1, mListener.mAccountId);
197 assertEquals(ACCOUNT_2, mListener.mAccountId);
208 assertEquals(ACCOUNT_2, mListener.mAccountId);
227 assertEquals(ACCOUNT_1, mListener.mAccountId);
231 assertEquals(ACCOUNT_1, mController.mAccountId);
422 public volatile long mAccountId = -1; field in class:RefreshManagerTest.MockController
479 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/provider/
H A DFolderPickerActivity.java44 private long mAccountId; field in class:FolderPickerActivity
67 mAccountId = Long.parseLong(id);
76 long trashMailboxId = Mailbox.findMailboxOfType(this, mAccountId, Mailbox.TYPE_TRASH);
83 Account account = Account.restoreAccountWithId(this, mAccountId);
102 mAccountId = Long.parseLong(uiAccount.uri.getLastPathSegment());
137 Account account = Account.restoreAccountWithId(mContext, mAccountId);
164 Uri uri = ContentUris.withAppendedId(Account.CONTENT_URI, mAccountId);
170 Uri uri = Uri.parse("content://" + EmailContent.AUTHORITY + "/uifullfolders/" + mAccountId);
188 Mailbox ofType = Mailbox.restoreMailboxOfType(this, mAccountId, mMailboxType);
205 Account account = Account.restoreAccountWithId(this, mAccountId);
[all...]
/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/src/com/android/exchange/eas/
H A DEasPing.java61 private final long mAccountId; field in class:EasPing
100 mAccountId = account.mId;
106 LogUtils.d(TAG, "initial ping duration " + mPingDuration + " account " + mAccountId);
126 " new duration " + mPingDuration + " account " + mAccountId);
134 " new duration " + mPingDuration + " account " + mAccountId);
141 Account.update(mContext, Account.CONTENT_URI, mAccountId, values);
145 return mAccountId;
161 mAccountId);
206 LogUtils.i(TAG, "Ping expired for account %d", mAccountId);
211 LogUtils.i(TAG, "Ping found changed folders for account %d", mAccountId);
[all...]
H A DEasOperation.java106 protected final long mAccountId; field in class:EasOperation
113 mAccountId = accountId;
131 this(parentOperation.mContext, parentOperation.mAccountId, parentOperation.mConnection);
272 if (handleProvisionError(syncResult, mAccountId)) {
334 if (mConnection.setProtocolVersion(protocolVersion) && mAccountId != Account.NOT_SAVED) {
335 final Uri uri = ContentUris.withAppendedId(Account.CONTENT_URI, 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);
/packages/apps/Exchange/src/com/android/exchange/
H A DExchangeService.java392 long mAccountId; field in class:ExchangeService.CalendarObserver
399 mAccountId = account.mId;
434 mAccountId, Mailbox.TYPE_CALENDAR);
/packages/apps/Email/src/com/android/email/
H A DNotificationController.java694 private final long mAccountId; field in class:NotificationController.MessageContentObserver
700 mAccountId = accountId;
705 refreshNotificationsForAccount(mContext, mAccountId);
/packages/apps/Exchange/src/com/android/exchange/adapter/
H A DFolderSyncParser.java146 long mAccountId; field in class:FolderSyncParser
180 mAccountId = mAccount.mId;
181 mAccountIdAsString = Long.toString(mAccountId);
192 mAccountId = mAccount.mId;
193 mAccountIdAsString = Long.toString(mAccountId);
217 if (mAccountId > 0) {
219 ContentUris.withAppendedId(EmailContent.ACCOUNT_CHECK_URI, mAccountId),
223 LogUtils.w(TAG, "Duplicate mailboxes found for account %d: %d", mAccountId,
299 mAccountId, mailboxId);
415 cv.put(MailboxColumns.ACCOUNT_KEY, mAccountId);
[all...]
/packages/apps/Exchange/src/com/android/exchange/service/
H A DEasServerConnection.java113 private final long mAccountId; field in class:EasServerConnection
143 mAccountId = account.mId;
298 if (mAccountId == Account.NO_ACCOUNT) {
302 ContentUris.withAppendedId(Account.CONTENT_URI, mAccountId),
/packages/apps/Email/emailsync/src/com/android/emailsync/
H A DSyncManager.java597 final long mAccountId; field in class:SyncManager.CalendarObserver
604 mAccountId = account.mId;
644 mAccountId, Mailbox.TYPE_CALENDAR);

Completed in 136 milliseconds