Home
last modified time | relevance | path

Searched refs:getPreferredSortName (Results 1 – 4 of 4) sorted by relevance

/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/
DContactDisplayUtilTests.java158 assertEquals(NAME_PRIMARY, ContactDisplayUtils.getPreferredSortName(NAME_PRIMARY, in testGetPreferredSortName_NullContactsPreferences()
163 assertEquals(NAME_PRIMARY, ContactDisplayUtils.getPreferredSortName(NAME_PRIMARY, null, in testGetPreferredSortName_NullContactsPreferences_NullAlternative()
168 assertEquals(NAME_ALTERNATIVE, ContactDisplayUtils.getPreferredSortName(null, in testGetPreferredSortName_NullContactsPreferences_NullPrimary()
173 assertNull(ContactDisplayUtils.getPreferredSortName(null, null, null)); in testGetPreferredSortName_NullContactsPreferences_BothNull()
179 assertEquals(NAME_PRIMARY, ContactDisplayUtils.getPreferredSortName(NAME_PRIMARY, "", in testGetPreferredSortName_EmptyAlternative()
185 assertEquals(NAME_PRIMARY, ContactDisplayUtils.getPreferredSortName(NAME_PRIMARY, in testGetPreferredSortName_InvalidPreference()
192 assertEquals(NAME_PRIMARY, ContactDisplayUtils.getPreferredSortName(NAME_PRIMARY, in testGetPreferredSortName_Primary()
199 assertEquals(NAME_ALTERNATIVE, ContactDisplayUtils.getPreferredSortName(NAME_PRIMARY, in testGetPreferredSortName_Alternative()
/packages/apps/Dialer/src/com/android/dialer/list/
DPhoneFavoritesTileAdapter.java129 .compare(getPreferredSortName(lhs), getPreferredSortName(rhs))
133 private String getPreferredSortName(ContactEntry contactEntry) {
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DConferenceParticipantListAdapter.java515 ContactDisplayUtils.getPreferredSortName( in sortParticipantList()
523 ContactDisplayUtils.getPreferredSortName( in sortParticipantList()
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DContactDisplayUtils.java280 public static String getPreferredSortName(String namePrimary, String nameAlternative, in getPreferredSortName() method in ContactDisplayUtils