Home
last modified time | relevance | path

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

/packages/apps/EmergencyInfo/tests/src/com/android/emergency/preferences/
DEmergencyContactsPreferenceTest.java82 assertTrue(mEmergencyContactsPreference.getEmergencyContacts().isEmpty()); in testEmptyState()
99 assertEquals(1, mEmergencyContactsPreference.getEmergencyContacts().size()); in testAddAndRemoveEmergencyContact()
116 assertEquals(0, mEmergencyContactsPreference.getEmergencyContacts().size()); in testAddAndRemoveEmergencyContact()
144 assertEquals(2, mEmergencyContactsPreference.getEmergencyContacts().size()); in testReloadFromPreference()
162 assertEquals(1, mEmergencyContactsPreference.getEmergencyContacts().size()); in testReloadFromPreference()
186 assertEquals(1, mEmergencyContactsPreference.getEmergencyContacts().size()); in testWidgetClick_positiveButton()
215 assertEquals(0, mEmergencyContactsPreference.getEmergencyContacts().size()); in testWidgetClick_positiveButton()
235 assertEquals(1, mEmergencyContactsPreference.getEmergencyContacts().size()); in testWidgetClick_negativeButton()
264 assertEquals(1, mEmergencyContactsPreference.getEmergencyContacts().size()); in testWidgetClick_negativeButton()
/packages/apps/EmergencyInfo/tests/src/com/android/emergency/edit/
DEditInfoActivityTest.java153 assertEquals(1, emergencyContactsPreference.getEmergencyContacts().size()); in testClearAllPreferences()
187 assertEquals(0, emergencyContactsPreference.getEmergencyContacts().size()); in testClearAllPreferences()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DEmergencyContactsPreference.java111 public List<Uri> getEmergencyContacts() { in getEmergencyContacts() method in EmergencyContactsPreference