Searched refs:NO_ACCOUNT (Results 1 – 9 of 9) sorted by relevance
95 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()
722 accountId = Account.NO_ACCOUNT; in delete()3737 if (id == Account.NO_ACCOUNT) return; in addCombinedAccountRow()5671 if (accountId != Account.NO_ACCOUNT) { in notifyUIFolder()
60 public static final long NO_ACCOUNT = -1L; field in Account479 long firstAccount = NO_ACCOUNT; in getDefaultAccountId()490 if (firstAccount == NO_ACCOUNT) { in getDefaultAccountId()
155 Account.ID_PROJECTION_COLUMN, Account.NO_ACCOUNT); in getAccountIdWithPolicyKey()
924 ACCOUNT_KEY_PROJECTION_ACCOUNT_KEY_COLUMN, Account.NO_ACCOUNT); in getAccountIdForMailbox()
255 return mSharedPreferences.getLong(LAST_ACCOUNT_USED, Account.NO_ACCOUNT); in getLastUsedAccountId()
1629 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()
109 protected final static Account NO_ACCOUNT = new Account("a", "b"); field in BaseContactsProvider2Test730 if (account == NO_ACCOUNT) { in assertNullOrEquals()
95 private static long mLastSearchAccountKey = Account.NO_ACCOUNT;