Home
last modified time | relevance | path

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

/packages/apps/Contacts/tests/src/com/android/contacts/util/
DContactDisplayUtilTests.java38 private static final String NAME_ALTERNATIVE = "Name Alternative"; field in ContactDisplayUtilTests
79 NAME_ALTERNATIVE, null)); in testGetPreferredDisplayName_NullContactsPreferences()
88 assertEquals(NAME_ALTERNATIVE, ContactDisplayUtils.getPreferredDisplayName(null, in testGetPreferredDisplayName_NullContactsPreferences_NullPrimary()
89 NAME_ALTERNATIVE, null)); in testGetPreferredDisplayName_NullContactsPreferences_NullPrimary()
106 NAME_ALTERNATIVE, mContactsPreferences)); in testGetPreferredDisplayName_InvalidPreference()
113 NAME_ALTERNATIVE, mContactsPreferences)); in testGetPreferredDisplayName_Primary()
119 assertEquals(NAME_ALTERNATIVE, ContactDisplayUtils.getPreferredDisplayName(NAME_PRIMARY, in testGetPreferredDisplayName_Alternative()
120 NAME_ALTERNATIVE, mContactsPreferences)); in testGetPreferredDisplayName_Alternative()
125 NAME_ALTERNATIVE, null)); in testGetPreferredSortName_NullContactsPreferences()
134 assertEquals(NAME_ALTERNATIVE, ContactDisplayUtils.getPreferredSortName(null, in testGetPreferredSortName_NullContactsPreferences_NullPrimary()
[all …]
/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
DPhoneQuery.java41 static final int NAME_ALTERNATIVE = 0; field in PhoneQuery
DContactInfoHelper.java128 return cursor.getString(PhoneQuery.NAME_ALTERNATIVE); in lookUpDisplayNameAlternative()