Home
last modified time | relevance | path

Searched refs:xmlResId (Results 1 – 25 of 250) sorted by relevance

12345678910

/packages/apps/Settings/src/com/android/settings/search/
DBaseSearchIndexProvider.java106 .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/
DBaseSearchIndexProvider.java106 .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/
DSliceDataConverter.java137 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/
DSliceDataConverter.java141 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/
DPreferenceXmlParser.java80 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()
DPreferenceControllerListHelper.java60 @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/
DSliceControllerInXmlCodeInspector.java83 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/
DBaseSearchIndexProviderTest.java100 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/
DPreferenceXmlParserUtils.java177 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()
DPreferenceControllerListHelper.java52 @XmlRes int xmlResId) { in getPreferenceControllersFromXml() argument
56 preferenceMetadata = PreferenceXmlParserUtils.extractMetadata(context, xmlResId, in getPreferenceControllersFromXml()
/packages/apps/Settings/src/com/android/settings/core/
DPreferenceXmlParserUtils.java177 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()
DPreferenceControllerListHelper.java52 @XmlRes int xmlResId) { in getPreferenceControllersFromXml() argument
56 preferenceMetadata = PreferenceXmlParserUtils.extractMetadata(context, xmlResId, in getPreferenceControllersFromXml()
/packages/services/Telephony/src/com/android/phone/
DCarrierXmlParser.java423 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/
DXmlControllerAttributeTest.java137 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/
DDataUsageSummary.java349 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/
DUserRestrictionTest.java109 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/
DNetworkDashboardFragment.java173 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/
DNetworkDashboardFragment.java173 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/
DExternalAccountTypeTest.java154 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/
DPreventRingingGestureSettingsTest.java48 assertThat(indexRes.get(0).xmlResId).isEqualTo(mSettings.getPreferenceScreenResId()); in testSearchIndexProvider_shouldIndexResource()
DDoubleTapScreenSettingsTest.java48 assertThat(indexRes.get(0).xmlResId).isEqualTo(mSettings.getPreferenceScreenResId()); in testSearchIndexProvider_shouldIndexResource()
DPickupGestureSettingsTest.java48 assertThat(indexRes.get(0).xmlResId).isEqualTo(mSettings.getPreferenceScreenResId()); in testSearchIndexProvider_shouldIndexResource()
DDoubleTapPowerSettingsTest.java48 assertThat(indexRes.get(0).xmlResId).isEqualTo(mSettings.getPreferenceScreenResId()); in testSearchIndexProvider_shouldIndexResource()
DDoubleTwistGestureSettingsTest.java48 assertThat(indexRes.get(0).xmlResId).isEqualTo(mSettings.getPreferenceScreenResId()); in testSearchIndexProvider_shouldIndexResource()
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DScanningSettingsTest.java50 assertThat(sir.get(0).xmlResId).isEqualTo(R.xml.location_scanning); in searchProvider_shouldIndexDefaultXml()

12345678910