Searched refs:mContactsPreferences (Results 1 – 2 of 2) sorted by relevance
46 private ContactsPreferences mContactsPreferences; field in ContactsPreferencesTest71 mContactsPreferences = new ContactsPreferences(mContext); in setUp()82 mContactsPreferences.getSortOrder()); in testGetSortOrderDefault()92 mContactsPreferences.getSortOrder()); in testGetSortOrder()101 mContactsPreferences.getDisplayOrder()); in testGetDisplayOrderDefault()111 mContactsPreferences.getDisplayOrder()); in testGetDisplayOrder()120 mContactsPreferences.getPhoneticNameDisplayPreference()); in testGetPhoneticNameDisplayDefault()131 mContactsPreferences.getPhoneticNameDisplayPreference()); in testGetPhoneticNameDisplay()144 mContactsPreferences.getPhoneticNameDisplayPreference()); in testRefreshPhoneticNameDisplay()145 mContactsPreferences.refreshValue(ContactsPreferences.PHONETIC_NAME_DISPLAY_KEY); in testRefreshPhoneticNameDisplay()[all …]
40 @Mock private ContactsPreferences mContactsPreferences; field in ContactDisplayUtilTests97 Mockito.when(mContactsPreferences.getDisplayOrder()) in testGetPreferredDisplayName_EmptyAlternative()100 mContactsPreferences)); in testGetPreferredDisplayName_EmptyAlternative()104 Mockito.when(mContactsPreferences.getDisplayOrder()).thenReturn(-1); in testGetPreferredDisplayName_InvalidPreference()106 NAME_ALTERNATIVE, mContactsPreferences)); in testGetPreferredDisplayName_InvalidPreference()110 Mockito.when(mContactsPreferences.getDisplayOrder()) in testGetPreferredDisplayName_Primary()113 NAME_ALTERNATIVE, mContactsPreferences)); in testGetPreferredDisplayName_Primary()117 Mockito.when(mContactsPreferences.getDisplayOrder()) in testGetPreferredDisplayName_Alternative()120 NAME_ALTERNATIVE, mContactsPreferences)); in testGetPreferredDisplayName_Alternative()143 Mockito.when(mContactsPreferences.getSortOrder()) in testGetPreferredSortName_EmptyAlternative()[all …]