Home
last modified time | relevance | path

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

/packages/apps/Email/provider_src/com/android/email/provider/
DWidgetProvider.java95 if (accountId == Account.NO_ACCOUNT || mailboxId == Mailbox.NO_MAILBOX) { in migrateLegacyWidgetInformation()
177 long accountId = prefs.getLong(LEGACY_ACCOUNT_ID_PREFIX + appWidgetId, Account.NO_ACCOUNT); in loadAccountIdPref()
DEmailProvider.java723 accountId = Account.NO_ACCOUNT; in delete()
3738 if (id == Account.NO_ACCOUNT) return; in addCombinedAccountRow()
5672 if (accountId != Account.NO_ACCOUNT) { in notifyUIFolder()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DAccount.java60 public static final long NO_ACCOUNT = -1L; field in Account
479 long firstAccount = NO_ACCOUNT; in getDefaultAccountId()
490 if (firstAccount == NO_ACCOUNT) { in getDefaultAccountId()
DPolicy.java155 Account.ID_PROJECTION_COLUMN, Account.NO_ACCOUNT); in getAccountIdWithPolicyKey()
DMailbox.java924 ACCOUNT_KEY_PROJECTION_ACCOUNT_KEY_COLUMN, Account.NO_ACCOUNT); in getAccountIdForMailbox()
/packages/apps/Email/provider_src/com/android/email/
DPreferences.java255 return mSharedPreferences.getLong(LAST_ACCOUNT_USED, Account.NO_ACCOUNT); in getLastUsedAccountId()
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTests.java1629 long defaultAccountId = Account.getDefaultAccountId(mMockContext, Account.NO_ACCOUNT); in testGetDefaultAccountNoneExplicitlySet()
1641 defaultAccountId = Account.getDefaultAccountId(mMockContext, Account.NO_ACCOUNT); in testGetDefaultAccountNoneExplicitlySet()
1655 long lastUsedAccountId = Account.NO_ACCOUNT; in testGetDefaultAccountWithLastUsedAccount()
1659 assertEquals(Account.NO_ACCOUNT, defaultAccountId); in testGetDefaultAccountWithLastUsedAccount()
1719 assertEquals(Account.NO_ACCOUNT, defaultAccountId); in testGetDefaultAccountWithLastUsedAccount()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java111 protected final static Account NO_ACCOUNT = new Account("a", "b"); field in BaseContactsProvider2Test
738 if (account == NO_ACCOUNT) { in assertNullOrEquals()
/packages/apps/Email/provider_src/com/android/email/service/
DImapService.java95 private static long mLastSearchAccountKey = Account.NO_ACCOUNT;