Home
last modified time | relevance | path

Searched refs:PreferenceUtils (Results 1 – 12 of 12) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
DLegalFragment.java26 import com.android.tv.settings.PreferenceUtils;
45 PreferenceUtils.resolveSystemActivityOrRemove(context, screen, in onCreatePreferences()
46 findPreference(KEY_TERMS), PreferenceUtils.FLAG_SET_TITLE); in onCreatePreferences()
47 PreferenceUtils.resolveSystemActivityOrRemove(context, screen, in onCreatePreferences()
48 findPreference(KEY_LICENSE), PreferenceUtils.FLAG_SET_TITLE); in onCreatePreferences()
49 PreferenceUtils.resolveSystemActivityOrRemove(context, screen, in onCreatePreferences()
50 findPreference(KEY_COPYRIGHT), PreferenceUtils.FLAG_SET_TITLE); in onCreatePreferences()
51 PreferenceUtils.resolveSystemActivityOrRemove(context, screen, in onCreatePreferences()
52 findPreference(KEY_WEBVIEW_LICENSE), PreferenceUtils.FLAG_SET_TITLE); in onCreatePreferences()
53 PreferenceUtils.resolveSystemActivityOrRemove(context, screen, in onCreatePreferences()
[all …]
DAboutFragment.java51 import com.android.tv.settings.PreferenceUtils;
118 PreferenceUtils.resolveSystemActivityOrRemove(getActivity(), screen, deviceNamePref, 0); in onCreatePreferences()
181 PreferenceUtils.resolveSystemActivityOrRemove(getActivity(), screen, in onCreatePreferences()
182 updateSettingsPref, PreferenceUtils.FLAG_SET_TITLE); in onCreatePreferences()
200 PreferenceUtils.resolveSystemActivityOrRemove(getActivity(), screen, regulatoryPref, 0); in onCreatePreferences()
/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/util/
DPreferenceUtilsTest.java67 PACKAGE_NAME + PreferenceUtils.SETTINGS_SUGGESTION_ACTIVITY_ALIAS); in setUp()
82 assertThat(PreferenceUtils.hasAtLeastOnePreferenceSet(mContext)).isFalse(); in testHasAtLeastOnePreferenceSet_notSet()
89 assertThat(PreferenceUtils.hasAtLeastOnePreferenceSet(mContext)).isTrue(); in testHasAtLeastOnePreferenceSet_set()
97 assertThat(PreferenceUtils.hasAtLeastOneEmergencyContact(mContext)).isFalse(); in testHasAtLeastOneEmergencyContact_notSet()
110 assertThat(PreferenceUtils.hasAtLeastOneEmergencyContact(mContext)).isTrue(); in testHasAtLeastOneEmergencyContact_set()
115 PreferenceUtils.enableSettingsSuggestion(mContext); in testEnableSettingsSuggestion()
133 PreferenceUtils.updateSettingsSuggestionState(mContext); in testUpdateSettingsSuggestionState_contactSet()
145 PreferenceUtils.updateSettingsSuggestionState(mContext); in testUpdateSettingsSuggestionState_noPreferencesOrContactSet()
158 PreferenceUtils.updateSettingsSuggestionState(mContext); in testUpdateSettingsSuggestionState_preferenceSet()
/packages/apps/EmergencyInfo/src/com/android/emergency/edit/
DEditInfoActivity.java40 import com.android.emergency.util.PreferenceUtils;
80 PreferenceUtils.updateSettingsSuggestionState(this); in onCreate()
131 PreferenceUtils.enableSettingsSuggestion(this); in onClearAllPreferences()
DEditMedicalInfoFragment.java29 import com.android.emergency.util.PreferenceUtils;
67 PreferenceUtils.updateSettingsSuggestionState(getActivity()); in onCreatePreferences()
DEditInfoFragment.java38 import com.android.emergency.util.PreferenceUtils;
179 PreferenceUtils.updateSettingsSuggestionState(mContext); in onPreferenceChange()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DViewEmergencyContactsPreference.java26 import com.android.emergency.util.PreferenceUtils;
40 if (PreferenceUtils.hasAtLeastOnePreferenceSet(getContext())) { in onBindViewHolder()
DEmergencyContactsPreference.java33 import com.android.emergency.util.PreferenceUtils;
213 PreferenceUtils.updateSettingsSuggestionState(getContext()); in setEmergencyContacts()
/packages/apps/EmergencyInfo/src/com/android/emergency/view/
DViewInfoActivity.java51 import com.android.emergency.util.PreferenceUtils;
191 if (PreferenceUtils.hasAtLeastOnePreferenceSet(this)) { in setUpFragments()
195 if (PreferenceUtils.hasAtLeastOneEmergencyContact(this)) { in setUpFragments()
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/edit/
DEditInfoActivityTest.java48 import com.android.emergency.util.PreferenceUtils;
96 packageName + PreferenceUtils.SETTINGS_SUGGESTION_ACTIVITY_ALIAS); in testInitialState()
126 packageName + PreferenceUtils.SETTINGS_SUGGESTION_ACTIVITY_ALIAS); in testClearAllPreferences()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DPreferenceUtils.java33 public final class PreferenceUtils { class
/packages/apps/EmergencyInfo/src/com/android/emergency/util/
DPreferenceUtils.java33 public class PreferenceUtils { class