Home
last modified time | relevance | path

Searched refs:MetadataFlag (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Settings/src/com/android/settings/core/
DPreferenceXmlParserUtils.java67 MetadataFlag.FLAG_INCLUDE_PREF_SCREEN,
68 MetadataFlag.FLAG_NEED_KEY,
69 MetadataFlag.FLAG_NEED_PREF_TYPE,
70 MetadataFlag.FLAG_NEED_PREF_CONTROLLER,
71 MetadataFlag.FLAG_NEED_PREF_TITLE,
72 MetadataFlag.FLAG_NEED_PREF_SUMMARY,
73 MetadataFlag.FLAG_NEED_PREF_ICON,
74 MetadataFlag.FLAG_NEED_SEARCHABLE,
75 MetadataFlag.FLAG_UNAVAILABLE_SLICE_SUBTITLE,
76 MetadataFlag.FLAG_FOR_WORK})
[all …]
DPreferenceControllerListHelper.java30 import com.android.settings.core.PreferenceXmlParserUtils.MetadataFlag;
58 MetadataFlag.FLAG_NEED_KEY | MetadataFlag.FLAG_NEED_PREF_CONTROLLER in getPreferenceControllersFromXml()
59 | MetadataFlag.FLAG_INCLUDE_PREF_SCREEN | MetadataFlag.FLAG_FOR_WORK); in getPreferenceControllersFromXml()
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
DPreferenceXmlParserUtilsTest.java37 import com.android.settings.core.PreferenceXmlParserUtils.MetadataFlag;
183 MetadataFlag.FLAG_NEED_KEY | MetadataFlag.FLAG_NEED_PREF_CONTROLLER); in extractMetadata_shouldContainKeyAndControllerName()
197 R.xml.location_settings, MetadataFlag.FLAG_NEED_PREF_TITLE); in extractMetadata_requestTitle_shouldContainTitle()
208 R.xml.location_settings, MetadataFlag.FLAG_NEED_PREF_SUMMARY); in extractMetadata_requestSummary_shouldContainSummary()
219 R.xml.location_settings, MetadataFlag.FLAG_NEED_PREF_ICON); in extractMetadata_requestIcon_shouldContainIcon()
230 R.xml.location_settings, MetadataFlag.FLAG_NEED_PREF_TYPE); in extractMetadata_requestPrefType_shouldContainPrefType()
242 MetadataFlag.FLAG_NEED_PREF_TYPE | MetadataFlag.FLAG_INCLUDE_PREF_SCREEN); in extractMetadata_requestIncludeScreen_shouldContainScreen()
262 MetadataFlag.FLAG_NEED_PREF_TYPE | MetadataFlag.FLAG_NEED_KEYWORDS); in extractMetadata_requestIncludesKeywords_shouldContainKeywords()
274 R.xml.location_settings, MetadataFlag.FLAG_NEED_SEARCHABLE); in extractMetadata_requestSearchable_shouldDefaultToTrue()
285 MetadataFlag.FLAG_NEED_KEY | MetadataFlag.FLAG_NEED_SEARCHABLE); in extractMetadata_requestSearchable_shouldReturnAttributeValue()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DPreferenceXmlParser.java62 MetadataFlag.FLAG_NEED_KEY,
63 MetadataFlag.FLAG_NEED_PREF_CONTROLLER,
64 MetadataFlag.FLAG_NEED_SEARCHABLE})
66 public @interface MetadataFlag { annotation in PreferenceXmlParser
115 if (hasFlag(flags, MetadataFlag.FLAG_NEED_KEY)) { in extractMetadata()
118 if (hasFlag(flags, MetadataFlag.FLAG_NEED_PREF_CONTROLLER)) { in extractMetadata()
122 if (hasFlag(flags, MetadataFlag.FLAG_NEED_SEARCHABLE)) { in extractMetadata()
136 private static boolean hasFlag(int flags, @MetadataFlag int flag) { in hasFlag()
DPreferenceControllerListHelper.java66 PreferenceXmlParser.MetadataFlag.FLAG_NEED_KEY in getPreferenceControllersFromXml()
67 | PreferenceXmlParser.MetadataFlag.FLAG_NEED_PREF_CONTROLLER); in getPreferenceControllersFromXml()
/packages/apps/Settings/src/com/android/settings/slices/
DSliceDataConverter.java53 import com.android.settings.core.PreferenceXmlParserUtils.MetadataFlag;
185 MetadataFlag.FLAG_NEED_KEY in getSliceDataFromXML()
186 | MetadataFlag.FLAG_NEED_PREF_CONTROLLER in getSliceDataFromXML()
187 | MetadataFlag.FLAG_NEED_PREF_TYPE in getSliceDataFromXML()
188 | MetadataFlag.FLAG_NEED_PREF_TITLE in getSliceDataFromXML()
189 | MetadataFlag.FLAG_NEED_PREF_ICON in getSliceDataFromXML()
190 | MetadataFlag.FLAG_NEED_PREF_SUMMARY in getSliceDataFromXML()
191 | MetadataFlag.FLAG_UNAVAILABLE_SLICE_SUBTITLE); in getSliceDataFromXML()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DPreferenceXmlParserTest.java44 PreferenceXmlParser.MetadataFlag.FLAG_NEED_KEY in extractMetadata_keyAndControllerName()
45 | PreferenceXmlParser.MetadataFlag.FLAG_NEED_PREF_CONTROLLER); in extractMetadata_keyAndControllerName()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DXmlTestUtils.java4 import static com.android.settings.core.PreferenceXmlParserUtils.MetadataFlag
6 import static com.android.settings.core.PreferenceXmlParserUtils.MetadataFlag.FLAG_NEED_KEY;
/packages/apps/Settings/tests/unit/src/com/android/settings/testutils/
DXmlTestUtils.java19 import static com.android.settings.core.PreferenceXmlParserUtils.MetadataFlag
21 import static com.android.settings.core.PreferenceXmlParserUtils.MetadataFlag.FLAG_NEED_KEY;
/packages/apps/Settings/src/com/android/settings/search/
DBaseSearchIndexProvider.java21 import static com.android.settings.core.PreferenceXmlParserUtils.MetadataFlag.FLAG_INCLUDE_PREF_SCR…
22 import static com.android.settings.core.PreferenceXmlParserUtils.MetadataFlag.FLAG_NEED_KEY;
23 import static com.android.settings.core.PreferenceXmlParserUtils.MetadataFlag.FLAG_NEED_SEARCHABLE;
/packages/apps/Settings/src/com/android/settings/widget/
DRadioButtonPickerFragment.java39 import com.android.settings.core.PreferenceXmlParserUtils.MetadataFlag;
89 MetadataFlag.FLAG_INCLUDE_PREF_SCREEN | in onCreatePreferences()
90 MetadataFlag.FLAG_NEED_PREF_APPEND); in onCreatePreferences()
/packages/apps/Settings/tests/unit/src/com/android/settings/security/
DSecuritySettingsTest.java20 import static com.android.settings.core.PreferenceXmlParserUtils.MetadataFlag.FLAG_INCLUDE_PREF_SCR…
21 import static com.android.settings.core.PreferenceXmlParserUtils.MetadataFlag.FLAG_NEED_KEY;
/packages/apps/Car/Settings/src/com/android/car/settings/search/
DCarBaseSearchIndexProvider.java21 import static com.android.car.settings.common.PreferenceXmlParser.MetadataFlag.FLAG_NEED_KEY;
22 import static com.android.car.settings.common.PreferenceXmlParser.MetadataFlag.FLAG_NEED_SEARCHABLE;
/packages/apps/Settings/tests/unit/src/com/android/settings/slices/
DSliceControllerInXmlCodeInspector.java85 xmlResId, PreferenceXmlParserUtils.MetadataFlag.FLAG_NEED_PREF_CONTROLLER); in initDeclaredControllers()
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceControllerInXmlCodeInspector.java85 xmlResId, PreferenceXmlParserUtils.MetadataFlag.FLAG_NEED_PREF_CONTROLLER); in initDeclaredControllers()