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

/packages/apps/Email/src/com/android/email/
H A DMessageListContext.java70 long accountId = intent.getLongExtra(EmailActivity.EXTRA_ACCOUNT_ID, Account.NO_ACCOUNT);
79 if (accountId == Account.NO_ACCOUNT) {
81 if (accountId == Account.NO_ACCOUNT) {
110 Preconditions.checkArgument(accountId != Account.NO_ACCOUNT, "Must specify an account");
H A DNotificationController.java99 * Suspend notifications for this account. If {@link Account#NO_ACCOUNT}, no
103 private long mSuspendAccountId = Account.NO_ACCOUNT;
288 if (mSuspendAccountId != Account.NO_ACCOUNT) {
290 mSuspendAccountId = Account.NO_ACCOUNT;
292 if (suspend && accountId != Account.NO_ACCOUNT && accountId > 0L) {
H A DPreferences.java277 return mSharedPreferences.getLong(LAST_ACCOUNT_USED, Account.NO_ACCOUNT);
H A DController.java565 if (accountId == Account.NO_ACCOUNT) {
568 if (accountId == Account.NO_ACCOUNT) {
894 if (accountId == Account.NO_ACCOUNT) return;
H A DMessagingController.java144 private long mLastSearchAccountKey = Account.NO_ACCOUNT;
/packages/apps/Email/src/com/android/email/activity/
H A DMessageList.java53 if ((accountId == null) || (accountId == Account.NO_ACCOUNT)) {
75 return Account.NO_ACCOUNT;
H A DWelcome.java307 // If the UUID is invalid, accountId will be NO_ACCOUNT.
310 } else if (inputAccountId != Account.NO_ACCOUNT) {
316 accountId = Account.NO_ACCOUNT;
322 if (lastUsedId != Account.NO_ACCOUNT) {
325 lastUsedId = Account.NO_ACCOUNT;
326 Preferences.getPreferences(context).setLastUsedAccountId(Account.NO_ACCOUNT);
329 accountId = (lastUsedId == Account.NO_ACCOUNT)
333 if (accountId != Account.NO_ACCOUNT) {
401 mAccountId = Account.NO_ACCOUNT;
H A DMoveMessageToDialog.java209 if (idSet == null || idSet.mAccountId == Account.NO_ACCOUNT
261 * will be {@link Account#NO_ACCOUNT} and {@link Mailbox#NO_MAILBOX}.
277 long accountId = Account.NO_ACCOUNT;
288 if (accountId == Account.NO_ACCOUNT) {
294 accountId = Account.NO_ACCOUNT;
301 accountId = Account.NO_ACCOUNT;
309 accountId = Account.NO_ACCOUNT;
H A DMessageFileView.java127 return ActivityHelper.openUrlInMessage(this, url, Account.NO_ACCOUNT);
H A DUIControllerBase.java504 return getUIAccountId() != Account.NO_ACCOUNT;
517 * it'll return {@link Account#NO_ACCOUNT}.
522 return isActualAccountSelected() ? getUIAccountId() : Account.NO_ACCOUNT;
529 * Must never be {@link Account#NO_ACCOUNT}.
928 if (accountId != Account.NO_ACCOUNT) {
1034 if (accountId != Account.NO_ACCOUNT && accountId != Account.NO_ACCOUNT) {
H A DActionBarController.java101 private long mLastAccountIdForDirtyCheck = Account.NO_ACCOUNT;
396 if (accountId != Account.NO_ACCOUNT) {
448 if ((mCursor.getAccountId() != Account.NO_ACCOUNT) && !mCursor.accountExists()) {
H A DUIControllerTwoPane.java303 :Account.NO_ACCOUNT;
326 return getActualAccountId() != Account.NO_ACCOUNT
611 if (mAccountId != Account.NO_ACCOUNT) {
H A DAccountSelectorAdapter.java259 return c.moveToPosition(position) ? getId(c) : Account.NO_ACCOUNT;
269 : Account.NO_ACCOUNT;
382 if (mAccountId == Account.NO_ACCOUNT) {
457 Account.NO_ACCOUNT);
H A DMessageCompose.java255 * Compose a new message using the given account. If account is {@link Account#NO_ACCOUNT}
341 if (accountId != Account.NO_ACCOUNT) {
346 accountId = Account.NO_ACCOUNT;
350 if (accountId == Account.NO_ACCOUNT) {
352 if (accountId != Account.NO_ACCOUNT) {
357 accountId = Account.NO_ACCOUNT;
362 if (accountId == Account.NO_ACCOUNT || account == null) {
H A DUIControllerOnePane.java306 return Account.NO_ACCOUNT;
H A DMessageViewFragmentBase.java141 private long mAccountId = Account.NO_ACCOUNT;
/packages/apps/Email/tests/src/com/android/email/activity/
H A DMessageListTests.java61 assertEquals(Account.NO_ACCOUNT, MessageList.getAccountFromIntent(c,
/packages/apps/Email/src/com/android/email/widget/
H A DWidgetManager.java140 * Returns the saved account ID for the given widget. Otherwise, {@link Account#NO_ACCOUNT} if
145 long accountId = prefs.getLong(ACCOUNT_ID_PREFIX + appWidgetId, Account.NO_ACCOUNT);
H A DEmailWidget.java116 private long mAccountId = Account.NO_ACCOUNT;
164 if (accountId == Account.NO_ACCOUNT) {
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
H A DAccount.java68 public static final long NO_ACCOUNT = -1L; field in class:Account
563 * @return the id of the default account, or Account.NO_ACCOUNT if there are no accounts
575 return Account.NO_ACCOUNT;
H A DPolicy.java142 Account.ID_PROJECTION_COLUMN, Account.NO_ACCOUNT);
/packages/apps/Email/src/com/android/email/provider/
H A DEmailProvider.java1121 long accountId = Account.NO_ACCOUNT;
1137 } else if ((accountId == Account.NO_ACCOUNT) || (iterId < accountId)) {
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DBaseContactsProvider2Test.java90 protected final static Account NO_ACCOUNT = new Account("a", "b"); field in class:BaseContactsProvider2Test
737 if (account == NO_ACCOUNT) {

Completed in 1351 milliseconds