Home
last modified time | relevance | path

Searched refs:KEY_EMERGENCY_CONTACTS (Results 1 – 10 of 10) sorted by relevance

/packages/apps/EmergencyInfo/src/com/android/emergency/util/
DPreferenceUtils.java53 emergencyContactsString = prefs.getString(PreferenceKeys.KEY_EMERGENCY_CONTACTS, ""); in hasAtLeastOneEmergencyContact()
59 PreferenceKeys.KEY_EMERGENCY_CONTACTS, in hasAtLeastOneEmergencyContact()
64 PreferenceKeys.KEY_EMERGENCY_CONTACTS, in hasAtLeastOneEmergencyContact()
/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/util/
DPreferenceUtilsTest.java94 when(mSharedPreferences.getString(eq(PreferenceKeys.KEY_EMERGENCY_CONTACTS), any())) in testHasAtLeastOneEmergencyContact_notSet()
104 when(mSharedPreferences.getString(eq(PreferenceKeys.KEY_EMERGENCY_CONTACTS), any())) in testHasAtLeastOneEmergencyContact_set()
127 when(mSharedPreferences.getString(eq(PreferenceKeys.KEY_EMERGENCY_CONTACTS), any())) in testUpdateSettingsSuggestionState_contactSet()
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/edit/
DEditInfoActivityTest.java88 PreferenceKeys.KEY_EMERGENCY_CONTACTS); in testInitialState()
119 .edit().putString(PreferenceKeys.KEY_EMERGENCY_CONTACTS, contactUri.toString()) in testClearAllPreferences()
154 PreferenceKeys.KEY_EMERGENCY_CONTACTS); in testClearAllPreferences()
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/preferences/
DEmergencyContactsPreferenceTest.java81 .edit().putString(PreferenceKeys.KEY_EMERGENCY_CONTACTS, contactUri.toString()) in setUp()
127 PreferenceKeys.KEY_EMERGENCY_CONTACTS); in startActivityAndGetEmergencyContactsPreference()
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/view/
DViewInfoActivityTest.java147 .edit().putString(PreferenceKeys.KEY_EMERGENCY_CONTACTS, emergencyContact).commit(); in testEmergencyContactsSet()
172 .edit().putString(PreferenceKeys.KEY_EMERGENCY_CONTACTS, emergencyContact).commit(); in testMedicalInfoAndEmergencyContactsSet()
/packages/apps/EmergencyInfo/src/com/android/emergency/
DPreferenceKeys.java30 public static final String KEY_EMERGENCY_CONTACTS = "emergency_contacts"; field
/packages/apps/EmergencyInfo/src/com/android/emergency/view/
DViewEmergencyContactsFragment.java41 findPreference(PreferenceKeys.KEY_EMERGENCY_CONTACTS); in onCreatePreferences()
/packages/apps/EmergencyInfo/src/com/android/emergency/edit/
DEditInfoActivity.java129 sharedPreferences.edit().remove(PreferenceKeys.KEY_EMERGENCY_CONTACTS).commit(); in onClearAllPreferences()
DEditInfoFragment.java83 findPreference(PreferenceKeys.KEY_EMERGENCY_CONTACTS); in onCreatePreferences()
/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/preferences/
DEmergencyContactsPreferenceTest.java148 mPreference.setKey(PreferenceKeys.KEY_EMERGENCY_CONTACTS); in testReloadFromPreference()