Searched refs:ContactsPreferencesFactory (Results 1 – 7 of 7) sorted by relevance
65 ContactsPreferencesFactory.setTestInstance(null); in tearDown()69 ContactsPreferencesFactory.setTestInstance(mContactsPreferences); in testGetNameForCall_Unlocked()77 ContactsPreferencesFactory.setTestInstance(null); in testGetNameForCall_Locked()88 ContactsPreferencesFactory.setTestInstance(null); in testGetNameForCall_EmptyPreferredName()96 ContactsPreferencesFactory.setTestInstance(mContactsPreferences); in testGetNumberForCall_Unlocked()104 ContactsPreferencesFactory.setTestInstance(null); in testGetNumberForCall_Locked()115 ContactsPreferencesFactory.setTestInstance(null); in testGetNumberForCall_EmptyPreferredName()
34 assertNotNull(ContactsPreferencesFactory.newContactsPreferences(getContext())); in testNewContactsPreferences_Unlocked()41 assertNull(ContactsPreferencesFactory.newContactsPreferences(getContext())); in testNewContactsPreferences_Locked()46 ContactsPreferencesFactory.setTestInstance(testInstance); in testNewContactsPreferences_TestInstance()48 assertSame(testInstance, ContactsPreferencesFactory.newContactsPreferences(getContext())); in testNewContactsPreferences_TestInstance()49 assertSame(testInstance, ContactsPreferencesFactory.newContactsPreferences(getContext())); in testNewContactsPreferences_TestInstance()
66 ContactsPreferencesFactory.setTestInstance(null); in tearDown()70 ContactsPreferencesFactory.setTestInstance(null); in testGetContentTitle_ConferenceCall()81 ContactsPreferencesFactory.setTestInstance(mContactsPreferences); in testGetContentTitle_Unlocked()87 ContactsPreferencesFactory.setTestInstance(null); in testGetContentTitle_Locked()
29 public class ContactsPreferencesFactory { class
240 mContactsPreferences = ContactsPreferencesFactory.newContactsPreferences(mContext); in ConferenceParticipantListAdapter()
99 mContactsPreferences = ContactsPreferencesFactory.newContactsPreferences(mContext); in StatusBarNotifier()
141 mContactsPreferences = ContactsPreferencesFactory.newContactsPreferences(mContext); in init()