/packages/apps/Settings/src/com/android/settings/search/ |
D | BaseSearchIndexProvider.java | 68 sir.xmlResId = mXmlRes; in getXmlResourcesToIndex() 149 .getPreferenceControllersFromXml(context, sir.xmlResId)); in getPreferenceControllers() 191 getNonIndexableKeysFromXml(context, res.xmlResId, suppressAllPage)); in getNonIndexableKeysFromXml() 197 public List<String> getNonIndexableKeysFromXml(Context context, @XmlRes int xmlResId, in getNonIndexableKeysFromXml() argument 199 return getKeysFromXml(context, xmlResId, suppressAllPage); in getNonIndexableKeysFromXml() 202 private List<String> getKeysFromXml(Context context, @XmlRes int xmlResId, in getKeysFromXml() argument 207 xmlResId, FLAG_NEED_KEY | FLAG_INCLUDE_PREF_SCREEN | FLAG_NEED_SEARCHABLE); in getKeysFromXml() 214 Log.w(TAG, "Error parsing non-indexable from xml " + xmlResId); in getKeysFromXml()
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | SliceDataConverter.java | 142 int xmlResId = resource.xmlResId; in getSliceDataFromProvider() local 143 if (xmlResId == 0) { in getSliceDataFromProvider() 148 List<SliceData> xmlSliceData = getSliceDataFromXML(xmlResId, fragmentName); in getSliceDataFromProvider() 155 private List<SliceData> getSliceDataFromXML(int xmlResId, String fragmentName) { in getSliceDataFromXML() argument 162 parser = mContext.getResources().getXml(xmlResId); in getSliceDataFromXML() 184 xmlResId, in getSliceDataFromXML()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | PreferenceXmlParser.java | 84 public static List<Bundle> extractMetadata(Context context, @XmlRes int xmlResId, int flags) in extractMetadata() argument 87 if (xmlResId <= 0) { in extractMetadata() 88 LOG.d(xmlResId + " is invalid."); in extractMetadata() 91 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/unit/src/com/android/settings/security/ |
D | SecuritySettingsTest.java | 105 keys.addAll(getKeysFromXml(res.xmlResId)); in getAllXmlKeys() 110 private List<String> getKeysFromXml(@XmlRes int xmlResId) throws Exception { in getKeysFromXml() argument 113 .extractMetadata(mContext, xmlResId, FLAG_NEED_KEY | FLAG_INCLUDE_PREF_SCREEN); in getKeysFromXml()
|
/packages/apps/Settings/tests/unit/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() 169 xmlResSet.add(resource.xmlResId); in getIndexableXml()
|
/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() 169 xmlResSet.add(resource.xmlResId); in getIndexableXml()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
D | BaseSearchIndexProviderTest.java | 107 sir.xmlResId = R.xml.location_settings; in getAllPreferenceControllers_shouldCreateControllerFromCodeAndXml() 165 sir.xmlResId = R.xml.data_usage; in getNonIndexableKeys_pageSearchIsDisabled_shouldSuppressEverything() 189 sir.xmlResId = R.xml.display_settings; in getNonIndexableKeys_hasSearchableAttributeInXml_shouldSuppressUnsearchable()
|
/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 | 53 @XmlRes int xmlResId) { in getPreferenceControllersFromXml() argument 57 preferenceMetadata = PreferenceXmlParserUtils.extractMetadata(context, xmlResId, in getPreferenceControllersFromXml()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/ |
D | XmlControllerAttributeTest.java | 131 xmlResSet.add(resource.xmlResId); in getIndexableXml() 137 private List<String> getXmlControllers(int xmlResId) throws Exception { in getXmlControllers() argument 141 parser = mContext.getResources().getXml(xmlResId); in getXmlControllers()
|
/packages/services/Telephony/src/com/android/phone/ |
D | CarrierXmlParser.java | 424 int xmlResId = 0; in CarrierXmlParser() local 427 xmlResId = context.getResources().getIdentifier(xmlResIdName, "xml", in CarrierXmlParser() 430 if (xmlResId == 0) { in CarrierXmlParser() 431 xmlResId = R.xml.carrier_ss_string; in CarrierXmlParser() 435 XmlResourceParser parser = context.getResources().getXml(xmlResId); in CarrierXmlParser()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | BasePrivacySettingsPreferenceTest.java | 50 assertThat(searchIndexableResources.get(0).xmlResId) in verifyEnterpriseSearchIndexableResources() 96 assertThat(searchIndexableResources.get(0).xmlResId) in verifyFinancedSearchIndexableResources()
|
/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 | PickupGestureSettingsTest.java | 48 assertThat(indexRes.get(0).xmlResId).isEqualTo(mSettings.getPreferenceScreenResId()); in testSearchIndexProvider_shouldIndexResource()
|
D | PowerMenuSettingsTest.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 | 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 | DoubleTwistGestureSettingsTest.java | 48 assertThat(indexRes.get(0).xmlResId).isEqualTo(mSettings.getPreferenceScreenResId()); in testSearchIndexProvider_shouldIndexResource()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/ |
D | MediaControlsSettingsTest.java | 48 assertThat(indexRes.get(0).xmlResId).isEqualTo(mSettings.getPreferenceScreenResId()); in testSearchIndexProvider_shouldIndexResource()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/ |
D | LocationServicesTest.java | 50 assertThat(sir.get(0).xmlResId).isEqualTo(R.xml.location_services); in searchProvider_shouldIndexDefaultXml()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | NightDisplaySettingsTest.java | 44 indexedXml.add(resource.xmlResId); in testNightDisplayIndexing_containsResource()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | VirtualKeyboardFragment.java | 58 sir.xmlResId = R.xml.virtual_keyboard_settings;
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/ |
D | NetworkDashboardFragmentTest.java | 66 assertThat(indexRes.get(0).xmlResId).isEqualTo(mFragment.getPreferenceScreenResId()); in getXmlResourcesToIndex_shouldIncludeFragmentXml()
|