Searched refs:mEmergencyContactsPreference (Results 1 – 2 of 2) sorted by relevance
42 private EmergencyContactsPreference mEmergencyContactsPreference; field in EmergencyContactsPreferenceTest55 mEmergencyContactsPreference = in setUp()62 mEmergencyContactsPreference.setEmergencyContacts(new ArrayList<Uri>()); in setUp()79 assertNotNull(mEmergencyContactsPreference); in testEmptyState()80 assertTrue(mEmergencyContactsPreference.isPersistent()); in testEmptyState()81 assertTrue(mEmergencyContactsPreference.isNotSet()); in testEmptyState()82 assertTrue(mEmergencyContactsPreference.getEmergencyContacts().isEmpty()); in testEmptyState()83 assertEquals(0, mEmergencyContactsPreference.getPreferenceCount()); in testEmptyState()95 mEmergencyContactsPreference.addNewEmergencyContact(emergencyContactUri); in testAddAndRemoveEmergencyContact()99 assertEquals(1, mEmergencyContactsPreference.getEmergencyContacts().size()); in testAddAndRemoveEmergencyContact()[all …]
37 private EmergencyContactsPreference mEmergencyContactsPreference; field in ViewEmergencyContactsFragment43 mEmergencyContactsPreference = (EmergencyContactsPreference) in onCreate()59 mEmergencyContactsPreference.reloadFromPreference(); in onResume()