Home
last modified time | relevance | path

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

/packages/apps/EmergencyInfo/src/com/android/emergency/util/
DPreferenceUtils.java49 public static boolean hasAtLeastOneEmergencyContact(Context context) { in hasAtLeastOneEmergencyContact() method in PreferenceUtils
86 return hasAtLeastOnePreferenceSet(context) || hasAtLeastOneEmergencyContact(context); in hasAtLeastOnePreferenceOrContactSet()
/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/util/
DPreferenceUtilsTest.java97 assertThat(PreferenceUtils.hasAtLeastOneEmergencyContact(mContext)).isFalse(); in testHasAtLeastOneEmergencyContact_notSet()
110 assertThat(PreferenceUtils.hasAtLeastOneEmergencyContact(mContext)).isTrue(); in testHasAtLeastOneEmergencyContact_set()
/packages/apps/EmergencyInfo/src/com/android/emergency/view/
DViewInfoActivity.java195 if (PreferenceUtils.hasAtLeastOneEmergencyContact(this)) { in setUpFragments()