Home
last modified time | relevance | path

Searched refs:PreferenceXmlParser (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DPreferenceXmlParserTest.java42 List<Bundle> metadata = PreferenceXmlParser.extractMetadata( in extractMetadata_keyAndControllerName()
44 PreferenceXmlParser.MetadataFlag.FLAG_NEED_KEY in extractMetadata_keyAndControllerName()
45 | PreferenceXmlParser.MetadataFlag.FLAG_NEED_PREF_CONTROLLER); in extractMetadata_keyAndControllerName()
49 assertThat(bundle.getString(PreferenceXmlParser.METADATA_KEY)).isNotNull(); in extractMetadata_keyAndControllerName()
50 assertThat(bundle.getString(PreferenceXmlParser.METADATA_CONTROLLER)).isNotNull(); in extractMetadata_keyAndControllerName()
56 List<Bundle> metadata = PreferenceXmlParser.extractMetadata( in extractMetadata_driverZone()
58 PreferenceXmlParser.MetadataFlag.FLAG_NEED_KEY in extractMetadata_driverZone()
59 | PreferenceXmlParser.MetadataFlag.FLAG_NEED_PREF_CONTROLLER in extractMetadata_driverZone()
60 | PreferenceXmlParser.MetadataFlag.FLAG_NEED_PREF_DRIVER); in extractMetadata_driverZone()
63 assertThat(metadata.get(1).getString(PreferenceXmlParser.METADATA_OCCUPANT_ZONE)) in extractMetadata_driverZone()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DPreferenceControllerListHelper.java19 import static com.android.car.settings.common.PreferenceXmlParser.METADATA_CONTROLLER;
20 import static com.android.car.settings.common.PreferenceXmlParser.METADATA_KEY;
21 import static com.android.car.settings.common.PreferenceXmlParser.METADATA_OCCUPANT_ZONE;
22 import static com.android.car.settings.common.PreferenceXmlParser.SUPPORTED_AVAILABILITY_STATUS;
72 preferenceMetadata = PreferenceXmlParser.extractMetadata(context, xmlResId, in getPreferenceControllersFromXml()
73 PreferenceXmlParser.MetadataFlag.FLAG_NEED_KEY in getPreferenceControllersFromXml()
74 | PreferenceXmlParser.MetadataFlag.FLAG_NEED_PREF_CONTROLLER in getPreferenceControllersFromXml()
75 | PreferenceXmlParser.getMetadataFlagForOccupantZoneType(zoneType) in getPreferenceControllersFromXml()
DPreferenceXmlParser.java47 public class PreferenceXmlParser { class
49 private static final Logger LOG = new Logger(PreferenceXmlParser.class);
170 return PreferenceXmlParser.MetadataFlag.FLAG_NEED_PREF_FRONT_PASSENGER; in getMetadataFlagForOccupantZoneType()
172 return PreferenceXmlParser.MetadataFlag.FLAG_NEED_PREF_REAR_PASSENGER; in getMetadataFlagForOccupantZoneType()
175 return PreferenceXmlParser.MetadataFlag.FLAG_NEED_PREF_DRIVER; in getMetadataFlagForOccupantZoneType()
DPreferenceController.java19 import static com.android.car.settings.common.PreferenceXmlParser.PREF_AVAILABILITY_STATUS_HIDDEN;
20 import static com.android.car.settings.common.PreferenceXmlParser.PREF_AVAILABILITY_STATUS_READ;
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DQCUtils.java19 import static com.android.car.settings.common.PreferenceXmlParser.METADATA_KEY;
20 import static com.android.car.settings.common.PreferenceXmlParser.METADATA_OCCUPANT_ZONE;
21 import static com.android.car.settings.common.PreferenceXmlParser.PREF_AVAILABILITY_STATUS_WRITE;
22 import static com.android.car.settings.common.PreferenceXmlParser.SUPPORTED_AVAILABILITY_STATUS;
36 import com.android.car.settings.common.PreferenceXmlParser;
85 preferenceMetadata = PreferenceXmlParser.extractMetadata(context, xmlResId, in getAvailabilityStatusForZoneFromXml()
86 PreferenceXmlParser.MetadataFlag.FLAG_NEED_KEY in getAvailabilityStatusForZoneFromXml()
87 | PreferenceXmlParser.getMetadataFlagForOccupantZoneType(zoneType) in getAvailabilityStatusForZoneFromXml()
DSettingsQCItem.java22 import static com.android.car.settings.common.PreferenceXmlParser.PREF_AVAILABILITY_STATUS_HIDDEN;
23 import static com.android.car.settings.common.PreferenceXmlParser.PREF_AVAILABILITY_STATUS_READ;
/packages/apps/Car/Settings/src/com/android/car/settings/search/
DCarBaseSearchIndexProvider.java19 import static com.android.car.settings.common.PreferenceXmlParser.METADATA_KEY;
20 import static com.android.car.settings.common.PreferenceXmlParser.METADATA_SEARCHABLE;
21 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;
33 import com.android.car.settings.common.PreferenceXmlParser;
91 List<Bundle> metadata = PreferenceXmlParser.extractMetadata(context, mXmlRes, in getNonIndexableKeys()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/language/
DLanguageSettingsEntryPreferenceControllerTest.java25 import static com.android.car.settings.common.PreferenceXmlParser.PREF_AVAILABILITY_STATUS_HIDDEN;
26 import static com.android.car.settings.common.PreferenceXmlParser.PREF_AVAILABILITY_STATUS_READ;
27 import static com.android.car.settings.common.PreferenceXmlParser.PREF_AVAILABILITY_STATUS_WRITE;
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DPreferenceControllerTest.java24 import static com.android.car.settings.common.PreferenceXmlParser.PREF_AVAILABILITY_STATUS_HIDDEN;
25 import static com.android.car.settings.common.PreferenceXmlParser.PREF_AVAILABILITY_STATUS_READ;
26 import static com.android.car.settings.common.PreferenceXmlParser.PREF_AVAILABILITY_STATUS_WRITE;