Home
last modified time | relevance | path

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

/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/editor/
H A 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()
148 assertTrue(mTarget.shouldShowAccountChangedNotification(currentAccounts)); in testShouldShowAccountChangedNotification_0Accounts()
154 assertTrue(mTarget.shouldShowAccountChangedNotification(currentAccounts)); in testShouldShowAccountChangedNotification_0Accounts()
165 assertFalse(mTarget.shouldShowAccountChangedNotification( in testShouldShowAccountChangedNotification_1Account()
172 assertFalse(mTarget.shouldShowAccountChangedNotification( in testShouldShowAccountChangedNotification_1Account()
186 assertTrue(mTarget.shouldShowAccountChangedNotification(Collections. in testShouldShowAccountChangedNotification_0Account_localOnly()
195 assertFalse(mTarget.shouldShowAccountChangedNotification(Collections. in testShouldShowAccountChangedNotification_0Account_localOnly()
205 assertFalse(mTarget.shouldShowAccountChangedNotification( in testShouldShowAccountChangedNotification_initial_check()
[all …]
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/preference/
H A 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()
/aosp12/packages/apps/Contacts/src/com/android/contacts/editor/
H A DContactEditorUtils.java117 public boolean shouldShowAccountChangedNotification(List<AccountWithDataSet> writableAccounts) { in shouldShowAccountChangedNotification() method in ContactEditorUtils
118 return mContactsPrefs.shouldShowAccountChangedNotification(writableAccounts); in shouldShowAccountChangedNotification()
H A DContactEditorFragment.java1061 if (mEditorUtils.shouldShowAccountChangedNotification(accounts)) { in selectAccountAndCreateContact()
/aosp12/packages/apps/Contacts/src/com/android/contacts/preference/
H A DContactsPreferences.java255 public boolean shouldShowAccountChangedNotification(List<AccountWithDataSet> in shouldShowAccountChangedNotification() method in ContactsPreferences
/aosp12/packages/apps/Contacts/src/com/android/contacts/activities/
H A DAttachPhotoActivity.java373 if (editorUtils.shouldShowAccountChangedNotification(accounts)) { in selectAccountAndCreateContact()