Searched refs:emergencyContacts (Results 1 – 3 of 3) sorted by relevance
115 public void setEmergencyContacts(List<Uri> emergencyContacts) { in setEmergencyContacts() argument116 final boolean changed = !mEmergencyContacts.equals(emergencyContacts); in setEmergencyContacts()118 mEmergencyContacts = emergencyContacts; in setEmergencyContacts()120 persistString(serialize(emergencyContacts)); in setEmergencyContacts()126 while (getPreferenceCount() - emergencyContacts.size() > 0) { in setEmergencyContacts()131 Iterator<Uri> it = emergencyContacts.iterator(); in setEmergencyContacts()214 public static String serialize(List<Uri> emergencyContacts) { in serialize() argument216 for (int i = 0; i < emergencyContacts.size(); i++) { in serialize()217 sb.append(emergencyContacts.get(i).toString()); in serialize()
134 final List<Uri> emergencyContacts = new ArrayList<>(); in testReloadFromPreference() local135 emergencyContacts.add(emergencyContactJane); in testReloadFromPreference()136 emergencyContacts.add(emergencyContactJohn); in testReloadFromPreference()140 mEmergencyContactsPreference.setEmergencyContacts(emergencyContacts); in testReloadFromPreference()
116 final List<Uri> emergencyContacts = new ArrayList<>(); in testClearAllPreferences() local117 emergencyContacts.add(contactUri); in testClearAllPreferences()129 emergencyContactsPreference.setEmergencyContacts(emergencyContacts); in testClearAllPreferences()