Home
last modified time | relevance | path

Searched refs:hasAtLeastOnePreferenceSet (Results 1 – 4 of 4) sorted by relevance

/packages/apps/EmergencyInfo/src/com/android/emergency/util/
DPreferenceUtils.java38 public static boolean hasAtLeastOnePreferenceSet(Context context) { in hasAtLeastOnePreferenceSet() method in PreferenceUtils
86 return hasAtLeastOnePreferenceSet(context) || hasAtLeastOneEmergencyContact(context); in hasAtLeastOnePreferenceOrContactSet()
/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/util/
DPreferenceUtilsTest.java82 assertThat(PreferenceUtils.hasAtLeastOnePreferenceSet(mContext)).isFalse(); in testHasAtLeastOnePreferenceSet_notSet()
89 assertThat(PreferenceUtils.hasAtLeastOnePreferenceSet(mContext)).isTrue(); in testHasAtLeastOnePreferenceSet_set()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DViewEmergencyContactsPreference.java40 if (PreferenceUtils.hasAtLeastOnePreferenceSet(getContext())) { in onBindViewHolder()
/packages/apps/EmergencyInfo/src/com/android/emergency/view/
DViewInfoActivity.java191 if (PreferenceUtils.hasAtLeastOnePreferenceSet(this)) { in setUpFragments()