/packages/apps/Settings/src/com/android/settings/search/ |
D | BaseSearchIndexProvider.java | 106 .getPreferenceControllersFromXml(context, sir.xmlResId)); in getPreferenceControllers() 148 getNonIndexableKeysFromXml(context, res.xmlResId, suppressAllPage)); in getNonIndexableKeysFromXml() 154 public List<String> getNonIndexableKeysFromXml(Context context, @XmlRes int xmlResId, in getNonIndexableKeysFromXml() argument 156 return getKeysFromXml(context, xmlResId, suppressAllPage); in getNonIndexableKeysFromXml() 159 private List<String> getKeysFromXml(Context context, @XmlRes int xmlResId, in getKeysFromXml() argument 164 xmlResId, FLAG_NEED_KEY | FLAG_INCLUDE_PREF_SCREEN | FLAG_NEED_SEARCHABLE); in getKeysFromXml() 171 Log.w(TAG, "Error parsing non-indexable from xml " + xmlResId); in getKeysFromXml()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/search/ |
D | BaseSearchIndexProvider.java | 106 .getPreferenceControllersFromXml(context, sir.xmlResId)); in getPreferenceControllers() 148 getNonIndexableKeysFromXml(context, res.xmlResId, suppressAllPage)); in getNonIndexableKeysFromXml() 154 public List<String> getNonIndexableKeysFromXml(Context context, @XmlRes int xmlResId, in getNonIndexableKeysFromXml() argument 156 return getKeysFromXml(context, xmlResId, suppressAllPage); in getNonIndexableKeysFromXml() 159 private List<String> getKeysFromXml(Context context, @XmlRes int xmlResId, in getKeysFromXml() argument 164 xmlResId, FLAG_NEED_KEY | FLAG_INCLUDE_PREF_SCREEN | FLAG_NEED_SEARCHABLE); in getKeysFromXml() 171 Log.w(TAG, "Error parsing non-indexable from xml " + xmlResId); in getKeysFromXml()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/ |
D | SliceDataConverter.java | 137 int xmlResId = resource.xmlResId; in getSliceDataFromProvider() local 138 if (xmlResId == 0) { in getSliceDataFromProvider() 143 List<SliceData> xmlSliceData = getSliceDataFromXML(xmlResId, fragmentName); in getSliceDataFromProvider() 150 private List<SliceData> getSliceDataFromXML(int xmlResId, String fragmentName) { in getSliceDataFromXML() argument 156 parser = mContext.getResources().getXml(xmlResId); in getSliceDataFromXML() 178 xmlResId, in getSliceDataFromXML()
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | SliceDataConverter.java | 141 int xmlResId = resource.xmlResId; in getSliceDataFromProvider() local 142 if (xmlResId == 0) { in getSliceDataFromProvider() 147 List<SliceData> xmlSliceData = getSliceDataFromXML(xmlResId, fragmentName); in getSliceDataFromProvider() 154 private List<SliceData> getSliceDataFromXML(int xmlResId, String fragmentName) { in getSliceDataFromXML() argument 161 parser = mContext.getResources().getXml(xmlResId); in getSliceDataFromXML() 183 xmlResId, in getSliceDataFromXML()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | PreferenceXmlParser.java | 80 public static List<Bundle> extractMetadata(Context context, @XmlRes int xmlResId, int flags) in extractMetadata() argument 83 if (xmlResId <= 0) { in extractMetadata() 84 LOG.d(xmlResId + " is invalid."); in extractMetadata() 87 final XmlResourceParser parser = context.getResources().getXml(xmlResId); in extractMetadata()
|
D | PreferenceControllerListHelper.java | 60 @XmlRes int xmlResId, FragmentController fragmentController, in getPreferenceControllersFromXml() argument 65 preferenceMetadata = PreferenceXmlParser.extractMetadata(context, xmlResId, in getPreferenceControllersFromXml()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SliceControllerInXmlCodeInspector.java | 83 for (int xmlResId : xmlResources) { in initDeclaredControllers() 85 xmlResId, PreferenceXmlParserUtils.MetadataFlag.FLAG_NEED_PREF_CONTROLLER); in initDeclaredControllers() 170 xmlResSet.add(resource.xmlResId); in getIndexableXml()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
D | BaseSearchIndexProviderTest.java | 100 sir.xmlResId = R.xml.location_settings; in getAllPreferenceControllers_shouldCreateControllerFromCodeAndXml() 158 sir.xmlResId = R.xml.data_usage; in getNonIndexableKeys_pageSearchIsDisabled_shouldSuppressEverything() 182 sir.xmlResId = R.xml.display_settings; in getNonIndexableKeys_hasSearchableAttributeInXml_shouldSuppressUnsearchable()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/core/ |
D | PreferenceXmlParserUtils.java | 177 public static List<Bundle> extractMetadata(Context context, @XmlRes int xmlResId, int flags) in extractMetadata() argument 180 if (xmlResId <= 0) { in extractMetadata() 181 Log.d(TAG, xmlResId + " is invalid."); in extractMetadata() 184 final XmlResourceParser parser = context.getResources().getXml(xmlResId); in extractMetadata()
|
D | PreferenceControllerListHelper.java | 52 @XmlRes int xmlResId) { in getPreferenceControllersFromXml() argument 56 preferenceMetadata = PreferenceXmlParserUtils.extractMetadata(context, xmlResId, in getPreferenceControllersFromXml()
|
/packages/apps/Settings/src/com/android/settings/core/ |
D | PreferenceXmlParserUtils.java | 177 public static List<Bundle> extractMetadata(Context context, @XmlRes int xmlResId, int flags) in extractMetadata() argument 180 if (xmlResId <= 0) { in extractMetadata() 181 Log.d(TAG, xmlResId + " is invalid."); in extractMetadata() 184 final XmlResourceParser parser = context.getResources().getXml(xmlResId); in extractMetadata()
|
D | PreferenceControllerListHelper.java | 52 @XmlRes int xmlResId) { in getPreferenceControllersFromXml() argument 56 preferenceMetadata = PreferenceXmlParserUtils.extractMetadata(context, xmlResId, in getPreferenceControllersFromXml()
|
/packages/services/Telephony/src/com/android/phone/ |
D | CarrierXmlParser.java | 423 int xmlResId = 0; in CarrierXmlParser() local 426 xmlResId = context.getResources().getIdentifier(xmlResIdName, "xml", in CarrierXmlParser() 429 if (xmlResId == 0) { in CarrierXmlParser() 430 xmlResId = R.xml.carrier_ss_string; in CarrierXmlParser() 434 XmlResourceParser parser = context.getResources().getXml(xmlResId); in CarrierXmlParser()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/ |
D | XmlControllerAttributeTest.java | 137 xmlResSet.add(resource.xmlResId); in getIndexableXml() 143 private List<String> getXmlControllers(int xmlResId) throws Exception { in getXmlControllers() argument 147 parser = mContext.getResources().getXml(xmlResId); in getXmlControllers()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | DataUsageSummary.java | 349 resource.xmlResId = R.xml.data_usage; 353 resource.xmlResId = R.xml.data_usage_cellular; 357 resource.xmlResId = R.xml.data_usage_wifi;
|
/packages/apps/Settings/tests/unit/src/com/android/settings/core/ |
D | UserRestrictionTest.java | 109 if (sir.xmlResId <= 0) { in verifyUserRestriction() 113 final XmlResourceParser parser = mContext.getResources().getXml(sir.xmlResId); in verifyUserRestriction()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | NetworkDashboardFragment.java | 173 sir.xmlResId = R.xml.network_and_internet_v2; 175 sir.xmlResId = R.xml.network_and_internet;
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/ |
D | NetworkDashboardFragment.java | 173 sir.xmlResId = R.xml.network_and_internet_v2; 175 sir.xmlResId = R.xml.network_and_internet;
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/account/ |
D | ExternalAccountTypeTest.java | 154 private void checkEditSchema_mustHaveChecks(int xmlResId, boolean expectInitialized) { in checkEditSchema_mustHaveChecks() argument 157 getInstrumentation().getContext().getResources().getXml(xmlResId) in checkEditSchema_mustHaveChecks()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/ |
D | PreventRingingGestureSettingsTest.java | 48 assertThat(indexRes.get(0).xmlResId).isEqualTo(mSettings.getPreferenceScreenResId()); in testSearchIndexProvider_shouldIndexResource()
|
D | DoubleTapScreenSettingsTest.java | 48 assertThat(indexRes.get(0).xmlResId).isEqualTo(mSettings.getPreferenceScreenResId()); in testSearchIndexProvider_shouldIndexResource()
|
D | PickupGestureSettingsTest.java | 48 assertThat(indexRes.get(0).xmlResId).isEqualTo(mSettings.getPreferenceScreenResId()); in testSearchIndexProvider_shouldIndexResource()
|
D | DoubleTapPowerSettingsTest.java | 48 assertThat(indexRes.get(0).xmlResId).isEqualTo(mSettings.getPreferenceScreenResId()); in testSearchIndexProvider_shouldIndexResource()
|
D | DoubleTwistGestureSettingsTest.java | 48 assertThat(indexRes.get(0).xmlResId).isEqualTo(mSettings.getPreferenceScreenResId()); in testSearchIndexProvider_shouldIndexResource()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/ |
D | ScanningSettingsTest.java | 50 assertThat(sir.get(0).xmlResId).isEqualTo(R.xml.location_scanning); in searchProvider_shouldIndexDefaultXml()
|