Home
last modified time | relevance | path

Searched refs:shouldShowAccountChangedNotification (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/editor/
DContactEditorUtilsTest.java98 assertTrue(mTarget.shouldShowAccountChangedNotification(currentAccounts)); in testShouldShowAccountChangedNotification_0Accounts()
109 assertFalse(mTarget.shouldShowAccountChangedNotification(currentAccounts)); in testShouldShowAccountChangedNotification_0Accounts()
115 assertFalse(mTarget.shouldShowAccountChangedNotification(currentAccounts)); in testShouldShowAccountChangedNotification_0Accounts()
121 assertFalse(mTarget.shouldShowAccountChangedNotification(currentAccounts)); in testShouldShowAccountChangedNotification_0Accounts()
130 assertFalse(mTarget.shouldShowAccountChangedNotification(currentAccounts)); in testShouldShowAccountChangedNotification_0Accounts()
136 assertFalse(mTarget.shouldShowAccountChangedNotification(currentAccounts)); in testShouldShowAccountChangedNotification_0Accounts()
142 assertFalse(mTarget.shouldShowAccountChangedNotification(currentAccounts)); in testShouldShowAccountChangedNotification_0Accounts()
148 assertTrue(mTarget.shouldShowAccountChangedNotification(currentAccounts)); in testShouldShowAccountChangedNotification_0Accounts()
154 assertTrue(mTarget.shouldShowAccountChangedNotification(currentAccounts)); in testShouldShowAccountChangedNotification_0Accounts()
165 assertFalse(mTarget.shouldShowAccountChangedNotification( in testShouldShowAccountChangedNotification_1Account()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/preference/
DContactsPreferencesTest.java206 mContactsPreferences.shouldShowAccountChangedNotification(Arrays.asList( in testShouldShowAccountChangedNotificationIfAccountNotSaved()
218 mContactsPreferences.shouldShowAccountChangedNotification(Arrays.asList( in testShouldShowAccountChangedNotification()
223 mContactsPreferences.shouldShowAccountChangedNotification(Arrays.asList( in testShouldShowAccountChangedNotification()
237 mContactsPreferences.shouldShowAccountChangedNotification(Arrays.asList( in testShouldShowAccountChangedNotificationWhenThereIsOneAccount()
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorUtils.java115 public boolean shouldShowAccountChangedNotification(List<AccountWithDataSet> writableAccounts) { in shouldShowAccountChangedNotification() method in ContactEditorUtils
116 return mContactsPrefs.shouldShowAccountChangedNotification(writableAccounts); in shouldShowAccountChangedNotification()
DContactEditorFragment.java1061 if (mEditorUtils.shouldShowAccountChangedNotification(accounts)) { in selectAccountAndCreateContact()
/packages/apps/Contacts/src/com/android/contacts/preference/
DContactsPreferences.java255 public boolean shouldShowAccountChangedNotification(List<AccountWithDataSet> in shouldShowAccountChangedNotification() method in ContactsPreferences
/packages/apps/Contacts/src/com/android/contacts/activities/
DAttachPhotoActivity.java370 if (editorUtils.shouldShowAccountChangedNotification(accounts)) { in selectAccountAndCreateContact()