Home
last modified time | relevance | path

Searched refs:NO_MAILBOX (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/Email/tests/src/com/android/email/activity/
DFindParentMailboxTaskTest.java72 mIdInbox = createMailboxAndGetId("Inbox", a, Mailbox.TYPE_INBOX, Mailbox.NO_MAILBOX); in setUpMailboxes()
73 mIdParent = createMailboxAndGetId("P", a, Mailbox.TYPE_MAIL, Mailbox.NO_MAILBOX); in setUpMailboxes()
151 Mailbox.NO_MAILBOX, // Next root in testWithHighlight()
170 Mailbox.NO_MAILBOX, // Next root in testWithHighlight()
190 Mailbox.NO_MAILBOX, // Current parent in testWithHighlight()
193 Mailbox.NO_MAILBOX, // Next root in testWithHighlight()
213 Mailbox.NO_MAILBOX, // Next root in testWithHighlight()
257 Mailbox.NO_MAILBOX // Next root in testWithNoHighlight()
273 Mailbox.NO_MAILBOX // Next root in testWithNoHighlight()
278 doCheck(false, parentMailboxId, Mailbox.NO_MAILBOX, in doCheckWithNoHighlight()
[all …]
DAccountSelectorAdapterTest.java100 c.setAccountMailboxInfo(context, a1.mId, Mailbox.NO_MAILBOX); in testCursorWithExtras_setAccountMailboxInfo()
105 assertEquals(Mailbox.NO_MAILBOX, c.getMailboxId()); in testCursorWithExtras_setAccountMailboxInfo()
133 c.setAccountMailboxInfo(context, Account.ACCOUNT_ID_COMBINED_VIEW, Mailbox.NO_MAILBOX); in testCursorWithExtras_setAccountMailboxInfo()
139 assertEquals(Mailbox.NO_MAILBOX, c.getMailboxId()); in testCursorWithExtras_setAccountMailboxInfo()
/packages/apps/Email/src/com/android/email/
DMessageListContext.java71 long mailboxId = intent.getLongExtra(EmailActivity.EXTRA_MAILBOX_ID, Mailbox.NO_MAILBOX); in forIntent()
85 if (mailboxId == Mailbox.NO_MAILBOX) { in forIntent()
111 Preconditions.checkArgument(mailboxId != Mailbox.NO_MAILBOX, "Must specify a mailbox"); in forMailbox()
120 return isSearch() ? mSearchParams.mMailboxId : Mailbox.NO_MAILBOX; in getSearchedMailbox()
DController.java284 m.mParentKey = Mailbox.NO_MAILBOX; in getSearchMailbox()
498 return Mailbox.NO_MAILBOX; in findOrCreateMailboxOfType()
502 return mailboxId == Mailbox.NO_MAILBOX ? createMailbox(accountId, mailboxType) : mailboxId; in findOrCreateMailboxOfType()
620 if (outboxId == Mailbox.NO_MAILBOX) { in sendPendingMessages()
/packages/apps/Email/src/com/android/email/activity/
DMailboxListFragment.java201 private long mNextHighlightedMailboxId = Mailbox.NO_MAILBOX;
397 mParentMailboxId = Mailbox.NO_MAILBOX; in setInitialParentAndHighlight()
406 mParentMailboxId = Mailbox.NO_MAILBOX; in setInitialParentAndHighlight()
563 return (mHighlightedMailboxId != Mailbox.NO_MAILBOX) ? mHighlightedMailboxId in getSelectedMailboxId()
571 return mParentMailboxId == Mailbox.NO_MAILBOX; in isRoot()
650 final long nextParentId = (parentMailbox == null) ? Mailbox.NO_MAILBOX in doInBackground()
662 if (nextParentId == Mailbox.NO_MAILBOX) { in doInBackground()
674 nextHighlightedId = Mailbox.NO_MAILBOX; in doInBackground()
821 if (mNextHighlightedMailboxId != Mailbox.NO_MAILBOX) { in onLoadFinished()
823 mNextHighlightedMailboxId = Mailbox.NO_MAILBOX; in onLoadFinished()
[all …]
DMailboxFinder.java177 return Mailbox.NO_MAILBOX; in doInBackground()
182 if (mailboxId != Mailbox.NO_MAILBOX) { in doInBackground()
199 return Mailbox.NO_MAILBOX; in doInBackground()
DMoveMessageToDialog.java210 || idSet.mMailboxId == Mailbox.NO_MAILBOX) { in onLoadFinished()
278 long mailboxId = Mailbox.NO_MAILBOX; in loadInBackground()
302 mailboxId = Mailbox.NO_MAILBOX; in loadInBackground()
310 mailboxId = Mailbox.NO_MAILBOX; in loadInBackground()
DUIControllerOnePane.java205 if (mailboxId == Mailbox.NO_MAILBOX) { in onMailboxSelected()
308 return Mailbox.NO_MAILBOX; in getMailboxId()
397 showFragment(MailboxListFragment.newInstance(accountId, Mailbox.NO_MAILBOX, false)); in openMailboxList()
553 : Mailbox.NO_MAILBOX; in getMailboxSettingsMailboxId()
DWelcome.java364 == Mailbox.NO_MAILBOX) { in resolveAccount()
380 } else if (mMailboxId != Mailbox.NO_MAILBOX) { in startEmailActivity()
402 mMailboxId = Mailbox.NO_MAILBOX;
DAccountSelectorAdapter.java168 if (isAccount || id != Mailbox.NO_MAILBOX) { in getView()
426 addRow(matrixCursor, ROW_TYPE_MAILBOX, Mailbox.NO_MAILBOX, name, null, 0, in addShowAllFoldersRow()
524 if (mailboxId != Mailbox.NO_MAILBOX) { in setAccountMailboxInfo()
541 if (mMailboxId == Mailbox.NO_MAILBOX) { in setAccountMailboxInfo()
DUIControllerBase.java549 if (inboxId == Mailbox.NO_MAILBOX) { in switchAccount()
575 : Mailbox.NO_MAILBOX; in getMailboxListMailboxId()
586 : Mailbox.NO_MAILBOX; in getMessageListMailboxId()
849 if (mailboxId != Mailbox.NO_MAILBOX) { in onOptionsItemSelected()
DMailboxFragmentAdapter.java362 listItem.mMailboxId = isAccountRow(cursor) ? Mailbox.NO_MAILBOX : id; in bindListItem()
519 (parentKey != Mailbox.NO_MAILBOX) in MailboxFragmentLoader()
546 if (mParentKey != Mailbox.NO_MAILBOX) { in loadInBackground()
DMessageOrderManager.java133 Preconditions.checkArgument(listContext.getMailboxId() != Mailbox.NO_MAILBOX); in MessageOrderManager()
DActionBarController.java94 private long mLastMailboxIdForDirtyCheck = Mailbox.NO_MAILBOX;
/packages/apps/Email/tests/src/com/android/email/
DControllerProviderOpsTests.java114 assertEquals(Mailbox.NO_MAILBOX, in testCreateMailbox()
116 assertEquals(Mailbox.NO_MAILBOX, in testCreateMailbox()
125 assertTrue(testMailboxId != Mailbox.NO_MAILBOX); in testCreateMailbox()
134 assertTrue(testMailboxId != Mailbox.NO_MAILBOX); in testCreateMailbox()
164 assertTrue("mailbox created", boxId2 != Mailbox.NO_MAILBOX); in testFindOrCreateMailboxOfType()
172 assertEquals(Mailbox.NO_MAILBOX, in testFindOrCreateMailboxOfType()
174 assertEquals(Mailbox.NO_MAILBOX, mTestController.findOrCreateMailboxOfType(accountId, -1)); in testFindOrCreateMailboxOfType()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DMailbox.java134 public static final long NO_MAILBOX = -1; field in Mailbox
261 box.mParentKey = Mailbox.NO_MAILBOX; in newSystemMailbox()
387 && mailboxId != NO_MAILBOX) { in findMailboxOfType()
398 ID_PROJECTION_COLUMN, NO_MAILBOX); in findMailboxOfType()
406 if (mailboxId != Mailbox.NO_MAILBOX) { in restoreMailboxOfType()
/packages/apps/Exchange/exchange2/src/com/android/exchange/provider/
DMailboxUtilities.java86 parentValues.put(Mailbox.PARENT_KEY, Mailbox.NO_MAILBOX); in setFlagsAndChildrensParentKey()
154 values.put(Mailbox.PARENT_KEY, Mailbox.NO_MAILBOX); in fixupUninitializedParentKeys()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DSearchParams.java26 public static final long ALL_MAILBOXES = Mailbox.NO_MAILBOX;
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DMailboxTests.java281 assertEquals(Mailbox.NO_MAILBOX, in testFindMailboxOfType()
283 assertEquals(Mailbox.NO_MAILBOX, in testFindMailboxOfType()
289 assertEquals(Mailbox.NO_MAILBOX, in testFindMailboxOfType()
291 assertEquals(Mailbox.NO_MAILBOX, in testFindMailboxOfType()
293 assertEquals(Mailbox.NO_MAILBOX, in testFindMailboxOfType()
/packages/apps/Email/src/com/android/email/activity/setup/
DMailboxSettings.java91 final long mailboxId = getIntent().getLongExtra(EXTRA_MAILBOX_ID, Mailbox.NO_MAILBOX); in onCreate()
92 if (mailboxId == Mailbox.NO_MAILBOX) { in onCreate()
/packages/apps/Email/src/com/android/email/widget/
DWidgetManager.java155 long mailboxId = prefs.getLong(MAILBOX_ID_PREFIX + appWidgetId, Mailbox.NO_MAILBOX); in loadMailboxIdPref()
/packages/apps/Email/src/com/android/email/mail/store/
DPop3Store.java166 mailbox.mParentKey = Mailbox.NO_MAILBOX; in updateFolders()
175 if (Mailbox.findMailboxOfType(mContext, mAccount.mId, type) == Mailbox.NO_MAILBOX) { in updateFolders()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/
DMailboxUtilitiesTests.java559 assertEquals(Mailbox.NO_MAILBOX, box1.mParentKey); in testNoServerId()
563 assertEquals(Mailbox.NO_MAILBOX, box2.mParentKey); in testNoServerId()
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
DMailboxUtilitiesTests.java559 assertEquals(Mailbox.NO_MAILBOX, box1.mParentKey); in testNoServerId()
563 assertEquals(Mailbox.NO_MAILBOX, box2.mParentKey); in testNoServerId()
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/
DFolderSyncParserTests.java344 return m.mParentKey == Mailbox.NO_MAILBOX; in isTopLevel()

12