Home
last modified time | relevance | path

Searched refs:currentAccounts (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/editor/
DContactEditorUtilsTest.java97 List<AccountWithDataSet> currentAccounts = new ArrayList<>(); in testShouldShowAccountChangedNotification_0Accounts() local
98 assertTrue(mTarget.shouldShowAccountChangedNotification(currentAccounts)); in testShouldShowAccountChangedNotification_0Accounts()
101 currentAccounts.add(ACCOUNT_1_A); in testShouldShowAccountChangedNotification_0Accounts()
109 assertFalse(mTarget.shouldShowAccountChangedNotification(currentAccounts)); in testShouldShowAccountChangedNotification_0Accounts()
112 currentAccounts.add(ACCOUNT_1_B); in testShouldShowAccountChangedNotification_0Accounts()
115 assertFalse(mTarget.shouldShowAccountChangedNotification(currentAccounts)); in testShouldShowAccountChangedNotification_0Accounts()
121 assertFalse(mTarget.shouldShowAccountChangedNotification(currentAccounts)); in testShouldShowAccountChangedNotification_0Accounts()
126 currentAccounts.add(ACCOUNT_2_A); in testShouldShowAccountChangedNotification_0Accounts()
127 currentAccounts.add(ACCOUNT_2EX_A); in testShouldShowAccountChangedNotification_0Accounts()
130 assertFalse(mTarget.shouldShowAccountChangedNotification(currentAccounts)); in testShouldShowAccountChangedNotification_0Accounts()
[all …]
/packages/apps/Contacts/src/com/android/contacts/model/
DAccountTypeManager.java482 final List<AccountWithDataSet> currentAccounts) {
486 maybeNotifyAccountsUpdated(currentAccounts, result);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java5051 final Set<Account> currentAccounts = Sets.newHashSet(currentSystemAccounts); in haveAccountsChanged() local
5052 return !knownAccountSet.equals(currentAccounts); in haveAccountsChanged()