Home
last modified time | relevance | path

Searched refs:NO_ACCOUNT (Results 1 – 23 of 23) sorted by relevance

/packages/apps/Email/src/com/android/email/activity/
DWelcome.java310 } else if (inputAccountId != Account.NO_ACCOUNT) { in resolveAccountId()
316 accountId = Account.NO_ACCOUNT; in resolveAccountId()
322 if (lastUsedId != Account.NO_ACCOUNT) { in resolveAccountId()
325 lastUsedId = Account.NO_ACCOUNT; in resolveAccountId()
326 Preferences.getPreferences(context).setLastUsedAccountId(Account.NO_ACCOUNT); in resolveAccountId()
329 accountId = (lastUsedId == Account.NO_ACCOUNT) in resolveAccountId()
333 if (accountId != Account.NO_ACCOUNT) { in resolveAccountId()
401 mAccountId = Account.NO_ACCOUNT;
DMoveMessageToDialog.java209 if (idSet == null || idSet.mAccountId == Account.NO_ACCOUNT in onLoadFinished()
277 long accountId = Account.NO_ACCOUNT; in loadInBackground()
288 if (accountId == Account.NO_ACCOUNT) { in loadInBackground()
294 accountId = Account.NO_ACCOUNT; in loadInBackground()
301 accountId = Account.NO_ACCOUNT; in loadInBackground()
309 accountId = Account.NO_ACCOUNT; in loadInBackground()
DMessageList.java53 if ((accountId == null) || (accountId == Account.NO_ACCOUNT)) { in onCreate()
75 return Account.NO_ACCOUNT; in getAccountFromIntent()
DUIControllerBase.java504 return getUIAccountId() != Account.NO_ACCOUNT; in isAccountSelected()
522 return isActualAccountSelected() ? getUIAccountId() : Account.NO_ACCOUNT; in getActualAccountId()
928 if (accountId != Account.NO_ACCOUNT) { in onMailboxNotFound()
1034 if (accountId != Account.NO_ACCOUNT && accountId != Account.NO_ACCOUNT) { in showAccountSpecificWarning()
DActionBarController.java91 private long mLastAccountIdForDirtyCheck = Account.NO_ACCOUNT;
374 if (accountId != Account.NO_ACCOUNT) { in refreshInernal()
425 if ((mCursor.getAccountId() != Account.NO_ACCOUNT) && !mCursor.accountExists()) { in updateTitle()
DAccountSelectorAdapter.java259 return c.moveToPosition(position) ? getId(c) : Account.NO_ACCOUNT; in getId()
269 : Account.NO_ACCOUNT; in getAccountId()
382 if (mAccountId == Account.NO_ACCOUNT) { in addMailboxesToCursor()
457 Account.NO_ACCOUNT); in addHeaderRow()
DUIControllerTwoPane.java303 :Account.NO_ACCOUNT; in getUIAccountId()
326 return getActualAccountId() != Account.NO_ACCOUNT in isRefreshEnabled()
611 if (mAccountId != Account.NO_ACCOUNT) { in onSuccess()
DMessageFileView.java127 return ActivityHelper.openUrlInMessage(this, url, Account.NO_ACCOUNT); in onUrlInMessageClicked()
DMessageCompose.java341 if (accountId != Account.NO_ACCOUNT) { in setAccount()
346 accountId = Account.NO_ACCOUNT; in setAccount()
350 if (accountId == Account.NO_ACCOUNT) { in setAccount()
352 if (accountId != Account.NO_ACCOUNT) { in setAccount()
357 accountId = Account.NO_ACCOUNT; in setAccount()
362 if (accountId == Account.NO_ACCOUNT || account == null) { in setAccount()
DUIControllerOnePane.java301 return Account.NO_ACCOUNT; in getUIAccountId()
DMessageViewFragmentBase.java141 private long mAccountId = Account.NO_ACCOUNT;
/packages/apps/Email/src/com/android/email/
DMessageListContext.java70 long accountId = intent.getLongExtra(EmailActivity.EXTRA_ACCOUNT_ID, Account.NO_ACCOUNT); in forIntent()
79 if (accountId == Account.NO_ACCOUNT) { in forIntent()
81 if (accountId == Account.NO_ACCOUNT) { in forIntent()
110 Preconditions.checkArgument(accountId != Account.NO_ACCOUNT, "Must specify an account"); in forMailbox()
DNotificationController.java103 private long mSuspendAccountId = Account.NO_ACCOUNT;
288 if (mSuspendAccountId != Account.NO_ACCOUNT) { in suspendMessageNotification()
290 mSuspendAccountId = Account.NO_ACCOUNT; in suspendMessageNotification()
292 if (suspend && accountId != Account.NO_ACCOUNT && accountId > 0L) { in suspendMessageNotification()
DPreferences.java277 return mSharedPreferences.getLong(LAST_ACCOUNT_USED, Account.NO_ACCOUNT); in getLastUsedAccountId()
DController.java565 if (accountId == Account.NO_ACCOUNT) { in sendMessage()
568 if (accountId == Account.NO_ACCOUNT) { in sendMessage()
894 if (accountId == Account.NO_ACCOUNT) return;
DMessagingController.java144 private long mLastSearchAccountKey = Account.NO_ACCOUNT;
/packages/apps/Email/tests/src/com/android/email/activity/
DMessageListTests.java61 assertEquals(Account.NO_ACCOUNT, MessageList.getAccountFromIntent(c, in testGetAccountFromIntent()
/packages/apps/Email/src/com/android/email/widget/
DWidgetManager.java145 long accountId = prefs.getLong(ACCOUNT_ID_PREFIX + appWidgetId, Account.NO_ACCOUNT); in loadAccountIdPref()
DEmailWidget.java116 private long mAccountId = Account.NO_ACCOUNT;
164 if (accountId == Account.NO_ACCOUNT) { in start()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DAccount.java68 public static final long NO_ACCOUNT = -1L; field in Account
579 return Account.NO_ACCOUNT; in getDefaultAccountId()
DPolicy.java142 Account.ID_PROJECTION_COLUMN, Account.NO_ACCOUNT); in getAccountIdWithPolicyKey()
/packages/apps/Email/src/com/android/email/provider/
DEmailProvider.java1121 long accountId = Account.NO_ACCOUNT; in query()
1137 } else if ((accountId == Account.NO_ACCOUNT) || (iterId < accountId)) { in query()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java90 protected final static Account NO_ACCOUNT = new Account("a", "b"); field in BaseContactsProvider2Test
737 if (account == NO_ACCOUNT) { in assertNullOrEquals()