Searched refs:KEY_EMERGENCY_CONTACTS (Results 1 – 10 of 10) sorted by relevance
/packages/apps/EmergencyInfo/src/com/android/emergency/util/ |
D | PreferenceUtils.java | 53 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/ |
D | PreferenceUtilsTest.java | 94 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/ |
D | EditInfoActivityTest.java | 88 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/ |
D | EmergencyContactsPreferenceTest.java | 81 .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/ |
D | ViewInfoActivityTest.java | 147 .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/ |
D | PreferenceKeys.java | 30 public static final String KEY_EMERGENCY_CONTACTS = "emergency_contacts"; field
|
/packages/apps/EmergencyInfo/src/com/android/emergency/view/ |
D | ViewEmergencyContactsFragment.java | 41 findPreference(PreferenceKeys.KEY_EMERGENCY_CONTACTS); in onCreatePreferences()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/edit/ |
D | EditInfoActivity.java | 129 sharedPreferences.edit().remove(PreferenceKeys.KEY_EMERGENCY_CONTACTS).commit(); in onClearAllPreferences()
|
D | EditInfoFragment.java | 83 findPreference(PreferenceKeys.KEY_EMERGENCY_CONTACTS); in onCreatePreferences()
|
/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/preferences/ |
D | EmergencyContactsPreferenceTest.java | 148 mPreference.setKey(PreferenceKeys.KEY_EMERGENCY_CONTACTS); in testReloadFromPreference()
|