Home
last modified time | relevance | path

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

/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/
DContactDisplayUtilTests.java37 private static final String NAME_PRIMARY = "Name Primary"; field in ContactDisplayUtilTests
112 assertEquals(NAME_PRIMARY, ContactDisplayUtils.getPreferredDisplayName(NAME_PRIMARY, in testGetPreferredDisplayName_NullContactsPreferences()
117 assertEquals(NAME_PRIMARY, ContactDisplayUtils.getPreferredDisplayName(NAME_PRIMARY, null, in testGetPreferredDisplayName_NullContactsPreferences_NullAlternative()
133 assertEquals(NAME_PRIMARY, ContactDisplayUtils.getPreferredDisplayName(NAME_PRIMARY, "", in testGetPreferredDisplayName_EmptyAlternative()
139 assertEquals(NAME_PRIMARY, ContactDisplayUtils.getPreferredDisplayName(NAME_PRIMARY, in testGetPreferredDisplayName_InvalidPreference()
146 assertEquals(NAME_PRIMARY, ContactDisplayUtils.getPreferredDisplayName(NAME_PRIMARY, in testGetPreferredDisplayName_Primary()
153 assertEquals(NAME_ALTERNATIVE, ContactDisplayUtils.getPreferredDisplayName(NAME_PRIMARY, in testGetPreferredDisplayName_Alternative()
158 assertEquals(NAME_PRIMARY, ContactDisplayUtils.getPreferredSortName(NAME_PRIMARY, in testGetPreferredSortName_NullContactsPreferences()
163 assertEquals(NAME_PRIMARY, ContactDisplayUtils.getPreferredSortName(NAME_PRIMARY, null, in testGetPreferredSortName_NullContactsPreferences_NullAlternative()
179 assertEquals(NAME_PRIMARY, ContactDisplayUtils.getPreferredSortName(NAME_PRIMARY, "", in testGetPreferredSortName_EmptyAlternative()
[all …]
/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/
DStatusBarNotifierTest.java32 private static final String NAME_PRIMARY = "Full Name"; field in StatusBarNotifierTest
52 mUnlockedContactInfo.namePrimary = NAME_PRIMARY; in setUp()
83 assertEquals(NAME_PRIMARY, statusBarNotifier.getContentTitle(mUnlockedContactInfo, mCall)); in testGetContentTitle_Unlocked()
DCallCardPresenterTest.java32 private static final String NAME_PRIMARY = "Full Name"; field in CallCardPresenterTest
51 mUnlockedContactInfo.namePrimary = NAME_PRIMARY; in setUp()
73 assertEquals(NAME_PRIMARY, presenter.getNameForCall(mUnlockedContactInfo)); in testGetNameForCall_Unlocked()